extend_license_consumption

LicenseManager.Client.extend_license_consumption(**kwargs)

Extends the expiration date for license consumption.

See also: AWS API Documentation

Request Syntax

response = client.extend_license_consumption(
    LicenseConsumptionToken='string',
    DryRun=True|False
)
Parameters
  • LicenseConsumptionToken (string) --

    [REQUIRED]

    License consumption token.

  • DryRun (boolean) -- Checks whether you have the required permissions for the action, without actually making the request. Provides an error response if you do not have the required permissions.
Return type

dict

Returns

Response Syntax

{
    'LicenseConsumptionToken': 'string',
    'Expiration': 'string'
}

Response Structure

  • (dict) --

    • LicenseConsumptionToken (string) --

      License consumption token.

    • Expiration (string) --

      Date and time at which the license consumption expires.

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
  • LicenseManager.Client.exceptions.ResourceNotFoundException