Class: Aws::IoTFleetWise::Types::StateTemplateUpdateStrategy

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

Overview

Note:

StateTemplateUpdateStrategy is a union - when making an API calls you must set exactly one of the members.

Note:

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

Direct Known Subclasses

OnChange, Periodic, Unknown

Defined Under Namespace

Classes: OnChange, Periodic, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#on_changeTypes::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

#periodicTypes::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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4335
4336
4337
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 4335

def unknown
  @unknown
end