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

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

Overview

Note:

When making an API call, you may pass MeasureValue data as a hash:

{
  name: "SchemaName", # required
  value: "StringValue2048", # required
  type: "DOUBLE", # required, accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN, TIMESTAMP, MULTI
}

MeasureValue 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

Name of the MeasureValue.

For constraints on MeasureValue names, refer to [ Naming Constraints] in the Timestream developer guide.

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

Returns:

  • (String)


670
671
672
673
674
675
676
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 670

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)


670
671
672
673
674
675
676
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 670

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

#valueString

Value for the MeasureValue.

Returns:

  • (String)


670
671
672
673
674
675
676
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 670

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