Class: Aws::TimestreamQuery::Types::TargetConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/types.rb

Overview

Note:

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

{
  timestream_configuration: { # required
    database_name: "ResourceName", # required
    table_name: "ResourceName", # required
    time_column: "SchemaName", # required
    dimension_mappings: [ # required
      {
        name: "SchemaName", # required
        dimension_value_type: "VARCHAR", # required, accepts VARCHAR
      },
    ],
    multi_measure_mappings: {
      target_multi_measure_name: "SchemaName",
      multi_measure_attribute_mappings: [ # required
        {
          source_column: "SchemaName", # required
          target_multi_measure_attribute_name: "SchemaName",
          measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
        },
      ],
    },
    mixed_measure_mappings: [
      {
        measure_name: "SchemaName",
        source_column: "SchemaName",
        target_measure_name: "SchemaName",
        measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, MULTI
        multi_measure_attribute_mappings: [
          {
            source_column: "SchemaName", # required
            target_multi_measure_attribute_name: "SchemaName",
            measure_value_type: "BIGINT", # required, accepts BIGINT, BOOLEAN, DOUBLE, VARCHAR, TIMESTAMP
          },
        ],
      },
    ],
    measure_name_column: "SchemaName",
  },
}

Configuration used for writing the output of a query.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#timestream_configurationTypes::TimestreamConfiguration

Configuration needed to write data into the Timestream database and table.



1553
1554
1555
1556
1557
# File 'gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/types.rb', line 1553

class TargetConfiguration < Struct.new(
  :timestream_configuration)
  SENSITIVE = []
  include Aws::Structure
end