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 the standard customer profile and all data pertaining to the profile.
Synopsis
- data DeleteProfile = DeleteProfile' {
- profileId :: Text
- domainName :: Text
- newDeleteProfile :: Text -> Text -> DeleteProfile
- deleteProfile_profileId :: Lens' DeleteProfile Text
- deleteProfile_domainName :: Lens' DeleteProfile Text
- data DeleteProfileResponse = DeleteProfileResponse' {
- message :: Maybe Text
- httpStatus :: Int
- newDeleteProfileResponse :: Int -> DeleteProfileResponse
- deleteProfileResponse_message :: Lens' DeleteProfileResponse (Maybe Text)
- deleteProfileResponse_httpStatus :: Lens' DeleteProfileResponse Int
Creating a Request
data DeleteProfile Source #
See: newDeleteProfile
smart constructor.
DeleteProfile' | |
|
Instances
Create a value of DeleteProfile
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:profileId:DeleteProfile'
, deleteProfile_profileId
- The unique identifier of a customer profile.
$sel:domainName:DeleteProfile'
, deleteProfile_domainName
- The unique name of the domain.
Request Lenses
deleteProfile_profileId :: Lens' DeleteProfile Text Source #
The unique identifier of a customer profile.
deleteProfile_domainName :: Lens' DeleteProfile Text Source #
The unique name of the domain.
Destructuring the Response
data DeleteProfileResponse Source #
See: newDeleteProfileResponse
smart constructor.
DeleteProfileResponse' | |
|
Instances
newDeleteProfileResponse Source #
Create a value of DeleteProfileResponse
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:message:DeleteProfileResponse'
, deleteProfileResponse_message
- A message that indicates the delete request is done.
$sel:httpStatus:DeleteProfileResponse'
, deleteProfileResponse_httpStatus
- The response's http status code.
Response Lenses
deleteProfileResponse_message :: Lens' DeleteProfileResponse (Maybe Text) Source #
A message that indicates the delete request is done.
deleteProfileResponse_httpStatus :: Lens' DeleteProfileResponse Int Source #
The response's http status code.