Amazon Compute Optimizer · Schema
GetECSServiceRecommendationsRequest
GetECSServiceRecommendationsRequest schema
Cost OptimizationFinOpsMachine LearningResource Recommendations
Properties
| Name | Type | Description |
|---|---|---|
| serviceArns | object | |
| nextToken | object | |
| maxResults | object | |
| filters | object | |
| accountIds | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-compute-optimizer/refs/heads/main/json-schema/compute-optimizer-get-ecs-service-recommendations-request-schema.json",
"title": "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>"
}
]
}
}
}