GetEC2InstanceRecommendationsRequest
¶
Source code in docs_src/capo_compute_optimizer/types/get_ec2_instance_recommendations_request.py
account_ids
instance-attribute
¶
account_ids: NotRequired[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.
filters
instance-attribute
¶
filters: NotRequired[Filters]
An array of objects to specify a filter that returns a more specific list of instance recommendations.
instance_arns
instance-attribute
¶
instance_arns: NotRequired[InstanceArns]
The Amazon Resource Name (ARN) of the instances for which to return recommendations.
max_results
instance-attribute
¶
max_results: NotRequired[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.
next_token
instance-attribute
¶
next_token: NotRequired[NextToken]
The token to advance to the next page of instance recommendations.
recommendation_preferences
instance-attribute
¶
recommendation_preferences: NotRequired[RecommendationPreferences]
An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.