| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.Types.QuietTime
Description
Synopsis
- data QuietTime = QuietTime' {}
- newQuietTime :: QuietTime
- quietTime_end :: Lens' QuietTime (Maybe Text)
- quietTime_start :: Lens' QuietTime (Maybe Text)
Documentation
Specifies the start and end times that define a time range when messages aren't sent to endpoints.
See: newQuietTime smart constructor.
Constructors
| QuietTime' | |
Fields
| |
Instances
| FromJSON QuietTime Source # | |
| ToJSON QuietTime Source # | |
Defined in Amazonka.Pinpoint.Types.QuietTime | |
| Generic QuietTime Source # | |
| Read QuietTime Source # | |
| Show QuietTime Source # | |
| NFData QuietTime Source # | |
Defined in Amazonka.Pinpoint.Types.QuietTime | |
| Eq QuietTime Source # | |
| Hashable QuietTime Source # | |
Defined in Amazonka.Pinpoint.Types.QuietTime | |
| type Rep QuietTime Source # | |
Defined in Amazonka.Pinpoint.Types.QuietTime type Rep QuietTime = D1 ('MetaData "QuietTime" "Amazonka.Pinpoint.Types.QuietTime" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "QuietTime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
newQuietTime :: QuietTime Source #
Create a value of QuietTime 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:end:QuietTime', quietTime_end - The specific time when quiet time ends. This value has to use 24-hour
notation and be in HH:MM format, where HH is the hour (with a leading
zero, if applicable) and MM is the minutes. For example, use 02:30 to
represent 2:30 AM, or 14:30 to represent 2:30 PM.
$sel:start:QuietTime', quietTime_start - The specific time when quiet time begins. This value has to use 24-hour
notation and be in HH:MM format, where HH is the hour (with a leading
zero, if applicable) and MM is the minutes. For example, use 02:30 to
represent 2:30 AM, or 14:30 to represent 2:30 PM.
quietTime_end :: Lens' QuietTime (Maybe Text) Source #
The specific time when quiet time ends. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.
quietTime_start :: Lens' QuietTime (Maybe Text) Source #
The specific time when quiet time begins. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.