Redshift / Client / get_resource_policy
get_resource_policy¶
- Redshift.Client.get_resource_policy(**kwargs)¶
- Get the resource policy for a specified resource. - See also: AWS API Documentation - Request Syntax- response = client.get_resource_policy( ResourceArn='string' ) - Parameters:
- ResourceArn (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the resource of which its resource policy is fetched. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'ResourcePolicy': { 'ResourceArn': 'string', 'Policy': 'string' } } - Response Structure- (dict) – - ResourcePolicy (dict) – - The content of the resource policy. - ResourceArn (string) – - The resources that a policy is attached to. 
- Policy (string) – - The content of a resource policy. 
 
 
 
 - Exceptions