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.
licensemanager_list_usage_for_license_configuration(
LicenseConfigurationArn, MaxResults, NextToken, Filters)
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"
)
[required] Amazon Resource Name (ARN) of the license configuration.
Maximum number of results to return in a single call.
Token for the next set of results.
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
.
svc$list_usage_for_license_configuration(
LicenseConfigurationArn = "string",
MaxResults = 123,
NextToken = "string",
Filters = list(
list(
Name = "string",
Values = list(
"string"
)
)
)
)