put_resource_policy(**kwargs)¶The name of the policy.
See also: AWS API Documentation
Request Syntax
response = client.put_resource_policy(
    Policy='string',
    RegistryName='string',
    RevisionId='string'
)
[REQUIRED]
The resource-based policy.
dict
Response Syntax
{
    'Policy': 'string',
    'RevisionId': 'string'
}
Response Structure
(dict) --
200 response
Policy (string) --
The resource-based policy.
RevisionId (string) --
The revision ID of the policy.
Exceptions
Schemas.Client.exceptions.BadRequestExceptionSchemas.Client.exceptions.UnauthorizedExceptionSchemas.Client.exceptions.PreconditionFailedExceptionSchemas.Client.exceptions.InternalServerErrorExceptionSchemas.Client.exceptions.ForbiddenExceptionSchemas.Client.exceptions.NotFoundExceptionSchemas.Client.exceptions.ServiceUnavailableException