MessageRequest
public struct MessageRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let addresses: [String : AddressConfiguration]?
-
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.
Declaration
Swift
public let context: [String : String]?
-
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.
Declaration
Swift
public let endpoints: [String : EndpointSendConfiguration]?
-
The settings and content for the default message and any default messages that you defined for specific channels.
Declaration
Swift
public let messageConfiguration: DirectMessageConfiguration
-
The message template to use for the message.
Declaration
Swift
public let templateConfiguration: TemplateConfiguration?
-
The unique identifier for tracing the message. This identifier is visible to message recipients.
Declaration
Swift
public let traceId: String?
-
Undocumented
Declaration
Swift
public init(addresses: [String : AddressConfiguration]? = nil, context: [String : String]? = nil, endpoints: [String : EndpointSendConfiguration]? = nil, messageConfiguration: DirectMessageConfiguration, templateConfiguration: TemplateConfiguration? = nil, traceId: String? = nil)