| 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.DeleteProfileObject
Description
Removes an object associated with a profile of a given ProfileObjectType.
Synopsis
- data DeleteProfileObject = DeleteProfileObject' {}
- newDeleteProfileObject :: Text -> Text -> Text -> Text -> DeleteProfileObject
- deleteProfileObject_profileId :: Lens' DeleteProfileObject Text
- deleteProfileObject_profileObjectUniqueKey :: Lens' DeleteProfileObject Text
- deleteProfileObject_objectTypeName :: Lens' DeleteProfileObject Text
- deleteProfileObject_domainName :: Lens' DeleteProfileObject Text
- data DeleteProfileObjectResponse = DeleteProfileObjectResponse' {
- message :: Maybe Text
- httpStatus :: Int
- newDeleteProfileObjectResponse :: Int -> DeleteProfileObjectResponse
- deleteProfileObjectResponse_message :: Lens' DeleteProfileObjectResponse (Maybe Text)
- deleteProfileObjectResponse_httpStatus :: Lens' DeleteProfileObjectResponse Int
Creating a Request
data DeleteProfileObject Source #
See: newDeleteProfileObject smart constructor.
Constructors
| DeleteProfileObject' | |
Fields
| |
Instances
newDeleteProfileObject Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> DeleteProfileObject |
Create a value of DeleteProfileObject 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:
DeleteProfileObject, deleteProfileObject_profileId - The unique identifier of a customer profile.
DeleteProfileObject, deleteProfileObject_profileObjectUniqueKey - The unique identifier of the profile object generated by the service.
DeleteProfileObject, deleteProfileObject_objectTypeName - The name of the profile object type.
DeleteProfileObject, deleteProfileObject_domainName - The unique name of the domain.
Request Lenses
deleteProfileObject_profileId :: Lens' DeleteProfileObject Text Source #
The unique identifier of a customer profile.
deleteProfileObject_profileObjectUniqueKey :: Lens' DeleteProfileObject Text Source #
The unique identifier of the profile object generated by the service.
deleteProfileObject_objectTypeName :: Lens' DeleteProfileObject Text Source #
The name of the profile object type.
deleteProfileObject_domainName :: Lens' DeleteProfileObject Text Source #
The unique name of the domain.
Destructuring the Response
data DeleteProfileObjectResponse Source #
See: newDeleteProfileObjectResponse smart constructor.
Constructors
| DeleteProfileObjectResponse' | |
Fields
| |
Instances
newDeleteProfileObjectResponse Source #
Create a value of DeleteProfileObjectResponse 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:
DeleteProfileObjectResponse, deleteProfileObjectResponse_message - A message that indicates the delete request is done.
$sel:httpStatus:DeleteProfileObjectResponse', deleteProfileObjectResponse_httpStatus - The response's http status code.
Response Lenses
deleteProfileObjectResponse_message :: Lens' DeleteProfileObjectResponse (Maybe Text) Source #
A message that indicates the delete request is done.
deleteProfileObjectResponse_httpStatus :: Lens' DeleteProfileObjectResponse Int Source #
The response's http status code.