Amazon Pinpoint · Schema
TreatmentResource
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.
CampaignsCommunicationsEmailMarketingMessagingPush NotificationsSMSVoiceCustomer EngagementSegmentationJourneysAnalytics
Properties
| Name | Type | Description |
|---|---|---|
| CustomDeliveryConfiguration | object | |
| Id | object | |
| MessageConfiguration | object | |
| Schedule | object | |
| SizePercent | object | |
| State | object | |
| TemplateConfiguration | object | |
| TreatmentDescription | object | |
| TreatmentName | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-schema/amazon-pinpoint-treatment-resource-schema.json",
"title": "TreatmentResource",
"description": "Specifies the settings for a campaign treatment. A <i>treatment</i> is a variation of a campaign that's used for A/B testing of a campaign.",
"type": "object",
"properties": {
"CustomDeliveryConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/CustomDeliveryConfiguration"
},
{
"description": "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": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The unique identifier for the treatment."
}
]
},
"MessageConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/MessageConfiguration"
},
{
"description": "The message configuration settings for the treatment."
}
]
},
"Schedule": {
"allOf": [
{
"$ref": "#/components/schemas/Schedule"
},
{
"description": "The schedule settings for the treatment."
}
]
},
"SizePercent": {
"allOf": [
{
"$ref": "#/components/schemas/__integer"
},
{
"description": "The allocated percentage of users (segment members) that the treatment is sent to."
}
]
},
"State": {
"allOf": [
{
"$ref": "#/components/schemas/CampaignState"
},
{
"description": "The current status of the treatment."
}
]
},
"TemplateConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/TemplateConfiguration"
},
{
"description": "The message template to use for the treatment."
}
]
},
"TreatmentDescription": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The custom description of the treatment."
}
]
},
"TreatmentName": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The custom name of the treatment."
}
]
}
},
"required": [
"Id",
"SizePercent"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-pinpoint-treatment-resource"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.