amazonka-ecr-1.4.0: Amazon EC2 Container Registry SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ECR.DeleteRepositoryPolicy

Contents

Description

Deletes the repository policy from a specified repository.

Synopsis

Creating a Request

deleteRepositoryPolicy Source

Creates a value of DeleteRepositoryPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

drpRegistryId :: Lens' DeleteRepositoryPolicy (Maybe Text) Source

The AWS account ID associated with the registry that contains the repository policy to delete. If you do not specify a registry, the default registry is assumed.

drpRepositoryName :: Lens' DeleteRepositoryPolicy Text Source

The name of the repository that is associated with the repository policy to delete.

Destructuring the Response

deleteRepositoryPolicyResponse Source

Creates a value of DeleteRepositoryPolicyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

drprsRegistryId :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source

The registry ID associated with the request.

drprsRepositoryName :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source

The repository name associated with the request.

drprsPolicyText :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source

The JSON repository policy that was deleted from the repository.