CustomMessageActivity
public struct CustomMessageActivity : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The destination to send the custom message to. This value can be one of the following: The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the custom message. The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.
Declaration
Swift
public let deliveryUri: String?
-
The types of endpoints to send the custom message to. Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.
Declaration
Swift
public let endpointTypes: [Endpointtypeselement]?
-
Specifies the message data included in a custom channel message that’s sent to participants in a journey.
Declaration
Swift
public let messageConfig: JourneyCustomMessage?
-
The unique identifier for the next activity to perform, after Amazon Pinpoint calls the AWS Lambda function or web hook.
Declaration
Swift
public let nextActivity: String?
-
The name of the custom message template to use for the message. If specified, this value must match the name of an existing message template.
Declaration
Swift
public let templateName: String?
-
The unique identifier for the version of the message template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource. If you don’t specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that’s been most recently reviewed and approved for use, depending on your workflow. It isn’t necessarily the latest version of a template.
Declaration
Swift
public let templateVersion: String?
-
Undocumented
Declaration
Swift
public init(deliveryUri: String? = nil, endpointTypes: [Endpointtypeselement]? = nil, messageConfig: JourneyCustomMessage? = nil, nextActivity: String? = nil, templateName: String? = nil, templateVersion: String? = nil)