CampaignHook
import type { CampaignHook } from "https://aws-api.deno.dev/v0.4/services/pinpoint.ts?docs=full";
Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign.
interface CampaignHook {
LambdaFunctionName?: string | null;
Mode?: Mode | null;
WebUrl?: string | null;
}§Properties
§
LambdaFunctionName?: string | null
[src]The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign.
§
The mode that Amazon Pinpoint uses to invoke the AWS Lambda function. Possible values are:
- FILTER - Invoke the function to customize the segment that's used by a campaign.
- DELIVERY - (Deprecated) Previously, invoked the function to send a campaign through a custom channel. This functionality is not supported anymore. To send a campaign through a custom channel, use the CustomDeliveryConfiguration and CampaignCustomMessage objects of the campaign.