LicenseManager.Client.
get_license_usage
(**kwargs)¶Gets detailed information about the usage of the specified license.
See also: AWS API Documentation
Request Syntax
response = client.get_license_usage(
LicenseArn='string'
)
[REQUIRED]
Amazon Resource Name (ARN) of the license.
{
'LicenseUsage': {
'EntitlementUsages': [
{
'Name': 'string',
'ConsumedValue': 'string',
'MaxCount': 'string',
'Unit': 'Count'|'None'|'Seconds'|'Microseconds'|'Milliseconds'|'Bytes'|'Kilobytes'|'Megabytes'|'Gigabytes'|'Terabytes'|'Bits'|'Kilobits'|'Megabits'|'Gigabits'|'Terabits'|'Percent'|'Bytes/Second'|'Kilobytes/Second'|'Megabytes/Second'|'Gigabytes/Second'|'Terabytes/Second'|'Bits/Second'|'Kilobits/Second'|'Megabits/Second'|'Gigabits/Second'|'Terabits/Second'|'Count/Second'
},
]
}
}
Response Structure
License usage details.
License entitlement usages.
Usage associated with an entitlement resource.
Entitlement usage name.
Resource usage consumed.
Maximum entitlement usage count.
Entitlement usage unit.
Exceptions
LicenseManager.Client.exceptions.ValidationException
LicenseManager.Client.exceptions.InvalidParameterValueException
LicenseManager.Client.exceptions.AuthorizationException
LicenseManager.Client.exceptions.AccessDeniedException
LicenseManager.Client.exceptions.RateLimitExceededException
LicenseManager.Client.exceptions.ServerInternalException