ECR / Client / get_registry_policy
get_registry_policy#
- ECR.Client.get_registry_policy()#
Retrieves the permissions policy for a registry.
See also: AWS API Documentation
Request Syntax
response = client.get_registry_policy()
- Return type:
dict
- Returns:
Response Syntax
{ 'registryId': 'string', 'policyText': 'string' }
Response Structure
(dict) –
registryId (string) –
The registry ID associated with the request.
policyText (string) –
The JSON text of the permissions policy for a registry.
Exceptions
ECR.Client.exceptions.ServerException
ECR.Client.exceptions.InvalidParameterException
ECR.Client.exceptions.RegistryPolicyNotFoundException
ECR.Client.exceptions.ValidationException