Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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 .
Creating a Request
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:
dddDomainName
- The name of the domain you want to permanently delete.
data DeleteDomain Source #
Container for the parameters to the
operation. Specifies the name of the domain you want to delete.DeleteDomain
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
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:
ddrsDomainStatus
- Undocumented member.ddrsResponseStatus
- -- | The response status code.
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.
Instances
Response Lenses
ddrsDomainStatus :: Lens' DeleteDomainResponse (Maybe DomainStatus) Source #
Undocumented member.
ddrsResponseStatus :: Lens' DeleteDomainResponse Int Source #
- - | The response status code.