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 |
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.
DeleteProfileObject' | |
|
Instances
newDeleteProfileObject Source #
:: 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:
$sel:profileId:DeleteProfileObject'
, deleteProfileObject_profileId
- The unique identifier of a customer profile.
$sel:profileObjectUniqueKey:DeleteProfileObject'
, deleteProfileObject_profileObjectUniqueKey
- The unique identifier of the profile object generated by the service.
$sel:objectTypeName:DeleteProfileObject'
, deleteProfileObject_objectTypeName
- The name of the profile object type.
$sel:domainName: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.
DeleteProfileObjectResponse' | |
|
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:
$sel:message: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.