Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time¶
Description¶
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.
Usage¶
licensemanager_list_usage_for_license_configuration(
LicenseConfigurationArn, MaxResults, NextToken, Filters)
Arguments¶
-
LicenseConfigurationArn[required] Amazon Resource Name (ARN) of the license configuration.
-
MaxResultsMaximum number of results to return in a single call.
-
NextTokenToken for the next set of results.
-
FiltersFilters to scope the results. The following filters and logical operators are supported:
resourceArn- The ARN of the license configuration resource.resourceType- The resource type (EC2_INSTANCE|EC2_HOST|EC2_AMI|SYSTEMS_MANAGER_MANAGED_INSTANCE).resourceAccount- The ID of the account that owns the resource.
Value¶
A list with the following syntax:
list(
LicenseConfigurationUsageList = list(
list(
ResourceArn = "string",
ResourceType = "EC2_INSTANCE"|"EC2_HOST"|"EC2_AMI"|"RDS"|"SYSTEMS_MANAGER_MANAGED_INSTANCE",
ResourceStatus = "string",
ResourceOwnerId = "string",
AssociationTime = as.POSIXct(
"2015-01-01"
),
ConsumedLicenses = 123
)
),
NextToken = "string"
)