LicenseManager / Client / delete_grant

delete_grant#

LicenseManager.Client.delete_grant(**kwargs)#

Deletes the specified grant.

See also: AWS API Documentation

Request Syntax

response = client.delete_grant(
    GrantArn='string',
    StatusReason='string',
    Version='string'
)
Parameters:
  • GrantArn (string) –

    [REQUIRED]

    Amazon Resource Name (ARN) of the grant.

  • StatusReason (string) – The Status reason for the delete request.

  • Version (string) –

    [REQUIRED]

    Current version of the grant.

Return type:

dict

Returns:

Response Syntax

{
    'GrantArn': 'string',
    'Status': 'PENDING_WORKFLOW'|'PENDING_ACCEPT'|'REJECTED'|'ACTIVE'|'FAILED_WORKFLOW'|'DELETED'|'PENDING_DELETE'|'DISABLED'|'WORKFLOW_COMPLETED',
    'Version': 'string'
}

Response Structure

  • (dict) –

    • GrantArn (string) –

      Grant ARN.

    • Status (string) –

      Grant status.

    • Version (string) –

      Grant version.

Exceptions