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 Attribute = Attribute' {}
- newAttribute :: Text -> Attribute
- attribute_jsonPath :: Lens' Attribute Text
Documentation
The attributes from the JSON payload that are made available by the
input. Inputs are derived from messages sent to the AWS IoT Events
system using BatchPutMessage
. Each such message contains a JSON
payload. Those attributes (and their paired values) specified here are
available for use in the condition
expressions used by detectors.
See: newAttribute
smart constructor.
Attribute' | |
|
Instances
Eq Attribute Source # | |
Read Attribute Source # | |
Show Attribute Source # | |
Generic Attribute Source # | |
NFData Attribute Source # | |
Defined in Amazonka.IoTEvents.Types.Attribute | |
Hashable Attribute Source # | |
Defined in Amazonka.IoTEvents.Types.Attribute | |
ToJSON Attribute Source # | |
Defined in Amazonka.IoTEvents.Types.Attribute | |
FromJSON Attribute Source # | |
type Rep Attribute Source # | |
Defined in Amazonka.IoTEvents.Types.Attribute |
Create a value of Attribute
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:jsonPath:Attribute'
, attribute_jsonPath
- An expression that specifies an attribute-value pair in a JSON
structure. Use this to specify an attribute from the JSON payload that
is made available by the input. Inputs are derived from messages sent to
AWS IoT Events (BatchPutMessage
). Each such message contains a JSON
payload. The attribute (and its paired value) specified here are
available for use in the condition
expressions used by detectors.
Syntax: <field-name>.<field-name>...
attribute_jsonPath :: Lens' Attribute Text Source #
An expression that specifies an attribute-value pair in a JSON
structure. Use this to specify an attribute from the JSON payload that
is made available by the input. Inputs are derived from messages sent to
AWS IoT Events (BatchPutMessage
). Each such message contains a JSON
payload. The attribute (and its paired value) specified here are
available for use in the condition
expressions used by detectors.
Syntax: <field-name>.<field-name>...