Skip to main content

application_settings

Creates, updates, deletes, gets or lists an application_settings resource.

Overview

Nameapplication_settings
TypeResource
Idaws.pinpoint.application_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
application_idstringThe unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
campaign_hookobjectThe 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.
journey_limitsobjectThe default sending limits for journeys in the application. These limits apply to each journey for the application but can be overridden, on a per journey basis, with the JourneyLimits resource.
last_modified_datestringThe date and time, in ISO 8601 format, when the application's settings were last modified.
limitsobjectThe default sending limits for campaigns in the application.
quiet_timeobjectThe 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: The EndpointDemographic.Timezone property of the endpoint is set to a valid value. The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign or journey that has custom quiet time settings). The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign or journey that has custom quiet time settings). 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.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_application_settingsselectapplication-id, regionRetrieves information about the settings for an application.
update_application_settingsupdateapplication-id, region, WriteApplicationSettingsRequestUpdates the settings for an application.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
application-idstringThe unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves information about the settings for an application.

SELECT
application_id,
campaign_hook,
journey_limits,
last_modified_date,
limits,
quiet_time
FROM aws.pinpoint.application_settings
WHERE `application-id` = '{{ application-id }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Updates the settings for an application.

UPDATE aws.pinpoint.application_settings
SET
WriteApplicationSettingsRequest = '{{ WriteApplicationSettingsRequest }}'
WHERE
`application-id` = '{{ application-id }}' --required
AND region = '{{ region }}' --required
AND WriteApplicationSettingsRequest = '{{ WriteApplicationSettingsRequest }}' --required
RETURNING
application_settings_resource;