Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This operation deletes the specified domain. This action is permanent. For more information, see Deleting a domain name registration.
To transfer the domain registration to another registrar, use the transfer process that’s provided by the registrar to which you want to transfer the registration. Otherwise, the following apply:
- You can’t get a refund for the cost of a deleted domain registration.
- The registry for the top-level domain might hold the domain name for a brief time before releasing it for other users to register (varies by registry).
- When the registration has been deleted, we'll send you a
confirmation to the registrant contact. The email will come from
noreply@domainnameverification.net
ornoreply@registrar.amazon.com
.
Synopsis
- data DeleteDomain = DeleteDomain' {
- domainName :: Text
- newDeleteDomain :: Text -> DeleteDomain
- deleteDomain_domainName :: Lens' DeleteDomain Text
- data DeleteDomainResponse = DeleteDomainResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newDeleteDomainResponse :: Int -> DeleteDomainResponse
- deleteDomainResponse_operationId :: Lens' DeleteDomainResponse (Maybe Text)
- deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int
Creating a Request
data DeleteDomain Source #
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:
DeleteDomain
, deleteDomain_domainName
- Name of the domain to be deleted.
Request Lenses
deleteDomain_domainName :: Lens' DeleteDomain Text Source #
Name of the domain to be deleted.
Destructuring the Response
data DeleteDomainResponse Source #
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:
DeleteDomainResponse
, deleteDomainResponse_operationId
- Identifier for tracking the progress of the request. To query the
operation status, use
GetOperationDetail.
$sel:httpStatus:DeleteDomainResponse'
, deleteDomainResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDomainResponse_operationId :: Lens' DeleteDomainResponse (Maybe Text) Source #
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.
deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int Source #
The response's http status code.