Class: Aws::Pinpoint::Types::Schedule
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::Schedule
- Defined in:
- gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb
Overview
When making an API call, you may pass Schedule data as a hash:
{
end_time: "__string",
event_filter: {
dimensions: { # required
attributes: {
"__string" => {
attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
values: ["__string"], # required
},
},
event_type: {
dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
metrics: {
"__string" => {
comparison_operator: "__string", # required
value: 1.0, # required
},
},
},
filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
},
frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
is_local_time: false,
quiet_time: {
end: "__string",
start: "__string",
},
start_time: "__string", # required
timezone: "__string",
}
Specifies the schedule settings for a campaign.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#end_time ⇒ String
The scheduled time, in ISO 8601 format, when the campaign ended or will end.
-
#event_filter ⇒ Types::CampaignEventFilter
The type of event that causes the campaign to be sent, if the value of the Frequency property is EVENT.
-
#frequency ⇒ String
Specifies how often the campaign is sent or whether the campaign is sent in response to a specific event.
-
#is_local_time ⇒ Boolean
Specifies whether the start and end times for the campaign schedule use each recipient's local time.
-
#quiet_time ⇒ Types::QuietTime
The default quiet time for the campaign.
-
#start_time ⇒ String
The scheduled time when the campaign began or will begin.
-
#timezone ⇒ String
The starting UTC offset for the campaign schedule, if the value of the IsLocalTime property is true.
Instance Attribute Details
#end_time ⇒ String
The scheduled time, in ISO 8601 format, when the campaign ended or will end.
15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15274 class Schedule < Struct.new( :end_time, :event_filter, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) SENSITIVE = [] include Aws::Structure end |
#event_filter ⇒ Types::CampaignEventFilter
The type of event that causes the campaign to be sent, if the value of the Frequency property is EVENT.
15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15274 class Schedule < Struct.new( :end_time, :event_filter, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) SENSITIVE = [] include Aws::Structure end |
#frequency ⇒ String
Specifies how often the campaign is sent or whether the campaign is sent in response to a specific event.
15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15274 class Schedule < Struct.new( :end_time, :event_filter, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) SENSITIVE = [] include Aws::Structure end |
#is_local_time ⇒ Boolean
Specifies whether the start and end times for the campaign schedule use each recipient's local time. To base the schedule on each recipient's local time, set this value to true.
15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15274 class Schedule < Struct.new( :end_time, :event_filter, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) SENSITIVE = [] include Aws::Structure end |
#quiet_time ⇒ Types::QuietTime
The default quiet time for the campaign. Quiet time is a specific time range when a campaign doesn't send messages 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 campaign.
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 campaign.
If any of the preceding conditions isn't met, the endpoint will receive messages from the campaign, even if quiet time is enabled.
15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15274 class Schedule < Struct.new( :end_time, :event_filter, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) SENSITIVE = [] include Aws::Structure end |
#start_time ⇒ String
The scheduled time when the campaign began or will begin. Valid values are: IMMEDIATE, to start the campaign immediately; or, a specific time in ISO 8601 format.
15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15274 class Schedule < Struct.new( :end_time, :event_filter, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) SENSITIVE = [] include Aws::Structure end |
#timezone ⇒ String
The starting UTC offset for the campaign schedule, if the value of the IsLocalTime property is true. Valid values are: UTC, UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05, UTC+05:30, UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+09, UTC+09:30, UTC+10, UTC+10:30, UTC+11, UTC+12, UTC+13, UTC-02, UTC-03, UTC-04, UTC-05, UTC-06, UTC-07, UTC-08, UTC-09, UTC-10, and UTC-11.
15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 |
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15274 class Schedule < Struct.new( :end_time, :event_filter, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) SENSITIVE = [] include Aws::Structure end |