Class: Aws::IoTFleetWise::Types::Sensor

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

Overview

An input component that reports the environmental condition of a vehicle.

You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_valuesArray<String>

A list of possible values a sensor can take.

Returns:

  • (Array<String>)


3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3985

class Sensor < Struct.new(
  :fully_qualified_name,
  :data_type,
  :description,
  :unit,
  :allowed_values,
  :min,
  :max,
  :deprecation_message,
  :comment,
  :struct_fully_qualified_name)
  SENSITIVE = []
  include Aws::Structure
end

#commentString

A comment in addition to the description.

Returns:

  • (String)


3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3985

class Sensor < Struct.new(
  :fully_qualified_name,
  :data_type,
  :description,
  :unit,
  :allowed_values,
  :min,
  :max,
  :deprecation_message,
  :comment,
  :struct_fully_qualified_name)
  SENSITIVE = []
  include Aws::Structure
end

#data_typeString

The specified data type of the sensor.

Returns:

  • (String)


3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3985

class Sensor < Struct.new(
  :fully_qualified_name,
  :data_type,
  :description,
  :unit,
  :allowed_values,
  :min,
  :max,
  :deprecation_message,
  :comment,
  :struct_fully_qualified_name)
  SENSITIVE = []
  include Aws::Structure
end

#deprecation_messageString

The deprecation message for the node or the branch that was moved or deleted.

Returns:

  • (String)


3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3985

class Sensor < Struct.new(
  :fully_qualified_name,
  :data_type,
  :description,
  :unit,
  :allowed_values,
  :min,
  :max,
  :deprecation_message,
  :comment,
  :struct_fully_qualified_name)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A brief description of a sensor.

Returns:

  • (String)


3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3985

class Sensor < Struct.new(
  :fully_qualified_name,
  :data_type,
  :description,
  :unit,
  :allowed_values,
  :min,
  :max,
  :deprecation_message,
  :comment,
  :struct_fully_qualified_name)
  SENSITIVE = []
  include Aws::Structure
end

#fully_qualified_nameString

The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be Vehicle.Body.Engine.Battery.

Returns:

  • (String)


3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3985

class Sensor < Struct.new(
  :fully_qualified_name,
  :data_type,
  :description,
  :unit,
  :allowed_values,
  :min,
  :max,
  :deprecation_message,
  :comment,
  :struct_fully_qualified_name)
  SENSITIVE = []
  include Aws::Structure
end

#maxFloat

The specified possible maximum value of the sensor.

Returns:

  • (Float)


3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3985

class Sensor < Struct.new(
  :fully_qualified_name,
  :data_type,
  :description,
  :unit,
  :allowed_values,
  :min,
  :max,
  :deprecation_message,
  :comment,
  :struct_fully_qualified_name)
  SENSITIVE = []
  include Aws::Structure
end

#minFloat

The specified possible minimum value of the sensor.

Returns:

  • (Float)


3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3985

class Sensor < Struct.new(
  :fully_qualified_name,
  :data_type,
  :description,
  :unit,
  :allowed_values,
  :min,
  :max,
  :deprecation_message,
  :comment,
  :struct_fully_qualified_name)
  SENSITIVE = []
  include Aws::Structure
end

#struct_fully_qualified_nameString

The fully qualified name of the struct node for a sensor if the data type of the actuator is Struct or StructArray. For example, the struct fully qualified name of a sensor might be Vehicle.ADAS.CameraStruct.

Returns:

  • (String)


3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3985

class Sensor < Struct.new(
  :fully_qualified_name,
  :data_type,
  :description,
  :unit,
  :allowed_values,
  :min,
  :max,
  :deprecation_message,
  :comment,
  :struct_fully_qualified_name)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

The scientific unit of measurement for data collected by the sensor.

Returns:

  • (String)


3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/types.rb', line 3985

class Sensor < Struct.new(
  :fully_qualified_name,
  :data_type,
  :description,
  :unit,
  :allowed_values,
  :min,
  :max,
  :deprecation_message,
  :comment,
  :struct_fully_qualified_name)
  SENSITIVE = []
  include Aws::Structure
end