get_grant
(**kwargs)¶Gets detailed information about the specified grant.
See also: AWS API Documentation
Request Syntax
response = client.get_grant(
GrantArn='string',
Version='string'
)
[REQUIRED]
Amazon Resource Name (ARN) of the grant.
dict
Response Syntax
{
'Grant': {
'GrantArn': 'string',
'GrantName': 'string',
'ParentArn': 'string',
'LicenseArn': 'string',
'GranteePrincipalArn': 'string',
'HomeRegion': 'string',
'GrantStatus': 'PENDING_WORKFLOW'|'PENDING_ACCEPT'|'REJECTED'|'ACTIVE'|'FAILED_WORKFLOW'|'DELETED'|'PENDING_DELETE'|'DISABLED'|'WORKFLOW_COMPLETED',
'StatusReason': 'string',
'Version': 'string',
'GrantedOperations': [
'CreateGrant'|'CheckoutLicense'|'CheckoutBorrowLicense'|'CheckInLicense'|'ExtendConsumptionLicense'|'ListPurchasedLicenses'|'CreateToken',
]
}
}
Response Structure
(dict) --
Grant (dict) --
Grant details.
GrantArn (string) --
Amazon Resource Name (ARN) of the grant.
GrantName (string) --
Grant name.
ParentArn (string) --
Parent ARN.
LicenseArn (string) --
License ARN.
GranteePrincipalArn (string) --
The grantee principal ARN.
HomeRegion (string) --
Home Region of the grant.
GrantStatus (string) --
Grant status.
StatusReason (string) --
Grant status reason.
Version (string) --
Grant version.
GrantedOperations (list) --
Granted operations.
Exceptions
LicenseManager.Client.exceptions.ValidationException
LicenseManager.Client.exceptions.InvalidParameterValueException
LicenseManager.Client.exceptions.ResourceLimitExceededException
LicenseManager.Client.exceptions.ServerInternalException
LicenseManager.Client.exceptions.AuthorizationException
LicenseManager.Client.exceptions.AccessDeniedException
LicenseManager.Client.exceptions.RateLimitExceededException