Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_registry_policy

delete_registry_policy()

Deletes the registry permissions policy.

See also: AWS API Documentation

Request Syntax

response = client.delete_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 contents of the registry permissions policy that was deleted.

Exceptions

  • ECR.Client.exceptions.ServerException
  • ECR.Client.exceptions.InvalidParameterException
  • ECR.Client.exceptions.RegistryPolicyNotFoundException
  • ECR.Client.exceptions.ValidationException