Module Values.ReferenceDataSourceSource

For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.

Sourcetype nonrec t = {
  1. tableName : InAppTableName.t;
    (*

    The name of the in-application table to create.

    *)
  2. s3ReferenceDataSource : S3ReferenceDataSource.t option;
    (*

    Identifies the S3 bucket and object that contains the reference data. A SQL-based Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.

    *)
  3. referenceSchema : SourceSchema.t;
    (*

    Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

    *)
}
Sourceval context_ : string
Sourceval make : ?s3ReferenceDataSource:??? -> tableName:InAppTableName.t -> referenceSchema:SourceSchema.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of InAppTableName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of RecordColumnName.t ]) list ] list | `String of BucketARN.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Structure of (string * [> `String of RecordRowPath.t ]) list ]) list ]) list ]) 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