EntityResolution / Client / get_policy
get_policy#
- EntityResolution.Client.get_policy(**kwargs)#
Returns the resource-based policy.
See also: AWS API Documentation
Request Syntax
response = client.get_policy( arn='string' )
- Parameters:
arn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'policy': 'string', 'token': 'string' }
Response Structure
(dict) –
arn (string) –
The Entity Resolution resource ARN.
policy (string) –
The resource-based policy.
token (string) –
A unique identifier for the current revision of the policy.
Exceptions
EntityResolution.Client.exceptions.ThrottlingException
EntityResolution.Client.exceptions.InternalServerException
EntityResolution.Client.exceptions.ResourceNotFoundException
EntityResolution.Client.exceptions.AccessDeniedException
EntityResolution.Client.exceptions.ValidationException