Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Schedule = Schedule' {}
- newSchedule :: Text -> Schedule
- schedule_frequency :: Lens' Schedule (Maybe Frequency)
- schedule_quietTime :: Lens' Schedule (Maybe QuietTime)
- schedule_eventFilter :: Lens' Schedule (Maybe CampaignEventFilter)
- schedule_isLocalTime :: Lens' Schedule (Maybe Bool)
- schedule_endTime :: Lens' Schedule (Maybe Text)
- schedule_timezone :: Lens' Schedule (Maybe Text)
- schedule_startTime :: Lens' Schedule Text
Documentation
Specifies the schedule settings for a campaign.
See: newSchedule
smart constructor.
Schedule' | |
|
Instances
Create a value of Schedule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:frequency:Schedule'
, schedule_frequency
- Specifies how often the campaign is sent or whether the campaign is sent
in response to a specific event.
$sel:quietTime:Schedule'
, schedule_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.
$sel:eventFilter:Schedule'
, schedule_eventFilter
- The type of event that causes the campaign to be sent, if the value of
the Frequency property is EVENT.
$sel:isLocalTime:Schedule'
, schedule_isLocalTime
- 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.
$sel:endTime:Schedule'
, schedule_endTime
- The scheduled time, in ISO 8601 format, when the campaign ended or will
end.
$sel:timezone:Schedule'
, schedule_timezone
- 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.
$sel:startTime:Schedule'
, schedule_startTime
- 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.
schedule_frequency :: Lens' Schedule (Maybe Frequency) Source #
Specifies how often the campaign is sent or whether the campaign is sent in response to a specific event.
schedule_quietTime :: Lens' Schedule (Maybe QuietTime) Source #
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.
schedule_eventFilter :: Lens' Schedule (Maybe CampaignEventFilter) Source #
The type of event that causes the campaign to be sent, if the value of the Frequency property is EVENT.
schedule_isLocalTime :: Lens' Schedule (Maybe Bool) Source #
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.
schedule_endTime :: Lens' Schedule (Maybe Text) Source #
The scheduled time, in ISO 8601 format, when the campaign ended or will end.
schedule_timezone :: Lens' Schedule (Maybe Text) Source #
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.