| 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 |
Amazonka.Lightsail.DeleteDomain
Description
Deletes the specified domain recordset and all of its domain records.
The delete domain operation supports tag-based access control via
resource tags applied to the resource identified by domain name. For
more information, see the
Amazon Lightsail Developer Guide.
Synopsis
- data DeleteDomain = DeleteDomain' {
- domainName :: Text
- newDeleteDomain :: Text -> DeleteDomain
- deleteDomain_domainName :: Lens' DeleteDomain Text
- data DeleteDomainResponse = DeleteDomainResponse' {
- operation :: Maybe Operation
- httpStatus :: Int
- newDeleteDomainResponse :: Int -> DeleteDomainResponse
- deleteDomainResponse_operation :: Lens' DeleteDomainResponse (Maybe Operation)
- deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int
Creating a Request
data DeleteDomain Source #
See: newDeleteDomain smart constructor.
Constructors
| DeleteDomain' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteDomain |
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 - The specific domain name to delete.
Request Lenses
deleteDomain_domainName :: Lens' DeleteDomain Text Source #
The specific domain name to delete.
Destructuring the Response
data DeleteDomainResponse Source #
See: newDeleteDomainResponse smart constructor.
Constructors
| DeleteDomainResponse' | |
Fields
| |
Instances
newDeleteDomainResponse Source #
Arguments
| :: Int | |
| -> DeleteDomainResponse |
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:operation:DeleteDomainResponse', deleteDomainResponse_operation - An array of objects that describe the result of the action, such as the
status of the request, the timestamp of the request, and the resources
affected by the request.
$sel:httpStatus:DeleteDomainResponse', deleteDomainResponse_httpStatus - The response's http status code.
Response Lenses
deleteDomainResponse_operation :: Lens' DeleteDomainResponse (Maybe Operation) Source #
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int Source #
The response's http status code.