ECRPublic.Client.delete_repository_policy(**kwargs)¶Deletes the repository policy that's associated with the specified repository.
See also: AWS API Documentation
Request Syntax
response = client.delete_repository_policy(
registryId='string',
repositoryName='string'
)
[REQUIRED]
The name of the repository that's associated with the repository policy to delete.
dict
Response Syntax
{
'registryId': 'string',
'repositoryName': 'string',
'policyText': 'string'
}
Response Structure
(dict) --
registryId (string) --
The registry ID that's associated with the request.
repositoryName (string) --
The repository name that's associated with the request.
policyText (string) --
The JSON repository policy that was deleted from the repository.
Exceptions
ECRPublic.Client.exceptions.ServerExceptionECRPublic.Client.exceptions.InvalidParameterExceptionECRPublic.Client.exceptions.RepositoryNotFoundExceptionECRPublic.Client.exceptions.RepositoryPolicyNotFoundExceptionECRPublic.Client.exceptions.UnsupportedCommandException