Module Values.DiscoverInputSchemaResponseSource

Sourcetype nonrec t = {
  1. inputSchema : SourceSchema.t option;
    (*

    Schema inferred from the streaming source. It identifies the format of the data in the streaming source and how each data element maps to corresponding columns in the in-application stream that you can create.

    *)
  2. parsedInputRecords : ParsedInputRecords.t option;
    (*

    An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).

    *)
  3. processedInputRecords : ProcessedInputRecords.t option;
    (*

    Stream data that was modified by the processor specified in the InputProcessingConfiguration parameter.

    *)
  4. rawInputRecords : RawInputRecords.t option;
    (*

    Raw stream data that was sampled to infer the schema.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidArgumentException of InvalidArgumentException.t
  2. | `ResourceProvisionedThroughputExceededException of ResourceProvisionedThroughputExceededException.t
  3. | `ServiceUnavailableException of ServiceUnavailableException.t
  4. | `UnableToDetectSchemaException of UnableToDetectSchemaException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?inputSchema:??? -> ?parsedInputRecords:??? -> ?processedInputRecords:??? -> ?rawInputRecords:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidArgumentException of InvalidArgumentException.t | `ResourceProvisionedThroughputExceededException of ResourceProvisionedThroughputExceededException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `UnableToDetectSchemaException of UnableToDetectSchemaException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidArgumentException of InvalidArgumentException.t | `ResourceProvisionedThroughputExceededException of ResourceProvisionedThroughputExceededException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `UnableToDetectSchemaException of UnableToDetectSchemaException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `List of [> `String of ParsedInputRecordField.t ] list | `String of ProcessedInputRecord.t ] list | `Structure of (string * [> `List of [> `Structure of (string * [> `String of RecordColumnName.t ]) list ] list | `String of RecordEncoding.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