{"files":{"SKILL.md":"---\nname: amazon-pinpoint\ndescription: \"Amazon Pinpoint API skill. Use when working with Amazon Pinpoint for apps, templates, recommenders. Covers 122 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Amazon Pinpoint\nAPI version: 2016-12-01\n\n## Auth\nAWS SigV4\n\n## Base URL\nNot specified.\n\n## Setup\n1. Configure auth: AWS SigV4\n2. GET /v1/apps -- retrieves information about all the applications that are associated with your amazon pinpoint account.\n3. POST /v1/apps -- create first app\n\n## Endpoints\n122 endpoints across 5 groups. See references/api-spec.lap for full details.\n\n### Apps\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /v1/apps | Creates an application. |\n| POST | /v1/apps/{application-id}/campaigns | Creates a new campaign for an application or updates the settings of an existing campaign for an application. |\n| POST | /v1/apps/{application-id}/jobs/export | Creates an export job for an application. |\n| POST | /v1/apps/{application-id}/jobs/import | Creates an import job for an application. |\n| POST | /v1/apps/{application-id}/journeys | Creates a journey for an application. |\n| POST | /v1/apps/{application-id}/segments | Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application. |\n| DELETE | /v1/apps/{application-id}/channels/adm | Disables the ADM channel for an application and deletes any existing settings for the channel. |\n| DELETE | /v1/apps/{application-id}/channels/apns | Disables the APNs channel for an application and deletes any existing settings for the channel. |\n| DELETE | /v1/apps/{application-id}/channels/apns_sandbox | Disables the APNs sandbox channel for an application and deletes any existing settings for the channel. |\n| DELETE | /v1/apps/{application-id}/channels/apns_voip | Disables the APNs VoIP channel for an application and deletes any existing settings for the channel. |\n| DELETE | /v1/apps/{application-id}/channels/apns_voip_sandbox | Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel. |\n| DELETE | /v1/apps/{application-id} | Deletes an application. |\n| DELETE | /v1/apps/{application-id}/channels/baidu | Disables the Baidu channel for an application and deletes any existing settings for the channel. |\n| DELETE | /v1/apps/{application-id}/campaigns/{campaign-id} | Deletes a campaign from an application. |\n| DELETE | /v1/apps/{application-id}/channels/email | Disables the email channel for an application and deletes any existing settings for the channel. |\n| DELETE | /v1/apps/{application-id}/endpoints/{endpoint-id} | Deletes an endpoint from an application. |\n| DELETE | /v1/apps/{application-id}/eventstream | Deletes the event stream for an application. |\n| DELETE | /v1/apps/{application-id}/channels/gcm | Disables the GCM channel for an application and deletes any existing settings for the channel. |\n| DELETE | /v1/apps/{application-id}/journeys/{journey-id} | Deletes a journey from an application. |\n| DELETE | /v1/apps/{application-id}/segments/{segment-id} | Deletes a segment from an application. |\n| DELETE | /v1/apps/{application-id}/channels/sms | Disables the SMS channel for an application and deletes any existing settings for the channel. |\n| DELETE | /v1/apps/{application-id}/users/{user-id} | Deletes all the endpoints that are associated with a specific user ID. |\n| DELETE | /v1/apps/{application-id}/channels/voice | Disables the voice channel for an application and deletes any existing settings for the channel. |\n| GET | /v1/apps/{application-id}/channels/adm | Retrieves information about the status and settings of the ADM channel for an application. |\n| GET | /v1/apps/{application-id}/channels/apns | Retrieves information about the status and settings of the APNs channel for an application. |\n| GET | /v1/apps/{application-id}/channels/apns_sandbox | Retrieves information about the status and settings of the APNs sandbox channel for an application. |\n| GET | /v1/apps/{application-id}/channels/apns_voip | Retrieves information about the status and settings of the APNs VoIP channel for an application. |\n| GET | /v1/apps/{application-id}/channels/apns_voip_sandbox | Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application. |\n| GET | /v1/apps/{application-id} | Retrieves information about an application. |\n| GET | /v1/apps/{application-id}/kpis/daterange/{kpi-name} | Retrieves (queries) pre-aggregated data for a standard metric that applies to an application. |\n| GET | /v1/apps/{application-id}/settings | Retrieves information about the settings for an application. |\n| GET | /v1/apps | Retrieves information about all the applications that are associated with your Amazon Pinpoint account. |\n| GET | /v1/apps/{application-id}/channels/baidu | Retrieves information about the status and settings of the Baidu channel for an application. |\n| GET | /v1/apps/{application-id}/campaigns/{campaign-id} | Retrieves information about the status, configuration, and other settings for a campaign. |\n| GET | /v1/apps/{application-id}/campaigns/{campaign-id}/activities | Retrieves information about all the activities for a campaign. |\n| GET | /v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name} | Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign. |\n| GET | /v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version} | Retrieves information about the status, configuration, and other settings for a specific version of a campaign. |\n| GET | /v1/apps/{application-id}/campaigns/{campaign-id}/versions | Retrieves information about the status, configuration, and other settings for all versions of a campaign. |\n| GET | /v1/apps/{application-id}/campaigns | Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application. |\n| GET | /v1/apps/{application-id}/channels | Retrieves information about the history and status of each channel for an application. |\n| GET | /v1/apps/{application-id}/channels/email | Retrieves information about the status and settings of the email channel for an application. |\n| GET | /v1/apps/{application-id}/endpoints/{endpoint-id} | Retrieves information about the settings and attributes of a specific endpoint for an application. |\n| GET | /v1/apps/{application-id}/eventstream | Retrieves information about the event stream settings for an application. |\n| GET | /v1/apps/{application-id}/jobs/export/{job-id} | Retrieves information about the status and settings of a specific export job for an application. |\n| GET | /v1/apps/{application-id}/jobs/export | Retrieves information about the status and settings of all the export jobs for an application. |\n| GET | /v1/apps/{application-id}/channels/gcm | Retrieves information about the status and settings of the GCM channel for an application. |\n| GET | /v1/apps/{application-id}/jobs/import/{job-id} | Retrieves information about the status and settings of a specific import job for an application. |\n| GET | /v1/apps/{application-id}/jobs/import | Retrieves information about the status and settings of all the import jobs for an application. |\n| GET | /v1/apps/{application-id}/endpoints/{endpoint-id}/inappmessages | Retrieves the in-app messages targeted for the provided endpoint ID. |\n| GET | /v1/apps/{application-id}/journeys/{journey-id} | Retrieves information about the status, configuration, and other settings for a journey. |\n| GET | /v1/apps/{application-id}/journeys/{journey-id}/kpis/daterange/{kpi-name} | Retrieves (queries) pre-aggregated data for a standard engagement metric that applies to a journey. |\n| GET | /v1/apps/{application-id}/journeys/{journey-id}/activities/{journey-activity-id}/execution-metrics | Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity. |\n| GET | /v1/apps/{application-id}/journeys/{journey-id}/execution-metrics | Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey. |\n| GET | /v1/apps/{application-id}/journeys/{journey-id}/runs/{run-id}/activities/{journey-activity-id}/execution-metrics | Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey activity. |\n| GET | /v1/apps/{application-id}/journeys/{journey-id}/runs/{run-id}/execution-metrics | Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey. |\n| GET | /v1/apps/{application-id}/journeys/{journey-id}/runs | Provides information about the runs of a journey. |\n| GET | /v1/apps/{application-id}/segments/{segment-id} | Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application. |\n| GET | /v1/apps/{application-id}/segments/{segment-id}/jobs/export | Retrieves information about the status and settings of the export jobs for a segment. |\n| GET | /v1/apps/{application-id}/segments/{segment-id}/jobs/import | Retrieves information about the status and settings of the import jobs for a segment. |\n| GET | /v1/apps/{application-id}/segments/{segment-id}/versions/{version} | Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with an application. |\n| GET | /v1/apps/{application-id}/segments/{segment-id}/versions | Retrieves information about the configuration, dimension, and other settings for all the versions of a specific segment that's associated with an application. |\n| GET | /v1/apps/{application-id}/segments | Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application. |\n| GET | /v1/apps/{application-id}/channels/sms | Retrieves information about the status and settings of the SMS channel for an application. |\n| GET | /v1/apps/{application-id}/users/{user-id} | Retrieves information about all the endpoints that are associated with a specific user ID. |\n| GET | /v1/apps/{application-id}/channels/voice | Retrieves information about the status and settings of the voice channel for an application. |\n| GET | /v1/apps/{application-id}/journeys | Retrieves information about the status, configuration, and other settings for all the journeys that are associated with an application. |\n| POST | /v1/apps/{application-id}/eventstream | Creates a new event stream for an application or updates the settings of an existing event stream for an application. |\n| POST | /v1/apps/{application-id}/events | Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with. |\n| PUT | /v1/apps/{application-id}/attributes/{attribute-type} | Removes one or more custom attributes, of the same attribute type, from the application. Existing endpoints still have the attributes but Amazon Pinpoint will stop capturing new or changed values for these attributes. |\n| POST | /v1/apps/{application-id}/messages | Creates and sends a direct message. |\n| POST | /v1/apps/{application-id}/otp | Send an OTP message |\n| POST | /v1/apps/{application-id}/users-messages | Creates and sends a message to a list of users. |\n| PUT | /v1/apps/{application-id}/channels/adm | Enables the ADM channel for an application or updates the status and settings of the ADM channel for an application. |\n| PUT | /v1/apps/{application-id}/channels/apns | Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application. |\n| PUT | /v1/apps/{application-id}/channels/apns_sandbox | Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox channel for an application. |\n| PUT | /v1/apps/{application-id}/channels/apns_voip | Enables the APNs VoIP channel for an application or updates the status and settings of the APNs VoIP channel for an application. |\n| PUT | /v1/apps/{application-id}/channels/apns_voip_sandbox | Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP sandbox channel for an application. |\n| PUT | /v1/apps/{application-id}/settings | Updates the settings for an application. |\n| PUT | /v1/apps/{application-id}/channels/baidu | Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an application. |\n| PUT | /v1/apps/{application-id}/campaigns/{campaign-id} | Updates the configuration and other settings for a campaign. |\n| PUT | /v1/apps/{application-id}/channels/email | Enables the email channel for an application or updates the status and settings of the email channel for an application. |\n| PUT | /v1/apps/{application-id}/endpoints/{endpoint-id} | Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application. You can also use this operation to define custom attributes for an endpoint. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values. |\n| PUT | /v1/apps/{application-id}/endpoints | Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application. You can also use this operation to define custom attributes for a batch of endpoints. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values. |\n| PUT | /v1/apps/{application-id}/channels/gcm | Enables the GCM channel for an application or updates the status and settings of the GCM channel for an application. |\n| PUT | /v1/apps/{application-id}/journeys/{journey-id} | Updates the configuration and other settings for a journey. |\n| PUT | /v1/apps/{application-id}/journeys/{journey-id}/state | Cancels (stops) an active journey. |\n| PUT | /v1/apps/{application-id}/segments/{segment-id} | Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application. |\n| PUT | /v1/apps/{application-id}/channels/sms | Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application. |\n| PUT | /v1/apps/{application-id}/channels/voice | Enables the voice channel for an application or updates the status and settings of the voice channel for an application. |\n| POST | /v1/apps/{application-id}/verify-otp | Verify an OTP |\n\n### Templates\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /v1/templates/{template-name}/email | Creates a message template for messages that are sent through the email channel. |\n| POST | /v1/templates/{template-name}/inapp | Creates a new message template for messages using the in-app message channel. |\n| POST | /v1/templates/{template-name}/push | Creates a message template for messages that are sent through a push notification channel. |\n| POST | /v1/templates/{template-name}/sms | Creates a message template for messages that are sent through the SMS channel. |\n| POST | /v1/templates/{template-name}/voice | Creates a message template for messages that are sent through the voice channel. |\n| DELETE | /v1/templates/{template-name}/email | Deletes a message template for messages that were sent through the email channel. |\n| DELETE | /v1/templates/{template-name}/inapp | Deletes a message template for messages sent using the in-app message channel. |\n| DELETE | /v1/templates/{template-name}/push | Deletes a message template for messages that were sent through a push notification channel. |\n| DELETE | /v1/templates/{template-name}/sms | Deletes a message template for messages that were sent through the SMS channel. |\n| DELETE | /v1/templates/{template-name}/voice | Deletes a message template for messages that were sent through the voice channel. |\n| GET | /v1/templates/{template-name}/email | Retrieves the content and settings of a message template for messages that are sent through the email channel. |\n| GET | /v1/templates/{template-name}/inapp | Retrieves the content and settings of a message template for messages sent through the in-app channel. |\n| GET | /v1/templates/{template-name}/push | Retrieves the content and settings of a message template for messages that are sent through a push notification channel. |\n| GET | /v1/templates/{template-name}/sms | Retrieves the content and settings of a message template for messages that are sent through the SMS channel. |\n| GET | /v1/templates/{template-name}/voice | Retrieves the content and settings of a message template for messages that are sent through the voice channel. |\n| GET | /v1/templates/{template-name}/{template-type}/versions | Retrieves information about all the versions of a specific message template. |\n| GET | /v1/templates | Retrieves information about all the message templates that are associated with your Amazon Pinpoint account. |\n| PUT | /v1/templates/{template-name}/email | Updates an existing message template for messages that are sent through the email channel. |\n| PUT | /v1/templates/{template-name}/inapp | Updates an existing message template for messages sent through the in-app message channel. |\n| PUT | /v1/templates/{template-name}/push | Updates an existing message template for messages that are sent through a push notification channel. |\n| PUT | /v1/templates/{template-name}/sms | Updates an existing message template for messages that are sent through the SMS channel. |\n| PUT | /v1/templates/{template-name}/{template-type}/active-version | Changes the status of a specific version of a message template to active. |\n| PUT | /v1/templates/{template-name}/voice | Updates an existing message template for messages that are sent through the voice channel. |\n\n### Recommenders\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /v1/recommenders | Creates an Amazon Pinpoint configuration for a recommender model. |\n| DELETE | /v1/recommenders/{recommender-id} | Deletes an Amazon Pinpoint configuration for a recommender model. |\n| GET | /v1/recommenders/{recommender-id} | Retrieves information about an Amazon Pinpoint configuration for a recommender model. |\n| GET | /v1/recommenders | Retrieves information about all the recommender model configurations that are associated with your Amazon Pinpoint account. |\n| PUT | /v1/recommenders/{recommender-id} | Updates an Amazon Pinpoint configuration for a recommender model. |\n\n### Tags\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /v1/tags/{resource-arn} | Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment. |\n| POST | /v1/tags/{resource-arn} | Adds one or more tags (keys and values) to an application, campaign, message template, or segment. |\n| DELETE | /v1/tags/{resource-arn} | Removes one or more tags (keys and values) from an application, campaign, message template, or segment. |\n\n### Phone\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /v1/phone/number/validate | Retrieves information about a phone number. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a app?\" -> POST /v1/apps\n- \"Create a campaign?\" -> POST /v1/apps/{application-id}/campaigns\n- \"Create a email?\" -> POST /v1/templates/{template-name}/email\n- \"Create a export?\" -> POST /v1/apps/{application-id}/jobs/export\n- \"Create a import?\" -> POST /v1/apps/{application-id}/jobs/import\n- \"Create a inapp?\" -> POST /v1/templates/{template-name}/inapp\n- \"Create a journey?\" -> POST /v1/apps/{application-id}/journeys\n- \"Create a push?\" -> POST /v1/templates/{template-name}/push\n- \"Create a recommender?\" -> POST /v1/recommenders\n- \"Create a segment?\" -> POST /v1/apps/{application-id}/segments\n- \"Create a sm?\" -> POST /v1/templates/{template-name}/sms\n- \"Create a voice?\" -> POST /v1/templates/{template-name}/voice\n- \"Delete a app?\" -> DELETE /v1/apps/{application-id}\n- \"Delete a campaign?\" -> DELETE /v1/apps/{application-id}/campaigns/{campaign-id}\n- \"Delete a endpoint?\" -> DELETE /v1/apps/{application-id}/endpoints/{endpoint-id}\n- \"Delete a journey?\" -> DELETE /v1/apps/{application-id}/journeys/{journey-id}\n- \"Delete a recommender?\" -> DELETE /v1/recommenders/{recommender-id}\n- \"Delete a segment?\" -> DELETE /v1/apps/{application-id}/segments/{segment-id}\n- \"Delete a user?\" -> DELETE /v1/apps/{application-id}/users/{user-id}\n- \"List all adm?\" -> GET /v1/apps/{application-id}/channels/adm\n- \"List all apns?\" -> GET /v1/apps/{application-id}/channels/apns\n- \"List all apns_sandbox?\" -> GET /v1/apps/{application-id}/channels/apns_sandbox\n- \"List all apns_voip?\" -> GET /v1/apps/{application-id}/channels/apns_voip\n- \"List all apns_voip_sandbox?\" -> GET /v1/apps/{application-id}/channels/apns_voip_sandbox\n- \"Get app details?\" -> GET /v1/apps/{application-id}\n- \"Get daterange details?\" -> GET /v1/apps/{application-id}/kpis/daterange/{kpi-name}\n- \"List all settings?\" -> GET /v1/apps/{application-id}/settings\n- \"List all apps?\" -> GET /v1/apps\n- \"List all baidu?\" -> GET /v1/apps/{application-id}/channels/baidu\n- \"Get campaign details?\" -> GET /v1/apps/{application-id}/campaigns/{campaign-id}\n- \"List all activities?\" -> GET /v1/apps/{application-id}/campaigns/{campaign-id}/activities\n- \"Get version details?\" -> GET /v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}\n- \"List all versions?\" -> GET /v1/apps/{application-id}/campaigns/{campaign-id}/versions\n- \"List all campaigns?\" -> GET /v1/apps/{application-id}/campaigns\n- \"List all channels?\" -> GET /v1/apps/{application-id}/channels\n- \"List all email?\" -> GET /v1/apps/{application-id}/channels/email\n- \"Get endpoint details?\" -> GET /v1/apps/{application-id}/endpoints/{endpoint-id}\n- \"List all eventstream?\" -> GET /v1/apps/{application-id}/eventstream\n- \"Get export details?\" -> GET /v1/apps/{application-id}/jobs/export/{job-id}\n- \"List all export?\" -> GET /v1/apps/{application-id}/jobs/export\n- \"List all gcm?\" -> GET /v1/apps/{application-id}/channels/gcm\n- \"Get import details?\" -> GET /v1/apps/{application-id}/jobs/import/{job-id}\n- \"List all import?\" -> GET /v1/apps/{application-id}/jobs/import\n- \"List all inappmessages?\" -> GET /v1/apps/{application-id}/endpoints/{endpoint-id}/inappmessages\n- \"List all inapp?\" -> GET /v1/templates/{template-name}/inapp\n- \"Get journey details?\" -> GET /v1/apps/{application-id}/journeys/{journey-id}\n- \"List all execution-metrics?\" -> GET /v1/apps/{application-id}/journeys/{journey-id}/activities/{journey-activity-id}/execution-metrics\n- \"List all runs?\" -> GET /v1/apps/{application-id}/journeys/{journey-id}/runs\n- \"List all push?\" -> GET /v1/templates/{template-name}/push\n- \"Get recommender details?\" -> GET /v1/recommenders/{recommender-id}\n- \"List all recommenders?\" -> GET /v1/recommenders\n- \"Get segment details?\" -> GET /v1/apps/{application-id}/segments/{segment-id}\n- \"List all segments?\" -> GET /v1/apps/{application-id}/segments\n- \"List all sms?\" -> GET /v1/apps/{application-id}/channels/sms\n- \"Get user details?\" -> GET /v1/apps/{application-id}/users/{user-id}\n- \"List all voice?\" -> GET /v1/apps/{application-id}/channels/voice\n- \"List all journeys?\" -> GET /v1/apps/{application-id}/journeys\n- \"Get tag details?\" -> GET /v1/tags/{resource-arn}\n- \"List all templates?\" -> GET /v1/templates\n- \"Create a validate?\" -> POST /v1/phone/number/validate\n- \"Create a eventstream?\" -> POST /v1/apps/{application-id}/eventstream\n- \"Create a event?\" -> POST /v1/apps/{application-id}/events\n- \"Update a attribute?\" -> PUT /v1/apps/{application-id}/attributes/{attribute-type}\n- \"Create a message?\" -> POST /v1/apps/{application-id}/messages\n- \"Create a otp?\" -> POST /v1/apps/{application-id}/otp\n- \"Create a users-message?\" -> POST /v1/apps/{application-id}/users-messages\n- \"Delete a tag?\" -> DELETE /v1/tags/{resource-arn}\n- \"Update a campaign?\" -> PUT /v1/apps/{application-id}/campaigns/{campaign-id}\n- \"Update a endpoint?\" -> PUT /v1/apps/{application-id}/endpoints/{endpoint-id}\n- \"Update a journey?\" -> PUT /v1/apps/{application-id}/journeys/{journey-id}\n- \"Update a recommender?\" -> PUT /v1/recommenders/{recommender-id}\n- \"Update a segment?\" -> PUT /v1/apps/{application-id}/segments/{segment-id}\n- \"Create a verify-otp?\" -> POST /v1/apps/{application-id}/verify-otp\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Amazon Pinpoint\n@version 2016-12-01\n@auth AWS SigV4\n@endpoints 122\n@hint download_for_search\n@toc apps(90), templates(23), recommenders(5), tags(3), phone(1)\n\n@group apps\n@endpoint POST /v1/apps\n@desc Creates an application.\n@required {CreateApplicationRequest: CreateApplicationRequest}\n@returns(200) {ApplicationResponse: ApplicationResponse{Arn: str, Id: str, Name: str, tags: map<str, str>?: any, CreationDate: str?}}\n\n@endpoint POST /v1/apps/{application-id}/campaigns\n@desc Creates a new campaign for an application or updates the settings of an existing campaign for an application.\n@required {ApplicationId: str, WriteCampaignRequest: WriteCampaignRequest}\n@returns(200) {CampaignResponse: CampaignResponse{AdditionalTreatments: [TreatmentResource]?, ApplicationId: str, Arn: str, CreationDate: str, CustomDeliveryConfiguration: CustomDeliveryConfiguration?{DeliveryUri: str, EndpointTypes: [str]?}, DefaultState: CampaignState?{CampaignStatus: str?}, Description: str?, HoldoutPercent: int?, Hook: CampaignHook?{LambdaFunctionName: str?, Mode: str?, WebUrl: str?}, Id: str, IsPaused: bool?, LastModifiedDate: str, Limits: CampaignLimits?{Daily: int?, MaximumDuration: int?, MessagesPerSecond: int?, Total: int?, Session: int?}, MessageConfiguration: MessageConfiguration?{ADMMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, APNSMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, BaiduMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, CustomMessage: CampaignCustomMessage?{Data: str?}, DefaultMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, EmailMessage: CampaignEmailMessage?{Body: str?, FromAddress: str?, Headers: [MessageHeader]?, HtmlBody: str?, Title: str?}, GCMMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, SMSMessage: CampaignSmsMessage?{Body: str?, MessageType: str?, OriginationNumber: str?, SenderId: str?, EntityId: str?, TemplateId: str?}, InAppMessage: CampaignInAppMessage?{Body: str?, Content: [InAppMessageContent]?, CustomConfig: map<str, str>?: any, Layout: str?}}, Name: str?, Schedule: Schedule?{EndTime: str?, EventFilter: CampaignEventFilter?{Dimensions: EventDimensions, FilterType: str}, Frequency: str?, IsLocalTime: bool?, QuietTime: QuietTime?{End: str?, Start: str?}, StartTime: str, Timezone: str?}, SegmentId: str, SegmentVersion: int, State: CampaignState?{CampaignStatus: str?}, tags: map<str, str>?: any, TemplateConfiguration: TemplateConfiguration?{EmailTemplate: Template?{Name: str?, Version: str?}, PushTemplate: Template?{Name: str?, Version: str?}, SMSTemplate: Template?{Name: str?, Version: str?}, VoiceTemplate: Template?{Name: str?, Version: str?}, InAppTemplate: Template?{Name: str?, Version: str?}}, TreatmentDescription: str?, TreatmentName: str?, Version: int?, Priority: int?}}\n\n@endgroup\n\n@group templates\n@endpoint POST /v1/templates/{template-name}/email\n@desc Creates a message template for messages that are sent through the email channel.\n@required {TemplateName: str, EmailTemplateRequest: EmailTemplateRequest}\n@returns(200) {CreateTemplateMessageBody: CreateTemplateMessageBody{Arn: str?, Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint POST /v1/apps/{application-id}/jobs/export\n@desc Creates an export job for an application.\n@required {ApplicationId: str, ExportJobRequest: ExportJobRequest}\n@returns(200) {ExportJobResponse: ExportJobResponse{ApplicationId: str, CompletedPieces: int?, CompletionDate: str?, CreationDate: str, Definition: ExportJobResource{RoleArn: str, S3UrlPrefix: str, SegmentId: str?, SegmentVersion: int?}, FailedPieces: int?, Failures: [str]?, Id: str, JobStatus: str, TotalFailures: int?, TotalPieces: int?, TotalProcessed: int?, Type: str}}\n\n@endpoint POST /v1/apps/{application-id}/jobs/import\n@desc Creates an import job for an application.\n@required {ApplicationId: str, ImportJobRequest: ImportJobRequest}\n@returns(200) {ImportJobResponse: ImportJobResponse{ApplicationId: str, CompletedPieces: int?, CompletionDate: str?, CreationDate: str, Definition: ImportJobResource{DefineSegment: bool?, ExternalId: str?, Format: str, RegisterEndpoints: bool?, RoleArn: str, S3Url: str, SegmentId: str?, SegmentName: str?}, FailedPieces: int?, Failures: [str]?, Id: str, JobStatus: str, TotalFailures: int?, TotalPieces: int?, TotalProcessed: int?, Type: str}}\n\n@endgroup\n\n@group templates\n@endpoint POST /v1/templates/{template-name}/inapp\n@desc Creates a new message template for messages using the in-app message channel.\n@required {TemplateName: str, InAppTemplateRequest: InAppTemplateRequest}\n@returns(200) {TemplateCreateMessageBody: TemplateCreateMessageBody{Arn: str?, Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint POST /v1/apps/{application-id}/journeys\n@desc Creates a journey for an application.\n@required {ApplicationId: str, WriteJourneyRequest: WriteJourneyRequest}\n@returns(200) {JourneyResponse: JourneyResponse{Activities: map<str, Activity>?: any, ApplicationId: str, CreationDate: str?, Id: str, LastModifiedDate: str?, Limits: JourneyLimits?{DailyCap: int?, EndpointReentryCap: int?, MessagesPerSecond: int?, EndpointReentryInterval: str?, TimeframeCap: JourneyTimeframeCap?{Cap: int?, Days: int?}, TotalCap: int?}, LocalTime: bool?, Name: str, QuietTime: QuietTime?{End: str?, Start: str?}, RefreshFrequency: str?, Schedule: JourneySchedule?{EndTime: str(timestamp)?, StartTime: str(timestamp)?, Timezone: str?}, StartActivity: str?, StartCondition: StartCondition?{Description: str?, EventStartCondition: EventStartCondition?{EventFilter: EventFilter?, SegmentId: str?}, SegmentStartCondition: SegmentCondition?{SegmentId: str}}, State: str?, tags: map<str, str>?: any, WaitForQuietTime: bool?, RefreshOnSegmentUpdate: bool?, JourneyChannelSettings: JourneyChannelSettings?{ConnectCampaignArn: str?, ConnectCampaignExecutionRoleArn: str?}, SendingSchedule: bool?, OpenHours: OpenHours?{EMAIL: map<str, [OpenHoursRule]>?: any, SMS: map<str, [OpenHoursRule]>?: any, PUSH: map<str, [OpenHoursRule]>?: any, VOICE: map<str, [OpenHoursRule]>?: any, CUSTOM: map<str, [OpenHoursRule]>?: any}, ClosedDays: ClosedDays?{EMAIL: [ClosedDaysRule]?, SMS: [ClosedDaysRule]?, PUSH: [ClosedDaysRule]?, VOICE: [ClosedDaysRule]?, CUSTOM: [ClosedDaysRule]?}, TimezoneEstimationMethods: [str]?}}\n\n@endgroup\n\n@group templates\n@endpoint POST /v1/templates/{template-name}/push\n@desc Creates a message template for messages that are sent through a push notification channel.\n@required {TemplateName: str, PushNotificationTemplateRequest: PushNotificationTemplateRequest}\n@returns(200) {CreateTemplateMessageBody: CreateTemplateMessageBody{Arn: str?, Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group recommenders\n@endpoint POST /v1/recommenders\n@desc Creates an Amazon Pinpoint configuration for a recommender model.\n@required {CreateRecommenderConfiguration: CreateRecommenderConfiguration}\n@returns(200) {RecommenderConfigurationResponse: RecommenderConfigurationResponse{Attributes: map<str, str>?: any, CreationDate: str, Description: str?, Id: str, LastModifiedDate: str, Name: str?, RecommendationProviderIdType: str?, RecommendationProviderRoleArn: str, RecommendationProviderUri: str, RecommendationTransformerUri: str?, RecommendationsDisplayName: str?, RecommendationsPerMessage: int?}}\n\n@endgroup\n\n@group apps\n@endpoint POST /v1/apps/{application-id}/segments\n@desc Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.\n@required {ApplicationId: str, WriteSegmentRequest: WriteSegmentRequest}\n@returns(200) {SegmentResponse: SegmentResponse{ApplicationId: str, Arn: str, CreationDate: str, Dimensions: SegmentDimensions?{Attributes: map<str, AttributeDimension>?: any, Behavior: SegmentBehaviors?{Recency: RecencyDimension?}, Demographic: SegmentDemographics?{AppVersion: SetDimension?, Channel: SetDimension?, DeviceType: SetDimension?, Make: SetDimension?, Model: SetDimension?, Platform: SetDimension?}, Location: SegmentLocation?{Country: SetDimension?, GPSPoint: GPSPointDimension?}, Metrics: map<str, MetricDimension>?: any, UserAttributes: map<str, AttributeDimension>?: any}, Id: str, ImportDefinition: SegmentImportResource?{ChannelCounts: map<str, int>?: any, ExternalId: str, Format: str, RoleArn: str, S3Url: str, Size: int}, LastModifiedDate: str?, Name: str?, SegmentGroups: SegmentGroupList?{Groups: [SegmentGroup]?, Include: str?}, SegmentType: str, tags: map<str, str>?: any, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint POST /v1/templates/{template-name}/sms\n@desc Creates a message template for messages that are sent through the SMS channel.\n@required {TemplateName: str, SMSTemplateRequest: SMSTemplateRequest}\n@returns(200) {CreateTemplateMessageBody: CreateTemplateMessageBody{Arn: str?, Message: str?, RequestID: str?}}\n\n@endpoint POST /v1/templates/{template-name}/voice\n@desc Creates a message template for messages that are sent through the voice channel.\n@required {TemplateName: str, VoiceTemplateRequest: VoiceTemplateRequest}\n@returns(200) {CreateTemplateMessageBody: CreateTemplateMessageBody{Arn: str?, Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint DELETE /v1/apps/{application-id}/channels/adm\n@desc Disables the ADM channel for an application and deletes any existing settings for the channel.\n@required {ApplicationId: str}\n@returns(200) {ADMChannelResponse: ADMChannelResponse{ApplicationId: str?, CreationDate: str?, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint DELETE /v1/apps/{application-id}/channels/apns\n@desc Disables the APNs channel for an application and deletes any existing settings for the channel.\n@required {ApplicationId: str}\n@returns(200) {APNSChannelResponse: APNSChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint DELETE /v1/apps/{application-id}/channels/apns_sandbox\n@desc Disables the APNs sandbox channel for an application and deletes any existing settings for the channel.\n@required {ApplicationId: str}\n@returns(200) {APNSSandboxChannelResponse: APNSSandboxChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint DELETE /v1/apps/{application-id}/channels/apns_voip\n@desc Disables the APNs VoIP channel for an application and deletes any existing settings for the channel.\n@required {ApplicationId: str}\n@returns(200) {APNSVoipChannelResponse: APNSVoipChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint DELETE /v1/apps/{application-id}/channels/apns_voip_sandbox\n@desc Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel.\n@required {ApplicationId: str}\n@returns(200) {APNSVoipSandboxChannelResponse: APNSVoipSandboxChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint DELETE /v1/apps/{application-id}\n@desc Deletes an application.\n@required {ApplicationId: str}\n@returns(200) {ApplicationResponse: ApplicationResponse{Arn: str, Id: str, Name: str, tags: map<str, str>?: any, CreationDate: str?}}\n\n@endpoint DELETE /v1/apps/{application-id}/channels/baidu\n@desc Disables the Baidu channel for an application and deletes any existing settings for the channel.\n@required {ApplicationId: str}\n@returns(200) {BaiduChannelResponse: BaiduChannelResponse{ApplicationId: str?, CreationDate: str?, Credential: str, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint DELETE /v1/apps/{application-id}/campaigns/{campaign-id}\n@desc Deletes a campaign from an application.\n@required {ApplicationId: str, CampaignId: str}\n@returns(200) {CampaignResponse: CampaignResponse{AdditionalTreatments: [TreatmentResource]?, ApplicationId: str, Arn: str, CreationDate: str, CustomDeliveryConfiguration: CustomDeliveryConfiguration?{DeliveryUri: str, EndpointTypes: [str]?}, DefaultState: CampaignState?{CampaignStatus: str?}, Description: str?, HoldoutPercent: int?, Hook: CampaignHook?{LambdaFunctionName: str?, Mode: str?, WebUrl: str?}, Id: str, IsPaused: bool?, LastModifiedDate: str, Limits: CampaignLimits?{Daily: int?, MaximumDuration: int?, MessagesPerSecond: int?, Total: int?, Session: int?}, MessageConfiguration: MessageConfiguration?{ADMMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, APNSMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, BaiduMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, CustomMessage: CampaignCustomMessage?{Data: str?}, DefaultMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, EmailMessage: CampaignEmailMessage?{Body: str?, FromAddress: str?, Headers: [MessageHeader]?, HtmlBody: str?, Title: str?}, GCMMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, SMSMessage: CampaignSmsMessage?{Body: str?, MessageType: str?, OriginationNumber: str?, SenderId: str?, EntityId: str?, TemplateId: str?}, InAppMessage: CampaignInAppMessage?{Body: str?, Content: [InAppMessageContent]?, CustomConfig: map<str, str>?: any, Layout: str?}}, Name: str?, Schedule: Schedule?{EndTime: str?, EventFilter: CampaignEventFilter?{Dimensions: EventDimensions, FilterType: str}, Frequency: str?, IsLocalTime: bool?, QuietTime: QuietTime?{End: str?, Start: str?}, StartTime: str, Timezone: str?}, SegmentId: str, SegmentVersion: int, State: CampaignState?{CampaignStatus: str?}, tags: map<str, str>?: any, TemplateConfiguration: TemplateConfiguration?{EmailTemplate: Template?{Name: str?, Version: str?}, PushTemplate: Template?{Name: str?, Version: str?}, SMSTemplate: Template?{Name: str?, Version: str?}, VoiceTemplate: Template?{Name: str?, Version: str?}, InAppTemplate: Template?{Name: str?, Version: str?}}, TreatmentDescription: str?, TreatmentName: str?, Version: int?, Priority: int?}}\n\n@endpoint DELETE /v1/apps/{application-id}/channels/email\n@desc Disables the email channel for an application and deletes any existing settings for the channel.\n@required {ApplicationId: str}\n@returns(200) {EmailChannelResponse: EmailChannelResponse{ApplicationId: str?, ConfigurationSet: str?, CreationDate: str?, Enabled: bool?, FromAddress: str?, HasCredential: bool?, Id: str?, Identity: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, MessagesPerSecond: int?, Platform: str, RoleArn: str?, OrchestrationSendingRoleArn: str?, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint DELETE /v1/templates/{template-name}/email\n@desc Deletes a message template for messages that were sent through the email channel.\n@required {TemplateName: str}\n@optional {version: str}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint DELETE /v1/apps/{application-id}/endpoints/{endpoint-id}\n@desc Deletes an endpoint from an application.\n@required {ApplicationId: str, EndpointId: str}\n@returns(200) {EndpointResponse: EndpointResponse{Address: str?, ApplicationId: str?, Attributes: map<str, [str]>?: any, ChannelType: str?, CohortId: str?, CreationDate: str?, Demographic: EndpointDemographic?{AppVersion: str?, Locale: str?, Make: str?, Model: str?, ModelVersion: str?, Platform: str?, PlatformVersion: str?, Timezone: str?}, EffectiveDate: str?, EndpointStatus: str?, Id: str?, Location: EndpointLocation?{City: str?, Country: str?, Latitude: num(f64)?, Longitude: num(f64)?, PostalCode: str?, Region: str?}, Metrics: map<str, num(f64)>?: any, OptOut: str?, RequestId: str?, User: EndpointUser?{UserAttributes: map<str, [str]>?: any, UserId: str?}}}\n\n@endpoint DELETE /v1/apps/{application-id}/eventstream\n@desc Deletes the event stream for an application.\n@required {ApplicationId: str}\n@returns(200) {EventStream: EventStream{ApplicationId: str, DestinationStreamArn: str, ExternalId: str?, LastModifiedDate: str?, LastUpdatedBy: str?, RoleArn: str}}\n\n@endpoint DELETE /v1/apps/{application-id}/channels/gcm\n@desc Disables the GCM channel for an application and deletes any existing settings for the channel.\n@required {ApplicationId: str}\n@returns(200) {GCMChannelResponse: GCMChannelResponse{ApplicationId: str?, CreationDate: str?, Credential: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasFcmServiceCredentials: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint DELETE /v1/templates/{template-name}/inapp\n@desc Deletes a message template for messages sent using the in-app message channel.\n@required {TemplateName: str}\n@optional {version: str}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint DELETE /v1/apps/{application-id}/journeys/{journey-id}\n@desc Deletes a journey from an application.\n@required {ApplicationId: str, JourneyId: str}\n@returns(200) {JourneyResponse: JourneyResponse{Activities: map<str, Activity>?: any, ApplicationId: str, CreationDate: str?, Id: str, LastModifiedDate: str?, Limits: JourneyLimits?{DailyCap: int?, EndpointReentryCap: int?, MessagesPerSecond: int?, EndpointReentryInterval: str?, TimeframeCap: JourneyTimeframeCap?{Cap: int?, Days: int?}, TotalCap: int?}, LocalTime: bool?, Name: str, QuietTime: QuietTime?{End: str?, Start: str?}, RefreshFrequency: str?, Schedule: JourneySchedule?{EndTime: str(timestamp)?, StartTime: str(timestamp)?, Timezone: str?}, StartActivity: str?, StartCondition: StartCondition?{Description: str?, EventStartCondition: EventStartCondition?{EventFilter: EventFilter?, SegmentId: str?}, SegmentStartCondition: SegmentCondition?{SegmentId: str}}, State: str?, tags: map<str, str>?: any, WaitForQuietTime: bool?, RefreshOnSegmentUpdate: bool?, JourneyChannelSettings: JourneyChannelSettings?{ConnectCampaignArn: str?, ConnectCampaignExecutionRoleArn: str?}, SendingSchedule: bool?, OpenHours: OpenHours?{EMAIL: map<str, [OpenHoursRule]>?: any, SMS: map<str, [OpenHoursRule]>?: any, PUSH: map<str, [OpenHoursRule]>?: any, VOICE: map<str, [OpenHoursRule]>?: any, CUSTOM: map<str, [OpenHoursRule]>?: any}, ClosedDays: ClosedDays?{EMAIL: [ClosedDaysRule]?, SMS: [ClosedDaysRule]?, PUSH: [ClosedDaysRule]?, VOICE: [ClosedDaysRule]?, CUSTOM: [ClosedDaysRule]?}, TimezoneEstimationMethods: [str]?}}\n\n@endgroup\n\n@group templates\n@endpoint DELETE /v1/templates/{template-name}/push\n@desc Deletes a message template for messages that were sent through a push notification channel.\n@required {TemplateName: str}\n@optional {version: str}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group recommenders\n@endpoint DELETE /v1/recommenders/{recommender-id}\n@desc Deletes an Amazon Pinpoint configuration for a recommender model.\n@required {RecommenderId: str}\n@returns(200) {RecommenderConfigurationResponse: RecommenderConfigurationResponse{Attributes: map<str, str>?: any, CreationDate: str, Description: str?, Id: str, LastModifiedDate: str, Name: str?, RecommendationProviderIdType: str?, RecommendationProviderRoleArn: str, RecommendationProviderUri: str, RecommendationTransformerUri: str?, RecommendationsDisplayName: str?, RecommendationsPerMessage: int?}}\n\n@endgroup\n\n@group apps\n@endpoint DELETE /v1/apps/{application-id}/segments/{segment-id}\n@desc Deletes a segment from an application.\n@required {ApplicationId: str, SegmentId: str}\n@returns(200) {SegmentResponse: SegmentResponse{ApplicationId: str, Arn: str, CreationDate: str, Dimensions: SegmentDimensions?{Attributes: map<str, AttributeDimension>?: any, Behavior: SegmentBehaviors?{Recency: RecencyDimension?}, Demographic: SegmentDemographics?{AppVersion: SetDimension?, Channel: SetDimension?, DeviceType: SetDimension?, Make: SetDimension?, Model: SetDimension?, Platform: SetDimension?}, Location: SegmentLocation?{Country: SetDimension?, GPSPoint: GPSPointDimension?}, Metrics: map<str, MetricDimension>?: any, UserAttributes: map<str, AttributeDimension>?: any}, Id: str, ImportDefinition: SegmentImportResource?{ChannelCounts: map<str, int>?: any, ExternalId: str, Format: str, RoleArn: str, S3Url: str, Size: int}, LastModifiedDate: str?, Name: str?, SegmentGroups: SegmentGroupList?{Groups: [SegmentGroup]?, Include: str?}, SegmentType: str, tags: map<str, str>?: any, Version: int?}}\n\n@endpoint DELETE /v1/apps/{application-id}/channels/sms\n@desc Disables the SMS channel for an application and deletes any existing settings for the channel.\n@required {ApplicationId: str}\n@returns(200) {SMSChannelResponse: SMSChannelResponse{ApplicationId: str?, CreationDate: str?, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, PromotionalMessagesPerSecond: int?, SenderId: str?, ShortCode: str?, TransactionalMessagesPerSecond: int?, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint DELETE /v1/templates/{template-name}/sms\n@desc Deletes a message template for messages that were sent through the SMS channel.\n@required {TemplateName: str}\n@optional {version: str}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint DELETE /v1/apps/{application-id}/users/{user-id}\n@desc Deletes all the endpoints that are associated with a specific user ID.\n@required {ApplicationId: str, UserId: str}\n@returns(200) {EndpointsResponse: EndpointsResponse{Item: [EndpointResponse]}}\n\n@endpoint DELETE /v1/apps/{application-id}/channels/voice\n@desc Disables the voice channel for an application and deletes any existing settings for the channel.\n@required {ApplicationId: str}\n@returns(200) {VoiceChannelResponse: VoiceChannelResponse{ApplicationId: str?, CreationDate: str?, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint DELETE /v1/templates/{template-name}/voice\n@desc Deletes a message template for messages that were sent through the voice channel.\n@required {TemplateName: str}\n@optional {version: str}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint GET /v1/apps/{application-id}/channels/adm\n@desc Retrieves information about the status and settings of the ADM channel for an application.\n@required {ApplicationId: str}\n@returns(200) {ADMChannelResponse: ADMChannelResponse{ApplicationId: str?, CreationDate: str?, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint GET /v1/apps/{application-id}/channels/apns\n@desc Retrieves information about the status and settings of the APNs channel for an application.\n@required {ApplicationId: str}\n@returns(200) {APNSChannelResponse: APNSChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint GET /v1/apps/{application-id}/channels/apns_sandbox\n@desc Retrieves information about the status and settings of the APNs sandbox channel for an application.\n@required {ApplicationId: str}\n@returns(200) {APNSSandboxChannelResponse: APNSSandboxChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint GET /v1/apps/{application-id}/channels/apns_voip\n@desc Retrieves information about the status and settings of the APNs VoIP channel for an application.\n@required {ApplicationId: str}\n@returns(200) {APNSVoipChannelResponse: APNSVoipChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint GET /v1/apps/{application-id}/channels/apns_voip_sandbox\n@desc Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.\n@required {ApplicationId: str}\n@returns(200) {APNSVoipSandboxChannelResponse: APNSVoipSandboxChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint GET /v1/apps/{application-id}\n@desc Retrieves information about an application.\n@required {ApplicationId: str}\n@returns(200) {ApplicationResponse: ApplicationResponse{Arn: str, Id: str, Name: str, tags: map<str, str>?: any, CreationDate: str?}}\n\n@endpoint GET /v1/apps/{application-id}/kpis/daterange/{kpi-name}\n@desc Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.\n@required {ApplicationId: str, KpiName: str}\n@optional {end-time: str(timestamp), next-token: str, page-size: str, start-time: str(timestamp)}\n@returns(200) {ApplicationDateRangeKpiResponse: ApplicationDateRangeKpiResponse{ApplicationId: str, EndTime: str(timestamp), KpiName: str, KpiResult: BaseKpiResult{Rows: [ResultRow]}, NextToken: str?, StartTime: str(timestamp)}}\n\n@endpoint GET /v1/apps/{application-id}/settings\n@desc Retrieves information about the settings for an application.\n@required {ApplicationId: str}\n@returns(200) {ApplicationSettingsResource: ApplicationSettingsResource{ApplicationId: str, CampaignHook: CampaignHook?{LambdaFunctionName: str?, Mode: str?, WebUrl: str?}, LastModifiedDate: str?, Limits: CampaignLimits?{Daily: int?, MaximumDuration: int?, MessagesPerSecond: int?, Total: int?, Session: int?}, QuietTime: QuietTime?{End: str?, Start: str?}, JourneyLimits: ApplicationSettingsJourneyLimits?{DailyCap: int?, TimeframeCap: JourneyTimeframeCap?{Cap: int?, Days: int?}, TotalCap: int?}}}\n\n@endpoint GET /v1/apps\n@desc Retrieves information about all the applications that are associated with your Amazon Pinpoint account.\n@optional {page-size: str, token: str}\n@returns(200) {ApplicationsResponse: ApplicationsResponse{Item: [ApplicationResponse]?, NextToken: str?}}\n\n@endpoint GET /v1/apps/{application-id}/channels/baidu\n@desc Retrieves information about the status and settings of the Baidu channel for an application.\n@required {ApplicationId: str}\n@returns(200) {BaiduChannelResponse: BaiduChannelResponse{ApplicationId: str?, CreationDate: str?, Credential: str, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint GET /v1/apps/{application-id}/campaigns/{campaign-id}\n@desc Retrieves information about the status, configuration, and other settings for a campaign.\n@required {ApplicationId: str, CampaignId: str}\n@returns(200) {CampaignResponse: CampaignResponse{AdditionalTreatments: [TreatmentResource]?, ApplicationId: str, Arn: str, CreationDate: str, CustomDeliveryConfiguration: CustomDeliveryConfiguration?{DeliveryUri: str, EndpointTypes: [str]?}, DefaultState: CampaignState?{CampaignStatus: str?}, Description: str?, HoldoutPercent: int?, Hook: CampaignHook?{LambdaFunctionName: str?, Mode: str?, WebUrl: str?}, Id: str, IsPaused: bool?, LastModifiedDate: str, Limits: CampaignLimits?{Daily: int?, MaximumDuration: int?, MessagesPerSecond: int?, Total: int?, Session: int?}, MessageConfiguration: MessageConfiguration?{ADMMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, APNSMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, BaiduMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, CustomMessage: CampaignCustomMessage?{Data: str?}, DefaultMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, EmailMessage: CampaignEmailMessage?{Body: str?, FromAddress: str?, Headers: [MessageHeader]?, HtmlBody: str?, Title: str?}, GCMMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, SMSMessage: CampaignSmsMessage?{Body: str?, MessageType: str?, OriginationNumber: str?, SenderId: str?, EntityId: str?, TemplateId: str?}, InAppMessage: CampaignInAppMessage?{Body: str?, Content: [InAppMessageContent]?, CustomConfig: map<str, str>?: any, Layout: str?}}, Name: str?, Schedule: Schedule?{EndTime: str?, EventFilter: CampaignEventFilter?{Dimensions: EventDimensions, FilterType: str}, Frequency: str?, IsLocalTime: bool?, QuietTime: QuietTime?{End: str?, Start: str?}, StartTime: str, Timezone: str?}, SegmentId: str, SegmentVersion: int, State: CampaignState?{CampaignStatus: str?}, tags: map<str, str>?: any, TemplateConfiguration: TemplateConfiguration?{EmailTemplate: Template?{Name: str?, Version: str?}, PushTemplate: Template?{Name: str?, Version: str?}, SMSTemplate: Template?{Name: str?, Version: str?}, VoiceTemplate: Template?{Name: str?, Version: str?}, InAppTemplate: Template?{Name: str?, Version: str?}}, TreatmentDescription: str?, TreatmentName: str?, Version: int?, Priority: int?}}\n\n@endpoint GET /v1/apps/{application-id}/campaigns/{campaign-id}/activities\n@desc Retrieves information about all the activities for a campaign.\n@required {ApplicationId: str, CampaignId: str}\n@optional {page-size: str, token: str}\n@returns(200) {ActivitiesResponse: ActivitiesResponse{Item: [ActivityResponse], NextToken: str?}}\n\n@endpoint GET /v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name}\n@desc Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.\n@required {ApplicationId: str, CampaignId: str, KpiName: str}\n@optional {end-time: str(timestamp), next-token: str, page-size: str, start-time: str(timestamp)}\n@returns(200) {CampaignDateRangeKpiResponse: CampaignDateRangeKpiResponse{ApplicationId: str, CampaignId: str, EndTime: str(timestamp), KpiName: str, KpiResult: BaseKpiResult{Rows: [ResultRow]}, NextToken: str?, StartTime: str(timestamp)}}\n\n@endpoint GET /v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}\n@desc Retrieves information about the status, configuration, and other settings for a specific version of a campaign.\n@required {ApplicationId: str, CampaignId: str, Version: str}\n@returns(200) {CampaignResponse: CampaignResponse{AdditionalTreatments: [TreatmentResource]?, ApplicationId: str, Arn: str, CreationDate: str, CustomDeliveryConfiguration: CustomDeliveryConfiguration?{DeliveryUri: str, EndpointTypes: [str]?}, DefaultState: CampaignState?{CampaignStatus: str?}, Description: str?, HoldoutPercent: int?, Hook: CampaignHook?{LambdaFunctionName: str?, Mode: str?, WebUrl: str?}, Id: str, IsPaused: bool?, LastModifiedDate: str, Limits: CampaignLimits?{Daily: int?, MaximumDuration: int?, MessagesPerSecond: int?, Total: int?, Session: int?}, MessageConfiguration: MessageConfiguration?{ADMMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, APNSMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, BaiduMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, CustomMessage: CampaignCustomMessage?{Data: str?}, DefaultMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, EmailMessage: CampaignEmailMessage?{Body: str?, FromAddress: str?, Headers: [MessageHeader]?, HtmlBody: str?, Title: str?}, GCMMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, SMSMessage: CampaignSmsMessage?{Body: str?, MessageType: str?, OriginationNumber: str?, SenderId: str?, EntityId: str?, TemplateId: str?}, InAppMessage: CampaignInAppMessage?{Body: str?, Content: [InAppMessageContent]?, CustomConfig: map<str, str>?: any, Layout: str?}}, Name: str?, Schedule: Schedule?{EndTime: str?, EventFilter: CampaignEventFilter?{Dimensions: EventDimensions, FilterType: str}, Frequency: str?, IsLocalTime: bool?, QuietTime: QuietTime?{End: str?, Start: str?}, StartTime: str, Timezone: str?}, SegmentId: str, SegmentVersion: int, State: CampaignState?{CampaignStatus: str?}, tags: map<str, str>?: any, TemplateConfiguration: TemplateConfiguration?{EmailTemplate: Template?{Name: str?, Version: str?}, PushTemplate: Template?{Name: str?, Version: str?}, SMSTemplate: Template?{Name: str?, Version: str?}, VoiceTemplate: Template?{Name: str?, Version: str?}, InAppTemplate: Template?{Name: str?, Version: str?}}, TreatmentDescription: str?, TreatmentName: str?, Version: int?, Priority: int?}}\n\n@endpoint GET /v1/apps/{application-id}/campaigns/{campaign-id}/versions\n@desc Retrieves information about the status, configuration, and other settings for all versions of a campaign.\n@required {ApplicationId: str, CampaignId: str}\n@optional {page-size: str, token: str}\n@returns(200) {CampaignsResponse: CampaignsResponse{Item: [CampaignResponse], NextToken: str?}}\n\n@endpoint GET /v1/apps/{application-id}/campaigns\n@desc Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.\n@required {ApplicationId: str}\n@optional {page-size: str, token: str}\n@returns(200) {CampaignsResponse: CampaignsResponse{Item: [CampaignResponse], NextToken: str?}}\n\n@endpoint GET /v1/apps/{application-id}/channels\n@desc Retrieves information about the history and status of each channel for an application.\n@required {ApplicationId: str}\n@returns(200) {ChannelsResponse: ChannelsResponse{Channels: map<str, ChannelResponse>: any}}\n\n@endpoint GET /v1/apps/{application-id}/channels/email\n@desc Retrieves information about the status and settings of the email channel for an application.\n@required {ApplicationId: str}\n@returns(200) {EmailChannelResponse: EmailChannelResponse{ApplicationId: str?, ConfigurationSet: str?, CreationDate: str?, Enabled: bool?, FromAddress: str?, HasCredential: bool?, Id: str?, Identity: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, MessagesPerSecond: int?, Platform: str, RoleArn: str?, OrchestrationSendingRoleArn: str?, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint GET /v1/templates/{template-name}/email\n@desc Retrieves the content and settings of a message template for messages that are sent through the email channel.\n@required {TemplateName: str}\n@optional {version: str}\n@returns(200) {EmailTemplateResponse: EmailTemplateResponse{Arn: str?, CreationDate: str, DefaultSubstitutions: str?, HtmlPart: str?, LastModifiedDate: str, RecommenderId: str?, Subject: str?, Headers: [MessageHeader]?, tags: map<str, str>?: any, TemplateDescription: str?, TemplateName: str, TemplateType: str, TextPart: str?, Version: str?}}\n\n@endgroup\n\n@group apps\n@endpoint GET /v1/apps/{application-id}/endpoints/{endpoint-id}\n@desc Retrieves information about the settings and attributes of a specific endpoint for an application.\n@required {ApplicationId: str, EndpointId: str}\n@returns(200) {EndpointResponse: EndpointResponse{Address: str?, ApplicationId: str?, Attributes: map<str, [str]>?: any, ChannelType: str?, CohortId: str?, CreationDate: str?, Demographic: EndpointDemographic?{AppVersion: str?, Locale: str?, Make: str?, Model: str?, ModelVersion: str?, Platform: str?, PlatformVersion: str?, Timezone: str?}, EffectiveDate: str?, EndpointStatus: str?, Id: str?, Location: EndpointLocation?{City: str?, Country: str?, Latitude: num(f64)?, Longitude: num(f64)?, PostalCode: str?, Region: str?}, Metrics: map<str, num(f64)>?: any, OptOut: str?, RequestId: str?, User: EndpointUser?{UserAttributes: map<str, [str]>?: any, UserId: str?}}}\n\n@endpoint GET /v1/apps/{application-id}/eventstream\n@desc Retrieves information about the event stream settings for an application.\n@required {ApplicationId: str}\n@returns(200) {EventStream: EventStream{ApplicationId: str, DestinationStreamArn: str, ExternalId: str?, LastModifiedDate: str?, LastUpdatedBy: str?, RoleArn: str}}\n\n@endpoint GET /v1/apps/{application-id}/jobs/export/{job-id}\n@desc Retrieves information about the status and settings of a specific export job for an application.\n@required {ApplicationId: str, JobId: str}\n@returns(200) {ExportJobResponse: ExportJobResponse{ApplicationId: str, CompletedPieces: int?, CompletionDate: str?, CreationDate: str, Definition: ExportJobResource{RoleArn: str, S3UrlPrefix: str, SegmentId: str?, SegmentVersion: int?}, FailedPieces: int?, Failures: [str]?, Id: str, JobStatus: str, TotalFailures: int?, TotalPieces: int?, TotalProcessed: int?, Type: str}}\n\n@endpoint GET /v1/apps/{application-id}/jobs/export\n@desc Retrieves information about the status and settings of all the export jobs for an application.\n@required {ApplicationId: str}\n@optional {page-size: str, token: str}\n@returns(200) {ExportJobsResponse: ExportJobsResponse{Item: [ExportJobResponse], NextToken: str?}}\n\n@endpoint GET /v1/apps/{application-id}/channels/gcm\n@desc Retrieves information about the status and settings of the GCM channel for an application.\n@required {ApplicationId: str}\n@returns(200) {GCMChannelResponse: GCMChannelResponse{ApplicationId: str?, CreationDate: str?, Credential: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasFcmServiceCredentials: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint GET /v1/apps/{application-id}/jobs/import/{job-id}\n@desc Retrieves information about the status and settings of a specific import job for an application.\n@required {ApplicationId: str, JobId: str}\n@returns(200) {ImportJobResponse: ImportJobResponse{ApplicationId: str, CompletedPieces: int?, CompletionDate: str?, CreationDate: str, Definition: ImportJobResource{DefineSegment: bool?, ExternalId: str?, Format: str, RegisterEndpoints: bool?, RoleArn: str, S3Url: str, SegmentId: str?, SegmentName: str?}, FailedPieces: int?, Failures: [str]?, Id: str, JobStatus: str, TotalFailures: int?, TotalPieces: int?, TotalProcessed: int?, Type: str}}\n\n@endpoint GET /v1/apps/{application-id}/jobs/import\n@desc Retrieves information about the status and settings of all the import jobs for an application.\n@required {ApplicationId: str}\n@optional {page-size: str, token: str}\n@returns(200) {ImportJobsResponse: ImportJobsResponse{Item: [ImportJobResponse], NextToken: str?}}\n\n@endpoint GET /v1/apps/{application-id}/endpoints/{endpoint-id}/inappmessages\n@desc Retrieves the in-app messages targeted for the provided endpoint ID.\n@required {ApplicationId: str, EndpointId: str}\n@returns(200) {InAppMessagesResponse: InAppMessagesResponse{InAppMessageCampaigns: [InAppMessageCampaign]?}}\n\n@endgroup\n\n@group templates\n@endpoint GET /v1/templates/{template-name}/inapp\n@desc Retrieves the content and settings of a message template for messages sent through the in-app channel.\n@required {TemplateName: str}\n@optional {version: str}\n@returns(200) {InAppTemplateResponse: InAppTemplateResponse{Arn: str?, Content: [InAppMessageContent]?, CreationDate: str, CustomConfig: map<str, str>?: any, LastModifiedDate: str, Layout: str?, tags: map<str, str>?: any, TemplateDescription: str?, TemplateName: str, TemplateType: str, Version: str?}}\n\n@endgroup\n\n@group apps\n@endpoint GET /v1/apps/{application-id}/journeys/{journey-id}\n@desc Retrieves information about the status, configuration, and other settings for a journey.\n@required {ApplicationId: str, JourneyId: str}\n@returns(200) {JourneyResponse: JourneyResponse{Activities: map<str, Activity>?: any, ApplicationId: str, CreationDate: str?, Id: str, LastModifiedDate: str?, Limits: JourneyLimits?{DailyCap: int?, EndpointReentryCap: int?, MessagesPerSecond: int?, EndpointReentryInterval: str?, TimeframeCap: JourneyTimeframeCap?{Cap: int?, Days: int?}, TotalCap: int?}, LocalTime: bool?, Name: str, QuietTime: QuietTime?{End: str?, Start: str?}, RefreshFrequency: str?, Schedule: JourneySchedule?{EndTime: str(timestamp)?, StartTime: str(timestamp)?, Timezone: str?}, StartActivity: str?, StartCondition: StartCondition?{Description: str?, EventStartCondition: EventStartCondition?{EventFilter: EventFilter?, SegmentId: str?}, SegmentStartCondition: SegmentCondition?{SegmentId: str}}, State: str?, tags: map<str, str>?: any, WaitForQuietTime: bool?, RefreshOnSegmentUpdate: bool?, JourneyChannelSettings: JourneyChannelSettings?{ConnectCampaignArn: str?, ConnectCampaignExecutionRoleArn: str?}, SendingSchedule: bool?, OpenHours: OpenHours?{EMAIL: map<str, [OpenHoursRule]>?: any, SMS: map<str, [OpenHoursRule]>?: any, PUSH: map<str, [OpenHoursRule]>?: any, VOICE: map<str, [OpenHoursRule]>?: any, CUSTOM: map<str, [OpenHoursRule]>?: any}, ClosedDays: ClosedDays?{EMAIL: [ClosedDaysRule]?, SMS: [ClosedDaysRule]?, PUSH: [ClosedDaysRule]?, VOICE: [ClosedDaysRule]?, CUSTOM: [ClosedDaysRule]?}, TimezoneEstimationMethods: [str]?}}\n\n@endpoint GET /v1/apps/{application-id}/journeys/{journey-id}/kpis/daterange/{kpi-name}\n@desc Retrieves (queries) pre-aggregated data for a standard engagement metric that applies to a journey.\n@required {ApplicationId: str, JourneyId: str, KpiName: str}\n@optional {end-time: str(timestamp), next-token: str, page-size: str, start-time: str(timestamp)}\n@returns(200) {JourneyDateRangeKpiResponse: JourneyDateRangeKpiResponse{ApplicationId: str, EndTime: str(timestamp), JourneyId: str, KpiName: str, KpiResult: BaseKpiResult{Rows: [ResultRow]}, NextToken: str?, StartTime: str(timestamp)}}\n\n@endpoint GET /v1/apps/{application-id}/journeys/{journey-id}/activities/{journey-activity-id}/execution-metrics\n@desc Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity.\n@required {ApplicationId: str, JourneyActivityId: str, JourneyId: str}\n@optional {next-token: str, page-size: str}\n@returns(200) {JourneyExecutionActivityMetricsResponse: JourneyExecutionActivityMetricsResponse{ActivityType: str, ApplicationId: str, JourneyActivityId: str, JourneyId: str, LastEvaluatedTime: str, Metrics: map<str, str>: any}}\n\n@endpoint GET /v1/apps/{application-id}/journeys/{journey-id}/execution-metrics\n@desc Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey.\n@required {ApplicationId: str, JourneyId: str}\n@optional {next-token: str, page-size: str}\n@returns(200) {JourneyExecutionMetricsResponse: JourneyExecutionMetricsResponse{ApplicationId: str, JourneyId: str, LastEvaluatedTime: str, Metrics: map<str, str>: any}}\n\n@endpoint GET /v1/apps/{application-id}/journeys/{journey-id}/runs/{run-id}/activities/{journey-activity-id}/execution-metrics\n@desc Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey activity.\n@required {ApplicationId: str, JourneyActivityId: str, JourneyId: str, RunId: str}\n@optional {next-token: str, page-size: str}\n@returns(200) {JourneyRunExecutionActivityMetricsResponse: JourneyRunExecutionActivityMetricsResponse{ActivityType: str, ApplicationId: str, JourneyActivityId: str, JourneyId: str, LastEvaluatedTime: str, Metrics: map<str, str>: any, RunId: str}}\n\n@endpoint GET /v1/apps/{application-id}/journeys/{journey-id}/runs/{run-id}/execution-metrics\n@desc Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey.\n@required {ApplicationId: str, JourneyId: str, RunId: str}\n@optional {next-token: str, page-size: str}\n@returns(200) {JourneyRunExecutionMetricsResponse: JourneyRunExecutionMetricsResponse{ApplicationId: str, JourneyId: str, LastEvaluatedTime: str, Metrics: map<str, str>: any, RunId: str}}\n\n@endpoint GET /v1/apps/{application-id}/journeys/{journey-id}/runs\n@desc Provides information about the runs of a journey.\n@required {ApplicationId: str, JourneyId: str}\n@optional {page-size: str, token: str}\n@returns(200) {JourneyRunsResponse: JourneyRunsResponse{Item: [JourneyRunResponse], NextToken: str?}}\n\n@endgroup\n\n@group templates\n@endpoint GET /v1/templates/{template-name}/push\n@desc Retrieves the content and settings of a message template for messages that are sent through a push notification channel.\n@required {TemplateName: str}\n@optional {version: str}\n@returns(200) {PushNotificationTemplateResponse: PushNotificationTemplateResponse{ADM: AndroidPushNotificationTemplate?{Action: str?, Body: str?, ImageIconUrl: str?, ImageUrl: str?, RawContent: str?, SmallImageIconUrl: str?, Sound: str?, Title: str?, Url: str?}, APNS: APNSPushNotificationTemplate?{Action: str?, Body: str?, MediaUrl: str?, RawContent: str?, Sound: str?, Title: str?, Url: str?}, Arn: str?, Baidu: AndroidPushNotificationTemplate?{Action: str?, Body: str?, ImageIconUrl: str?, ImageUrl: str?, RawContent: str?, SmallImageIconUrl: str?, Sound: str?, Title: str?, Url: str?}, CreationDate: str, Default: DefaultPushNotificationTemplate?{Action: str?, Body: str?, Sound: str?, Title: str?, Url: str?}, DefaultSubstitutions: str?, GCM: AndroidPushNotificationTemplate?{Action: str?, Body: str?, ImageIconUrl: str?, ImageUrl: str?, RawContent: str?, SmallImageIconUrl: str?, Sound: str?, Title: str?, Url: str?}, LastModifiedDate: str, RecommenderId: str?, tags: map<str, str>?: any, TemplateDescription: str?, TemplateName: str, TemplateType: str, Version: str?}}\n\n@endgroup\n\n@group recommenders\n@endpoint GET /v1/recommenders/{recommender-id}\n@desc Retrieves information about an Amazon Pinpoint configuration for a recommender model.\n@required {RecommenderId: str}\n@returns(200) {RecommenderConfigurationResponse: RecommenderConfigurationResponse{Attributes: map<str, str>?: any, CreationDate: str, Description: str?, Id: str, LastModifiedDate: str, Name: str?, RecommendationProviderIdType: str?, RecommendationProviderRoleArn: str, RecommendationProviderUri: str, RecommendationTransformerUri: str?, RecommendationsDisplayName: str?, RecommendationsPerMessage: int?}}\n\n@endpoint GET /v1/recommenders\n@desc Retrieves information about all the recommender model configurations that are associated with your Amazon Pinpoint account.\n@optional {page-size: str, token: str}\n@returns(200) {ListRecommenderConfigurationsResponse: ListRecommenderConfigurationsResponse{Item: [RecommenderConfigurationResponse], NextToken: str?}}\n\n@endgroup\n\n@group apps\n@endpoint GET /v1/apps/{application-id}/segments/{segment-id}\n@desc Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application.\n@required {ApplicationId: str, SegmentId: str}\n@returns(200) {SegmentResponse: SegmentResponse{ApplicationId: str, Arn: str, CreationDate: str, Dimensions: SegmentDimensions?{Attributes: map<str, AttributeDimension>?: any, Behavior: SegmentBehaviors?{Recency: RecencyDimension?}, Demographic: SegmentDemographics?{AppVersion: SetDimension?, Channel: SetDimension?, DeviceType: SetDimension?, Make: SetDimension?, Model: SetDimension?, Platform: SetDimension?}, Location: SegmentLocation?{Country: SetDimension?, GPSPoint: GPSPointDimension?}, Metrics: map<str, MetricDimension>?: any, UserAttributes: map<str, AttributeDimension>?: any}, Id: str, ImportDefinition: SegmentImportResource?{ChannelCounts: map<str, int>?: any, ExternalId: str, Format: str, RoleArn: str, S3Url: str, Size: int}, LastModifiedDate: str?, Name: str?, SegmentGroups: SegmentGroupList?{Groups: [SegmentGroup]?, Include: str?}, SegmentType: str, tags: map<str, str>?: any, Version: int?}}\n\n@endpoint GET /v1/apps/{application-id}/segments/{segment-id}/jobs/export\n@desc Retrieves information about the status and settings of the export jobs for a segment.\n@required {ApplicationId: str, SegmentId: str}\n@optional {page-size: str, token: str}\n@returns(200) {ExportJobsResponse: ExportJobsResponse{Item: [ExportJobResponse], NextToken: str?}}\n\n@endpoint GET /v1/apps/{application-id}/segments/{segment-id}/jobs/import\n@desc Retrieves information about the status and settings of the import jobs for a segment.\n@required {ApplicationId: str, SegmentId: str}\n@optional {page-size: str, token: str}\n@returns(200) {ImportJobsResponse: ImportJobsResponse{Item: [ImportJobResponse], NextToken: str?}}\n\n@endpoint GET /v1/apps/{application-id}/segments/{segment-id}/versions/{version}\n@desc Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with an application.\n@required {ApplicationId: str, SegmentId: str, Version: str}\n@returns(200) {SegmentResponse: SegmentResponse{ApplicationId: str, Arn: str, CreationDate: str, Dimensions: SegmentDimensions?{Attributes: map<str, AttributeDimension>?: any, Behavior: SegmentBehaviors?{Recency: RecencyDimension?}, Demographic: SegmentDemographics?{AppVersion: SetDimension?, Channel: SetDimension?, DeviceType: SetDimension?, Make: SetDimension?, Model: SetDimension?, Platform: SetDimension?}, Location: SegmentLocation?{Country: SetDimension?, GPSPoint: GPSPointDimension?}, Metrics: map<str, MetricDimension>?: any, UserAttributes: map<str, AttributeDimension>?: any}, Id: str, ImportDefinition: SegmentImportResource?{ChannelCounts: map<str, int>?: any, ExternalId: str, Format: str, RoleArn: str, S3Url: str, Size: int}, LastModifiedDate: str?, Name: str?, SegmentGroups: SegmentGroupList?{Groups: [SegmentGroup]?, Include: str?}, SegmentType: str, tags: map<str, str>?: any, Version: int?}}\n\n@endpoint GET /v1/apps/{application-id}/segments/{segment-id}/versions\n@desc Retrieves information about the configuration, dimension, and other settings for all the versions of a specific segment that's associated with an application.\n@required {ApplicationId: str, SegmentId: str}\n@optional {page-size: str, token: str}\n@returns(200) {SegmentsResponse: SegmentsResponse{Item: [SegmentResponse], NextToken: str?}}\n\n@endpoint GET /v1/apps/{application-id}/segments\n@desc Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application.\n@required {ApplicationId: str}\n@optional {page-size: str, token: str}\n@returns(200) {SegmentsResponse: SegmentsResponse{Item: [SegmentResponse], NextToken: str?}}\n\n@endpoint GET /v1/apps/{application-id}/channels/sms\n@desc Retrieves information about the status and settings of the SMS channel for an application.\n@required {ApplicationId: str}\n@returns(200) {SMSChannelResponse: SMSChannelResponse{ApplicationId: str?, CreationDate: str?, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, PromotionalMessagesPerSecond: int?, SenderId: str?, ShortCode: str?, TransactionalMessagesPerSecond: int?, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint GET /v1/templates/{template-name}/sms\n@desc Retrieves the content and settings of a message template for messages that are sent through the SMS channel.\n@required {TemplateName: str}\n@optional {version: str}\n@returns(200) {SMSTemplateResponse: SMSTemplateResponse{Arn: str?, Body: str?, CreationDate: str, DefaultSubstitutions: str?, LastModifiedDate: str, RecommenderId: str?, tags: map<str, str>?: any, TemplateDescription: str?, TemplateName: str, TemplateType: str, Version: str?}}\n\n@endgroup\n\n@group apps\n@endpoint GET /v1/apps/{application-id}/users/{user-id}\n@desc Retrieves information about all the endpoints that are associated with a specific user ID.\n@required {ApplicationId: str, UserId: str}\n@returns(200) {EndpointsResponse: EndpointsResponse{Item: [EndpointResponse]}}\n\n@endpoint GET /v1/apps/{application-id}/channels/voice\n@desc Retrieves information about the status and settings of the voice channel for an application.\n@required {ApplicationId: str}\n@returns(200) {VoiceChannelResponse: VoiceChannelResponse{ApplicationId: str?, CreationDate: str?, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint GET /v1/templates/{template-name}/voice\n@desc Retrieves the content and settings of a message template for messages that are sent through the voice channel.\n@required {TemplateName: str}\n@optional {version: str}\n@returns(200) {VoiceTemplateResponse: VoiceTemplateResponse{Arn: str?, Body: str?, CreationDate: str, DefaultSubstitutions: str?, LanguageCode: str?, LastModifiedDate: str, tags: map<str, str>?: any, TemplateDescription: str?, TemplateName: str, TemplateType: str, Version: str?, VoiceId: str?}}\n\n@endgroup\n\n@group apps\n@endpoint GET /v1/apps/{application-id}/journeys\n@desc Retrieves information about the status, configuration, and other settings for all the journeys that are associated with an application.\n@required {ApplicationId: str}\n@optional {page-size: str, token: str}\n@returns(200) {JourneysResponse: JourneysResponse{Item: [JourneyResponse], NextToken: str?}}\n\n@endgroup\n\n@group tags\n@endpoint GET /v1/tags/{resource-arn}\n@desc Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment.\n@required {ResourceArn: str}\n@returns(200) {TagsModel: TagsModel{tags: map<str, str>: any}}\n\n@endgroup\n\n@group templates\n@endpoint GET /v1/templates/{template-name}/{template-type}/versions\n@desc Retrieves information about all the versions of a specific message template.\n@required {TemplateName: str, TemplateType: str}\n@optional {next-token: str, page-size: str}\n@returns(200) {TemplateVersionsResponse: TemplateVersionsResponse{Item: [TemplateVersionResponse], Message: str?, NextToken: str?, RequestID: str?}}\n\n@endpoint GET /v1/templates\n@desc Retrieves information about all the message templates that are associated with your Amazon Pinpoint account.\n@optional {next-token: str, page-size: str, prefix: str, template-type: str}\n@returns(200) {TemplatesResponse: TemplatesResponse{Item: [TemplateResponse], NextToken: str?}}\n\n@endgroup\n\n@group phone\n@endpoint POST /v1/phone/number/validate\n@desc Retrieves information about a phone number.\n@required {NumberValidateRequest: NumberValidateRequest}\n@returns(200) {NumberValidateResponse: NumberValidateResponse{Carrier: str?, City: str?, CleansedPhoneNumberE164: str?, CleansedPhoneNumberNational: str?, Country: str?, CountryCodeIso2: str?, CountryCodeNumeric: str?, County: str?, OriginalCountryCodeIso2: str?, OriginalPhoneNumber: str?, PhoneType: str?, PhoneTypeCode: int?, Timezone: str?, ZipCode: str?}}\n\n@endgroup\n\n@group apps\n@endpoint POST /v1/apps/{application-id}/eventstream\n@desc Creates a new event stream for an application or updates the settings of an existing event stream for an application.\n@required {ApplicationId: str, WriteEventStream: WriteEventStream}\n@returns(200) {EventStream: EventStream{ApplicationId: str, DestinationStreamArn: str, ExternalId: str?, LastModifiedDate: str?, LastUpdatedBy: str?, RoleArn: str}}\n\n@endpoint POST /v1/apps/{application-id}/events\n@desc Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.\n@required {ApplicationId: str, EventsRequest: EventsRequest}\n@returns(200) {EventsResponse: EventsResponse{Results: map<str, ItemResponse>?: any}}\n\n@endpoint PUT /v1/apps/{application-id}/attributes/{attribute-type}\n@desc Removes one or more custom attributes, of the same attribute type, from the application. Existing endpoints still have the attributes but Amazon Pinpoint will stop capturing new or changed values for these attributes.\n@required {ApplicationId: str, AttributeType: str, UpdateAttributesRequest: UpdateAttributesRequest}\n@returns(200) {AttributesResource: AttributesResource{ApplicationId: str, AttributeType: str, Attributes: [str]?}}\n\n@endpoint POST /v1/apps/{application-id}/messages\n@desc Creates and sends a direct message.\n@required {ApplicationId: str, MessageRequest: MessageRequest}\n@returns(200) {MessageResponse: MessageResponse{ApplicationId: str, EndpointResult: map<str, EndpointMessageResult>?: any, RequestId: str?, Result: map<str, MessageResult>?: any}}\n\n@endpoint POST /v1/apps/{application-id}/otp\n@desc Send an OTP message\n@required {ApplicationId: str, SendOTPMessageRequestParameters: SendOTPMessageRequestParameters}\n@returns(200) {MessageResponse: MessageResponse{ApplicationId: str, EndpointResult: map<str, EndpointMessageResult>?: any, RequestId: str?, Result: map<str, MessageResult>?: any}}\n\n@endpoint POST /v1/apps/{application-id}/users-messages\n@desc Creates and sends a message to a list of users.\n@required {ApplicationId: str, SendUsersMessageRequest: SendUsersMessageRequest}\n@returns(200) {SendUsersMessageResponse: SendUsersMessageResponse{ApplicationId: str, RequestId: str?, Result: map<str, map<str: any, EndpointMessageResult>>?: any}}\n\n@endgroup\n\n@group tags\n@endpoint POST /v1/tags/{resource-arn}\n@desc Adds one or more tags (keys and values) to an application, campaign, message template, or segment.\n@required {ResourceArn: str, TagsModel: TagsModel}\n\n@endpoint DELETE /v1/tags/{resource-arn}\n@desc Removes one or more tags (keys and values) from an application, campaign, message template, or segment.\n@required {ResourceArn: str, tagKeys: [str]}\n\n@endgroup\n\n@group apps\n@endpoint PUT /v1/apps/{application-id}/channels/adm\n@desc Enables the ADM channel for an application or updates the status and settings of the ADM channel for an application.\n@required {ApplicationId: str, ADMChannelRequest: ADMChannelRequest}\n@returns(200) {ADMChannelResponse: ADMChannelResponse{ApplicationId: str?, CreationDate: str?, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint PUT /v1/apps/{application-id}/channels/apns\n@desc Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application.\n@required {ApplicationId: str, APNSChannelRequest: APNSChannelRequest}\n@returns(200) {APNSChannelResponse: APNSChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint PUT /v1/apps/{application-id}/channels/apns_sandbox\n@desc Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox channel for an application.\n@required {ApplicationId: str, APNSSandboxChannelRequest: APNSSandboxChannelRequest}\n@returns(200) {APNSSandboxChannelResponse: APNSSandboxChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint PUT /v1/apps/{application-id}/channels/apns_voip\n@desc Enables the APNs VoIP channel for an application or updates the status and settings of the APNs VoIP channel for an application.\n@required {ApplicationId: str, APNSVoipChannelRequest: APNSVoipChannelRequest}\n@returns(200) {APNSVoipChannelResponse: APNSVoipChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint PUT /v1/apps/{application-id}/channels/apns_voip_sandbox\n@desc Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP sandbox channel for an application.\n@required {ApplicationId: str, APNSVoipSandboxChannelRequest: APNSVoipSandboxChannelRequest}\n@returns(200) {APNSVoipSandboxChannelResponse: APNSVoipSandboxChannelResponse{ApplicationId: str?, CreationDate: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasTokenKey: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint PUT /v1/apps/{application-id}/settings\n@desc Updates the settings for an application.\n@required {ApplicationId: str, WriteApplicationSettingsRequest: WriteApplicationSettingsRequest}\n@returns(200) {ApplicationSettingsResource: ApplicationSettingsResource{ApplicationId: str, CampaignHook: CampaignHook?{LambdaFunctionName: str?, Mode: str?, WebUrl: str?}, LastModifiedDate: str?, Limits: CampaignLimits?{Daily: int?, MaximumDuration: int?, MessagesPerSecond: int?, Total: int?, Session: int?}, QuietTime: QuietTime?{End: str?, Start: str?}, JourneyLimits: ApplicationSettingsJourneyLimits?{DailyCap: int?, TimeframeCap: JourneyTimeframeCap?{Cap: int?, Days: int?}, TotalCap: int?}}}\n\n@endpoint PUT /v1/apps/{application-id}/channels/baidu\n@desc Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an application.\n@required {ApplicationId: str, BaiduChannelRequest: BaiduChannelRequest}\n@returns(200) {BaiduChannelResponse: BaiduChannelResponse{ApplicationId: str?, CreationDate: str?, Credential: str, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endpoint PUT /v1/apps/{application-id}/campaigns/{campaign-id}\n@desc Updates the configuration and other settings for a campaign.\n@required {ApplicationId: str, CampaignId: str, WriteCampaignRequest: WriteCampaignRequest}\n@returns(200) {CampaignResponse: CampaignResponse{AdditionalTreatments: [TreatmentResource]?, ApplicationId: str, Arn: str, CreationDate: str, CustomDeliveryConfiguration: CustomDeliveryConfiguration?{DeliveryUri: str, EndpointTypes: [str]?}, DefaultState: CampaignState?{CampaignStatus: str?}, Description: str?, HoldoutPercent: int?, Hook: CampaignHook?{LambdaFunctionName: str?, Mode: str?, WebUrl: str?}, Id: str, IsPaused: bool?, LastModifiedDate: str, Limits: CampaignLimits?{Daily: int?, MaximumDuration: int?, MessagesPerSecond: int?, Total: int?, Session: int?}, MessageConfiguration: MessageConfiguration?{ADMMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, APNSMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, BaiduMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, CustomMessage: CampaignCustomMessage?{Data: str?}, DefaultMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, EmailMessage: CampaignEmailMessage?{Body: str?, FromAddress: str?, Headers: [MessageHeader]?, HtmlBody: str?, Title: str?}, GCMMessage: Message?{Action: str?, Body: str?, ImageIconUrl: str?, ImageSmallIconUrl: str?, ImageUrl: str?, JsonBody: str?, MediaUrl: str?, RawContent: str?, SilentPush: bool?, TimeToLive: int?, Title: str?, Url: str?}, SMSMessage: CampaignSmsMessage?{Body: str?, MessageType: str?, OriginationNumber: str?, SenderId: str?, EntityId: str?, TemplateId: str?}, InAppMessage: CampaignInAppMessage?{Body: str?, Content: [InAppMessageContent]?, CustomConfig: map<str, str>?: any, Layout: str?}}, Name: str?, Schedule: Schedule?{EndTime: str?, EventFilter: CampaignEventFilter?{Dimensions: EventDimensions, FilterType: str}, Frequency: str?, IsLocalTime: bool?, QuietTime: QuietTime?{End: str?, Start: str?}, StartTime: str, Timezone: str?}, SegmentId: str, SegmentVersion: int, State: CampaignState?{CampaignStatus: str?}, tags: map<str, str>?: any, TemplateConfiguration: TemplateConfiguration?{EmailTemplate: Template?{Name: str?, Version: str?}, PushTemplate: Template?{Name: str?, Version: str?}, SMSTemplate: Template?{Name: str?, Version: str?}, VoiceTemplate: Template?{Name: str?, Version: str?}, InAppTemplate: Template?{Name: str?, Version: str?}}, TreatmentDescription: str?, TreatmentName: str?, Version: int?, Priority: int?}}\n\n@endpoint PUT /v1/apps/{application-id}/channels/email\n@desc Enables the email channel for an application or updates the status and settings of the email channel for an application.\n@required {ApplicationId: str, EmailChannelRequest: EmailChannelRequest}\n@returns(200) {EmailChannelResponse: EmailChannelResponse{ApplicationId: str?, ConfigurationSet: str?, CreationDate: str?, Enabled: bool?, FromAddress: str?, HasCredential: bool?, Id: str?, Identity: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, MessagesPerSecond: int?, Platform: str, RoleArn: str?, OrchestrationSendingRoleArn: str?, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint PUT /v1/templates/{template-name}/email\n@desc Updates an existing message template for messages that are sent through the email channel.\n@required {TemplateName: str, EmailTemplateRequest: EmailTemplateRequest}\n@optional {create-new-version: bool, version: str}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint PUT /v1/apps/{application-id}/endpoints/{endpoint-id}\n@desc Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application. You can also use this operation to define custom attributes for an endpoint. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.\n@required {ApplicationId: str, EndpointId: str, EndpointRequest: EndpointRequest}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endpoint PUT /v1/apps/{application-id}/endpoints\n@desc Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application. You can also use this operation to define custom attributes for a batch of endpoints. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.\n@required {ApplicationId: str, EndpointBatchRequest: EndpointBatchRequest}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endpoint PUT /v1/apps/{application-id}/channels/gcm\n@desc Enables the GCM channel for an application or updates the status and settings of the GCM channel for an application.\n@required {ApplicationId: str, GCMChannelRequest: GCMChannelRequest}\n@returns(200) {GCMChannelResponse: GCMChannelResponse{ApplicationId: str?, CreationDate: str?, Credential: str?, DefaultAuthenticationMethod: str?, Enabled: bool?, HasCredential: bool?, HasFcmServiceCredentials: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint PUT /v1/templates/{template-name}/inapp\n@desc Updates an existing message template for messages sent through the in-app message channel.\n@required {TemplateName: str, InAppTemplateRequest: InAppTemplateRequest}\n@optional {create-new-version: bool, version: str}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint PUT /v1/apps/{application-id}/journeys/{journey-id}\n@desc Updates the configuration and other settings for a journey.\n@required {ApplicationId: str, JourneyId: str, WriteJourneyRequest: WriteJourneyRequest}\n@returns(200) {JourneyResponse: JourneyResponse{Activities: map<str, Activity>?: any, ApplicationId: str, CreationDate: str?, Id: str, LastModifiedDate: str?, Limits: JourneyLimits?{DailyCap: int?, EndpointReentryCap: int?, MessagesPerSecond: int?, EndpointReentryInterval: str?, TimeframeCap: JourneyTimeframeCap?{Cap: int?, Days: int?}, TotalCap: int?}, LocalTime: bool?, Name: str, QuietTime: QuietTime?{End: str?, Start: str?}, RefreshFrequency: str?, Schedule: JourneySchedule?{EndTime: str(timestamp)?, StartTime: str(timestamp)?, Timezone: str?}, StartActivity: str?, StartCondition: StartCondition?{Description: str?, EventStartCondition: EventStartCondition?{EventFilter: EventFilter?, SegmentId: str?}, SegmentStartCondition: SegmentCondition?{SegmentId: str}}, State: str?, tags: map<str, str>?: any, WaitForQuietTime: bool?, RefreshOnSegmentUpdate: bool?, JourneyChannelSettings: JourneyChannelSettings?{ConnectCampaignArn: str?, ConnectCampaignExecutionRoleArn: str?}, SendingSchedule: bool?, OpenHours: OpenHours?{EMAIL: map<str, [OpenHoursRule]>?: any, SMS: map<str, [OpenHoursRule]>?: any, PUSH: map<str, [OpenHoursRule]>?: any, VOICE: map<str, [OpenHoursRule]>?: any, CUSTOM: map<str, [OpenHoursRule]>?: any}, ClosedDays: ClosedDays?{EMAIL: [ClosedDaysRule]?, SMS: [ClosedDaysRule]?, PUSH: [ClosedDaysRule]?, VOICE: [ClosedDaysRule]?, CUSTOM: [ClosedDaysRule]?}, TimezoneEstimationMethods: [str]?}}\n\n@endpoint PUT /v1/apps/{application-id}/journeys/{journey-id}/state\n@desc Cancels (stops) an active journey.\n@required {ApplicationId: str, JourneyId: str, JourneyStateRequest: JourneyStateRequest}\n@returns(200) {JourneyResponse: JourneyResponse{Activities: map<str, Activity>?: any, ApplicationId: str, CreationDate: str?, Id: str, LastModifiedDate: str?, Limits: JourneyLimits?{DailyCap: int?, EndpointReentryCap: int?, MessagesPerSecond: int?, EndpointReentryInterval: str?, TimeframeCap: JourneyTimeframeCap?{Cap: int?, Days: int?}, TotalCap: int?}, LocalTime: bool?, Name: str, QuietTime: QuietTime?{End: str?, Start: str?}, RefreshFrequency: str?, Schedule: JourneySchedule?{EndTime: str(timestamp)?, StartTime: str(timestamp)?, Timezone: str?}, StartActivity: str?, StartCondition: StartCondition?{Description: str?, EventStartCondition: EventStartCondition?{EventFilter: EventFilter?, SegmentId: str?}, SegmentStartCondition: SegmentCondition?{SegmentId: str}}, State: str?, tags: map<str, str>?: any, WaitForQuietTime: bool?, RefreshOnSegmentUpdate: bool?, JourneyChannelSettings: JourneyChannelSettings?{ConnectCampaignArn: str?, ConnectCampaignExecutionRoleArn: str?}, SendingSchedule: bool?, OpenHours: OpenHours?{EMAIL: map<str, [OpenHoursRule]>?: any, SMS: map<str, [OpenHoursRule]>?: any, PUSH: map<str, [OpenHoursRule]>?: any, VOICE: map<str, [OpenHoursRule]>?: any, CUSTOM: map<str, [OpenHoursRule]>?: any}, ClosedDays: ClosedDays?{EMAIL: [ClosedDaysRule]?, SMS: [ClosedDaysRule]?, PUSH: [ClosedDaysRule]?, VOICE: [ClosedDaysRule]?, CUSTOM: [ClosedDaysRule]?}, TimezoneEstimationMethods: [str]?}}\n\n@endgroup\n\n@group templates\n@endpoint PUT /v1/templates/{template-name}/push\n@desc Updates an existing message template for messages that are sent through a push notification channel.\n@required {TemplateName: str, PushNotificationTemplateRequest: PushNotificationTemplateRequest}\n@optional {create-new-version: bool, version: str}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group recommenders\n@endpoint PUT /v1/recommenders/{recommender-id}\n@desc Updates an Amazon Pinpoint configuration for a recommender model.\n@required {RecommenderId: str, UpdateRecommenderConfiguration: UpdateRecommenderConfiguration}\n@returns(200) {RecommenderConfigurationResponse: RecommenderConfigurationResponse{Attributes: map<str, str>?: any, CreationDate: str, Description: str?, Id: str, LastModifiedDate: str, Name: str?, RecommendationProviderIdType: str?, RecommendationProviderRoleArn: str, RecommendationProviderUri: str, RecommendationTransformerUri: str?, RecommendationsDisplayName: str?, RecommendationsPerMessage: int?}}\n\n@endgroup\n\n@group apps\n@endpoint PUT /v1/apps/{application-id}/segments/{segment-id}\n@desc Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.\n@required {ApplicationId: str, SegmentId: str, WriteSegmentRequest: WriteSegmentRequest}\n@returns(200) {SegmentResponse: SegmentResponse{ApplicationId: str, Arn: str, CreationDate: str, Dimensions: SegmentDimensions?{Attributes: map<str, AttributeDimension>?: any, Behavior: SegmentBehaviors?{Recency: RecencyDimension?}, Demographic: SegmentDemographics?{AppVersion: SetDimension?, Channel: SetDimension?, DeviceType: SetDimension?, Make: SetDimension?, Model: SetDimension?, Platform: SetDimension?}, Location: SegmentLocation?{Country: SetDimension?, GPSPoint: GPSPointDimension?}, Metrics: map<str, MetricDimension>?: any, UserAttributes: map<str, AttributeDimension>?: any}, Id: str, ImportDefinition: SegmentImportResource?{ChannelCounts: map<str, int>?: any, ExternalId: str, Format: str, RoleArn: str, S3Url: str, Size: int}, LastModifiedDate: str?, Name: str?, SegmentGroups: SegmentGroupList?{Groups: [SegmentGroup]?, Include: str?}, SegmentType: str, tags: map<str, str>?: any, Version: int?}}\n\n@endpoint PUT /v1/apps/{application-id}/channels/sms\n@desc Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application.\n@required {ApplicationId: str, SMSChannelRequest: SMSChannelRequest}\n@returns(200) {SMSChannelResponse: SMSChannelResponse{ApplicationId: str?, CreationDate: str?, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, PromotionalMessagesPerSecond: int?, SenderId: str?, ShortCode: str?, TransactionalMessagesPerSecond: int?, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint PUT /v1/templates/{template-name}/sms\n@desc Updates an existing message template for messages that are sent through the SMS channel.\n@required {TemplateName: str, SMSTemplateRequest: SMSTemplateRequest}\n@optional {create-new-version: bool, version: str}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endpoint PUT /v1/templates/{template-name}/{template-type}/active-version\n@desc Changes the status of a specific version of a message template to active.\n@required {TemplateName: str, TemplateType: str, TemplateActiveVersionRequest: TemplateActiveVersionRequest}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint PUT /v1/apps/{application-id}/channels/voice\n@desc Enables the voice channel for an application or updates the status and settings of the voice channel for an application.\n@required {ApplicationId: str, VoiceChannelRequest: VoiceChannelRequest}\n@returns(200) {VoiceChannelResponse: VoiceChannelResponse{ApplicationId: str?, CreationDate: str?, Enabled: bool?, HasCredential: bool?, Id: str?, IsArchived: bool?, LastModifiedBy: str?, LastModifiedDate: str?, Platform: str, Version: int?}}\n\n@endgroup\n\n@group templates\n@endpoint PUT /v1/templates/{template-name}/voice\n@desc Updates an existing message template for messages that are sent through the voice channel.\n@required {TemplateName: str, VoiceTemplateRequest: VoiceTemplateRequest}\n@optional {create-new-version: bool, version: str}\n@returns(200) {MessageBody: MessageBody{Message: str?, RequestID: str?}}\n\n@endgroup\n\n@group apps\n@endpoint POST /v1/apps/{application-id}/verify-otp\n@desc Verify an OTP\n@required {ApplicationId: str, VerifyOTPMessageRequestParameters: VerifyOTPMessageRequestParameters}\n@returns(200) {VerificationResponse: VerificationResponse{Valid: bool?}}\n\n@endgroup\n\n@end\n"}}