libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch
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.CloudSearch.DeleteDomain

Description

Permanently deletes a search domain and all of its data. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide.

Synopsis

Creating a Request

data DeleteDomain Source #

Container for the parameters to the DeleteDomain operation. Specifies the name of the domain you want to delete.

See: newDeleteDomain smart constructor.

Constructors

DeleteDomain' 

Fields

  • domainName :: Text

    The name of the domain you want to permanently delete.

Instances

Instances details
Eq DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Read DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Show DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Generic DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Associated Types

type Rep DeleteDomain :: Type -> Type #

NFData DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Methods

rnf :: DeleteDomain -> () #

Hashable DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

AWSRequest DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Associated Types

type AWSResponse DeleteDomain #

ToHeaders DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

ToPath DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

ToQuery DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

type Rep DeleteDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

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

Defined in Amazonka.CloudSearch.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 name of the domain you want to permanently delete.

Request Lenses

deleteDomain_domainName :: Lens' DeleteDomain Text Source #

The name of the domain you want to permanently delete.

Destructuring the Response

data DeleteDomainResponse Source #

The result of a DeleteDomain request. Contains the status of a newly deleted domain, or no status if the domain has already been completely deleted.

See: newDeleteDomainResponse smart constructor.

Constructors

DeleteDomainResponse' 

Fields

Instances

Instances details
Eq DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Read DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Show DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Generic DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Associated Types

type Rep DeleteDomainResponse :: Type -> Type #

NFData DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

Methods

rnf :: DeleteDomainResponse -> () #

type Rep DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.DeleteDomain

type Rep DeleteDomainResponse = D1 ('MetaData "DeleteDomainResponse" "Amazonka.CloudSearch.DeleteDomain" "libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch" 'False) (C1 ('MetaCons "DeleteDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainStatus)) :*: 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:domainStatus:DeleteDomainResponse', deleteDomainResponse_domainStatus - Undocumented member.

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

Response Lenses