Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
Mode?: Mode | null
[src]

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.
§
WebUrl?: string | null
[src]

The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.