computeoptimizer_get_ec2_instance_recommendations: Returns Amazon EC2 instance recommendations

View source: R/computeoptimizer_operations.R

computeoptimizer_get_ec2_instance_recommendationsR Documentation

Returns Amazon EC2 instance recommendations

Description

Returns Amazon EC2 instance recommendations.

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

Usage

computeoptimizer_get_ec2_instance_recommendations(
  instanceArns = NULL,
  nextToken = NULL,
  maxResults = NULL,
  filters = NULL,
  accountIds = NULL,
  recommendationPreferences = NULL
)

Arguments

instanceArns

The Amazon Resource Name (ARN) of the instances for which to return recommendations.

nextToken

The token to advance to the next page of instance recommendations.

maxResults

The maximum number of instance 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 instance recommendations.

accountIds

The ID of the Amazon Web Services account for which to return instance recommendations.

If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.

Only one account ID can be specified per request.

recommendationPreferences

An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.