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 |
Removes one or more attributes, of the same attribute type, from all the endpoints that are associated with an application.
Synopsis
- data RemoveAttributes = RemoveAttributes' {}
- newRemoveAttributes :: Text -> Text -> UpdateAttributesRequest -> RemoveAttributes
- removeAttributes_attributeType :: Lens' RemoveAttributes Text
- removeAttributes_applicationId :: Lens' RemoveAttributes Text
- removeAttributes_updateAttributesRequest :: Lens' RemoveAttributes UpdateAttributesRequest
- data RemoveAttributesResponse = RemoveAttributesResponse' {}
- newRemoveAttributesResponse :: Int -> AttributesResource -> RemoveAttributesResponse
- removeAttributesResponse_httpStatus :: Lens' RemoveAttributesResponse Int
- removeAttributesResponse_attributesResource :: Lens' RemoveAttributesResponse AttributesResource
Creating a Request
data RemoveAttributes Source #
See: newRemoveAttributes
smart constructor.
RemoveAttributes' | |
|
Instances
:: Text | |
-> Text | |
-> UpdateAttributesRequest | |
-> RemoveAttributes |
Create a value of RemoveAttributes
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:
RemoveAttributes
, removeAttributes_attributeType
- The type of attribute or attributes to remove. Valid values are:
- endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
- endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
- endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.
RemoveAttributes
, removeAttributes_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:updateAttributesRequest:RemoveAttributes'
, removeAttributes_updateAttributesRequest
- Undocumented member.
Request Lenses
removeAttributes_attributeType :: Lens' RemoveAttributes Text Source #
The type of attribute or attributes to remove. Valid values are:
- endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
- endpoint-metric-attributes - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
- endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.
removeAttributes_applicationId :: Lens' RemoveAttributes Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
removeAttributes_updateAttributesRequest :: Lens' RemoveAttributes UpdateAttributesRequest Source #
Undocumented member.
Destructuring the Response
data RemoveAttributesResponse Source #
See: newRemoveAttributesResponse
smart constructor.
RemoveAttributesResponse' | |
|
Instances
newRemoveAttributesResponse Source #
Create a value of RemoveAttributesResponse
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:httpStatus:RemoveAttributesResponse'
, removeAttributesResponse_httpStatus
- The response's http status code.
$sel:attributesResource:RemoveAttributesResponse'
, removeAttributesResponse_attributesResource
- Undocumented member.
Response Lenses
removeAttributesResponse_httpStatus :: Lens' RemoveAttributesResponse Int Source #
The response's http status code.
removeAttributesResponse_attributesResource :: Lens' RemoveAttributesResponse AttributesResource Source #
Undocumented member.