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 |
Synopsis
- data SendUsersMessageRequest = SendUsersMessageRequest' {}
- newSendUsersMessageRequest :: DirectMessageConfiguration -> SendUsersMessageRequest
- sendUsersMessageRequest_traceId :: Lens' SendUsersMessageRequest (Maybe Text)
- sendUsersMessageRequest_context :: Lens' SendUsersMessageRequest (Maybe (HashMap Text Text))
- sendUsersMessageRequest_templateConfiguration :: Lens' SendUsersMessageRequest (Maybe TemplateConfiguration)
- sendUsersMessageRequest_messageConfiguration :: Lens' SendUsersMessageRequest DirectMessageConfiguration
- sendUsersMessageRequest_users :: Lens' SendUsersMessageRequest (HashMap Text EndpointSendConfiguration)
Documentation
data SendUsersMessageRequest Source #
Specifies the configuration and other settings for a message to send to all the endpoints that are associated with a list of users.
See: newSendUsersMessageRequest
smart constructor.
SendUsersMessageRequest' | |
|
Instances
newSendUsersMessageRequest Source #
Create a value of SendUsersMessageRequest
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:traceId:SendUsersMessageRequest'
, sendUsersMessageRequest_traceId
- The unique identifier for tracing the message. This identifier is
visible to message recipients.
$sel:context:SendUsersMessageRequest'
, sendUsersMessageRequest_context
- A map of custom attribute-value pairs. For a push notification, Amazon
Pinpoint adds these attributes to the data.pinpoint object in the body
of the notification payload. Amazon Pinpoint also provides these
attributes in the events that it generates for users-messages
deliveries.
$sel:templateConfiguration:SendUsersMessageRequest'
, sendUsersMessageRequest_templateConfiguration
- The message template to use for the message.
$sel:messageConfiguration:SendUsersMessageRequest'
, sendUsersMessageRequest_messageConfiguration
- The settings and content for the default message and any default
messages that you defined for specific channels.
$sel:users:SendUsersMessageRequest'
, sendUsersMessageRequest_users
- A map that associates user IDs with
EndpointSendConfiguration
objects. You can use an
EndpointSendConfiguration
object to tailor the message for a user by specifying settings such as
content overrides and message variables.
sendUsersMessageRequest_traceId :: Lens' SendUsersMessageRequest (Maybe Text) Source #
The unique identifier for tracing the message. This identifier is visible to message recipients.
sendUsersMessageRequest_context :: Lens' SendUsersMessageRequest (Maybe (HashMap Text Text)) Source #
A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these attributes in the events that it generates for users-messages deliveries.
sendUsersMessageRequest_templateConfiguration :: Lens' SendUsersMessageRequest (Maybe TemplateConfiguration) Source #
The message template to use for the message.
sendUsersMessageRequest_messageConfiguration :: Lens' SendUsersMessageRequest DirectMessageConfiguration Source #
The settings and content for the default message and any default messages that you defined for specific channels.
sendUsersMessageRequest_users :: Lens' SendUsersMessageRequest (HashMap Text EndpointSendConfiguration) Source #
A map that associates user IDs with EndpointSendConfiguration objects. You can use an EndpointSendConfiguration object to tailor the message for a user by specifying settings such as content overrides and message variables.