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.

accept_grant

accept_grant(**kwargs)

Accepts the specified grant.

See also: AWS API Documentation

Request Syntax

response = client.accept_grant(
    GrantArn='string'
)
Parameters
GrantArn (string) --

[REQUIRED]

Amazon Resource Name (ARN) 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

  • LicenseManager.Client.exceptions.ValidationException
  • LicenseManager.Client.exceptions.InvalidParameterValueException
  • LicenseManager.Client.exceptions.AuthorizationException
  • LicenseManager.Client.exceptions.AccessDeniedException
  • LicenseManager.Client.exceptions.RateLimitExceededException
  • LicenseManager.Client.exceptions.ResourceLimitExceededException
  • LicenseManager.Client.exceptions.ServerInternalException