2020/04/30 - Schemas - 3 new api methods
Changes Update schemas client to latest version
Delete the resource-based policy attached to the specified registry.
See also: AWS API Documentation
Request Syntax
client.delete_resource_policy( RegistryName='string' )
string
The name of the registry.
None
The name of the policy.
See also: AWS API Documentation
Request Syntax
client.put_resource_policy( Policy='string', RegistryName='string', RevisionId='string' )
string
[REQUIRED]
The resource-based policy.
string
The name of the registry.
string
The revision ID of the 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.
Retrieves the resource-based policy attached to a given registry.
See also: AWS API Documentation
Request Syntax
client.get_resource_policy( RegistryName='string' )
string
The name of the registry.
dict
Response Syntax
{ 'Policy': 'string', 'RevisionId': 'string' }
Response Structure
(dict) --
Get Resource-Based Policy Response
Policy (string) --
The resource-based policy.
RevisionId (string) --
The revision ID.