| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.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.
See: AWS API Reference for DeleteDomain.
Creating a Request
Arguments
| :: Text | |
| -> DeleteDomain |
Creates a value of DeleteDomain with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteDomain Source
Container for the parameters to the DeleteDomain operation. Specifies
the name of the domain you want to delete.
See: deleteDomain smart constructor.
Instances
Request Lenses
dddDomainName :: Lens' DeleteDomain Text Source
The name of the domain you want to permanently delete.
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteDomainResponse |
Creates a value of DeleteDomainResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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: deleteDomainResponse smart constructor.
Response Lenses
ddrsDomainStatus :: Lens' DeleteDomainResponse (Maybe DomainStatus) Source
Undocumented member.
ddrsResponseStatus :: Lens' DeleteDomainResponse Int Source
The response status code.