Module Values.TimestreamConfigurationSource

Configuration 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.

Sourcetype nonrec t = {
  1. databaseName : ResourceName.t;
    (*

    Name of Timestream database to which the query result will be written.

    *)
  2. 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.

    *)
  3. 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.

    *)
  4. dimensionMappings : DimensionMappingList.t;
    (*

    This is to allow mapping column(s) from the query result to the dimension in the destination table.

    *)
  5. multiMeasureMappings : MultiMeasureMappings.t option;
    (*

    Multi-measure mappings.

    *)
  6. mixedMeasureMappings : MixedMeasureMappingList.t option;
    (*

    Specifies how to map measures to multi-measure records.

    *)
  7. measureNameColumn : SchemaName.t option;
    (*

    Name of the measure column.

    *)
}
Sourceval context_ : string
Sourceval make : ?multiMeasureMappings:??? -> ?mixedMeasureMappings:??? -> ?measureNameColumn:??? -> databaseName:ResourceName.t -> tableName:ResourceName.t -> timeColumn:SchemaName.t -> dimensionMappings:DimensionMappingList.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t