Skip to content

GetRightsizingRecommendationRequest

Source code in docs_src/capo_cost_explorer/types/get_rightsizing_recommendation_request.py
class GetRightsizingRecommendationRequest(TypedDict, closed=True):
    filter: NotRequired["capo_cost_explorer.types.expression.Expression"]
    configuration: NotRequired[
        "capo_cost_explorer.types.rightsizing_recommendation_configuration.RightsizingRecommendationConfiguration"
    ]
    """<p>You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither. </p>"""
    service: "capo_cost_explorer.types.generic_string.GenericString"
    """<p>The specific service that you want recommendations for. The only valid value for <code>GetRightsizingRecommendation</code> is "<code>AmazonEC2</code>".</p>"""
    page_size: (
        "capo_cost_explorer.types.recommendations_page_size.RecommendationsPageSize"
    )
    """<p>The number of recommendations that you want returned in a single response object.</p>"""
    next_page_token: NotRequired[
        "capo_cost_explorer.types.next_page_token.NextPageToken"
    ]
    """<p>The pagination token that indicates the next set of results that you want to retrieve.</p>"""

configuration instance-attribute

configuration: NotRequired[RightsizingRecommendationConfiguration]

You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.

filter instance-attribute

filter: NotRequired[Expression]

next_page_token instance-attribute

next_page_token: NotRequired[NextPageToken]

The pagination token that indicates the next set of results that you want to retrieve.

page_size instance-attribute

The number of recommendations that you want returned in a single response object.

service instance-attribute

service: GenericString

The specific service that you want recommendations for. The only valid value for GetRightsizingRecommendation is "AmazonEC2".