Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
Synopsis
- data DeleteElasticsearchDomain = DeleteElasticsearchDomain' {
- domainName :: Text
- newDeleteElasticsearchDomain :: Text -> DeleteElasticsearchDomain
- deleteElasticsearchDomain_domainName :: Lens' DeleteElasticsearchDomain Text
- data DeleteElasticsearchDomainResponse = DeleteElasticsearchDomainResponse' {}
- newDeleteElasticsearchDomainResponse :: Int -> DeleteElasticsearchDomainResponse
- deleteElasticsearchDomainResponse_domainStatus :: Lens' DeleteElasticsearchDomainResponse (Maybe ElasticsearchDomainStatus)
- deleteElasticsearchDomainResponse_httpStatus :: Lens' DeleteElasticsearchDomainResponse Int
Creating a Request
data DeleteElasticsearchDomain Source #
Container for the parameters to the DeleteElasticsearchDomain
operation. Specifies the name of the Elasticsearch domain that you want
to delete.
See: newDeleteElasticsearchDomain
smart constructor.
DeleteElasticsearchDomain' | |
|
Instances
newDeleteElasticsearchDomain Source #
Create a value of DeleteElasticsearchDomain
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:DeleteElasticsearchDomain'
, deleteElasticsearchDomain_domainName
- The name of the Elasticsearch domain that you want to permanently
delete.
Request Lenses
deleteElasticsearchDomain_domainName :: Lens' DeleteElasticsearchDomain Text Source #
The name of the Elasticsearch domain that you want to permanently delete.
Destructuring the Response
data DeleteElasticsearchDomainResponse Source #
The result of a DeleteElasticsearchDomain
request. Contains the status
of the pending deletion, or no status if the domain and all of its
resources have been deleted.
See: newDeleteElasticsearchDomainResponse
smart constructor.
DeleteElasticsearchDomainResponse' | |
|
Instances
Eq DeleteElasticsearchDomainResponse Source # | |
Read DeleteElasticsearchDomainResponse Source # | |
Show DeleteElasticsearchDomainResponse Source # | |
Generic DeleteElasticsearchDomainResponse Source # | |
NFData DeleteElasticsearchDomainResponse Source # | |
Defined in Amazonka.ElasticSearch.DeleteElasticsearchDomain rnf :: DeleteElasticsearchDomainResponse -> () # | |
type Rep DeleteElasticsearchDomainResponse Source # | |
Defined in Amazonka.ElasticSearch.DeleteElasticsearchDomain type Rep DeleteElasticsearchDomainResponse = D1 ('MetaData "DeleteElasticsearchDomainResponse" "Amazonka.ElasticSearch.DeleteElasticsearchDomain" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "DeleteElasticsearchDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ElasticsearchDomainStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteElasticsearchDomainResponse Source #
Create a value of DeleteElasticsearchDomainResponse
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:DeleteElasticsearchDomainResponse'
, deleteElasticsearchDomainResponse_domainStatus
- The status of the Elasticsearch domain being deleted.
$sel:httpStatus:DeleteElasticsearchDomainResponse'
, deleteElasticsearchDomainResponse_httpStatus
- The response's http status code.
Response Lenses
deleteElasticsearchDomainResponse_domainStatus :: Lens' DeleteElasticsearchDomainResponse (Maybe ElasticsearchDomainStatus) Source #
The status of the Elasticsearch domain being deleted.
deleteElasticsearchDomainResponse_httpStatus :: Lens' DeleteElasticsearchDomainResponse Int Source #
The response's http status code.