v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1431297215.2 KB

Infers a schema for a SQL-based Kinesis Data Analytics application by evaluating sample records on the specified streaming source (Kinesis data stream or Kinesis Data Firehose delivery stream) or Amazon S3 object. In the response, the operation returns the inferred schema and also the sample records that the operation used to infer the schema.

You can use the inferred schema when configuring a streaming source for your application. When you create an application using the Kinesis Data Analytics console, the console uses this operation to infer a schema and show it in the console user interface.

post/#X-Amz-Target=KinesisAnalytics_20180523.DiscoverInputSchema

Headers

X-Amz-Target'KinesisAnalytics_20180523.DiscoverInputSchema' required

Request body

ResourceARNstring

The Amazon Resource Name (ARN) of the streaming source.

ServiceExecutionRolestring required

The ARN of the role that is used to access the streaming source.

Response

Success

ProcessedInputRecordsProcessedInputRecord[]

The stream data that was modified by the processor specified in the <code>InputProcessingConfiguration</code> parameter.

RawInputRecordsRawInputRecord[]

The raw stream data that was sampled to infer the schema.