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.BadRequestExceptionSchemas.Client.exceptions.UnauthorizedExceptionSchemas.Client.exceptions.InternalServerErrorExceptionSchemas.Client.exceptions.ForbiddenExceptionSchemas.Client.exceptions.NotFoundExceptionSchemas.Client.exceptions.ServiceUnavailableException