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

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

Overview

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

<note markdown=“1”> You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.

</note>

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>)


3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3441

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)


3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3441

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)


3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3441

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)


3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3441

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)


3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3441

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)


3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3441

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)


3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3441

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)


3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3441

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)


3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3441

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)


3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3441

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