List Usage For License Configuration
licensemanager_list_usage_for_license_configuration | R Documentation |
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.
MaxResults
Maximum number of results to return in a single call.
NextToken
Token for the next set of results.
Filters
Filters to scope the results. The following filters and logical operators are supported:
resourceArn
- The ARN of the license configuration resource. Logical operators areEQUALS
|NOT_EQUALS
.resourceType
- The resource type (EC2_INSTANCE
|EC2_HOST
|EC2_AMI
|SYSTEMS_MANAGER_MANAGED_INSTANCE
). Logical operators areEQUALS
|NOT_EQUALS
.resourceAccount
- The ID of the account that owns the resource. Logical operators areEQUALS
|NOT_EQUALS
.
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"
)