MarketplaceCatalog / Client / get_resource_policy
get_resource_policy#
- MarketplaceCatalog.Client.get_resource_policy(**kwargs)#
Gets a resource-based policy of an entity that is identified by its resource ARN.
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 entity resource that is associated with the resource policy.
- Return type:
dict
- Returns:
Response Syntax
{ 'Policy': 'string' }
Response Structure
(dict) –
Policy (string) –
The policy document to set; formatted in JSON.
Exceptions
MarketplaceCatalog.Client.exceptions.InternalServiceException
MarketplaceCatalog.Client.exceptions.AccessDeniedException
MarketplaceCatalog.Client.exceptions.ValidationException
MarketplaceCatalog.Client.exceptions.ResourceNotFoundException
MarketplaceCatalog.Client.exceptions.ThrottlingException