Amazon Compute Optimizer · JSON Structure

Compute Optimizer Get Ecs Service Recommendations Request Structure

GetECSServiceRecommendationsRequest schema

Type: object Properties: 5
Cost OptimizationFinOpsMachine LearningResource Recommendations

GetECSServiceRecommendationsRequest is a JSON Structure definition published by Amazon Compute Optimizer, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

serviceArns nextToken maxResults filters accountIds

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-compute-optimizer/refs/heads/main/json-structure/compute-optimizer-get-ecs-service-recommendations-request-structure.json",
  "name": "GetECSServiceRecommendationsRequest",
  "description": "GetECSServiceRecommendationsRequest schema",
  "type": "object",
  "properties": {
    "serviceArns": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ServiceArns"
        },
        {
          "description": "<p> The ARN that identifies the Amazon ECS service. </p> <p> The following is the format of the ARN: </p> <p> <code>arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name</code> </p>"
        }
      ]
    },
    "nextToken": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NextToken"
        },
        {
          "description": " The token to advance to the next page of Amazon ECS service recommendations. "
        }
      ]
    },
    "maxResults": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MaxResults"
        },
        {
          "description": "<p> The maximum number of Amazon ECS service recommendations to return with a single request. </p> <p>To retrieve the remaining results, make another request with the returned <code>nextToken</code> value.</p>"
        }
      ]
    },
    "filters": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ECSServiceRecommendationFilters"
        },
        {
          "description": " An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations. "
        }
      ]
    },
    "accountIds": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AccountIds"
        },
        {
          "description": "<p> Return the Amazon ECS service recommendations to the specified Amazon Web Services account IDs. </p> <p>If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon ECS service recommendations to specific member accounts.</p> <p>You can only specify one account ID per request.</p>"
        }
      ]
    }
  }
}