Module Smaws_Client_KinesisAnalytics

Kinesis Analytics client library built on EIO.

Types

type update_application_response = unit
type input_lambda_processor_update = {
  1. role_arn_update : string option;
    (*

    The ARN of the new IAM role that is used to access the AWS Lambda function.

    *)
  2. resource_arn_update : string option;
    (*

    The Amazon Resource Name (ARN) of the new AWS Lambda function that is used to preprocess the records in the stream.

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda

    *)
}

Represents an update to the InputLambdaProcessor that is used to preprocess the records in the stream.

type input_processing_configuration_update = {
  1. input_lambda_processor_update : input_lambda_processor_update;
    (*

    Provides update information for an InputLambdaProcessor.

    *)
}

Describes updates to an InputProcessingConfiguration.

type kinesis_streams_input_update = {
  1. role_arn_update : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role.

    *)
  2. resource_arn_update : string option;
    (*

    Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read.

    *)
}

When updating application input configuration, provides information about an Amazon Kinesis stream as the streaming source.

type kinesis_firehose_input_update = {
  1. role_arn_update : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role.

    *)
  2. resource_arn_update : string option;
    (*

    Amazon Resource Name (ARN) of the input Amazon Kinesis Firehose delivery stream to read.

    *)
}

When updating application input configuration, provides information about an Amazon Kinesis Firehose delivery stream as the streaming source.

type record_format_type =
  1. | CSV
  2. | JSON
type json_mapping_parameters = {
  1. record_row_path : string;
    (*

    Path to the top-level parent that contains the records.

    *)
}

Provides additional mapping information when JSON is the record format on the streaming source.

Provides additional mapping information when the record format uses delimiters, such as CSV. For example, the following sample records use CSV format, where the records use the '\n' as the row delimiter and a comma (",") as the column delimiter:

"name1", "address1"

"name2", "address2"

type csv_mapping_parameters = {
  1. record_column_delimiter : string;
    (*

    Column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

    *)
  2. record_row_delimiter : string;
    (*

    Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

    *)
}
type mapping_parameters = {
  1. csv_mapping_parameters : csv_mapping_parameters option;
    (*

    Provides additional mapping information when the record format uses delimiters (for example, CSV).

    *)
  2. json_mapping_parameters : json_mapping_parameters option;
    (*

    Provides additional mapping information when JSON is the record format on the streaming source.

    *)
}

When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

type record_format = {
  1. mapping_parameters : mapping_parameters option;
    (*

    When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

    *)
  2. record_format_type : record_format_type;
    (*

    The type of record format.

    *)
}

Describes the record format and relevant mapping information that should be applied to schematize the records on the stream.

type record_column = {
  1. sql_type : string;
    (*

    Type of column created in the in-application input stream or reference table.

    *)
  2. mapping : string option;
    (*

    Reference to the data element in the streaming input or the reference data source. This element is required if the RecordFormatType is JSON.

    *)
  3. name : string;
    (*

    Name of the column created in the in-application input stream or reference table.

    *)
}

Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.

Also used to describe the format of the reference data source.

type input_schema_update = {
  1. record_column_updates : record_column list option;
    (*

    A list of RecordColumn objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.

    *)
  2. record_encoding_update : string option;
    (*

    Specifies the encoding of the records in the streaming source. For example, UTF-8.

    *)
  3. record_format_update : record_format option;
    (*

    Specifies the format of the records on the streaming source.

    *)
}

Describes updates for the application's input schema.

type input_parallelism_update = {
  1. count_update : int option;
    (*

    Number of in-application streams to create for the specified streaming source.

    *)
}

Provides updates to the parallelism count.

type input_update = {
  1. input_parallelism_update : input_parallelism_update option;
    (*

    Describes the parallelism updates (the number in-application streams Amazon Kinesis Analytics creates for the specific streaming source).

    *)
  2. input_schema_update : input_schema_update option;
    (*

    Describes the data format on the streaming source, and how record elements on the streaming source map to columns of the in-application stream that is created.

    *)
  3. kinesis_firehose_input_update : kinesis_firehose_input_update option;
    (*

    If an Amazon Kinesis Firehose delivery stream is the streaming source to be updated, provides an updated stream ARN and IAM role ARN.

    *)
  4. kinesis_streams_input_update : kinesis_streams_input_update option;
    (*

    If an Amazon Kinesis stream is the streaming source to be updated, provides an updated stream Amazon Resource Name (ARN) and IAM role ARN.

    *)
  5. input_processing_configuration_update : input_processing_configuration_update option;
    (*

    Describes updates for an input processing configuration.

    *)
  6. name_prefix_update : string option;
    (*

    Name prefix for in-application streams that Amazon Kinesis Analytics creates for the specific streaming source.

    *)
  7. input_id : string;
    (*

    Input ID of the application input to be updated.

    *)
}

Describes updates to a specific input configuration (identified by the InputId of an application).

type kinesis_streams_output_update = {
  1. role_arn_update : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role.

    *)
  2. resource_arn_update : string option;
    (*

    Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to write the output.

    *)
}

When updating an output configuration using the UpdateApplication operation, provides information about an Amazon Kinesis stream configured as the destination.

type kinesis_firehose_output_update = {
  1. role_arn_update : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role.

    *)
  2. resource_arn_update : string option;
    (*

    Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to write to.

    *)
}

When updating an output configuration using the UpdateApplication operation, provides information about an Amazon Kinesis Firehose delivery stream configured as the destination.

type lambda_output_update = {
  1. role_arn_update : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination function on your behalf. You need to grant the necessary permissions to this role.

    *)
  2. resource_arn_update : string option;
    (*

    Amazon Resource Name (ARN) of the destination Lambda function.

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda

    *)
}

When updating an output configuration using the UpdateApplication operation, provides information about an AWS Lambda function configured as the destination.

type destination_schema = {
  1. record_format_type : record_format_type;
    (*

    Specifies the format of the records on the output stream.

    *)
}

Describes the data format when records are written to the destination. For more information, see Configuring Application Output.

type output_update = {
  1. destination_schema_update : destination_schema option;
    (*

    Describes the data format when records are written to the destination. For more information, see Configuring Application Output.

    *)
  2. lambda_output_update : lambda_output_update option;
    (*

    Describes an AWS Lambda function as the destination for the output.

    *)
  3. kinesis_firehose_output_update : kinesis_firehose_output_update option;
    (*

    Describes an Amazon Kinesis Firehose delivery stream as the destination for the output.

    *)
  4. kinesis_streams_output_update : kinesis_streams_output_update option;
    (*

    Describes an Amazon Kinesis stream as the destination for the output.

    *)
  5. name_update : string option;
    (*

    If you want to specify a different in-application stream for this output configuration, use this field to specify the new in-application stream name.

    *)
  6. output_id : string;
    (*

    Identifies the specific output configuration that you want to update.

    *)
}

