| 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 |
Amazonka.IoTEventsData.Types.Timer
Description
Documentation
The current state of a timer.
See: newTimer smart constructor.
Constructors
| Timer' | |
Instances
| Eq Timer Source # | |
| Read Timer Source # | |
| Show Timer Source # | |
| Generic Timer Source # | |
| NFData Timer Source # | |
Defined in Amazonka.IoTEventsData.Types.Timer | |
| Hashable Timer Source # | |
Defined in Amazonka.IoTEventsData.Types.Timer | |
| FromJSON Timer Source # | |
| type Rep Timer Source # | |
Defined in Amazonka.IoTEventsData.Types.Timer type Rep Timer = D1 ('MetaData "Timer" "Amazonka.IoTEventsData.Types.Timer" "libZSservicesZSamazonka-iotevents-dataZSamazonka-iotevents-data" '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 number of seconds which have elapsed on the timer.