{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-schema/amazon-pinpoint-write-application-settings-request-schema.json", "title": "WriteApplicationSettingsRequest", "description": "Specifies the default settings for an application.", "type": "object", "properties": { "CampaignHook": { "allOf": [ { "$ref": "#/components/schemas/CampaignHook" }, { "description": "

The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application. You can use this hook to customize segments that are used by campaigns in the application.

To override these settings and define custom settings for a specific campaign, use the CampaignHook object of the Campaign resource.

" } ] }, "CloudWatchMetricsEnabled": { "allOf": [ { "$ref": "#/components/schemas/__boolean" }, { "description": "Specifies whether to enable application-related alarms in Amazon CloudWatch." } ] }, "EventTaggingEnabled": { "$ref": "#/components/schemas/__boolean" }, "Limits": { "allOf": [ { "$ref": "#/components/schemas/CampaignLimits" }, { "description": "The default sending limits for campaigns in the application. To override these limits and define custom limits for a specific campaign or journey, use the Campaign resource or the Journey resource, respectively." } ] }, "QuietTime": { "allOf": [ { "$ref": "#/components/schemas/QuietTime" }, { "description": "

The default quiet time for campaigns in the application. Quiet time is a specific time range when messages aren't sent to endpoints, if all the following conditions are met:

If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.

To override the default quiet time settings for a specific campaign or journey, use the Campaign resource or the Journey resource to define a custom quiet time for the campaign or journey.

" } ] } } }