Describes updates to the output configuration identified by the OutputId.

type s3_reference_data_source_update = {
  1. reference_role_arn_update : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application.

    *)
  2. file_key_update : string option;
    (*

    Object key name.

    *)
  3. bucket_arn_update : string option;
    (*

    Amazon Resource Name (ARN) of the S3 bucket.

    *)
}

Describes the S3 bucket name, object key name, and IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object on your behalf and populate the in-application reference table.

type source_schema = {
  1. record_columns : record_column list;
    (*

    A list of RecordColumn objects.

    *)
  2. record_encoding : string option;
    (*

    Specifies the encoding of the records in the streaming source. For example, UTF-8.

    *)
  3. record_format : record_format;
    (*

    Specifies the format of the records on the streaming source.

    *)
}

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.

type reference_data_source_update = {
  1. reference_schema_update : source_schema option;
    (*

    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.

    *)
  2. s3_reference_data_source_update : s3_reference_data_source_update option;
    (*

    Describes the S3 bucket name, object key name, and IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object on your behalf and populate the in-application reference table.

    *)
  3. table_name_update : string option;
    (*

    In-application table name that is created by this update.

    *)
  4. reference_id : string;
    (*

    ID of the reference data source being updated. You can use the DescribeApplication operation to get this value.

    *)
}

When you update a reference data source configuration for an application, this object provides all the updated values (such as the source bucket name and object key name), the in-application table name that is created, and updated mapping information that maps the data in the Amazon S3 object to the in-application reference table that is created.

type cloud_watch_logging_option_update = {
  1. role_arn_update : string option;
    (*

    IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role used must have the PutLogEvents policy action enabled.

    *)
  2. log_stream_arn_update : string option;
    (*

    ARN of the CloudWatch log to receive application messages.

    *)
  3. cloud_watch_logging_option_id : string;
    (*

    ID of the CloudWatch logging option to update

    *)
}

Describes CloudWatch logging option updates.

type application_update = {
  1. cloud_watch_logging_option_updates : cloud_watch_logging_option_update list option;
    (*

    Describes application CloudWatch logging option updates.

    *)
  2. reference_data_source_updates : reference_data_source_update list option;
    (*

    Describes application reference data source updates.

    *)
  3. output_updates : output_update list option;
    (*

    Describes application output configuration updates.

    *)
  4. application_code_update : string option;
    (*

    Describes application code updates.

    *)
  5. input_updates : input_update list option;
    (*

    Describes application input configuration updates.

    *)
}

Describes updates to apply to an existing Amazon Kinesis Analytics application.

type update_application_request = {
  1. application_update : application_update;
    (*

    Describes application updates.

    *)
  2. current_application_version_id : int;
    (*

    The current application version ID. You can use the DescribeApplication operation to get this value.

    *)
  3. application_name : string;
    (*

    Name of the Amazon Kinesis Analytics application to update.

    *)
}
type unsupported_operation_exception = {
  1. message : string option;
}

The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.

type resource_not_found_exception = {
  1. message : string option;
}

Specified application can't be found.

type resource_in_use_exception = {
  1. message : string option;
}

Application is not available for this operation.

type invalid_argument_exception = {
  1. message : string option;
}

Specified input parameter value is invalid.

type concurrent_modification_exception = {
  1. message : string option;
}

Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time.

type code_validation_exception = {
  1. message : string option;
    (*

    Test

    *)
}

User-provided application code (query) is invalid. This can be a simple syntax error.

type untag_resource_response = unit
type untag_resource_request = {
  1. tag_keys : string list;
    (*

    A list of keys of tags to remove from the specified application.

    *)
  2. resource_ar_n : string;
    (*

    The ARN of the Kinesis Analytics application from which to remove the tags.

    *)
}
type too_many_tags_exception = {
  1. message : string option;
}

Application created with too many tags, or too many tags added to an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50.

type unable_to_detect_schema_exception = {
  1. processed_input_records : string list option;
  2. raw_input_records : string list option;
  3. message : string option;
}

Data format is not valid. Amazon Kinesis Analytics is not able to detect schema for the given streaming source.

type tag = {
  1. value : string option;
    (*

    The value of the key-value tag. The value is optional.

    *)
  2. key : string;
    (*

    The key of the key-value tag.

    *)
}

A key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.

type tag_resource_response = unit
type tag_resource_request = {
  1. tags : tag list;
    (*

    The key-value tags to assign to the application.

    *)
  2. resource_ar_n : string;
    (*

    The ARN of the application to assign the tags.

    *)
}
type stop_application_response = unit
type stop_application_request = {
  1. application_name : string;
    (*

    Name of the running application to stop.

    *)
}
type start_application_response = unit
type input_starting_position =
  1. | LAST_STOPPED_POINT
  2. | TRIM_HORIZON
  3. | NOW
type input_starting_position_configuration = {
  1. input_starting_position : input_starting_position option;
    (*

    The starting position on the stream.

    • NOW - Start reading just after the most recent record in the stream, start at the request time stamp that the customer issued.
    • TRIM_HORIZON - Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Firehose delivery stream.
    • LAST_STOPPED_POINT - Resume reading from where the application last stopped reading.
    *)
}

Describes the point at which the application reads from the streaming source.

type input_configuration = {
  1. input_starting_position_configuration : input_starting_position_configuration;
    (*

    Point at which you want the application to start processing records from the streaming source.

    *)
  2. id : string;
    (*

    Input source ID. You can get this ID by calling the DescribeApplication operation.

    *)
}

When you start your application, you provide this configuration, which identifies the input source and the point in the input source at which you want the application to start processing records.

type start_application_request = {
  1. input_configurations : input_configuration list;
    (*

    Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts reading the streaming source associated with the input. You can also specify where in the streaming source you want Amazon Kinesis Analytics to start reading.

    *)
  2. application_name : string;
    (*

    Name of the application.

    *)
}
type invalid_application_configuration_exception = {
  1. message : string option;
    (*

    test

    *)
}

User-provided application configuration is not valid.

type service_unavailable_exception = {
  1. message : string option;
}

The service is unavailable. Back off and retry the operation.

type s3_reference_data_source_description = {
  1. reference_role_ar_n : string;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table.

    *)
  2. file_key : string;
    (*

    Amazon S3 object key name.

    *)
  3. bucket_ar_n : string;
    (*

    Amazon Resource Name (ARN) of the S3 bucket.

    *)
}

