You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Pinpoint::Types::WriteApplicationSettingsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing WriteApplicationSettingsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  campaign_hook: {
    lambda_function_name: "__string",
    mode: "DELIVERY", # accepts DELIVERY, FILTER
    web_url: "__string",
  },
  cloud_watch_metrics_enabled: false,
  limits: {
    daily: 1,
    maximum_duration: 1,
    messages_per_second: 1,
    total: 1,
  },
  quiet_time: {
    end: "__string",
    start: "__string",
  },
}

Specifies the default settings for an application.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#campaign_hookTypes::CampaignHook

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.

Returns:

  • (Types::CampaignHook)

    The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application.

#cloud_watch_metrics_enabledBoolean

Specifies whether to enable application-related alarms in Amazon CloudWatch.

Returns:

  • (Boolean)

    Specifies whether to enable application-related alarms in Amazon CloudWatch.

#limitsTypes::CampaignLimits

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.

Returns:

#quiet_timeTypes::QuietTime

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:

  • 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.

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.

Returns:

  • (Types::QuietTime)

    The default quiet time for campaigns in the application.