libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.SendUsersMessageRequest

Description

 
Synopsis

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.

Constructors

SendUsersMessageRequest' 

Fields

Instances

Instances details
Eq SendUsersMessageRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageRequest

Read SendUsersMessageRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageRequest

Show SendUsersMessageRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageRequest

Generic SendUsersMessageRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageRequest

Associated Types

type Rep SendUsersMessageRequest :: Type -> Type #

NFData SendUsersMessageRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageRequest

Methods

rnf :: SendUsersMessageRequest -> () #

Hashable SendUsersMessageRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageRequest

ToJSON SendUsersMessageRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageRequest

type Rep SendUsersMessageRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageRequest

type Rep SendUsersMessageRequest = D1 ('MetaData "SendUsersMessageRequest" "Amazonka.Pinpoint.Types.SendUsersMessageRequest" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "SendUsersMessageRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "traceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "templateConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TemplateConfiguration)) :*: (S1 ('MetaSel ('Just "messageConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DirectMessageConfiguration) :*: S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text EndpointSendConfiguration))))))

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_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.