Learn R Programming

paws.compute (version 0.7.0)

computeoptimizer_get_ecs_service_recommendations: Returns Amazon ECS service recommendations

Description

Returns Amazon ECS service recommendations.

See https://www.paws-r-sdk.com/docs/computeoptimizer_get_ecs_service_recommendations/ for full documentation.

Usage

computeoptimizer_get_ecs_service_recommendations(
  serviceArns = NULL,
  nextToken = NULL,
  maxResults = NULL,
  filters = NULL,
  accountIds = NULL
)

Arguments

serviceArns

The ARN that identifies the Amazon ECS service.

The following is the format of the ARN:

arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name

nextToken

The token to advance to the next page of Amazon ECS service recommendations.

maxResults

The maximum number of Amazon ECS service recommendations to return with a single request.

To retrieve the remaining results, make another request with the returned nextToken value.

filters

An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.

accountIds

Return the Amazon ECS service recommendations to the specified Amazon Web Services account IDs.

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.

You can only specify one account ID per request.