| 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.DeleteProfileKey
Description
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.
Constructors
| DeleteProfileKey' | |
Instances
Arguments
| :: 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:
DeleteProfileKey, deleteProfileKey_profileId - The unique identifier of a customer profile.
DeleteProfileKey, deleteProfileKey_keyName - A searchable identifier of a customer profile.
DeleteProfileKey, deleteProfileKey_values - A list of key values.
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.
Constructors
| DeleteProfileKeyResponse' | |
Fields
| |
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:
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.