Skip to content

GetEC2InstanceRecommendationsResponse

Source code in docs_src/capo_compute_optimizer/types/get_ec2_instance_recommendations_response.py
class GetEC2InstanceRecommendationsResponse(TypedDict, closed=True):
    next_token: NotRequired["capo_compute_optimizer.types.next_token.NextToken"]
    """<p>The token to use to advance to the next page of instance recommendations.</p> <p>This value is null when there are no more pages of instance recommendations to return.</p>"""
    instance_recommendations: NotRequired[
        "capo_compute_optimizer.types.instance_recommendations.InstanceRecommendations"
    ]
    """<p>An array of objects that describe instance recommendations.</p>"""
    errors: NotRequired[
        "capo_compute_optimizer.types.get_recommendation_errors.GetRecommendationErrors"
    ]
    """<p>An array of objects that describe errors of the request.</p> <p>For example, an error is returned if you request recommendations for an instance of an unsupported instance family.</p>"""

errors instance-attribute

errors: NotRequired[GetRecommendationErrors]

An array of objects that describe errors of the request.

For example, an error is returned if you request recommendations for an instance of an unsupported instance family.

instance_recommendations instance-attribute

instance_recommendations: NotRequired[InstanceRecommendations]

An array of objects that describe instance recommendations.

next_token instance-attribute

next_token: NotRequired[NextToken]

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

This value is null when there are no more pages of instance recommendations to return.