| 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.IoTEventsData.Types.Timer
Description
Documentation
The current state of a timer.
See: newTimer smart constructor.
Constructors
| Timer' | |
Instances
| FromJSON Timer Source # | |
| Generic Timer Source # | |
| Read Timer Source # | |
| Show Timer Source # | |
| NFData Timer Source # | |
Defined in Amazonka.IoTEventsData.Types.Timer | |
| Eq Timer Source # | |
| Hashable Timer Source # | |
Defined in Amazonka.IoTEventsData.Types.Timer | |
| type Rep Timer Source # | |
Defined in Amazonka.IoTEventsData.Types.Timer type Rep Timer = D1 ('MetaData "Timer" "Amazonka.IoTEventsData.Types.Timer" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "Timer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))) | |
Create a value of Timer 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:name:Timer', timer_name - The name of the timer.
$sel:timestamp:Timer', timer_timestamp - The expiration time for the timer.