| 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.IoTEvents.Types.Event
Description
Documentation
Specifies the actions to be performed when the condition evaluates
to TRUE.
See: newEvent smart constructor.
Constructors
| Event' | |
Fields
| |
Instances
| FromJSON Event Source # | |
| ToJSON Event Source # | |
Defined in Amazonka.IoTEvents.Types.Event | |
| Generic Event Source # | |
| Read Event Source # | |
| Show Event Source # | |
| NFData Event Source # | |
Defined in Amazonka.IoTEvents.Types.Event | |
| Eq Event Source # | |
| Hashable Event Source # | |
Defined in Amazonka.IoTEvents.Types.Event | |
| type Rep Event Source # | |
Defined in Amazonka.IoTEvents.Types.Event type Rep Event = D1 ('MetaData "Event" "Amazonka.IoTEvents.Types.Event" "amazonka-iotevents-2.0-6xKaLx5KciSK3LEs0FyRYn" 'False) (C1 ('MetaCons "Event'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Action])) :*: (S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |
Create a value of Event 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:actions:Event', event_actions - The actions to be performed.
$sel:condition:Event', event_condition - Optional. The Boolean expression that, when TRUE, causes the actions
to be performed. If not present, the actions are performed (=TRUE). If
the expression result is not a Boolean value, the actions are not
performed (=FALSE).
$sel:eventName:Event', event_eventName - The name of the event.