ECR / Client / delete_registry_policy

delete_registry_policy#

ECR.Client.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