Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_license_usage

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'
)
Parameters
LicenseArn (string) --

[REQUIRED]

Amazon Resource Name (ARN) of the license.

Return type
dict
Returns
Response Syntax
{
    '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

  • (dict) --
    • LicenseUsage (dict) --

      License usage details.

      • EntitlementUsages (list) --

        License entitlement usages.

        • (dict) --

          Usage associated with an entitlement resource.

          • Name (string) --

            Entitlement usage name.

          • ConsumedValue (string) --

            Resource usage consumed.

          • MaxCount (string) --

            Maximum entitlement usage count.

          • Unit (string) --

            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