Skip to content

/AWS1/CL_COP=>GETLICENSERECOMMENDATIONS()

About GetLicenseRecommendations

Returns license recommendations for Amazon EC2 instances that run on a specific license.

Compute Optimizer generates recommendations for licenses 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_RESOURCEARNS TYPE /AWS1/CL_COPRESOURCEARNS_W=>TT_RESOURCEARNS TT_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

IV_NEXTTOKEN TYPE /AWS1/COPNEXTTOKEN /AWS1/COPNEXTTOKEN

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

IV_MAXRESULTS TYPE /AWS1/COPMAXRESULTS /AWS1/COPMAXRESULTS

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.

IT_FILTERS TYPE /AWS1/CL_COPLICENSERECOMMEND00=>TT_LICENSERECOMMENDATIONFILTS TT_LICENSERECOMMENDATIONFILTS

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

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_COPGETLICENSERECOMM01 /AWS1/CL_COPGETLICENSERECOMM01