| 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.CustomerProfiles.DeleteDomain
Description
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.
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 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.
Constructors
| DeleteDomainResponse' | |
Fields
| |
Instances
newDeleteDomainResponse Source #
Arguments
| :: 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.
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.