CustomMessageActivity
import type { CustomMessageActivity } from "https://aws-api.deno.dev/v0.4/services/pinpoint.ts?docs=full";
The settings for a custom message activity. This type of activity calls an AWS Lambda function or web hook that sends messages to participants.
interface CustomMessageActivity {
DeliveryUri?: string | null;
EndpointTypes?: __EndpointTypesElement[] | null;
MessageConfig?: JourneyCustomMessage | null;
NextActivity?: string | null;
TemplateName?: string | null;
TemplateVersion?: string | null;
}§Properties
§
DeliveryUri?: string | null
[src]The destination to send the campaign or treatment 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 campaign or treatment.
- 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.
§
EndpointTypes?: __EndpointTypesElement[] | null
[src]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.
§
MessageConfig?: JourneyCustomMessage | null
[src]Specifies the message data included in a custom channel message that's sent to participants in a journey.
§
NextActivity?: string | null
[src]The unique identifier for the next activity to perform, after Amazon Pinpoint calls the AWS Lambda function or web hook.