Skip to content

GetLambdaFunctionRecommendationsRequest

Source code in docs_src/capo_compute_optimizer/types/get_lambda_function_recommendations_request.py
class GetLambdaFunctionRecommendationsRequest(TypedDict, closed=True):
    function_arns: NotRequired[
        "capo_compute_optimizer.types.function_arns.FunctionArns"
    ]
    """<p>The Amazon Resource Name (ARN) of the functions for which to return recommendations.</p> <p>You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest (<code>$LATEST</code>) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using">Using versions</a> in the <i>Lambda Developer Guide</i>.</p>"""
    account_ids: NotRequired["capo_compute_optimizer.types.account_ids.AccountIds"]
    """<p>The ID of the Amazon Web Services account for which to return function 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 function recommendations.</p> <p>Only one account ID can be specified per request.</p>"""
    filters: NotRequired[
        "capo_compute_optimizer.types.lambda_function_recommendation_filters.LambdaFunctionRecommendationFilters"
    ]
    """<p>An array of objects to specify a filter that returns a more specific list of function recommendations.</p>"""
    next_token: NotRequired["capo_compute_optimizer.types.next_token.NextToken"]
    """<p>The token to advance to the next page of function recommendations.</p>"""
    max_results: NotRequired["capo_compute_optimizer.types.max_results.MaxResults"]
    """<p>The maximum number of function 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>"""

account_ids instance-attribute

account_ids: NotRequired[AccountIds]

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

Only one account ID can be specified per request.

filters instance-attribute

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

function_arns instance-attribute

function_arns: NotRequired[FunctionArns]

The Amazon Resource Name (ARN) of the functions for which to return recommendations.

You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest ($LATEST) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see Using versions in the Lambda Developer Guide.

max_results instance-attribute

max_results: NotRequired[MaxResults]

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