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 domain and all of its data. Once a domain is deleted, it cannot be recovered.
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 the
pending deletion, or a "domain not found" error if the domain and all
of its resources have been 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
- The status of the domain being deleted.
$sel:httpStatus:DeleteDomainResponse'
, deleteDomainResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDomainResponse_domainStatus :: Lens' DeleteDomainResponse (Maybe DomainStatus) Source #
The status of the domain being deleted.
deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int Source #
The response's http status code.