delete_license

LicenseManager.Client.delete_license(**kwargs)

Deletes the specified license.

See also: AWS API Documentation

Request Syntax

response = client.delete_license(
    LicenseArn='string',
    SourceVersion='string'
)
Parameters
  • LicenseArn (string) --

    [REQUIRED]

    Amazon Resource Name (ARN) of the license.

  • SourceVersion (string) --

    [REQUIRED]

    Current version of the license.

Return type

dict

Returns

Response Syntax

{
    'Status': 'PENDING_DELETE'|'DELETED',
    'DeletionDate': 'string'
}

Response Structure

  • (dict) --

    • Status (string) --

      License status.

    • DeletionDate (string) --

      Date when the license is deleted.

Exceptions

  • LicenseManager.Client.exceptions.ValidationException
  • LicenseManager.Client.exceptions.InvalidParameterValueException
  • LicenseManager.Client.exceptions.RedirectException
  • LicenseManager.Client.exceptions.ConflictException
  • LicenseManager.Client.exceptions.ServerInternalException
  • LicenseManager.Client.exceptions.AuthorizationException
  • LicenseManager.Client.exceptions.AccessDeniedException
  • LicenseManager.Client.exceptions.RateLimitExceededException