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

Description

Deletes the resource policy set on a domain.

Synopsis

Creating a Request

data DeleteDomainPermissionsPolicy Source #

See: newDeleteDomainPermissionsPolicy smart constructor.

Constructors

DeleteDomainPermissionsPolicy' 

Fields

  • policyRevision :: Maybe Text

    The current revision of the resource policy to be deleted. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain'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 associated with the resource policy to be deleted.

Instances

Instances details
Eq DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

Read DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

Show DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

Generic DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

Associated Types

type Rep DeleteDomainPermissionsPolicy :: Type -> Type #

NFData DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

Hashable DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

AWSRequest DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

ToHeaders DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

ToPath DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

ToQuery DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

type Rep DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

type Rep DeleteDomainPermissionsPolicy = D1 ('MetaData "DeleteDomainPermissionsPolicy" "Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "DeleteDomainPermissionsPolicy'" '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))))
type AWSResponse DeleteDomainPermissionsPolicy Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

newDeleteDomainPermissionsPolicy Source #

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

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

$sel:domain:DeleteDomainPermissionsPolicy', deleteDomainPermissionsPolicy_domain - The name of the domain associated with the resource policy to be deleted.

Request Lenses

deleteDomainPermissionsPolicy_policyRevision :: Lens' DeleteDomainPermissionsPolicy (Maybe Text) Source #

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

deleteDomainPermissionsPolicy_domainOwner :: Lens' DeleteDomainPermissionsPolicy (Maybe Text) Source #

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

deleteDomainPermissionsPolicy_domain :: Lens' DeleteDomainPermissionsPolicy Text Source #

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

Destructuring the Response

data DeleteDomainPermissionsPolicyResponse Source #

Constructors

DeleteDomainPermissionsPolicyResponse' 

Fields

Instances

Instances details
Eq DeleteDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

Read DeleteDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

Show DeleteDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

Generic DeleteDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

NFData DeleteDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

type Rep DeleteDomainPermissionsPolicyResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy

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

newDeleteDomainPermissionsPolicyResponse Source #

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

$sel:httpStatus:DeleteDomainPermissionsPolicyResponse', deleteDomainPermissionsPolicyResponse_httpStatus - The response's http status code.

Response Lenses

deleteDomainPermissionsPolicyResponse_policy :: Lens' DeleteDomainPermissionsPolicyResponse (Maybe ResourcePolicy) Source #

Information about the deleted resource policy after processing the request.