Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-timestreamwrite/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.

Returns:

  • (String)

971
972
973
974
975
976
977
# File 'gems/aws-sdk-timestreamwrite/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 'gems/aws-sdk-timestreamwrite/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.

Returns:

  • (String)

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

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