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

Description

Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories.

Synopsis

Creating a Request

data DeleteDomain Source #

See: newDeleteDomain smart constructor.

Constructors

DeleteDomain' 

Fields

  • 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 to delete.

Instances

Instances details
Eq DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Read DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Show DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Generic DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Associated Types

type Rep DeleteDomain :: Type -> Type #

NFData DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Methods

rnf :: DeleteDomain -> () #

Hashable DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

AWSRequest DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Associated Types

type AWSResponse DeleteDomain #

ToHeaders DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

ToPath DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

ToQuery DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

type Rep DeleteDomain Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

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

Defined in Amazonka.CodeArtifact.DeleteDomain

newDeleteDomain Source #

Create a value of DeleteDomain 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:domainOwner:DeleteDomain', deleteDomain_domainOwner - The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

$sel:domain:DeleteDomain', deleteDomain_domain - The name of the domain to delete.

Request Lenses

deleteDomain_domainOwner :: Lens' DeleteDomain (Maybe Text) Source #

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

deleteDomain_domain :: Lens' DeleteDomain Text Source #

The name of the domain to delete.

Destructuring the Response

data DeleteDomainResponse Source #

See: newDeleteDomainResponse smart constructor.

Constructors

DeleteDomainResponse' 

Fields

Instances

Instances details
Eq DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Read DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Show DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Generic DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Associated Types

type Rep DeleteDomainResponse :: Type -> Type #

NFData DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

Methods

rnf :: DeleteDomainResponse -> () #

type Rep DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.DeleteDomain

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

newDeleteDomainResponse Source #

Create a value of DeleteDomainResponse 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:domain:DeleteDomain', deleteDomainResponse_domain - Contains information about the deleted domain after processing the request.

$sel:httpStatus:DeleteDomainResponse', deleteDomainResponse_httpStatus - The response's http status code.

Response Lenses

deleteDomainResponse_domain :: Lens' DeleteDomainResponse (Maybe DomainDescription) Source #

Contains information about the deleted domain after processing the request.