Skip to content

GetLicenseRecommendationsRequest

Source code in docs_src/capo_compute_optimizer/types/get_license_recommendations_request.py
class GetLicenseRecommendationsRequest(TypedDict, closed=True):
    resource_arns: NotRequired[
        "capo_compute_optimizer.types.resource_arns.ResourceArns"
    ]
    """<p> The ARN that identifies the Amazon EC2 instance. </p> <p> The following is the format of the ARN: </p> <p> <code>arn:aws:ec2:region:aws_account_id:instance/instance-id</code> </p>"""
    next_token: NotRequired["capo_compute_optimizer.types.next_token.NextToken"]
    """<p> The token to advance to the next page of license recommendations. </p>"""
    max_results: NotRequired["capo_compute_optimizer.types.max_results.MaxResults"]
    """<p> The maximum number of license 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.license_recommendation_filters.LicenseRecommendationFilters"
    ]
    """<p> An array of objects to specify a filter that returns a more specific list of license recommendations. </p>"""
    account_ids: NotRequired["capo_compute_optimizer.types.account_ids.AccountIds"]
    """<p>The ID of the Amazon Web Services account for which to return license recommendations.</p> <p>If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.</p> <p>Only one account ID can be specified per request.</p>"""

account_ids instance-attribute

account_ids: NotRequired[AccountIds]

The ID of the Amazon Web Services account for which to return license 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 license recommendations.

Only one account ID can be specified per request.

filters instance-attribute

filters: NotRequired[LicenseRecommendationFilters]

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

max_results instance-attribute

max_results: NotRequired[MaxResults]

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

resource_arns instance-attribute

resource_arns: NotRequired[ResourceArns]

The ARN that identifies the Amazon EC2 instance.

The following is the format of the ARN:

arn:aws:ec2:region:aws_account_id:instance/instance-id