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 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
- data DeleteDomain = DeleteDomain' {
- domainName :: Text
- newDeleteDomain :: Text -> DeleteDomain
- deleteDomain_domainName :: Lens' DeleteDomain Text
- data DeleteDomainResponse = DeleteDomainResponse' {}
- newDeleteDomainResponse :: Int -> DeleteDomainResponse
- deleteDomainResponse_domainStatus :: Lens' DeleteDomainResponse (Maybe DomainStatus)
- deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int
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.
DeleteDomain' | |
|
Instances
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.
DeleteDomainResponse' | |
|
Instances
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
deleteDomainResponse_domainStatus :: Lens' DeleteDomainResponse (Maybe DomainStatus) Source #
Undocumented member.
deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int Source #
The response's http status code.