amazonka-iotfleetwise-2.0: Amazon IoT FleetWise SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme

Description

 
Synopsis

Documentation

data ConditionBasedCollectionScheme Source #

Information about a collection scheme that uses a simple logical expression to recognize what data to collect.

See: newConditionBasedCollectionScheme smart constructor.

Constructors

ConditionBasedCollectionScheme' 

Fields

  • conditionLanguageVersion :: Maybe Natural

    Specifies the version of the conditional expression language.

  • minimumTriggerIntervalMs :: Maybe Natural

    The minimum duration of time between two triggering events to collect data, in milliseconds.

    If a signal changes often, you might want to collect data at a slower rate.

  • triggerMode :: Maybe TriggerMode

    Whether to collect data for all triggering events (ALWAYS). Specify (RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.

  • expression :: Text

    The logical expression used to recognize what data to collect. For example, $variable.Vehicle.OutsideAirTemperature >= 105.0.

Instances

Instances details
FromJSON ConditionBasedCollectionScheme Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme

ToJSON ConditionBasedCollectionScheme Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme

Generic ConditionBasedCollectionScheme Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme

Associated Types

type Rep ConditionBasedCollectionScheme :: Type -> Type #

Read ConditionBasedCollectionScheme Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme

Show ConditionBasedCollectionScheme Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme

NFData ConditionBasedCollectionScheme Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme

Eq ConditionBasedCollectionScheme Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme

Hashable ConditionBasedCollectionScheme Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme

type Rep ConditionBasedCollectionScheme Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme

type Rep ConditionBasedCollectionScheme = D1 ('MetaData "ConditionBasedCollectionScheme" "Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme" "amazonka-iotfleetwise-2.0-3noXdw9CznA79cw3EwaHcU" 'False) (C1 ('MetaCons "ConditionBasedCollectionScheme'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "conditionLanguageVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "minimumTriggerIntervalMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "triggerMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TriggerMode)) :*: S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newConditionBasedCollectionScheme Source #

Create a value of ConditionBasedCollectionScheme 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:conditionLanguageVersion:ConditionBasedCollectionScheme', conditionBasedCollectionScheme_conditionLanguageVersion - Specifies the version of the conditional expression language.

$sel:minimumTriggerIntervalMs:ConditionBasedCollectionScheme', conditionBasedCollectionScheme_minimumTriggerIntervalMs - The minimum duration of time between two triggering events to collect data, in milliseconds.

If a signal changes often, you might want to collect data at a slower rate.

$sel:triggerMode:ConditionBasedCollectionScheme', conditionBasedCollectionScheme_triggerMode - Whether to collect data for all triggering events (ALWAYS). Specify (RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.

$sel:expression:ConditionBasedCollectionScheme', conditionBasedCollectionScheme_expression - The logical expression used to recognize what data to collect. For example, $variable.Vehicle.OutsideAirTemperature >= 105.0.

conditionBasedCollectionScheme_minimumTriggerIntervalMs :: Lens' ConditionBasedCollectionScheme (Maybe Natural) Source #

The minimum duration of time between two triggering events to collect data, in milliseconds.

If a signal changes often, you might want to collect data at a slower rate.

conditionBasedCollectionScheme_triggerMode :: Lens' ConditionBasedCollectionScheme (Maybe TriggerMode) Source #

Whether to collect data for all triggering events (ALWAYS). Specify (RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.

conditionBasedCollectionScheme_expression :: Lens' ConditionBasedCollectionScheme Text Source #

The logical expression used to recognize what data to collect. For example, $variable.Vehicle.OutsideAirTemperature >= 105.0.