Schemas.Client.
get_resource_policy
(**kwargs)¶Retrieves the resource-based policy attached to a given registry.
See also: AWS API Documentation
Request Syntax
response = client.get_resource_policy(
RegistryName='string'
)
{
'Policy': 'string',
'RevisionId': 'string'
}
Response Structure
Get Resource-Based Policy Response
The resource-based policy.
The revision ID.
Exceptions
Schemas.Client.exceptions.BadRequestException
Schemas.Client.exceptions.UnauthorizedException
Schemas.Client.exceptions.InternalServerErrorException
Schemas.Client.exceptions.ForbiddenException
Schemas.Client.exceptions.NotFoundException
Schemas.Client.exceptions.ServiceUnavailableException