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.
§
MessageConfiguration?: MessageConfiguration | null
[src]The message configuration 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.