Class: Aws::TimestreamWrite::Types::MeasureValue

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

Overview

Represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures. MeasureValue has both name and value.

MeasureValue is only allowed for type ‘MULTI`. Using `MULTI` type, you can pass multiple data attributes associated with the same time series in a single record

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the MeasureValue.

For constraints on MeasureValue names, see [ Naming Constraints] in the Amazon Timestream Developer Guide.

[1]: docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.naming

Returns:

  • (String)


971
972
973
974
975
976
977
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 971

class MeasureValue < Struct.new(
  :name,
  :value,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Contains the data type of the MeasureValue for the time-series data point.

Returns:

  • (String)


971
972
973
974
975
976
977
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 971

class MeasureValue < Struct.new(
  :name,
  :value,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value for the MeasureValue. For information, see [Data types].

[1]: docs.aws.amazon.com/timestream/latest/developerguide/writes.html#writes.data-types

Returns:

  • (String)


971
972
973
974
975
976
977
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 971

class MeasureValue < Struct.new(
  :name,
  :value,
  :type)
  SENSITIVE = []
  include Aws::Structure
end