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

Description

 
Synopsis

Documentation

data DetectorModelConfiguration Source #

Information about how the detector model is configured.

See: newDetectorModelConfiguration smart constructor.

Constructors

DetectorModelConfiguration' 

Fields

Instances

Instances details
Eq DetectorModelConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.DetectorModelConfiguration

Read DetectorModelConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.DetectorModelConfiguration

Show DetectorModelConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.DetectorModelConfiguration

Generic DetectorModelConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.DetectorModelConfiguration

Associated Types

type Rep DetectorModelConfiguration :: Type -> Type #

NFData DetectorModelConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.DetectorModelConfiguration

Hashable DetectorModelConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.DetectorModelConfiguration

FromJSON DetectorModelConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.DetectorModelConfiguration

type Rep DetectorModelConfiguration Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.DetectorModelConfiguration

type Rep DetectorModelConfiguration = D1 ('MetaData "DetectorModelConfiguration" "Amazonka.IoTEvents.Types.DetectorModelConfiguration" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "DetectorModelConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DetectorModelVersionStatus))) :*: (S1 ('MetaSel ('Just "detectorModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "detectorModelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "detectorModelDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "detectorModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "evaluationMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EvaluationMethod)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newDetectorModelConfiguration :: DetectorModelConfiguration Source #

Create a value of DetectorModelConfiguration 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:creationTime:DetectorModelConfiguration', detectorModelConfiguration_creationTime - The time the detector model was created.

$sel:status:DetectorModelConfiguration', detectorModelConfiguration_status - The status of the detector model.

$sel:detectorModelName:DetectorModelConfiguration', detectorModelConfiguration_detectorModelName - The name of the detector model.

$sel:detectorModelArn:DetectorModelConfiguration', detectorModelConfiguration_detectorModelArn - The ARN of the detector model.

$sel:detectorModelDescription:DetectorModelConfiguration', detectorModelConfiguration_detectorModelDescription - A brief description of the detector model.

$sel:key:DetectorModelConfiguration', detectorModelConfiguration_key - The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding detector instance based on this identifying information.

This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.

$sel:detectorModelVersion:DetectorModelConfiguration', detectorModelConfiguration_detectorModelVersion - The version of the detector model.

$sel:lastUpdateTime:DetectorModelConfiguration', detectorModelConfiguration_lastUpdateTime - The time the detector model was last updated.

$sel:evaluationMethod:DetectorModelConfiguration', detectorModelConfiguration_evaluationMethod - Information about the order in which events are evaluated and how actions are executed.

$sel:roleArn:DetectorModelConfiguration', detectorModelConfiguration_roleArn - The ARN of the role that grants permission to AWS IoT Events to perform its operations.

detectorModelConfiguration_key :: Lens' DetectorModelConfiguration (Maybe Text) Source #

The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding detector instance based on this identifying information.

This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.

detectorModelConfiguration_evaluationMethod :: Lens' DetectorModelConfiguration (Maybe EvaluationMethod) Source #

Information about the order in which events are evaluated and how actions are executed.

detectorModelConfiguration_roleArn :: Lens' DetectorModelConfiguration (Maybe Text) Source #

The ARN of the role that grants permission to AWS IoT Events to perform its operations.