| 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.DeleteProfile
Description
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.
Constructors
| DeleteProfile' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteProfile |
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:
DeleteProfile, deleteProfile_profileId - The unique identifier of a customer profile.
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.
Constructors
| DeleteProfileResponse' | |
Fields
| |
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:
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.