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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass WriteApplicationSettingsRequest data as a 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",
  },
}

Creating application setting request

Instance Attribute Summary collapse

Instance Attribute Details

#campaign_hookTypes::CampaignHook

Default campaign hook information.

Returns:



9623
9624
9625
9626
9627
9628
9629
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9623

class WriteApplicationSettingsRequest < Struct.new(
  :campaign_hook,
  :cloud_watch_metrics_enabled,
  :limits,
  :quiet_time)
  include Aws::Structure
end

#cloud_watch_metrics_enabledBoolean

The CloudWatchMetrics settings for the app.

Returns:

  • (Boolean)


9623
9624
9625
9626
9627
9628
9629
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9623

class WriteApplicationSettingsRequest < Struct.new(
  :campaign_hook,
  :cloud_watch_metrics_enabled,
  :limits,
  :quiet_time)
  include Aws::Structure
end

#limitsTypes::CampaignLimits

The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own.



9623
9624
9625
9626
9627
9628
9629
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9623

class WriteApplicationSettingsRequest < Struct.new(
  :campaign_hook,
  :cloud_watch_metrics_enabled,
  :limits,
  :quiet_time)
  include Aws::Structure
end

#quiet_timeTypes::QuietTime

The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own.

Returns:



9623
9624
9625
9626
9627
9628
9629
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9623

class WriteApplicationSettingsRequest < Struct.new(
  :campaign_hook,
  :cloud_watch_metrics_enabled,
  :limits,
  :quiet_time)
  include Aws::Structure
end