amazonka-ecr-public-2.0: Amazon Elastic Container Registry Public 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.ECRPublic.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 AWS account ID associated with the public registry that contains the repository policy to delete. If you do not specify a registry, the default public 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.ECRPublic.DeleteRepositoryPolicy

ToHeaders DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

ToPath DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

ToQuery DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

AWSRequest DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Associated Types

type AWSResponse DeleteRepositoryPolicy #

Generic DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Associated Types

type Rep DeleteRepositoryPolicy :: Type -> Type #

Read DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Show DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

NFData DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Methods

rnf :: DeleteRepositoryPolicy -> () #

Eq DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Hashable DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

type AWSResponse DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

type Rep DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

type Rep DeleteRepositoryPolicy = D1 ('MetaData "DeleteRepositoryPolicy" "Amazonka.ECRPublic.DeleteRepositoryPolicy" "amazonka-ecr-public-2.0-37SU5CHdiHw3VhMeSkOlop" '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 AWS account ID associated with the public registry that contains the repository policy to delete. If you do not specify a registry, the default public 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 AWS account ID associated with the public registry that contains the repository policy to delete. If you do not specify a registry, the default public 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.ECRPublic.DeleteRepositoryPolicy

Associated Types

type Rep DeleteRepositoryPolicyResponse :: Type -> Type #

Read DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Show DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

NFData DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Eq DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

type Rep DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

type Rep DeleteRepositoryPolicyResponse = D1 ('MetaData "DeleteRepositoryPolicyResponse" "Amazonka.ECRPublic.DeleteRepositoryPolicy" "amazonka-ecr-public-2.0-37SU5CHdiHw3VhMeSkOlop" '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.