MessageRequest
¶
Used by
-
AsyncPinpointClient Operationssend_messages -
PinpointClient Operationssend_messages
Source code in docs_src/capo_pinpoint/types/message_request.py
addresses
instance-attribute
¶
addresses: NotRequired[MapOfAddressConfiguration]
A map of key-value pairs, where each key is an address and each value is an AddressConfiguration object. An address can be a push notification token, a phone number, or an email address. You can use an AddressConfiguration object to tailor the message for an address by specifying settings such as content overrides and message variables.
context
instance-attribute
¶
context: NotRequired[MapOf__string]
A map of custom attributes to attach to the message. For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.
endpoints
instance-attribute
¶
endpoints: NotRequired[MapOfEndpointSendConfiguration]
A map of key-value pairs, where each key is an endpoint ID and each value is an EndpointSendConfiguration object. You can use an EndpointSendConfiguration object to tailor the message for an endpoint by specifying settings such as content overrides and message variables.
message_configuration
instance-attribute
¶
message_configuration: NotRequired[DirectMessageConfiguration]
The settings and content for the default message and any default messages that you defined for specific channels.
template_configuration
instance-attribute
¶
template_configuration: NotRequired[TemplateConfiguration]
The message template to use for the message.