| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTFleetWise.Types.ConditionBasedCollectionScheme
Description
Synopsis
- data ConditionBasedCollectionScheme = ConditionBasedCollectionScheme' {}
- newConditionBasedCollectionScheme :: Text -> ConditionBasedCollectionScheme
- conditionBasedCollectionScheme_conditionLanguageVersion :: Lens' ConditionBasedCollectionScheme (Maybe Natural)
- conditionBasedCollectionScheme_minimumTriggerIntervalMs :: Lens' ConditionBasedCollectionScheme (Maybe Natural)
- conditionBasedCollectionScheme_triggerMode :: Lens' ConditionBasedCollectionScheme (Maybe TriggerMode)
- conditionBasedCollectionScheme_expression :: Lens' ConditionBasedCollectionScheme Text
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
| |
Instances
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_conditionLanguageVersion :: Lens' ConditionBasedCollectionScheme (Maybe Natural) Source #
Specifies the version of the conditional expression language.
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.