libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Read DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Show DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Generic DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Associated Types

type Rep DeleteRepositoryPolicy :: Type -> Type #

NFData DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Methods

rnf :: DeleteRepositoryPolicy -> () #

Hashable DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

ToJSON DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

AWSRequest DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Associated Types

type AWSResponse 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

type Rep DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

type Rep DeleteRepositoryPolicy = D1 ('MetaData "DeleteRepositoryPolicy" "Amazonka.ECRPublic.DeleteRepositoryPolicy" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" '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)))
type AWSResponse DeleteRepositoryPolicy Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

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:

$sel:registryId: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.

$sel:repositoryName: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
Eq DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Read DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Show DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Generic DeleteRepositoryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.DeleteRepositoryPolicy

Associated Types

type Rep DeleteRepositoryPolicyResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" 'False) (C1 ('MetaCons "DeleteRepositoryPolicyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "policyText") '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:registryId:DeleteRepositoryPolicy', deleteRepositoryPolicyResponse_registryId - The registry ID associated with the request.

$sel:repositoryName:DeleteRepositoryPolicy', deleteRepositoryPolicyResponse_repositoryName - The repository name associated with the request.

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

$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.