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

CampaignState

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

Provides information about the status of a campaign.

interface CampaignState {
CampaignStatus?: CampaignStatus | null;
}

§Properties

§
CampaignStatus?: CampaignStatus | null
[src]

The current status of the campaign, or the current status of a treatment that belongs to an A/B test campaign.

If a campaign uses A/B testing, the campaign has a status of COMPLETED only if all campaign treatments have a status of COMPLETED. If you delete the segment that's associated with a campaign, the campaign fails and has a status of DELETED.