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

TreatmentResource

import type { TreatmentResource } 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 TreatmentResource {
CustomDeliveryConfiguration?: CustomDeliveryConfiguration | null;
Id: string;
MessageConfiguration?: MessageConfiguration | null;
Schedule?: Schedule | null;
SizePercent: number;
State?: CampaignState | null;
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.

§
Id: string
[src]

The unique identifier for the treatment.

§
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) that the treatment is sent to.

§
State?: CampaignState | null
[src]

The current status of the treatment.

§
TemplateConfiguration?: TemplateConfiguration | null
[src]

The message template to use for the treatment.

§
TreatmentDescription?: string | null
[src]

The custom description of the treatment.

§
TreatmentName?: string | null
[src]

The custom name of the treatment.