Class: Aws::TimestreamWrite::Types::MeasureValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::TimestreamWrite::Types::MeasureValue
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-timestreamwrite/types.rb
Overview
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
-
#name ⇒ String
Name of the MeasureValue.
-
#type ⇒ String
Contains the data type of the MeasureValue for the time series data point.
-
#value ⇒ String
Value for the MeasureValue.
Instance Attribute Details
#name ⇒ String
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
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 |
#type ⇒ String
Contains the data type of the MeasureValue for the time series data point.
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 |
#value ⇒ String
Value for the MeasureValue.
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 |