libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.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
Eq DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Read DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Show DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Generic DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Associated Types

type Rep DeleteDomain :: Type -> Type #

NFData DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Methods

rnf :: DeleteDomain -> () #

Hashable DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

ToJSON DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

AWSRequest DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Associated Types

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

type Rep DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

type Rep DeleteDomain = D1 ('MetaData "DeleteDomain" "Amazonka.Lightsail.DeleteDomain" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DeleteDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDomain Source # 
Instance details

Defined in Amazonka.Lightsail.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:domainName: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
Eq DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Read DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Show DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Generic DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Associated Types

type Rep DeleteDomainResponse :: Type -> Type #

NFData DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

Methods

rnf :: DeleteDomainResponse -> () #

type Rep DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDomain

type Rep DeleteDomainResponse = D1 ('MetaData "DeleteDomainResponse" "Amazonka.Lightsail.DeleteDomain" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" '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.