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 a searchable key from a customer profile.
Synopsis
- data DeleteProfileKey = DeleteProfileKey' {}
- newDeleteProfileKey :: Text -> Text -> Text -> DeleteProfileKey
- deleteProfileKey_profileId :: Lens' DeleteProfileKey Text
- deleteProfileKey_keyName :: Lens' DeleteProfileKey Text
- deleteProfileKey_values :: Lens' DeleteProfileKey [Text]
- deleteProfileKey_domainName :: Lens' DeleteProfileKey Text
- data DeleteProfileKeyResponse = DeleteProfileKeyResponse' {
- message :: Maybe Text
- httpStatus :: Int
- newDeleteProfileKeyResponse :: Int -> DeleteProfileKeyResponse
- deleteProfileKeyResponse_message :: Lens' DeleteProfileKeyResponse (Maybe Text)
- deleteProfileKeyResponse_httpStatus :: Lens' DeleteProfileKeyResponse Int
Creating a Request
data DeleteProfileKey Source #
See: newDeleteProfileKey
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> DeleteProfileKey |
Create a value of DeleteProfileKey
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:DeleteProfileKey'
, deleteProfileKey_profileId
- The unique identifier of a customer profile.
$sel:keyName:DeleteProfileKey'
, deleteProfileKey_keyName
- A searchable identifier of a customer profile.
$sel:values:DeleteProfileKey'
, deleteProfileKey_values
- A list of key values.
$sel:domainName:DeleteProfileKey'
, deleteProfileKey_domainName
- The unique name of the domain.
Request Lenses
deleteProfileKey_profileId :: Lens' DeleteProfileKey Text Source #
The unique identifier of a customer profile.
deleteProfileKey_keyName :: Lens' DeleteProfileKey Text Source #
A searchable identifier of a customer profile.
deleteProfileKey_values :: Lens' DeleteProfileKey [Text] Source #
A list of key values.
deleteProfileKey_domainName :: Lens' DeleteProfileKey Text Source #
The unique name of the domain.
Destructuring the Response
data DeleteProfileKeyResponse Source #
See: newDeleteProfileKeyResponse
smart constructor.
DeleteProfileKeyResponse' | |
|
Instances
newDeleteProfileKeyResponse Source #
Create a value of DeleteProfileKeyResponse
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:DeleteProfileKeyResponse'
, deleteProfileKeyResponse_message
- A message that indicates the delete request is done.
$sel:httpStatus:DeleteProfileKeyResponse'
, deleteProfileKeyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteProfileKeyResponse_message :: Lens' DeleteProfileKeyResponse (Maybe Text) Source #
A message that indicates the delete request is done.
deleteProfileKeyResponse_httpStatus :: Lens' DeleteProfileKeyResponse Int Source #
The response's http status code.