class Aws::TimestreamWrite::Types::WriteRecordsRequest

@note When making an API call, you may pass WriteRecordsRequest

data as a hash:

    {
      database_name: "ResourceName", # required
      table_name: "ResourceName", # required
      common_attributes: {
        dimensions: [
          {
            name: "StringValue256", # required
            value: "StringValue2048", # required
            dimension_value_type: "VARCHAR", # accepts VARCHAR
          },
        ],
        measure_name: "StringValue256",
        measure_value: "StringValue2048",
        measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN
        time: "StringValue256",
        time_unit: "MILLISECONDS", # accepts MILLISECONDS, SECONDS, MICROSECONDS, NANOSECONDS
        version: 1,
      },
      records: [ # required
        {
          dimensions: [
            {
              name: "StringValue256", # required
              value: "StringValue2048", # required
              dimension_value_type: "VARCHAR", # accepts VARCHAR
            },
          ],
          measure_name: "StringValue256",
          measure_value: "StringValue2048",
          measure_value_type: "DOUBLE", # accepts DOUBLE, BIGINT, VARCHAR, BOOLEAN
          time: "StringValue256",
          time_unit: "MILLISECONDS", # accepts MILLISECONDS, SECONDS, MICROSECONDS, NANOSECONDS
          version: 1,
        },
      ],
    }

@!attribute [rw] database_name

The name of the Timestream database.
@return [String]

@!attribute [rw] table_name

The name of the Timesream table.
@return [String]

@!attribute [rw] common_attributes

A record containing the common measure and dimension attributes
shared across all the records in the request. The measure and
dimension attributes specified in here will be merged with the
measure and dimension attributes in the records object when the data
is written into Timestream.
@return [Types::Record]

@!attribute [rw] records

An array of records containing the unique dimension and measure
attributes for each time series data point.
@return [Array<Types::Record>]

@see docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/WriteRecordsRequest AWS API Documentation

Constants

SENSITIVE