Skip to content

/AWS1/CL_LIC=>LISTUSAGEFORLICENSECONF()

About ListUsageForLicenseConfiguration

Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.

Method Signature

IMPORTING

Required arguments:

IV_LICENSECONFIGURATIONARN TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Amazon Resource Name (ARN) of the license configuration.

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/LICBOXINTEGER /AWS1/LICBOXINTEGER

Maximum number of results to return in a single call.

IV_NEXTTOKEN TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Token for the next set of results.

IT_FILTERS TYPE /AWS1/CL_LICFILTER=>TT_FILTERS TT_FILTERS

Filters to scope the results. The following filters and logical operators are supported:

  • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.

  • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.

  • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LICLSTUSAGEFORLICEN01 /AWS1/CL_LICLSTUSAGEFORLICEN01