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

Description

 
Synopsis

Documentation

data InputDefinition Source #

The definition of the input.

See: newInputDefinition smart constructor.

Constructors

InputDefinition' 

Fields

  • attributes :: NonEmpty Attribute

    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, and those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors that monitor this input.

Instances

Instances details
Eq InputDefinition Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.InputDefinition

Read InputDefinition Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.InputDefinition

Show InputDefinition Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.InputDefinition

Generic InputDefinition Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.InputDefinition

Associated Types

type Rep InputDefinition :: Type -> Type #

NFData InputDefinition Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.InputDefinition

Methods

rnf :: InputDefinition -> () #

Hashable InputDefinition Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.InputDefinition

ToJSON InputDefinition Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.InputDefinition

FromJSON InputDefinition Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.InputDefinition

type Rep InputDefinition Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.InputDefinition

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

newInputDefinition Source #

Create a value of InputDefinition 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:attributes:InputDefinition', inputDefinition_attributes - 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, and those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors that monitor this input.

inputDefinition_attributes :: Lens' InputDefinition (NonEmpty 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, and those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors that monitor this input.