amazonka-ecr-2.0: Amazon EC2 Container Registry SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECR.DeleteRepositoryPolicy

Description

Deletes the repository policy associated with the specified repository.

Synopsis

Creating a Request

data DeleteRepositoryPolicy Source #

See: newDeleteRepositoryPolicy smart constructor.

Constructors

DeleteRepositoryPolicy' 

Fields

  • registryId :: Maybe Text

    The Amazon Web Services 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.

  • repositoryName :: Text

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

Instances

Instances details
ToJSON DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

ToHeaders DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

ToPath DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

ToQuery DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

AWSRequest DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

Associated Types

type AWSResponse DeleteRepositoryPolicy #

Generic DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

Associated Types

type Rep DeleteRepositoryPolicy :: Type -> Type #

Read DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

Show DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

NFData DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

Methods

rnf :: DeleteRepositoryPolicy -> () #

Eq DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

Hashable DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

type AWSResponse DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

type Rep DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

type Rep DeleteRepositoryPolicy = D1 ('MetaData "DeleteRepositoryPolicy" "Amazonka.ECR.DeleteRepositoryPolicy" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "DeleteRepositoryPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteRepositoryPolicy Source #

Create a value of DeleteRepositoryPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DeleteRepositoryPolicy, deleteRepositoryPolicy_registryId - The Amazon Web Services 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.

DeleteRepositoryPolicy, deleteRepositoryPolicy_repositoryName - The name of the repository that is associated with the repository policy to delete.

Request Lenses

deleteRepositoryPolicy_registryId :: Lens' DeleteRepositoryPolicy (Maybe Text) Source #

The Amazon Web Services 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.

deleteRepositoryPolicy_repositoryName :: Lens' DeleteRepositoryPolicy Text Source #

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

Destructuring the Response

data DeleteRepositoryPolicyResponse Source #

See: newDeleteRepositoryPolicyResponse smart constructor.

Constructors

DeleteRepositoryPolicyResponse' 

Fields

Instances

Instances details
Generic DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

Associated Types

type Rep DeleteRepositoryPolicyResponse :: Type -> Type #

Read DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

Show DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

NFData DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

Eq DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

type Rep DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.DeleteRepositoryPolicy

type Rep DeleteRepositoryPolicyResponse = D1 ('MetaData "DeleteRepositoryPolicyResponse" "Amazonka.ECR.DeleteRepositoryPolicy" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "DeleteRepositoryPolicyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "policyText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteRepositoryPolicyResponse Source #

Create a value of DeleteRepositoryPolicyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:policyText:DeleteRepositoryPolicyResponse', deleteRepositoryPolicyResponse_policyText - The JSON repository policy that was deleted from the repository.

DeleteRepositoryPolicy, deleteRepositoryPolicyResponse_registryId - The registry ID associated with the request.

DeleteRepositoryPolicy, deleteRepositoryPolicyResponse_repositoryName - The repository name associated with the request.

$sel:httpStatus:DeleteRepositoryPolicyResponse', deleteRepositoryPolicyResponse_httpStatus - The response's http status code.

Response Lenses

deleteRepositoryPolicyResponse_policyText :: Lens' DeleteRepositoryPolicyResponse (Maybe Text) Source #

The JSON repository policy that was deleted from the repository.