Class: Aws::IoTFleetWise::Types::ConditionBasedCollectionScheme

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotfleetwise/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[:expression]

Instance Attribute Summary collapse

Instance Attribute Details

#condition_language_versionInteger

Specifies the version of the conditional expression language.

Returns:

  • (Integer)


513
514
515
516
517
518
519
520
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 513

class ConditionBasedCollectionScheme < Struct.new(
  :expression,
  :minimum_trigger_interval_ms,
  :trigger_mode,
  :condition_language_version)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#expressionString

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

Returns:

  • (String)


513
514
515
516
517
518
519
520
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 513

class ConditionBasedCollectionScheme < Struct.new(
  :expression,
  :minimum_trigger_interval_ms,
  :trigger_mode,
  :condition_language_version)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#minimum_trigger_interval_msInteger

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

<note markdown=“1”> If a signal changes often, you might want to collect data at a slower rate.

</note>

Returns:

  • (Integer)


513
514
515
516
517
518
519
520
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 513

class ConditionBasedCollectionScheme < Struct.new(
  :expression,
  :minimum_trigger_interval_ms,
  :trigger_mode,
  :condition_language_version)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#trigger_modeString

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 =&gt; deployed.

Returns:

  • (String)


513
514
515
516
517
518
519
520
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 513

class ConditionBasedCollectionScheme < Struct.new(
  :expression,
  :minimum_trigger_interval_ms,
  :trigger_mode,
  :condition_language_version)
  SENSITIVE = [:expression]
  include Aws::Structure
end