Glue.Client.
get_resource_policy
(**kwargs)¶Retrieves a specified resource policy.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_policy(
ResourceArn='string'
)
GetResourcePolicies
to view all existing resource policies. For more information see Specifying Glue Resource ARNs.{
'PolicyInJson': 'string',
'PolicyHash': 'string',
'CreateTime': datetime(2015, 1, 1),
'UpdateTime': datetime(2015, 1, 1)
}
Response Structure
Contains the requested policy document, in JSON format.
Contains the hash value associated with this policy.
The date and time at which the policy was created.
The date and time at which the policy was last updated.
Exceptions
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.InvalidInputException