code: @Override
      public DiscoverInputSchemaResult discoverInputSchema(DiscoverInputSchemaRequest request) {
          request = beforeClientExecution(request);
          return executeDiscoverInputSchema(request);
      }
docs: <p>
  Infers a schema for an SQL-based Amazon 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.
  </p>
  <p>
  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.
  </p>
  
  @param discoverInputSchemaRequest
  @return Result of the DiscoverInputSchema operation returned by the service.
  @throws InvalidArgumentException
  The specified input parameter value is not valid.
  @throws UnableToDetectSchemaException
  The data format is not valid. Amazon Kinesis Data Analytics cannot detect the schema for the given
  streaming source.
  @throws ResourceProvisionedThroughputExceededException
  Discovery failed to get a record from the streaming source because of the Amazon Kinesis Streams
  <code>ProvisionedThroughputExceededException</code>. For more information, see <a
  href="http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetRecords.html">GetRecords</a> in the
  Amazon Kinesis Streams API Reference.
  @throws ServiceUnavailableException
  The service cannot complete the request.
  @throws InvalidRequestException
  The request JSON is not valid for the operation.
  @sample AmazonKinesisAnalyticsV2.DiscoverInputSchema
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DiscoverInputSchema"
  target="_top">AWS API Documentation</a>