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.
4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 |
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 4400 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.
4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 |
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 4400 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
4400 4401 4402 |
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 4400 def unknown @unknown end |