amazonka-lightsail-2.0: Amazon Lightsail 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.Lightsail.DeleteDomain

Description

Deletes the specified domain recordset and all of its domain records.

The delete domain operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data DeleteDomain Source #

See: newDeleteDomain smart constructor.

Constructors

DeleteDomain' 

Fields

Instances

Instances details
ToJSON DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

ToHeaders DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

ToPath DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

ToQuery DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

AWSRequest DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Associated Types

type AWSResponse DeleteDomain #

Generic DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Associated Types

type Rep DeleteDomain :: Type -> Type #

Read DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Show DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

NFData DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Methods

rnf :: DeleteDomain -> () #

Eq DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Hashable DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

type AWSResponse DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

type Rep DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

type Rep DeleteDomain = D1 ('MetaData "DeleteDomain" "Amazonka.Lightsail.DeleteDomain" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "DeleteDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

DeleteDomain, deleteDomain_domainName - The specific domain name to delete.

Request Lenses

deleteDomain_domainName :: Lens' DeleteDomain Text Source #

The specific domain name to delete.

Destructuring the Response

data DeleteDomainResponse Source #

See: newDeleteDomainResponse smart constructor.

Constructors

DeleteDomainResponse' 

Fields

  • operation :: Maybe Operation

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Associated Types

type Rep DeleteDomainResponse :: Type -> Type #

Read DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Show DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

NFData DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Methods

rnf :: DeleteDomainResponse -> () #

Eq DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

type Rep DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

type Rep DeleteDomainResponse = D1 ('MetaData "DeleteDomainResponse" "Amazonka.Lightsail.DeleteDomain" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "DeleteDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Operation)) :*: 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:operation:DeleteDomainResponse', deleteDomainResponse_operation - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

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

Response Lenses

deleteDomainResponse_operation :: Lens' DeleteDomainResponse (Maybe Operation) Source #

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.