libZSservicesZSamazonka-ioteventsZSamazonka-iotevents
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTEvents.Types.Attribute

Description

 
Synopsis

Documentation

data Attribute Source #

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.

Constructors

Attribute' 

Fields

  • jsonPath :: Text

    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>...

Instances

Instances details
Eq Attribute Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.Attribute

Read Attribute Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.Attribute

Show Attribute Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.Attribute

Generic Attribute Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.Attribute

Associated Types

type Rep Attribute :: Type -> Type #

NFData Attribute Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.Attribute

Methods

rnf :: Attribute -> () #

Hashable Attribute Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.Attribute

ToJSON Attribute Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.Attribute

FromJSON Attribute Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.Attribute

type Rep Attribute Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.Attribute

type Rep Attribute = D1 ('MetaData "Attribute" "Amazonka.IoTEvents.Types.Attribute" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "Attribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jsonPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAttribute Source #

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>...