Provides the bucket name and object key name that stores the reference data.

type s3_reference_data_source = {
  1. reference_role_ar_n : string;
    (*

    ARN of the IAM role that the service can assume to read data on your behalf. This role must have permission for the s3:GetObject action on the object and trust policy that allows Amazon Kinesis Analytics service principal to assume this role.

    *)
  2. file_key : string;
    (*

    Object key name containing reference data.

    *)
  3. bucket_ar_n : string;
    (*

    Amazon Resource Name (ARN) of the S3 bucket.

    *)
}

Identifies the S3 bucket and object that contains the reference data. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf.

An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.

type s3_configuration = {
  1. file_key : string;
    (*

    The name of the object that contains the data.

    *)
  2. bucket_ar_n : string;
    (*

    ARN of the S3 bucket that contains the data.

    *)
  3. role_ar_n : string;
    (*

    IAM ARN of the role used to access the data.

    *)
}

Provides a description of an Amazon S3 data source, including the Amazon Resource Name (ARN) of the S3 bucket, the ARN of the IAM role that is used to access the bucket, and the name of the Amazon S3 object that contains the data.

type resource_provisioned_throughput_exceeded_exception = {
  1. message : string option;
}

Discovery failed to get a record from the streaming source because of the Amazon Kinesis Streams ProvisionedThroughputExceededException. For more information, see GetRecords in the Amazon Kinesis Streams API Reference.

type reference_data_source_description = {
  1. reference_schema : source_schema option;
    (*

    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.

    *)
  2. s3_reference_data_source_description : s3_reference_data_source_description;
    (*

    Provides the S3 bucket name, the object key name that contains the reference data. It also provides the Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application reference table.

    *)
  3. table_name : string;
    (*

    The in-application table name created by the specific reference data source configuration.

    *)
  4. reference_id : string;
    (*

    ID of the reference data source. This is the ID that Amazon Kinesis Analytics assigns when you add the reference data source to your application using the AddApplicationReferenceDataSource operation.

    *)
}

Describes the reference data source configured for an application.

type reference_data_source = {
  1. reference_schema : source_schema;
    (*

    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.

    *)
  2. s3_reference_data_source : s3_reference_data_source option;
    (*

    Identifies the S3 bucket and object that contains the reference data. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf. An Amazon Kinesis 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. table_name : string;
    (*

    Name of the in-application table to create.

    *)
}

Describes the reference data source by providing the source information (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.

type kinesis_streams_output = {
  1. role_ar_n : string;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. You need to grant the necessary permissions to this role.

    *)
  2. resource_ar_n : string;
    (*

    ARN of the destination Amazon Kinesis stream to write to.

    *)
}

When configuring application output, identifies an Amazon Kinesis stream as the destination. You provide the stream Amazon Resource Name (ARN) and also an IAM role ARN that Amazon Kinesis Analytics can use to write to the stream on your behalf.

type kinesis_firehose_output = {
  1. role_ar_n : string;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. You need to grant the necessary permissions to this role.

    *)
  2. resource_ar_n : string;
    (*

    ARN of the destination Amazon Kinesis Firehose delivery stream to write to.

    *)
}

When configuring application output, identifies an Amazon Kinesis Firehose delivery stream as the destination. You provide the stream Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to write to the stream on your behalf.

type lambda_output = {
  1. role_ar_n : string;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination function on your behalf. You need to grant the necessary permissions to this role.

    *)
  2. resource_ar_n : string;
    (*

    Amazon Resource Name (ARN) of the destination Lambda function to write to.

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda

    *)
}

When configuring application output, identifies an AWS Lambda function as the destination. You provide the function Amazon Resource Name (ARN) and also an IAM role ARN that Amazon Kinesis Analytics can use to write to the function on your behalf.

type output = {
  1. destination_schema : destination_schema;
    (*

    Describes the data format when records are written to the destination. For more information, see Configuring Application Output.

    *)
  2. lambda_output : lambda_output option;
    (*

    Identifies an AWS Lambda function as the destination.

    *)
  3. kinesis_firehose_output : kinesis_firehose_output option;
    (*

    Identifies an Amazon Kinesis Firehose delivery stream as the destination.

    *)
  4. kinesis_streams_output : kinesis_streams_output option;
    (*

    Identifies an Amazon Kinesis stream as the destination.

    *)
  5. name : string;
    (*

    Name of the in-application stream.

    *)
}

Describes application output configuration in which you identify an in-application stream and a destination where you want the in-application stream data to be written. The destination can be an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream.

For limits on how many destinations an application can write and other limitations, see Limits.

type kinesis_streams_output_description = {
  1. role_ar_n : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream.

    *)
  2. resource_ar_n : string option;
    (*

    Amazon Resource Name (ARN) of the Amazon Kinesis stream.

    *)
}

For an application output, describes the Amazon Kinesis stream configured as its destination.

type kinesis_firehose_output_description = {
  1. role_ar_n : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream.

    *)
  2. resource_ar_n : string option;
    (*

    Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream.

    *)
}

For an application output, describes the Amazon Kinesis Firehose delivery stream configured as its destination.

type lambda_output_description = {
  1. role_ar_n : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination function.

    *)
  2. resource_ar_n : string option;
    (*

    Amazon Resource Name (ARN) of the destination Lambda function.

    *)
}

For an application output, describes the AWS Lambda function configured as its destination.

type output_description = {
  1. destination_schema : destination_schema option;
    (*

    Data format used for writing data to the destination.

    *)
  2. lambda_output_description : lambda_output_description option;
    (*

    Describes the AWS Lambda function configured as the destination where output is written.

    *)
  3. kinesis_firehose_output_description : kinesis_firehose_output_description option;
    (*

    Describes the Amazon Kinesis Firehose delivery stream configured as the destination where output is written.

    *)
  4. kinesis_streams_output_description : kinesis_streams_output_description option;
    (*

    Describes Amazon Kinesis stream configured as the destination where output is written.

    *)
  5. name : string option;
    (*

    Name of the in-application stream configured as output.

    *)
  6. output_id : string option;
    (*

    A unique identifier for the output configuration.

    *)
}

Describes the application output configuration, which includes the in-application stream name and the destination where the stream data is written. The destination can be an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream.

type list_tags_for_resource_response = {
  1. tags : tag list option;
    (*

    The key-value tags assigned to the application.

    *)
}
type list_tags_for_resource_request = {
  1. resource_ar_n : string;
    (*

    The ARN of the application for which to retrieve tags.

    *)
}
type application_status =
  1. | UPDATING
  2. | RUNNING
  3. | READY
  4. | STOPPING
  5. | STARTING
  6. | DELETING
