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

WriteTreatmentResource

import type { WriteTreatmentResource } from "https://aws-api.deno.dev/v0.4/services/pinpoint.ts?docs=full";

Specifies the settings for a campaign treatment. A treatment is a variation of a campaign that's used for A/B testing of a campaign.

interface WriteTreatmentResource {
CustomDeliveryConfiguration?: CustomDeliveryConfiguration | null;
MessageConfiguration?: MessageConfiguration | null;
Schedule?: Schedule | null;
SizePercent: number;
TemplateConfiguration?: TemplateConfiguration | null;
TreatmentDescription?: string | null;
TreatmentName?: string | null;
}

§Properties

§
CustomDeliveryConfiguration?: CustomDeliveryConfiguration | null
[src]

The delivery configuration settings for sending the treatment through a custom channel. This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.

§
MessageConfiguration?: MessageConfiguration | null
[src]

The message configuration settings for the treatment.

§
Schedule?: Schedule | null
[src]

The schedule settings for the treatment.

§
SizePercent: number
[src]

The allocated percentage of users (segment members) to send the treatment to.

§
TemplateConfiguration?: TemplateConfiguration | null
[src]

The message template to use for the treatment.

§
TreatmentDescription?: string | null
[src]

A custom description of the treatment.

§
TreatmentName?: string | null
[src]

A custom name for the treatment.