Skip to content

/AWS1/CL_COP=>GETLAMBDAFUNCRECOMMENDATIONS()

About GetLambdaFunctionRecommendations

Returns Lambda function recommendations.

Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.

Method Signature

IMPORTING

Optional arguments:

IT_FUNCTIONARNS TYPE /AWS1/CL_COPFUNCTIONARNS_W=>TT_FUNCTIONARNS TT_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.

IT_ACCOUNTIDS TYPE /AWS1/CL_COPACCOUNTIDS_W=>TT_ACCOUNTIDS TT_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.

IT_FILTERS TYPE /AWS1/CL_COPLAMBDAFUNCRECOMM00=>TT_LAMBDAFUNCRECOMMENDATIONF00 TT_LAMBDAFUNCRECOMMENDATIONF00

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

IV_NEXTTOKEN TYPE /AWS1/COPNEXTTOKEN /AWS1/COPNEXTTOKEN

The token to advance to the next page of function recommendations.

IV_MAXRESULTS TYPE /AWS1/COPMAXRESULTS /AWS1/COPMAXRESULTS

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_COPGETLAMBDAFUNCREC01 /AWS1/CL_COPGETLAMBDAFUNCREC01