type application_summary = {
  1. application_status : application_status;
    (*

    Status of the application.

    *)
  2. application_ar_n : string;
    (*

    ARN of the application.

    *)
  3. application_name : string;
    (*

    Name of the application.

    *)
}

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.

Provides application summary information, including the application Amazon Resource Name (ARN), name, and status.

type list_applications_response = {
  1. has_more_applications : bool;
    (*

    Returns true if there are more applications to retrieve.

    *)
  2. application_summaries : application_summary list;
    (*

    List of ApplicationSummary objects.

    *)
}
type list_applications_request = {
  1. exclusive_start_application_name : string option;
    (*

    Name of the application to start the list with. When using pagination to retrieve the list, you don't need to specify this parameter in the first request. However, in subsequent requests, you add the last application name from the previous response to get the next page of applications.

    *)
  2. limit : int option;
    (*

    Maximum number of applications to list.

    *)
}
type limit_exceeded_exception = {
  1. message : string option;
}

Exceeded the number of applications allowed.

type kinesis_streams_input_description = {
  1. role_ar_n : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream.

    *)
  2. resource_ar_n : string option;
    (*

    Amazon Resource Name (ARN) of the Amazon Kinesis stream.

    *)
}

Describes the Amazon Kinesis stream that is configured as the streaming source in the application input configuration.

type kinesis_streams_input = {
  1. role_ar_n : string;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role.

    *)
  2. resource_ar_n : string;
    (*

    ARN of the input Amazon Kinesis stream to read.

    *)
}

Identifies an Amazon Kinesis stream as the streaming source. You provide the stream's Amazon Resource Name (ARN) and an IAM role ARN that enables Amazon Kinesis Analytics to access the stream on your behalf.

type kinesis_firehose_input_description = {
  1. role_ar_n : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics assumes to access the stream.

    *)
  2. resource_ar_n : string option;
    (*

    Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream.

    *)
}

Describes the Amazon Kinesis Firehose delivery stream that is configured as the streaming source in the application input configuration.

type kinesis_firehose_input = {
  1. role_ar_n : string;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to make sure that the role has the necessary permissions to access the stream.

    *)
  2. resource_ar_n : string;
    (*

    ARN of the input delivery stream.

    *)
}

Identifies an Amazon Kinesis Firehose delivery stream as the streaming source. You provide the delivery stream's Amazon Resource Name (ARN) and an IAM role ARN that enables Amazon Kinesis Analytics to access the stream on your behalf.

type discover_input_schema_response = {
  1. raw_input_records : string list option;
    (*

    Raw stream data that was sampled to infer the schema.

    *)
  2. processed_input_records : string list option;
    (*

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

    *)
  3. parsed_input_records : string list list 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).

    *)
  4. input_schema : source_schema 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.

    *)
}
type input_lambda_processor = {
  1. role_ar_n : string;
    (*

    The ARN of the IAM role that is used to access the AWS Lambda function.

    *)
  2. resource_ar_n : string;
    (*

    The ARN of the AWS Lambda function that operates on records in the stream.

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda

    *)
}

An object that contains the Amazon Resource Name (ARN) of the AWS Lambda function that is used to preprocess records in the stream, and the ARN of the IAM role that is used to access the AWS Lambda function.

type input_processing_configuration = {
  1. input_lambda_processor : input_lambda_processor;
    (*

    The InputLambdaProcessor that is used to preprocess the records in the stream before being processed by your application code.

    *)
}

Provides a description of a processor that is used to preprocess the records in the stream before being processed by your application code. Currently, the only input processor available is AWS Lambda.

type discover_input_schema_request = {
  1. input_processing_configuration : input_processing_configuration option;
    (*

    The InputProcessingConfiguration to use to preprocess the records before discovering the schema of the records.

    *)
  2. s3_configuration : s3_configuration option;
    (*

    Specify this parameter to discover a schema from data in an Amazon S3 object.

    *)
  3. input_starting_position_configuration : input_starting_position_configuration option;
    (*

    Point at which you want Amazon Kinesis Analytics to start reading records from the specified streaming source discovery purposes.

    *)
  4. role_ar_n : string option;
    (*

    ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf.

    *)
  5. resource_ar_n : string option;
    (*

    Amazon Resource Name (ARN) of the streaming source.

    *)
}
type input_lambda_processor_description = {
  1. role_ar_n : string option;
    (*

    The ARN of the IAM role that is used to access the AWS Lambda function.

    *)
  2. resource_ar_n : string option;
    (*

    The ARN of the AWS Lambda function that is used to preprocess the records in the stream.

    *)
}

An object that contains the Amazon Resource Name (ARN) of the AWS Lambda function that is used to preprocess records in the stream, and the ARN of the IAM role that is used to access the AWS Lambda expression.

type input_processing_configuration_description = {
  1. input_lambda_processor_description : input_lambda_processor_description option;
    (*

    Provides configuration information about the associated InputLambdaProcessorDescription.

    *)
}

Provides configuration information about an input processor. Currently, the only input processor available is AWS Lambda.

type input_parallelism = {
  1. count : int option;
    (*

    Number of in-application streams to create. For more information, see Limits.

    *)
}

Describes the number of in-application streams to create for a given streaming source. For information about parallelism, see Configuring Application Input.

type input_description = {
  1. input_starting_position_configuration : input_starting_position_configuration option;
    (*

    Point at which the application is configured to read from the input stream.

    *)
  2. input_parallelism : input_parallelism option;
    (*

    Describes the configured parallelism (number of in-application streams mapped to the streaming source).

    *)
  3. input_schema : source_schema option;
    (*

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

    *)
  4. kinesis_firehose_input_description : kinesis_firehose_input_description option;
    (*

    If an Amazon Kinesis Firehose delivery stream is configured as a streaming source, provides the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.

    *)
  5. kinesis_streams_input_description : kinesis_streams_input_description option;
    (*

    If an Amazon Kinesis stream is configured as streaming source, provides Amazon Kinesis stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.

    *)
  6. input_processing_configuration_description : input_processing_configuration_description option;
    (*

    The description of the preprocessor that executes on records in this input before the application's code is run.

    *)
  7. in_app_stream_names : string list option;
    (*

    Returns the in-application stream names that are mapped to the stream source.

    *)
  8. name_prefix : string option;
    (*

    In-application name prefix.

    *)
  9. input_id : string option;
    (*

    Input ID associated with the application input. This is the ID that Amazon Kinesis Analytics assigns to each input configuration you add to your application.

    *)
}

