Module Smaws_Client_KinesisAnalytics.CreateApplication

val request : Smaws_Lib.Context.t -> create_application_request -> (create_application_response, [> Smaws_Lib.Protocols.AwsJson.error | `CodeValidationException of code_validation_exception | `ConcurrentModificationException of concurrent_modification_exception | `InvalidArgumentException of invalid_argument_exception | `LimitExceededException of limit_exceeded_exception | `ResourceInUseException of resource_in_use_exception | `TooManyTagsException of too_many_tags_exception ]) Stdlib.result

This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see Amazon Kinesis Data Analytics API V2 Documentation.

Creates an Amazon Kinesis Analytics application. You can configure each application with one streaming source as input, application code to process the input, and up to three destinations where you want Amazon Kinesis Analytics to write the output data from your application. For an overview, see How it Works.

In the input configuration, you map the streaming source to an in-application stream, which you can think of as a constantly updating table. In the mapping, you must provide a schema for the in-application stream and map each data column in the in-application stream to a data element in the streaming source.

Your application code is one or more SQL statements that read input data, transform it, and generate output. Your application code can create one or more SQL artifacts like SQL streams or pumps.

In the output configuration, you can configure the application to write data from in-application streams created in your applications to up to three destinations.

To read data from your source stream or write data to destination streams, Amazon Kinesis Analytics needs your permissions. You grant these permissions by creating IAM roles. This operation requires permissions to perform the kinesisanalytics:CreateApplication action.

For introductory exercises to create an Amazon Kinesis Analytics application, see Getting Started.