class Aws::ComputeOptimizer::Types::GetEC2InstanceRecommendationsRequest
@note When making an API call, you may pass GetEC2InstanceRecommendationsRequest
data as a hash: { instance_arns: ["InstanceArn"], next_token: "NextToken", max_results: 1, filters: [ { name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType values: ["FilterValue"], }, ], account_ids: ["AccountId"], recommendation_preferences: { cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT }, }
@!attribute [rw] instance_arns
The Amazon Resource Name (ARN) of the instances for which to return recommendations. @return [Array<String>]
@!attribute [rw] next_token
The token to advance to the next page of instance recommendations. @return [String]
@!attribute [rw] max_results
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. @return [Integer]
@!attribute [rw] filters
An array of objects to specify a filter that returns a more specific list of instance recommendations. @return [Array<Types::Filter>]
@!attribute [rw] account_ids
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. @return [Array<String>]
@!attribute [rw] recommendation_preferences
An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response. @return [Types::RecommendationPreferences]
@see docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEC2InstanceRecommendationsRequest AWS API Documentation
Constants
- SENSITIVE