Describes the application input configuration. For more information, see Configuring Application Input.

type cloud_watch_logging_option_description = {
  1. role_ar_n : string;
    (*

    IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role used must have the PutLogEvents policy action enabled.

    *)
  2. log_stream_ar_n : string;
    (*

    ARN of the CloudWatch log to receive application messages.

    *)
  3. cloud_watch_logging_option_id : string option;
    (*

    ID of the CloudWatch logging option description.

    *)
}

Description of the CloudWatch logging option.

type application_detail = {
  1. application_version_id : int;
    (*

    Provides the current application version.

    *)
  2. application_code : string option;
    (*

    Returns the application code that you provided to perform data analysis on any of the in-application streams in your application.

    *)
  3. cloud_watch_logging_option_descriptions : cloud_watch_logging_option_description list option;
    (*

    Describes the CloudWatch log streams that are configured to receive application messages. For more information about using CloudWatch log streams with Amazon Kinesis Analytics applications, see Working with Amazon CloudWatch Logs.

    *)
  4. reference_data_source_descriptions : reference_data_source_description list option;
    (*

    Describes reference data sources configured for the application. For more information, see Configuring Application Input.

    *)
  5. output_descriptions : output_description list option;
    (*

    Describes the application output configuration. For more information, see Configuring Application Output.

    *)
  6. input_descriptions : input_description list option;
    (*

    Describes the application input configuration. For more information, see Configuring Application Input.

    *)
  7. last_update_timestamp : float option;
    (*

    Time stamp when the application was last updated.

    *)
  8. create_timestamp : float option;
    (*

    Time stamp when the application version was created.

    *)
  9. application_status : application_status;
    (*

    Status of the application.

    *)
  10. application_ar_n : string;
    (*

    ARN of the application.

    *)
  11. application_description : string option;
    (*

    Description of the application.

    *)
  12. application_name : string;
    (*

    Name of the application.

    *)
}

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.

Provides a description of the application, including the application Amazon Resource Name (ARN), status, latest version, and input and output configuration.

type describe_application_response = {
  1. application_detail : application_detail;
    (*

    Provides a description of the application, such as the application Amazon Resource Name (ARN), status, latest version, and input and output configuration details.

    *)
}
type describe_application_request = {
  1. application_name : string;
    (*

    Name of the application.

    *)
}
type delete_application_reference_data_source_response = unit
type delete_application_reference_data_source_request = {
  1. reference_id : string;
    (*

    ID of the reference data source. When you add a reference data source to your application using the AddApplicationReferenceDataSource, Amazon Kinesis Analytics assigns an ID. You can use the DescribeApplication operation to get the reference ID.

    *)
  2. current_application_version_id : int;
    (*

    Version of the application. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.

    *)
  3. application_name : string;
    (*

    Name of an existing application.

    *)
}
type delete_application_output_response = unit
type delete_application_output_request = {
  1. output_id : string;
    (*

    The ID of the configuration to delete. Each output configuration that is added to the application, either when the application is created or later using the AddApplicationOutput operation, has a unique ID. You need to provide the ID to uniquely identify the output configuration that you want to delete from the application configuration. You can use the DescribeApplication operation to get the specific OutputId.

    *)
  2. current_application_version_id : int;
    (*

    Amazon Kinesis Analytics application version. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.

    *)
  3. application_name : string;
    (*

    Amazon Kinesis Analytics application name.

    *)
}
type delete_application_input_processing_configuration_response = unit
type delete_application_input_processing_configuration_request = {
  1. input_id : string;
    (*

    The ID of the input configuration from which to delete the input processing configuration. You can get a list of the input IDs for an application by using the DescribeApplication operation.

    *)
  2. current_application_version_id : int;
    (*

    The version ID of the Kinesis Analytics application.

    *)
  3. application_name : string;
    (*

    The Kinesis Analytics application name.

    *)
}
type delete_application_cloud_watch_logging_option_response = unit
type delete_application_cloud_watch_logging_option_request = {
  1. cloud_watch_logging_option_id : string;
    (*

    The CloudWatchLoggingOptionId of the CloudWatch logging option to delete. You can get the CloudWatchLoggingOptionId by using the DescribeApplication operation.

    *)
  2. current_application_version_id : int;
    (*

    The version ID of the Kinesis Analytics application.

    *)
  3. application_name : string;
    (*

    The Kinesis Analytics application name.

    *)
}
type delete_application_response = unit
type delete_application_request = {
  1. create_timestamp : float;
    (*

    You can use the DescribeApplication operation to get this value.

    *)
  2. application_name : string;
    (*

    Name of the Amazon Kinesis Analytics application to delete.

    *)
}
type create_application_response = {
  1. application_summary : application_summary;
    (*

    In response to your CreateApplication request, Amazon Kinesis Analytics returns a response with a summary of the application it created, including the application Amazon Resource Name (ARN), name, and status.

    *)
}

TBD

