create_grant_version(**kwargs)¶Creates a new version of the specified grant.
See also: AWS API Documentation
Request Syntax
response = client.create_grant_version(
    ClientToken='string',
    GrantArn='string',
    GrantName='string',
    AllowedOperations=[
        'CreateGrant'|'CheckoutLicense'|'CheckoutBorrowLicense'|'CheckInLicense'|'ExtendConsumptionLicense'|'ListPurchasedLicenses'|'CreateToken',
    ],
    Status='PENDING_WORKFLOW'|'PENDING_ACCEPT'|'REJECTED'|'ACTIVE'|'FAILED_WORKFLOW'|'DELETED'|'PENDING_DELETE'|'DISABLED'|'WORKFLOW_COMPLETED',
    StatusReason='string',
    SourceVersion='string'
)
[REQUIRED]
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
[REQUIRED]
Amazon Resource Name (ARN) of the grant.
Allowed operations for the grant.
dict
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) --
New version of the grant.
Exceptions
LicenseManager.Client.exceptions.ValidationExceptionLicenseManager.Client.exceptions.InvalidParameterValueExceptionLicenseManager.Client.exceptions.ResourceLimitExceededExceptionLicenseManager.Client.exceptions.ServerInternalExceptionLicenseManager.Client.exceptions.AuthorizationExceptionLicenseManager.Client.exceptions.AccessDeniedExceptionLicenseManager.Client.exceptions.RateLimitExceededException