Values.TimestreamConfigurationSourceConfiguration to write data into Timestream database and table. This configuration allows the user to map the query result select columns into the destination table columns.
type nonrec t = {databaseName : ResourceName.t;Name of Timestream database to which the query result will be written.
*)tableName : ResourceName.t;Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
*)timeColumn : SchemaName.t;Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
*)dimensionMappings : DimensionMappingList.t;This is to allow mapping column(s) from the query result to the dimension in the destination table.
*)multiMeasureMappings : MultiMeasureMappings.t option;Multi-measure mappings.
*)mixedMeasureMappings : MixedMeasureMappingList.t option;Specifies how to map measures to multi-measure records.
*)measureNameColumn : SchemaName.t option;Name of the measure column.
*)}val make :
?multiMeasureMappings:??? ->
?mixedMeasureMappings:??? ->
?measureNameColumn:??? ->
databaseName:ResourceName.t ->
tableName:ResourceName.t ->
timeColumn:SchemaName.t ->
dimensionMappings:DimensionMappingList.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string | `String of SchemaName.t ])
list ]
list
| `String of SchemaName.t ])
list ]
list
| `String of ResourceName.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string | `String of SchemaName.t ])
list ]
list
| `String of SchemaName.t ])
list ])
list ]