Skip to content

GetIdleRecommendationsRequest

Source code in docs_src/capo_compute_optimizer/types/get_idle_recommendations_request.py
class GetIdleRecommendationsRequest(TypedDict, closed=True):
    resource_arns: NotRequired[
        "capo_compute_optimizer.types.resource_arns.ResourceArns"
    ]
    """<p>The ARN that identifies the idle resource.</p>"""
    next_token: NotRequired["capo_compute_optimizer.types.next_token.NextToken"]
    """<p>The token to advance to the next page of idle resource recommendations.</p>"""
    max_results: NotRequired[
        "capo_compute_optimizer.types.idle_max_results.IdleMaxResults"
    ]
    """<p>The maximum number of idle resource recommendations to return with a single request. </p> <p>To retrieve the remaining results, make another request with the returned <code>nextToken</code> value.</p>"""
    filters: NotRequired[
        "capo_compute_optimizer.types.idle_recommendation_filters.IdleRecommendationFilters"
    ]
    """<p>An array of objects to specify a filter that returns a more specific list of idle resource recommendations.</p>"""
    account_ids: NotRequired["capo_compute_optimizer.types.account_ids.AccountIds"]
    """<p>Return the idle resource recommendations to the specified Amazon Web Services account IDs.</p> <p>If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts.</p> <p>You can only specify one account ID per request.</p>"""
    order_by: NotRequired["capo_compute_optimizer.types.order_by.OrderBy"]
    """<p>The order to sort the idle resource recommendations.</p>"""

account_ids instance-attribute

account_ids: NotRequired[AccountIds]

Return the idle resource recommendations to the specified Amazon Web Services account IDs.

If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts.

You can only specify one account ID per request.

filters instance-attribute

filters: NotRequired[IdleRecommendationFilters]

An array of objects to specify a filter that returns a more specific list of idle resource recommendations.

max_results instance-attribute

max_results: NotRequired[IdleMaxResults]

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

order_by instance-attribute

order_by: NotRequired[OrderBy]

The order to sort the idle resource recommendations.

resource_arns instance-attribute

resource_arns: NotRequired[ResourceArns]

The ARN that identifies the idle resource.