libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact
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.CodeArtifact.DeleteRepositoryPermissionsPolicy

Description

Deletes the resource policy that is set on a repository. After a resource policy is deleted, the permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate.

Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, AWS users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy.

Synopsis

Creating a Request

data DeleteRepositoryPermissionsPolicy Source #

See: newDeleteRepositoryPermissionsPolicy smart constructor.

Constructors

DeleteRepositoryPermissionsPolicy' 

Fields

  • policyRevision :: Maybe Text

    The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which prevents others from accidentally overwriting your changes to the repository's resource policy.

  • domainOwner :: Maybe Text

    The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

  • domain :: Text

    The name of the domain that contains the repository associated with the resource policy to be deleted.

  • repository :: Text

    The name of the repository that is associated with the resource policy to be deleted

Instances

Instances details
Eq DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

Read DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

Show DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

Generic DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

Associated Types

type Rep DeleteRepositoryPermissionsPolicy :: Type -> Type #

NFData DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

Hashable DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

AWSRequest DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

ToHeaders DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

ToPath DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

ToQuery DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

type Rep DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

type Rep DeleteRepositoryPermissionsPolicy = D1 ('MetaData "DeleteRepositoryPermissionsPolicy" "Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "DeleteRepositoryPermissionsPolicy'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "policyRevision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteRepositoryPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

newDeleteRepositoryPermissionsPolicy Source #

Create a value of DeleteRepositoryPermissionsPolicy 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:policyRevision:DeleteRepositoryPermissionsPolicy', deleteRepositoryPermissionsPolicy_policyRevision - The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which prevents others from accidentally overwriting your changes to the repository's resource policy.

$sel:domainOwner:DeleteRepositoryPermissionsPolicy', deleteRepositoryPermissionsPolicy_domainOwner - The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

$sel:domain:DeleteRepositoryPermissionsPolicy', deleteRepositoryPermissionsPolicy_domain - The name of the domain that contains the repository associated with the resource policy to be deleted.

$sel:repository:DeleteRepositoryPermissionsPolicy', deleteRepositoryPermissionsPolicy_repository - The name of the repository that is associated with the resource policy to be deleted

Request Lenses

deleteRepositoryPermissionsPolicy_policyRevision :: Lens' DeleteRepositoryPermissionsPolicy (Maybe Text) Source #

The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which prevents others from accidentally overwriting your changes to the repository's resource policy.

deleteRepositoryPermissionsPolicy_domainOwner :: Lens' DeleteRepositoryPermissionsPolicy (Maybe Text) Source #

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

deleteRepositoryPermissionsPolicy_domain :: Lens' DeleteRepositoryPermissionsPolicy Text Source #

The name of the domain that contains the repository associated with the resource policy to be deleted.

deleteRepositoryPermissionsPolicy_repository :: Lens' DeleteRepositoryPermissionsPolicy Text Source #

The name of the repository that is associated with the resource policy to be deleted

Destructuring the Response

data DeleteRepositoryPermissionsPolicyResponse Source #

Constructors

DeleteRepositoryPermissionsPolicyResponse' 

Fields

Instances

Instances details
Eq DeleteRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

Read DeleteRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

Show DeleteRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

Generic DeleteRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

NFData DeleteRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

type Rep DeleteRepositoryPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy

type Rep DeleteRepositoryPermissionsPolicyResponse = D1 ('MetaData "DeleteRepositoryPermissionsPolicyResponse" "Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "DeleteRepositoryPermissionsPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourcePolicy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteRepositoryPermissionsPolicyResponse Source #

Create a value of DeleteRepositoryPermissionsPolicyResponse 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:policy:DeleteRepositoryPermissionsPolicyResponse', deleteRepositoryPermissionsPolicyResponse_policy - Information about the deleted policy after processing the request.

$sel:httpStatus:DeleteRepositoryPermissionsPolicyResponse', deleteRepositoryPermissionsPolicyResponse_httpStatus - The response's http status code.

Response Lenses