Class: Aws::IoTFleetWise::Types::StateTemplateUpdateStrategy
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTFleetWise::Types::StateTemplateUpdateStrategy
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-iotfleetwise/types.rb
Overview
StateTemplateUpdateStrategy is a union - when making an API calls you must set exactly one of the members.
StateTemplateUpdateStrategy is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of StateTemplateUpdateStrategy corresponding to the set member.
The update strategy for the state template. Vehicles associated with the state template can stream telemetry data with either an ‘onChange` or `periodic` update strategy.
Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see [Amazon Web Services Region and feature availability] in the *Amazon Web Services IoT FleetWise Developer Guide*.
[1]: docs.aws.amazon.com/iot-fleetwise/latest/developerguide/fleetwise-regions.html
Defined Under Namespace
Classes: OnChange, Periodic, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#on_change ⇒ Types::OnChangeStateTemplateUpdateStrategy
Vehicles associated with the state template will stream telemetry data when there is a change.
-
#periodic ⇒ Types::PeriodicStateTemplateUpdateStrategy
Vehicles associated with the state template will stream telemetry data during a specified time period.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#on_change ⇒ Types::OnChangeStateTemplateUpdateStrategy
Vehicles associated with the state template will stream telemetry data when there is a change.
4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 |
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 4335 class StateTemplateUpdateStrategy < Struct.new( :periodic, :on_change, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Periodic < StateTemplateUpdateStrategy; end class OnChange < StateTemplateUpdateStrategy; end class Unknown < StateTemplateUpdateStrategy; end end |
#periodic ⇒ Types::PeriodicStateTemplateUpdateStrategy
Vehicles associated with the state template will stream telemetry data during a specified time period.
4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 |
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 4335 class StateTemplateUpdateStrategy < Struct.new( :periodic, :on_change, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Periodic < StateTemplateUpdateStrategy; end class OnChange < StateTemplateUpdateStrategy; end class Unknown < StateTemplateUpdateStrategy; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
4335 4336 4337 |
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 4335 def unknown @unknown end |