type input = {
  1. input_schema : source_schema;
    (*

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

    Also used to describe the format of the reference data source.

    *)
  2. input_parallelism : input_parallelism option;
    (*

    Describes the number of in-application streams to create.

    Data from your source is routed to these in-application input streams.

    (see Configuring Application Input.

    *)
  3. kinesis_firehose_input : kinesis_firehose_input option;
    (*

    If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.

    Note: Either KinesisStreamsInput or KinesisFirehoseInput is required.

    *)
  4. kinesis_streams_input : kinesis_streams_input option;
    (*

    If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.

    Note: Either KinesisStreamsInput or KinesisFirehoseInput is required.

    *)
  5. input_processing_configuration : input_processing_configuration option;
    (*

    The InputProcessingConfiguration for the input. An input processor transforms records as they are received from the stream, before the application's SQL code executes. Currently, the only input processing configuration available is InputLambdaProcessor.

    *)
  6. name_prefix : string;
    (*

    Name prefix to use when creating an in-application stream. Suppose that you specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates one or more (as per the InputParallelism count you specified) in-application streams with names "MyInApplicationStream_001," "MyInApplicationStream_002," and so on.

    *)
}

When you configure the application input, you specify the streaming source, the in-application stream name that is created, and the mapping between the two. For more information, see Configuring Application Input.

type cloud_watch_logging_option = {
  1. role_ar_n : string;
    (*

    IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.

    *)
  2. log_stream_ar_n : string;
    (*

    ARN of the CloudWatch log to receive application messages.

    *)
}

Provides a description of CloudWatch logging options, including the log stream Amazon Resource Name (ARN) and the role ARN.

type create_application_request = {
  1. tags : tag list option;
    (*

    A list of one or more tags to assign to the application. A tag is a key-value pair that identifies an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.

    *)
  2. application_code : string option;
    (*

    One or more SQL statements that read input data, transform it, and generate output. For example, you can write a SQL statement that reads data from one in-application stream, generates a running average of the number of advertisement clicks by vendor, and insert resulting rows in another in-application stream using pumps. For more information about the typical pattern, see Application Code.

    You can provide such series of SQL statements, where output of one statement can be used as the input for the next statement. You store intermediate results by creating in-application streams and pumps.

    Note that the application code must create the streams with names specified in the Outputs. For example, if your Outputs defines output streams named ExampleOutputStream1 and ExampleOutputStream2, then your application code must create these streams.

    *)
  3. cloud_watch_logging_options : cloud_watch_logging_option list option;
    (*

    Use this parameter to configure a CloudWatch log stream to monitor application configuration errors. For more information, see Working with Amazon CloudWatch Logs.

    *)
  4. outputs : output list option;
    (*

    You can configure application output to write data from any of the in-application streams to up to three destinations.

    These destinations can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, AWS Lambda destinations, or any combination of the three.

    In the configuration, you specify the in-application stream name, the destination stream or Lambda function Amazon Resource Name (ARN), and the format to use when writing data. You must also provide an IAM role that Amazon Kinesis Analytics can assume to write to the destination stream or Lambda function on your behalf.

    In the output configuration, you also provide the output stream or Lambda function ARN. For stream destinations, you provide the format of data in the stream (for example, JSON, CSV). You also must provide an IAM role that Amazon Kinesis Analytics can assume to write to the stream or Lambda function on your behalf.

    *)
  5. inputs : input list option;
    (*

    Use this parameter to configure the application input.

    You can configure your application to receive input from a single streaming source. In this configuration, you map this streaming source to an in-application stream that is created. Your application code can then query the in-application stream like a table (you can think of it as a constantly updating table).

    For the streaming source, you provide its Amazon Resource Name (ARN) and format of data on the stream (for example, JSON, CSV, etc.). You also must provide an IAM role that Amazon Kinesis Analytics can assume to read this stream on your behalf.

    To create the in-application stream, you need to specify a schema to transform your data into a schematized version used in SQL. In the schema, you provide the necessary mapping of the data elements in the streaming source to record columns in the in-app stream.

    *)
  6. application_description : string option;
    (*

    Summary description of the application.

    *)
  7. application_name : string;
    (*

    Name of your Amazon Kinesis Analytics application (for example, sample-app).

    *)
}

TBD

type add_application_reference_data_source_response = unit
type add_application_reference_data_source_request = {
  1. reference_data_source : reference_data_source;
    (*

    The reference data source can be an object in your Amazon S3 bucket. Amazon Kinesis Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created. You must also provide an IAM role with the necessary permissions that Amazon Kinesis Analytics can assume to read the object from your S3 bucket on your behalf.

    *)
  2. current_application_version_id : int;
    (*

    Version of the application for which you are adding the reference data source. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.

    *)
  3. application_name : string;
    (*

    Name of an existing application.

    *)
}
type add_application_output_response = unit
type add_application_output_request = {
  1. output : output;
    (*

    An array of objects, each describing one output configuration. In the output configuration, you specify the name of an in-application stream, a destination (that is, an Amazon Kinesis stream, an Amazon Kinesis Firehose delivery stream, or an AWS Lambda function), and record the formation to use when writing to the destination.

    *)
  2. current_application_version_id : int;
    (*

    Version of the application to which you want to add the output configuration. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.

    *)
  3. application_name : string;
    (*

    Name of the application to which you want to add the output configuration.

    *)
}
type add_application_input_processing_configuration_response = unit
type add_application_input_processing_configuration_request = {
  1. input_processing_configuration : input_processing_configuration;
    (*

    The InputProcessingConfiguration to add to the application.

    *)
  2. input_id : string;
    (*

    The ID of the input configuration to add the input processing configuration to. You can get a list of the input IDs for an application using the DescribeApplication operation.

    *)
  3. current_application_version_id : int;
    (*

    Version of the application to which you want to add the input processing configuration. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.

    *)
  4. application_name : string;
    (*

    Name of the application to which you want to add the input processing configuration.

    *)
}
type add_application_input_response = unit
type add_application_input_request = {
  1. input : input;
    (*

    The Input to add.

    *)
  2. current_application_version_id : int;
    (*

    Current version of your Amazon Kinesis Analytics application. You can use the DescribeApplication operation to find the current application version.

    *)
  3. application_name : string;
    (*

    Name of your existing Amazon Kinesis Analytics application to which you want to add the streaming source.

    *)
}
type add_application_cloud_watch_logging_option_response = unit
type add_application_cloud_watch_logging_option_request = {
  1. cloud_watch_logging_option : cloud_watch_logging_option;
    (*

    Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.

    *)
  2. current_application_version_id : int;
    (*

    The version ID of the Kinesis Analytics application.

    *)
  3. application_name : string;
    (*

    The Kinesis Analytics application name.

    *)
}

Amazon Kinesis Analytics Overview

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.

This is the Amazon Kinesis Analytics v1 API Reference. The Amazon Kinesis Analytics Developer Guide provides additional information.

type base_document = Smaws_Lib.Json.t

Builders

val make_update_application_response : unit -> update_application_response
val make_input_lambda_processor_update : ?role_arn_update:string -> ?resource_arn_update:string -> unit -> input_lambda_processor_update
val make_input_processing_configuration_update : input_lambda_processor_update:input_lambda_processor_update -> unit -> input_processing_configuration_update
val make_kinesis_streams_input_update : ?role_arn_update:string -> ?resource_arn_update:string -> unit -> kinesis_streams_input_update
val make_kinesis_firehose_input_update : ?role_arn_update:string -> ?resource_arn_update:string -> unit -> kinesis_firehose_input_update
val make_json_mapping_parameters : record_row_path:string -> unit -> json_mapping_parameters
val make_csv_mapping_parameters : record_column_delimiter:string -> record_row_delimiter:string -> unit -> csv_mapping_parameters
val make_mapping_parameters : ?csv_mapping_parameters:csv_mapping_parameters -> ?json_mapping_parameters:json_mapping_parameters -> unit -> mapping_parameters

Create a mapping_parameters type

val make_record_format : ?mapping_parameters:mapping_parameters -> record_format_type:record_format_type -> unit -> record_format

Create a record_format type

val make_record_column : ?mapping:string -> sql_type:string -> name:string -> unit -> record_column

Create a record_column type

val make_input_schema_update : ?record_column_updates:record_column list -> ?record_encoding_update:string -> ?record_format_update:record_format -> unit -> input_schema_update

Create a input_schema_update type

val make_input_parallelism_update : ?count_update:int -> unit -> input_parallelism_update
val make_input_update : ?input_parallelism_update:input_parallelism_update -> ?input_schema_update:input_schema_update -> ?kinesis_firehose_input_update:kinesis_firehose_input_update -> ?kinesis_streams_input_update:kinesis_streams_input_update -> ?input_processing_configuration_update:input_processing_configuration_update -> ?name_prefix_update:string -> input_id:string -> unit -> input_update

Create a input_update type

val make_kinesis_streams_output_update : ?role_arn_update:string -> ?resource_arn_update:string -> unit -> kinesis_streams_output_update
val make_kinesis_firehose_output_update : ?role_arn_update:string -> ?resource_arn_update:string -> unit -> kinesis_firehose_output_update
val make_lambda_output_update : ?role_arn_update:string -> ?resource_arn_update:string -> unit -> lambda_output_update

Create a lambda_output_update type

val make_destination_schema : record_format_type:record_format_type -> unit -> destination_schema

Create a destination_schema type

val make_output_update : ?destination_schema_update:destination_schema -> ?lambda_output_update:lambda_output_update -> ?kinesis_firehose_output_update:kinesis_firehose_output_update -> ?kinesis_streams_output_update:kinesis_streams_output_update -> ?name_update:string -> output_id:string -> unit -> output_update

Create a output_update type

val make_s3_reference_data_source_update : ?reference_role_arn_update:string -> ?file_key_update:string -> ?bucket_arn_update:string -> unit -> s3_reference_data_source_update
val make_source_schema : ?record_encoding:string -> record_columns:record_column list -> record_format:record_format -> unit -> source_schema

Create a source_schema type

val make_reference_data_source_update : ?reference_schema_update:source_schema -> ?s3_reference_data_source_update:s3_reference_data_source_update -> ?table_name_update:string -> reference_id:string -> unit -> reference_data_source_update
val make_cloud_watch_logging_option_update : ?role_arn_update:string -> ?log_stream_arn_update:string -> cloud_watch_logging_option_id:string -> unit -> cloud_watch_logging_option_update
val make_application_update : ?cloud_watch_logging_option_updates:cloud_watch_logging_option_update list -> ?reference_data_source_updates:reference_data_source_update list -> ?output_updates:output_update list -> ?application_code_update:string -> ?input_updates:input_update list -> unit -> application_update

Create a application_update type

val make_update_application_request : application_update:application_update -> current_application_version_id:int -> application_name:string -> unit -> update_application_request
val make_untag_resource_response : unit -> untag_resource_response
val make_untag_resource_request : tag_keys:string list -> resource_ar_n:string -> unit -> untag_resource_request
val make_tag : ?value:string -> key:string -> unit -> tag

Create a tag type

val make_tag_resource_response : unit -> tag_resource_response

Create a tag_resource_response type

val make_tag_resource_request : tags:tag list -> resource_ar_n:string -> unit -> tag_resource_request

Create a tag_resource_request type

val make_stop_application_response : unit -> stop_application_response
val make_stop_application_request : application_name:string -> unit -> stop_application_request
val make_start_application_response : unit -> start_application_response
val make_input_starting_position_configuration : ?input_starting_position:input_starting_position -> unit -> input_starting_position_configuration
val make_input_configuration : input_starting_position_configuration:input_starting_position_configuration -> id:string -> unit -> input_configuration

Create a input_configuration type

val make_start_application_request : input_configurations:input_configuration list -> application_name:string -> unit -> start_application_request
val make_s3_reference_data_source_description : reference_role_ar_n:string -> file_key:string -> bucket_ar_n:string -> unit -> s3_reference_data_source_description
val make_s3_reference_data_source : reference_role_ar_n:string -> file_key:string -> bucket_ar_n:string -> unit -> s3_reference_data_source
val make_s3_configuration : file_key:string -> bucket_ar_n:string -> role_ar_n:string -> unit -> s3_configuration

Create a s3_configuration type

val make_reference_data_source_description : ?reference_schema:source_schema -> s3_reference_data_source_description:s3_reference_data_source_description -> table_name:string -> reference_id:string -> unit -> reference_data_source_description
val make_reference_data_source : ?s3_reference_data_source:s3_reference_data_source -> reference_schema:source_schema -> table_name:string -> unit -> reference_data_source

Create a reference_data_source type

val make_kinesis_streams_output : role_ar_n:string -> resource_ar_n:string -> unit -> kinesis_streams_output
val make_kinesis_firehose_output : role_ar_n:string -> resource_ar_n:string -> unit -> kinesis_firehose_output
val make_lambda_output : role_ar_n:string -> resource_ar_n:string -> unit -> lambda_output

Create a lambda_output type

val make_output : ?lambda_output:lambda_output -> ?kinesis_firehose_output:kinesis_firehose_output -> ?kinesis_streams_output:kinesis_streams_output -> destination_schema:destination_schema -> name:string -> unit -> output

Create a output type

val make_kinesis_streams_output_description : ?role_ar_n:string -> ?resource_ar_n:string -> unit -> kinesis_streams_output_description
val make_kinesis_firehose_output_description : ?role_ar_n:string -> ?resource_ar_n:string -> unit -> kinesis_firehose_output_description
val make_lambda_output_description : ?role_ar_n:string -> ?resource_ar_n:string -> unit -> lambda_output_description
val make_output_description : ?destination_schema:destination_schema -> ?lambda_output_description:lambda_output_description -> ?kinesis_firehose_output_description:kinesis_firehose_output_description -> ?kinesis_streams_output_description:kinesis_streams_output_description -> ?name:string -> ?output_id:string -> unit -> output_description

Create a output_description type

val make_list_tags_for_resource_response : ?tags:tag list -> unit -> list_tags_for_resource_response
val make_list_tags_for_resource_request : resource_ar_n:string -> unit -> list_tags_for_resource_request
val make_application_summary : application_status:application_status -> application_ar_n:string -> application_name:string -> unit -> application_summary

Create a application_summary type

val make_list_applications_response : has_more_applications:bool -> application_summaries:application_summary list -> unit -> list_applications_response
val make_list_applications_request : ?exclusive_start_application_name:string -> ?limit:int -> unit -> list_applications_request
val make_kinesis_streams_input_description : ?role_ar_n:string -> ?resource_ar_n:string -> unit -> kinesis_streams_input_description
val make_kinesis_streams_input : role_ar_n:string -> resource_ar_n:string -> unit -> kinesis_streams_input

Create a kinesis_streams_input type

val make_kinesis_firehose_input_description : ?role_ar_n:string -> ?resource_ar_n:string -> unit -> kinesis_firehose_input_description
val make_kinesis_firehose_input : role_ar_n:string -> resource_ar_n:string -> unit -> kinesis_firehose_input
val make_discover_input_schema_response : ?raw_input_records:string list -> ?processed_input_records:string list -> ?parsed_input_records:string list list -> ?input_schema:source_schema -> unit -> discover_input_schema_response
val make_input_lambda_processor : role_ar_n:string -> resource_ar_n:string -> unit -> input_lambda_processor
val make_input_processing_configuration : input_lambda_processor:input_lambda_processor -> unit -> input_processing_configuration
val make_discover_input_schema_request : ?input_processing_configuration:input_processing_configuration -> ?s3_configuration:s3_configuration -> ?input_starting_position_configuration:input_starting_position_configuration -> ?role_ar_n:string -> ?resource_ar_n:string -> unit -> discover_input_schema_request
val make_input_lambda_processor_description : ?role_ar_n:string -> ?resource_ar_n:string -> unit -> input_lambda_processor_description
val make_input_processing_configuration_description : ?input_lambda_processor_description:input_lambda_processor_description -> unit -> input_processing_configuration_description
val make_input_parallelism : ?count:int -> unit -> input_parallelism

Create a input_parallelism type

val make_input_description : ?input_starting_position_configuration:input_starting_position_configuration -> ?input_parallelism:input_parallelism -> ?input_schema:source_schema -> ?kinesis_firehose_input_description:kinesis_firehose_input_description -> ?kinesis_streams_input_description:kinesis_streams_input_description -> ?input_processing_configuration_description: input_processing_configuration_description -> ?in_app_stream_names:string list -> ?name_prefix:string -> ?input_id:string -> unit -> input_description

Create a input_description type

val make_cloud_watch_logging_option_description : ?cloud_watch_logging_option_id:string -> role_ar_n:string -> log_stream_ar_n:string -> unit -> cloud_watch_logging_option_description
val make_application_detail : ?application_code:string -> ?cloud_watch_logging_option_descriptions: cloud_watch_logging_option_description list -> ?reference_data_source_descriptions:reference_data_source_description list -> ?output_descriptions:output_description list -> ?input_descriptions:input_description list -> ?last_update_timestamp:float -> ?create_timestamp:float -> ?application_description:string -> application_version_id:int -> application_status:application_status -> application_ar_n:string -> application_name:string -> unit -> application_detail

Create a application_detail type

val make_describe_application_response : application_detail:application_detail -> unit -> describe_application_response
val make_describe_application_request : application_name:string -> unit -> describe_application_request
val make_delete_application_reference_data_source_response : unit -> delete_application_reference_data_source_response
val make_delete_application_reference_data_source_request : reference_id:string -> current_application_version_id:int -> application_name:string -> unit -> delete_application_reference_data_source_request
val make_delete_application_output_response : unit -> delete_application_output_response
val make_delete_application_output_request : output_id:string -> current_application_version_id:int -> application_name:string -> unit -> delete_application_output_request
val make_delete_application_input_processing_configuration_response : unit -> delete_application_input_processing_configuration_response
val make_delete_application_input_processing_configuration_request : input_id:string -> current_application_version_id:int -> application_name:string -> unit -> delete_application_input_processing_configuration_request
val make_delete_application_cloud_watch_logging_option_response : unit -> delete_application_cloud_watch_logging_option_response
val make_delete_application_cloud_watch_logging_option_request : cloud_watch_logging_option_id:string -> current_application_version_id:int -> application_name:string -> unit -> delete_application_cloud_watch_logging_option_request
val make_delete_application_response : unit -> delete_application_response
val make_delete_application_request : create_timestamp:float -> application_name:string -> unit -> delete_application_request
val make_create_application_response : application_summary:application_summary -> unit -> create_application_response
val make_input : ?input_parallelism:input_parallelism -> ?kinesis_firehose_input:kinesis_firehose_input -> ?kinesis_streams_input:kinesis_streams_input -> ?input_processing_configuration:input_processing_configuration -> input_schema:source_schema -> name_prefix:string -> unit -> input

Create a input type

val make_cloud_watch_logging_option : role_ar_n:string -> log_stream_ar_n:string -> unit -> cloud_watch_logging_option
val make_create_application_request : ?tags:tag list -> ?application_code:string -> ?cloud_watch_logging_options:cloud_watch_logging_option list -> ?outputs:output list -> ?inputs:input list -> ?application_description:string -> application_name:string -> unit -> create_application_request
val make_add_application_reference_data_source_response : unit -> add_application_reference_data_source_response
val make_add_application_reference_data_source_request : reference_data_source:reference_data_source -> current_application_version_id:int -> application_name:string -> unit -> add_application_reference_data_source_request
val make_add_application_output_response : unit -> add_application_output_response
val make_add_application_output_request : output:output -> current_application_version_id:int -> application_name:string -> unit -> add_application_output_request
val make_add_application_input_processing_configuration_response : unit -> add_application_input_processing_configuration_response
val make_add_application_input_processing_configuration_request : input_processing_configuration:input_processing_configuration -> input_id:string -> current_application_version_id:int -> application_name:string -> unit -> add_application_input_processing_configuration_request
val make_add_application_input_response : unit -> add_application_input_response
val make_add_application_input_request : input:input -> current_application_version_id:int -> application_name:string -> unit -> add_application_input_request
val make_add_application_cloud_watch_logging_option_response : unit -> add_application_cloud_watch_logging_option_response
val make_add_application_cloud_watch_logging_option_request : cloud_watch_logging_option:cloud_watch_logging_option -> current_application_version_id:int -> application_name:string -> unit -> add_application_cloud_watch_logging_option_request

Operations

module AddApplicationInput : sig ... end
module AddApplicationOutput : sig ... end
module CreateApplication : sig ... end
module DeleteApplication : sig ... end
module DeleteApplicationOutput : sig ... end
module DescribeApplication : sig ... end
module DiscoverInputSchema : sig ... end
module ListApplications : sig ... end
module ListTagsForResource : sig ... end
module StartApplication : sig ... end
module StopApplication : sig ... end
module TagResource : sig ... end
module UntagResource : sig ... end
module UpdateApplication : sig ... end