{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-structure/amazon-pinpoint-campaign-state-structure.json", "name": "CampaignState", "description": "Provides information about the status of a campaign.", "type": "object", "properties": { "CampaignStatus": { "allOf": [ { "$ref": "#/components/schemas/CampaignStatus" }, { "description": "

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.

" } ] } } }