Class: Aws::Pinpoint::Types::Schedule
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::Schedule
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
When making an API call, you may pass Schedule data as a hash:
{
end_time: "__string",
frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY
is_local_time: false,
quiet_time: {
end: "__string",
start: "__string",
},
start_time: "__string",
timezone: "__string",
}
Shcedule that defines when a campaign is run.
Instance Attribute Summary collapse
-
#end_time ⇒ String
The scheduled time that the campaign ends in ISO 8601 format.
-
#frequency ⇒ String
How often the campaign delivers messages.
-
#is_local_time ⇒ Boolean
Indicates whether the campaign schedule takes effect according to each user’s local time.
-
#quiet_time ⇒ Types::QuietTime
The time during which the campaign sends no messages.
-
#start_time ⇒ String
The scheduled time that the campaign begins in ISO 8601 format.
-
#timezone ⇒ String
The starting UTC offset for the schedule if the value for isLocalTime is true Valid values: 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 UTC-11.
Instance Attribute Details
#end_time ⇒ String
The scheduled time that the campaign ends in ISO 8601 format.
3873 3874 3875 3876 3877 3878 3879 3880 3881 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3873 class Schedule < Struct.new( :end_time, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) include Aws::Structure end |
#frequency ⇒ String
How often the campaign delivers messages. Valid values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLY
3873 3874 3875 3876 3877 3878 3879 3880 3881 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3873 class Schedule < Struct.new( :end_time, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) include Aws::Structure end |
#is_local_time ⇒ Boolean
Indicates whether the campaign schedule takes effect according to each user’s local time.
3873 3874 3875 3876 3877 3878 3879 3880 3881 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3873 class Schedule < Struct.new( :end_time, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) include Aws::Structure end |
#quiet_time ⇒ Types::QuietTime
The time during which the campaign sends no messages.
3873 3874 3875 3876 3877 3878 3879 3880 3881 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3873 class Schedule < Struct.new( :end_time, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) include Aws::Structure end |
#start_time ⇒ String
The scheduled time that the campaign begins in ISO 8601 format.
3873 3874 3875 3876 3877 3878 3879 3880 3881 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3873 class Schedule < Struct.new( :end_time, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) include Aws::Structure end |
#timezone ⇒ String
The starting UTC offset for the schedule if the value for isLocalTime is true Valid values: 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 UTC-11
3873 3874 3875 3876 3877 3878 3879 3880 3881 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3873 class Schedule < Struct.new( :end_time, :frequency, :is_local_time, :quiet_time, :start_time, :timezone) include Aws::Structure end |