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 |
Deletes a specific domain and all of its customer data, such as customer profile attributes and their related objects.
Synopsis
- data DeleteDomain = DeleteDomain' {
- domainName :: Text
- newDeleteDomain :: Text -> DeleteDomain
- deleteDomain_domainName :: Lens' DeleteDomain Text
- data DeleteDomainResponse = DeleteDomainResponse' {
- httpStatus :: Int
- message :: Text
- newDeleteDomainResponse :: Int -> Text -> DeleteDomainResponse
- deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int
- deleteDomainResponse_message :: Lens' DeleteDomainResponse Text
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:
$sel:domainName:DeleteDomain'
, deleteDomain_domainName
- The unique name of the domain.
Request Lenses
deleteDomain_domainName :: Lens' DeleteDomain Text Source #
The unique name of the domain.
Destructuring the Response
data DeleteDomainResponse Source #
See: newDeleteDomainResponse
smart constructor.
DeleteDomainResponse' | |
|
Instances
newDeleteDomainResponse Source #
:: Int | |
-> Text | |
-> 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:httpStatus:DeleteDomainResponse'
, deleteDomainResponse_httpStatus
- The response's http status code.
$sel:message:DeleteDomainResponse'
, deleteDomainResponse_message
- A message that indicates the delete request is done.
Response Lenses
deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int Source #
The response's http status code.
deleteDomainResponse_message :: Lens' DeleteDomainResponse Text Source #
A message that indicates the delete request is done.