import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config'; interface Blob {} declare class KinesisAnalyticsV2 extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: KinesisAnalyticsV2.Types.ClientConfiguration) config: Config & KinesisAnalyticsV2.Types.ClientConfiguration; /** * Adds an Amazon CloudWatch log stream to monitor application configuration errors. */ addApplicationCloudWatchLoggingOption(params: KinesisAnalyticsV2.Types.AddApplicationCloudWatchLoggingOptionRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationCloudWatchLoggingOptionResponse) => void): Request; /** * Adds an Amazon CloudWatch log stream to monitor application configuration errors. */ addApplicationCloudWatchLoggingOption(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationCloudWatchLoggingOptionResponse) => void): Request; /** * Adds a streaming source to your SQL-based Amazon Kinesis Data Analytics application. You can add a streaming source when you create an application, or you can use this operation to add a streaming source after you create an application. For more information, see CreateApplication. Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version. */ addApplicationInput(params: KinesisAnalyticsV2.Types.AddApplicationInputRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationInputResponse) => void): Request; /** * Adds a streaming source to your SQL-based Amazon Kinesis Data Analytics application. You can add a streaming source when you create an application, or you can use this operation to add a streaming source after you create an application. For more information, see CreateApplication. Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version. */ addApplicationInput(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationInputResponse) => void): Request; /** * Adds an InputProcessingConfiguration to an SQL-based Kinesis Data Analytics application. An input processor pre-processes records on the input stream before the application's SQL code executes. Currently, the only input processor available is AWS Lambda. */ addApplicationInputProcessingConfiguration(params: KinesisAnalyticsV2.Types.AddApplicationInputProcessingConfigurationRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationInputProcessingConfigurationResponse) => void): Request; /** * Adds an InputProcessingConfiguration to an SQL-based Kinesis Data Analytics application. An input processor pre-processes records on the input stream before the application's SQL code executes. Currently, the only input processor available is AWS Lambda. */ addApplicationInputProcessingConfiguration(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationInputProcessingConfigurationResponse) => void): Request; /** * Adds an external destination to your SQL-based Amazon Kinesis Data Analytics application. If you want Kinesis Data Analytics to deliver data from an in-application stream within your application to an external destination (such as an Kinesis data stream, a Kinesis Data Firehose delivery stream, or an AWS Lambda function), you add the relevant configuration to your application using this operation. You can configure one or more outputs for your application. Each output configuration maps an in-application stream and an external destination. You can use one of the output configurations to deliver data from your in-application error stream to an external destination so that you can analyze the errors. Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version. */ addApplicationOutput(params: KinesisAnalyticsV2.Types.AddApplicationOutputRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationOutputResponse) => void): Request; /** * Adds an external destination to your SQL-based Amazon Kinesis Data Analytics application. If you want Kinesis Data Analytics to deliver data from an in-application stream within your application to an external destination (such as an Kinesis data stream, a Kinesis Data Firehose delivery stream, or an AWS Lambda function), you add the relevant configuration to your application using this operation. You can configure one or more outputs for your application. Each output configuration maps an in-application stream and an external destination. You can use one of the output configurations to deliver data from your in-application error stream to an external destination so that you can analyze the errors. Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version. */ addApplicationOutput(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationOutputResponse) => void): Request; /** * Adds a reference data source to an existing SQL-based Amazon Kinesis Data Analytics application. Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table. */ addApplicationReferenceDataSource(params: KinesisAnalyticsV2.Types.AddApplicationReferenceDataSourceRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationReferenceDataSourceResponse) => void): Request; /** * Adds a reference data source to an existing SQL-based Amazon Kinesis Data Analytics application. Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table. */ addApplicationReferenceDataSource(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationReferenceDataSourceResponse) => void): Request; /** * Creates an Amazon Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see Creating an Application. SQL is not enabled for this private beta release. Using SQL parameters (such as SqlApplicationConfiguration) will result in an error. */ createApplication(params: KinesisAnalyticsV2.Types.CreateApplicationRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.CreateApplicationResponse) => void): Request; /** * Creates an Amazon Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see Creating an Application. SQL is not enabled for this private beta release. Using SQL parameters (such as SqlApplicationConfiguration) will result in an error. */ createApplication(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.CreateApplicationResponse) => void): Request; /** * Creates a snapshot of the application's state data. */ createApplicationSnapshot(params: KinesisAnalyticsV2.Types.CreateApplicationSnapshotRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.CreateApplicationSnapshotResponse) => void): Request; /** * Creates a snapshot of the application's state data. */ createApplicationSnapshot(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.CreateApplicationSnapshotResponse) => void): Request; /** * Deletes the specified application. Kinesis Data Analytics halts application execution and deletes the application. */ deleteApplication(params: KinesisAnalyticsV2.Types.DeleteApplicationRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationResponse) => void): Request; /** * Deletes the specified application. Kinesis Data Analytics halts application execution and deletes the application. */ deleteApplication(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationResponse) => void): Request; /** * Deletes an Amazon CloudWatch log stream from an Amazon Kinesis Data Analytics application. */ deleteApplicationCloudWatchLoggingOption(params: KinesisAnalyticsV2.Types.DeleteApplicationCloudWatchLoggingOptionRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationCloudWatchLoggingOptionResponse) => void): Request; /** * Deletes an Amazon CloudWatch log stream from an Amazon Kinesis Data Analytics application. */ deleteApplicationCloudWatchLoggingOption(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationCloudWatchLoggingOptionResponse) => void): Request; /** * Deletes an InputProcessingConfiguration from an input. */ deleteApplicationInputProcessingConfiguration(params: KinesisAnalyticsV2.Types.DeleteApplicationInputProcessingConfigurationRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationInputProcessingConfigurationResponse) => void): Request; /** * Deletes an InputProcessingConfiguration from an input. */ deleteApplicationInputProcessingConfiguration(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationInputProcessingConfigurationResponse) => void): Request; /** * Deletes the output destination configuration from your SQL-based Amazon Kinesis Data Analytics application's configuration. Kinesis Data Analytics will no longer write data from the corresponding in-application stream to the external output destination. */ deleteApplicationOutput(params: KinesisAnalyticsV2.Types.DeleteApplicationOutputRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationOutputResponse) => void): Request; /** * Deletes the output destination configuration from your SQL-based Amazon Kinesis Data Analytics application's configuration. Kinesis Data Analytics will no longer write data from the corresponding in-application stream to the external output destination. */ deleteApplicationOutput(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationOutputResponse) => void): Request; /** * Deletes a reference data source configuration from the specified SQL-based Amazon Kinesis Data Analytics application's configuration. If the application is running, Kinesis Data Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation. */ deleteApplicationReferenceDataSource(params: KinesisAnalyticsV2.Types.DeleteApplicationReferenceDataSourceRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationReferenceDataSourceResponse) => void): Request; /** * Deletes a reference data source configuration from the specified SQL-based Amazon Kinesis Data Analytics application's configuration. If the application is running, Kinesis Data Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation. */ deleteApplicationReferenceDataSource(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationReferenceDataSourceResponse) => void): Request; /** * Deletes a snapshot of application state. */ deleteApplicationSnapshot(params: KinesisAnalyticsV2.Types.DeleteApplicationSnapshotRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationSnapshotResponse) => void): Request; /** * Deletes a snapshot of application state. */ deleteApplicationSnapshot(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationSnapshotResponse) => void): Request; /** * Returns information about a specific Amazon Kinesis Data Analytics application. If you want to retrieve a list of all applications in your account, use the ListApplications operation. */ describeApplication(params: KinesisAnalyticsV2.Types.DescribeApplicationRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DescribeApplicationResponse) => void): Request; /** * Returns information about a specific Amazon Kinesis Data Analytics application. If you want to retrieve a list of all applications in your account, use the ListApplications operation. */ describeApplication(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DescribeApplicationResponse) => void): Request; /** * Returns information about a snapshot of application state data. */ describeApplicationSnapshot(params: KinesisAnalyticsV2.Types.DescribeApplicationSnapshotRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DescribeApplicationSnapshotResponse) => void): Request; /** * Returns information about a snapshot of application state data. */ describeApplicationSnapshot(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DescribeApplicationSnapshotResponse) => void): Request; /** * 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. 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. */ discoverInputSchema(params: KinesisAnalyticsV2.Types.DiscoverInputSchemaRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DiscoverInputSchemaResponse) => void): Request; /** * 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. 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. */ discoverInputSchema(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DiscoverInputSchemaResponse) => void): Request; /** * Lists information about the current application snapshots. */ listApplicationSnapshots(params: KinesisAnalyticsV2.Types.ListApplicationSnapshotsRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.ListApplicationSnapshotsResponse) => void): Request; /** * Lists information about the current application snapshots. */ listApplicationSnapshots(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.ListApplicationSnapshotsResponse) => void): Request; /** * Returns a list of Amazon Kinesis Data Analytics applications in your account. For each application, the response includes the application name, Amazon Resource Name (ARN), and status. If you want detailed information about a specific application, use DescribeApplication. */ listApplications(params: KinesisAnalyticsV2.Types.ListApplicationsRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.ListApplicationsResponse) => void): Request; /** * Returns a list of Amazon Kinesis Data Analytics applications in your account. For each application, the response includes the application name, Amazon Resource Name (ARN), and status. If you want detailed information about a specific application, use DescribeApplication. */ listApplications(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.ListApplicationsResponse) => void): Request; /** * Starts the specified Amazon Kinesis Data Analytics application. After creating an application, you must exclusively call this operation to start your application. SQL is not enabled for this private beta. Using SQL parameters (such as RunConfiguration$SqlRunConfigurations) will result in an error. */ startApplication(params: KinesisAnalyticsV2.Types.StartApplicationRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.StartApplicationResponse) => void): Request; /** * Starts the specified Amazon Kinesis Data Analytics application. After creating an application, you must exclusively call this operation to start your application. SQL is not enabled for this private beta. Using SQL parameters (such as RunConfiguration$SqlRunConfigurations) will result in an error. */ startApplication(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.StartApplicationResponse) => void): Request; /** * Stops the application from processing data. You can stop an application only if it is in the running state. You can use the DescribeApplication operation to find the application state. */ stopApplication(params: KinesisAnalyticsV2.Types.StopApplicationRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.StopApplicationResponse) => void): Request; /** * Stops the application from processing data. You can stop an application only if it is in the running state. You can use the DescribeApplication operation to find the application state. */ stopApplication(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.StopApplicationResponse) => void): Request; /** * Updates an existing Amazon Kinesis Data Analytics application. Using this operation, you can update application code, input configuration, and output configuration. Kinesis Data Analytics updates the ApplicationVersionId each time you update your application. SQL is not enabled for this private beta. Using SQL parameters (such as SqlApplicationConfigurationUpdate) will result in an error. */ updateApplication(params: KinesisAnalyticsV2.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.UpdateApplicationResponse) => void): Request; /** * Updates an existing Amazon Kinesis Data Analytics application. Using this operation, you can update application code, input configuration, and output configuration. Kinesis Data Analytics updates the ApplicationVersionId each time you update your application. SQL is not enabled for this private beta. Using SQL parameters (such as SqlApplicationConfigurationUpdate) will result in an error. */ updateApplication(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.UpdateApplicationResponse) => void): Request; } declare namespace KinesisAnalyticsV2 { export interface AddApplicationCloudWatchLoggingOptionRequest { /** * The Kinesis Data Analytics application name. */ ApplicationName: ApplicationName; /** * The version ID of the Kinesis Data Analytics application. You can retrieve the application version ID using DescribeApplication. */ CurrentApplicationVersionId: ApplicationVersionId; /** * Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN). */ CloudWatchLoggingOption: CloudWatchLoggingOption; } export interface AddApplicationCloudWatchLoggingOptionResponse { /** * The application's ARN. */ ApplicationARN?: ResourceARN; /** * The new version ID of the Kinesis Data Analytics application. Kinesis Data Analytics updates the ApplicationVersionId each time you change the CloudWatch logging options. */ ApplicationVersionId?: ApplicationVersionId; /** * The descriptions of the current CloudWatch logging options for the Kinesis Data Analytics application. */ CloudWatchLoggingOptionDescriptions?: CloudWatchLoggingOptionDescriptions; } export interface AddApplicationInputProcessingConfigurationRequest { /** * The name of the application to which you want to add the input processing configuration. */ ApplicationName: ApplicationName; /** * The 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. */ CurrentApplicationVersionId: ApplicationVersionId; /** * 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. */ InputId: Id; /** * The InputProcessingConfiguration to add to the application. */ InputProcessingConfiguration: InputProcessingConfiguration; } export interface AddApplicationInputProcessingConfigurationResponse { /** * The Amazon Resource Name (ARN) of the application. */ ApplicationARN?: ResourceARN; /** * Provides the current application version. */ ApplicationVersionId?: ApplicationVersionId; /** * The input ID that is associated with the application input. This is the ID that Amazon Kinesis Data Analytics assigns to each input configuration that you add to your application. */ InputId?: Id; /** * The description of the preprocessor that executes on records in this input before the application's code is run. */ InputProcessingConfigurationDescription?: InputProcessingConfigurationDescription; } export interface AddApplicationInputRequest { /** * The name of your existing application to which you want to add the streaming source. */ ApplicationName: ApplicationName; /** * The current version of your application. You can use the DescribeApplication operation to find the current application version. */ CurrentApplicationVersionId: ApplicationVersionId; /** * The Input to add. */ Input: Input; } export interface AddApplicationInputResponse { /** * The Amazon Resource Name (ARN) of the application. */ ApplicationARN?: ResourceARN; /** * Provides the current application version. */ ApplicationVersionId?: ApplicationVersionId; /** * Describes the application input configuration. */ InputDescriptions?: InputDescriptions; } export interface AddApplicationOutputRequest { /** * The name of the application to which you want to add the output configuration. */ ApplicationName: ApplicationName; /** * The 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. */ CurrentApplicationVersionId: ApplicationVersionId; /** * 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, a Kinesis data stream, a Kinesis Data Firehose delivery stream, or an AWS Lambda function), and record the formation to use when writing to the destination. */ Output: Output; } export interface AddApplicationOutputResponse { /** * The application Amazon Resource Name (ARN). */ ApplicationARN?: ResourceARN; /** * The updated application version ID. Kinesis Data Analytics increments this ID when the application is updated. */ ApplicationVersionId?: ApplicationVersionId; /** * Describes the application output configuration. For more information, see Configuring Application Output. */ OutputDescriptions?: OutputDescriptions; } export interface AddApplicationReferenceDataSourceRequest { /** * The name of an existing application. */ ApplicationName: ApplicationName; /** * The 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. */ CurrentApplicationVersionId: ApplicationVersionId; /** * The reference data source can be an object in your Amazon S3 bucket. Kinesis Data 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. */ ReferenceDataSource: ReferenceDataSource; } export interface AddApplicationReferenceDataSourceResponse { /** * The application Amazon Resource Name (ARN). */ ApplicationARN?: ResourceARN; /** * The updated application version ID. Amazon Kinesis Data Analytics increments this ID when the application is updated. */ ApplicationVersionId?: ApplicationVersionId; /** * Describes reference data sources configured for the application. */ ReferenceDataSourceDescriptions?: ReferenceDataSourceDescriptions; } export interface ApplicationCodeConfiguration { /** * The location and type of the application code. */ CodeContent?: CodeContent; /** * Specifies whether the code content is in text or zip format. */ CodeContentType: CodeContentType; } export interface ApplicationCodeConfigurationDescription { /** * Specifies whether the code content is in text or zip format. */ CodeContentType: CodeContentType; /** * Describes details about the location and format of the application code. */ CodeContentDescription?: CodeContentDescription; } export interface ApplicationCodeConfigurationUpdate { /** * Describes updates to the code content type. */ CodeContentTypeUpdate?: CodeContentType; /** * Describes updates to the code content of an application. */ CodeContentUpdate?: CodeContentUpdate; } export interface ApplicationConfiguration { /** * The creation and update parameters for an SQL-based Kinesis Data Analytics application. */ SqlApplicationConfiguration?: SqlApplicationConfiguration; /** * The creation and update parameters for a Java-based Kinesis Data Analytics application. */ FlinkApplicationConfiguration?: FlinkApplicationConfiguration; /** * Describes execution properties for a Java-based Kinesis Data Analytics application. */ EnvironmentProperties?: EnvironmentProperties; /** * The code location and type parameters for a Java-based Kinesis Data Analytics application. */ ApplicationCodeConfiguration: ApplicationCodeConfiguration; /** * Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application. */ ApplicationSnapshotConfiguration?: ApplicationSnapshotConfiguration; } export interface ApplicationConfigurationDescription { /** * The details about inputs, outputs, and reference data sources for an SQL-based Kinesis Data Analytics application. */ SqlApplicationConfigurationDescription?: SqlApplicationConfigurationDescription; /** * The details about the application code for a Java-based Kinesis Data Analytics application. */ ApplicationCodeConfigurationDescription?: ApplicationCodeConfigurationDescription; /** * The details about the starting properties for a Kinesis Data Analytics application. */ RunConfigurationDescription?: RunConfigurationDescription; /** * The details about a Java-based Kinesis Data Analytics application. */ FlinkApplicationConfigurationDescription?: FlinkApplicationConfigurationDescription; /** * Describes execution properties for a Java-based Kinesis Data Analytics application. */ EnvironmentPropertyDescriptions?: EnvironmentPropertyDescriptions; /** * Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application. */ ApplicationSnapshotConfigurationDescription?: ApplicationSnapshotConfigurationDescription; } export interface ApplicationConfigurationUpdate { /** * Describes updates to an SQL-based Kinesis Data Analytics application's configuration. */ SqlApplicationConfigurationUpdate?: SqlApplicationConfigurationUpdate; /** * Describes updates to a Java-based Kinesis Data Analytics application's code configuration. */ ApplicationCodeConfigurationUpdate?: ApplicationCodeConfigurationUpdate; /** * Describes updates to a Java-based Kinesis Data Analytics application's configuration. */ FlinkApplicationConfigurationUpdate?: FlinkApplicationConfigurationUpdate; /** * Describes updates to the environment properties for a Java-based Kinesis Data Analytics application. */ EnvironmentPropertyUpdates?: EnvironmentPropertyUpdates; /** * Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application. */ ApplicationSnapshotConfigurationUpdate?: ApplicationSnapshotConfigurationUpdate; } export type ApplicationDescription = string; export interface ApplicationDetail { /** * The ARN of the application. */ ApplicationARN: ResourceARN; /** * The description of the application. */ ApplicationDescription?: ApplicationDescription; /** * The name of the application. */ ApplicationName: ApplicationName; /** * The runtime environment for the application (SQL-1.0 or JAVA-8-FLINK-1.5). */ RuntimeEnvironment: RuntimeEnvironment; /** * Specifies the IAM role that the application uses to access external resources. */ ServiceExecutionRole?: RoleARN; /** * The status of the application. */ ApplicationStatus: ApplicationStatus; /** * Provides the current application version. Kinesis Data Analytics updates the ApplicationVersionId each time you update the application. */ ApplicationVersionId: ApplicationVersionId; /** * The current timestamp when the application was created. */ CreateTimestamp?: Timestamp; /** * The current timestamp when the application was last updated. */ LastUpdateTimestamp?: Timestamp; /** * Provides details about the application's SQL or Java code and starting parameters. */ ApplicationConfigurationDescription?: ApplicationConfigurationDescription; /** * Describes the application Amazon CloudWatch logging options. */ CloudWatchLoggingOptionDescriptions?: CloudWatchLoggingOptionDescriptions; } export type ApplicationName = string; export interface ApplicationRestoreConfiguration { /** * Specifies how the application should be restored. */ ApplicationRestoreType: ApplicationRestoreType; /** * The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT is specified for the ApplicationRestoreType. */ SnapshotName?: SnapshotName; } export type ApplicationRestoreType = "SKIP_RESTORE_FROM_SNAPSHOT"|"RESTORE_FROM_LATEST_SNAPSHOT"|"RESTORE_FROM_CUSTOM_SNAPSHOT"|string; export interface ApplicationSnapshotConfiguration { /** * Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application. */ SnapshotsEnabled: BooleanObject; } export interface ApplicationSnapshotConfigurationDescription { /** * Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application. */ SnapshotsEnabled: BooleanObject; } export interface ApplicationSnapshotConfigurationUpdate { /** * Describes updates to whether snapshots are enabled for a Java-based Kinesis Data Analytics application. */ SnapshotsEnabledUpdate: BooleanObject; } export type ApplicationStatus = "DELETING"|"STARTING"|"STOPPING"|"READY"|"RUNNING"|"UPDATING"|string; export type ApplicationSummaries = ApplicationSummary[]; export interface ApplicationSummary { /** * The name of the application. */ ApplicationName: ApplicationName; /** * The ARN of the application. */ ApplicationARN: ResourceARN; /** * The status of the application. */ ApplicationStatus: ApplicationStatus; /** * Provides the current application version. */ ApplicationVersionId: ApplicationVersionId; /** * The runtime environment for the application (SQL-1.0 or JAVA-8-FLINK-1.5). */ RuntimeEnvironment: RuntimeEnvironment; } export type ApplicationVersionId = number; export type BooleanObject = boolean; export type BucketARN = string; export interface CSVMappingParameters { /** * The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter. */ RecordRowDelimiter: RecordRowDelimiter; /** * The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter. */ RecordColumnDelimiter: RecordColumnDelimiter; } export interface CheckpointConfiguration { /** * Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior. */ ConfigurationType: ConfigurationType; /** * Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application. */ CheckpointingEnabled?: BooleanObject; /** * Describes the interval in milliseconds between checkpoint operations. */ CheckpointInterval?: CheckpointInterval; /** * Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. If a checkpoint operation takes longer than the CheckpointInterval, the application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation. */ MinPauseBetweenCheckpoints?: MinPauseBetweenCheckpoints; } export interface CheckpointConfigurationDescription { /** * Describes whether the application uses the default checkpointing behavior in Kinesis Data Analytics. */ ConfigurationType?: ConfigurationType; /** * Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application. */ CheckpointingEnabled?: BooleanObject; /** * Describes the interval in milliseconds between checkpoint operations. */ CheckpointInterval?: CheckpointInterval; /** * Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. */ MinPauseBetweenCheckpoints?: MinPauseBetweenCheckpoints; } export interface CheckpointConfigurationUpdate { /** * Describes updates to whether the application uses the default checkpointing behavior of Kinesis Data Analytics. */ ConfigurationTypeUpdate?: ConfigurationType; /** * Describes updates to whether checkpointing is enabled for an application. */ CheckpointingEnabledUpdate?: BooleanObject; /** * Describes updates to the interval in milliseconds between checkpoint operations. */ CheckpointIntervalUpdate?: CheckpointInterval; /** * Describes updates to the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. */ MinPauseBetweenCheckpointsUpdate?: MinPauseBetweenCheckpoints; } export type CheckpointInterval = number; export interface CloudWatchLoggingOption { /** * The ARN of the CloudWatch log to receive application messages. */ LogStreamARN: LogStreamARN; } export interface CloudWatchLoggingOptionDescription { /** * The ID of the CloudWatch logging option description. */ CloudWatchLoggingOptionId?: Id; /** * The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages. */ LogStreamARN: LogStreamARN; /** * The IAM ARN of the role to use to send application messages. Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role. */ RoleARN?: RoleARN; } export type CloudWatchLoggingOptionDescriptions = CloudWatchLoggingOptionDescription[]; export interface CloudWatchLoggingOptionUpdate { /** * The ID of the CloudWatch logging option to update */ CloudWatchLoggingOptionId: Id; /** * The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages. */ LogStreamARNUpdate?: LogStreamARN; } export type CloudWatchLoggingOptionUpdates = CloudWatchLoggingOptionUpdate[]; export type CloudWatchLoggingOptions = CloudWatchLoggingOption[]; export interface CodeContent { /** * The text-format code for a Java-based Kinesis Data Analytics application. */ TextContent?: TextContent; /** * The zip-format code for a Java-based Kinesis Data Analytics application. */ ZipFileContent?: ZipFileContent; /** * Information about the Amazon S3 bucket containing the application code. */ S3ContentLocation?: S3ContentLocation; } export interface CodeContentDescription { /** * The text-format code */ TextContent?: TextContent; /** * The checksum that can be used to validate zip-format code. */ CodeMD5?: CodeMD5; /** * The size in bytes of the application code. Can be used to validate zip-format code. */ CodeSize?: CodeSize; /** * The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3. */ S3ApplicationCodeLocationDescription?: S3ApplicationCodeLocationDescription; } export type CodeContentType = "PLAINTEXT"|"ZIPFILE"|string; export interface CodeContentUpdate { /** * Describes an update to the text code for an application. */ TextContentUpdate?: TextContent; /** * Describes an update to the zipped code for an application. */ ZipFileContentUpdate?: ZipFileContent; /** * Describes an update to the location of code for an application. */ S3ContentLocationUpdate?: S3ContentLocationUpdate; } export type CodeMD5 = string; export type CodeSize = number; export type ConfigurationType = "DEFAULT"|"CUSTOM"|string; export interface CreateApplicationRequest { /** * The name of your application (for example, sample-app). */ ApplicationName: ApplicationName; /** * A summary description of the application. */ ApplicationDescription?: ApplicationDescription; /** * The runtime environment for the application (SQL-1.0 or JAVA-8-FLINK-1.5). */ RuntimeEnvironment: RuntimeEnvironment; /** * The IAM role used by the application to access Kinesis data streams, Kinesis Data Firehose delivery streams, Amazon S3 objects, and other external resources. */ ServiceExecutionRole: RoleARN; /** * Use this parameter to configure the application. */ ApplicationConfiguration?: ApplicationConfiguration; /** * Use this parameter to configure an Amazon CloudWatch log stream to monitor application configuration errors. */ CloudWatchLoggingOptions?: CloudWatchLoggingOptions; } export interface CreateApplicationResponse { /** * In response to your CreateApplication request, Kinesis Data Analytics returns a response with details of the application it created. */ ApplicationDetail: ApplicationDetail; } export interface CreateApplicationSnapshotRequest { /** * The name of an existing application */ ApplicationName: ApplicationName; /** * An identifier for the application snapshot. */ SnapshotName: SnapshotName; } export interface CreateApplicationSnapshotResponse { } export interface DeleteApplicationCloudWatchLoggingOptionRequest { /** * The application name. */ ApplicationName: ApplicationName; /** * The version ID of the application. You can retrieve the application version ID using DescribeApplication. */ CurrentApplicationVersionId: ApplicationVersionId; /** * The CloudWatchLoggingOptionId of the Amazon CloudWatch logging option to delete. You can get the CloudWatchLoggingOptionId by using the DescribeApplication operation. */ CloudWatchLoggingOptionId: Id; } export interface DeleteApplicationCloudWatchLoggingOptionResponse { /** * The application's Amazon Resource Name (ARN). */ ApplicationARN?: ResourceARN; /** * The version ID of the application. Kinesis Data Analytics updates the ApplicationVersionId each time you change the CloudWatch logging options. */ ApplicationVersionId?: ApplicationVersionId; /** * The descriptions of the remaining CloudWatch logging options for the application. */ CloudWatchLoggingOptionDescriptions?: CloudWatchLoggingOptionDescriptions; } export interface DeleteApplicationInputProcessingConfigurationRequest { /** * The name of the application. */ ApplicationName: ApplicationName; /** * The 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. */ CurrentApplicationVersionId: ApplicationVersionId; /** * 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. */ InputId: Id; } export interface DeleteApplicationInputProcessingConfigurationResponse { /** * The Amazon Resource Name (ARN) of the application. */ ApplicationARN?: ResourceARN; /** * The current application version ID. */ ApplicationVersionId?: ApplicationVersionId; } export interface DeleteApplicationOutputRequest { /** * The application name. */ ApplicationName: ApplicationName; /** * The 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. */ CurrentApplicationVersionId: ApplicationVersionId; /** * 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. */ OutputId: Id; } export interface DeleteApplicationOutputResponse { /** * The application Amazon Resource Name (ARN). */ ApplicationARN?: ResourceARN; /** * The current application version ID. */ ApplicationVersionId?: ApplicationVersionId; } export interface DeleteApplicationReferenceDataSourceRequest { /** * The name of an existing application. */ ApplicationName: ApplicationName; /** * The current 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. */ CurrentApplicationVersionId: ApplicationVersionId; /** * The ID of the reference data source. When you add a reference data source to your application using the AddApplicationReferenceDataSource, Kinesis Data Analytics assigns an ID. You can use the DescribeApplication operation to get the reference ID. */ ReferenceId: Id; } export interface DeleteApplicationReferenceDataSourceResponse { /** * The application Amazon Resource Name (ARN). */ ApplicationARN?: ResourceARN; /** * The updated version ID of the application. */ ApplicationVersionId?: ApplicationVersionId; } export interface DeleteApplicationRequest { /** * The name of the application to delete. */ ApplicationName: ApplicationName; /** * Use the DescribeApplication operation to get this value. */ CreateTimestamp: Timestamp; } export interface DeleteApplicationResponse { } export interface DeleteApplicationSnapshotRequest { /** * The name of an existing application. */ ApplicationName: ApplicationName; /** * The identifier for the snapshot delete. */ SnapshotName: SnapshotName; /** * The creation timestamp of the application snapshot to delete. You can retrieve this value using or . */ SnapshotCreationTimestamp: Timestamp; } export interface DeleteApplicationSnapshotResponse { } export interface DescribeApplicationRequest { /** * The name of the application. */ ApplicationName: ApplicationName; /** * Displays verbose information about a Kinesis Data Analytics application, including the application's job plan. */ IncludeAdditionalDetails?: BooleanObject; } export interface DescribeApplicationResponse { /** * Provides a description of the application, such as the application's Amazon Resource Name (ARN), status, and latest version. */ ApplicationDetail: ApplicationDetail; } export interface DescribeApplicationSnapshotRequest { /** * The name of an existing application. */ ApplicationName: ApplicationName; /** * The identifier of an application snapshot. You can retrieve this value using . */ SnapshotName: SnapshotName; } export interface DescribeApplicationSnapshotResponse { /** * An object containing information about the application snapshot. */ SnapshotDetails: SnapshotDetails; } export interface DestinationSchema { /** * Specifies the format of the records on the output stream. */ RecordFormatType: RecordFormatType; } export interface DiscoverInputSchemaRequest { /** * The Amazon Resource Name (ARN) of the streaming source. */ ResourceARN?: ResourceARN; /** * The ARN of the role that is used to access the streaming source. */ ServiceExecutionRole: RoleARN; /** * The point at which you want Kinesis Data Analytics to start reading records from the specified streaming source discovery purposes. */ InputStartingPositionConfiguration?: InputStartingPositionConfiguration; /** * Specify this parameter to discover a schema from data in an Amazon S3 object. */ S3Configuration?: S3Configuration; /** * The InputProcessingConfiguration to use to preprocess the records before discovering the schema of the records. */ InputProcessingConfiguration?: InputProcessingConfiguration; } export interface DiscoverInputSchemaResponse { /** * The 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. */ InputSchema?: SourceSchema; /** * An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row). */ ParsedInputRecords?: ParsedInputRecords; /** * The stream data that was modified by the processor specified in the InputProcessingConfiguration parameter. */ ProcessedInputRecords?: ProcessedInputRecords; /** * The raw stream data that was sampled to infer the schema. */ RawInputRecords?: RawInputRecords; } export interface EnvironmentProperties { /** * Describes the execution property groups. */ PropertyGroups: PropertyGroups; } export interface EnvironmentPropertyDescriptions { /** * Describes the execution property groups. */ PropertyGroupDescriptions?: PropertyGroups; } export interface EnvironmentPropertyUpdates { /** * Describes updates to the execution property groups. */ PropertyGroups: PropertyGroups; } export type FileKey = string; export interface FlinkApplicationConfiguration { /** * Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation. */ CheckpointConfiguration?: CheckpointConfiguration; /** * Describes configuration parameters for Amazon CloudWatch logging for an application. */ MonitoringConfiguration?: MonitoringConfiguration; /** * Describes parameters for how an application executes multiple tasks simultaneously. */ ParallelismConfiguration?: ParallelismConfiguration; } export interface FlinkApplicationConfigurationDescription { /** * Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. */ CheckpointConfigurationDescription?: CheckpointConfigurationDescription; /** * Describes configuration parameters for Amazon CloudWatch logging for an application. */ MonitoringConfigurationDescription?: MonitoringConfigurationDescription; /** * Describes parameters for how an application executes multiple tasks simultaneously. */ ParallelismConfigurationDescription?: ParallelismConfigurationDescription; /** * The job plan for an application. For more information about the job plan, see Jobs and Scheduling in the Apache Flink Documentation. To retrieve the job plan for the application, use the DescribeApplicationRequest$IncludeAdditionalDetails parameter of the DescribeApplication operation. */ JobPlanDescription?: JobPlanDescription; } export interface FlinkApplicationConfigurationUpdate { /** * Describes updates to an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. */ CheckpointConfigurationUpdate?: CheckpointConfigurationUpdate; /** * Describes updates to the configuration parameters for Amazon CloudWatch logging for an application. */ MonitoringConfigurationUpdate?: MonitoringConfigurationUpdate; /** * Describes updates to the parameters for how an application executes multiple tasks simultaneously. */ ParallelismConfigurationUpdate?: ParallelismConfigurationUpdate; } export type Id = string; export type InAppStreamName = string; export type InAppStreamNames = InAppStreamName[]; export type InAppTableName = string; export interface Input { /** * The name prefix to use when creating an in-application stream. Suppose that you specify a prefix "MyInApplicationStream." Kinesis Data Analytics then creates one or more (as per the InputParallelism count you specified) in-application streams with the names "MyInApplicationStream_001," "MyInApplicationStream_002," and so on. */ NamePrefix: InAppStreamName; /** * 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. */ InputProcessingConfiguration?: InputProcessingConfiguration; /** * If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN). */ KinesisStreamsInput?: KinesisStreamsInput; /** * If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN. */ KinesisFirehoseInput?: KinesisFirehoseInput; /** * Describes the number of in-application streams to create. */ InputParallelism?: InputParallelism; /** * 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. */ InputSchema: SourceSchema; } export interface InputDescription { /** * The input ID that is associated with the application input. This is the ID that Kinesis Data Analytics assigns to each input configuration that you add to your application. */ InputId?: Id; /** * The in-application name prefix. */ NamePrefix?: InAppStreamName; /** * Returns the in-application stream names that are mapped to the stream source. */ InAppStreamNames?: InAppStreamNames; /** * The description of the preprocessor that executes on records in this input before the application's code is run. */ InputProcessingConfigurationDescription?: InputProcessingConfigurationDescription; /** * If a Kinesis data stream is configured as a streaming source, provides the Kinesis data stream's Amazon Resource Name (ARN). */ KinesisStreamsInputDescription?: KinesisStreamsInputDescription; /** * If a Kinesis Data Firehose delivery stream is configured as a streaming source, provides the delivery stream's ARN. */ KinesisFirehoseInputDescription?: KinesisFirehoseInputDescription; /** * 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. */ InputSchema?: SourceSchema; /** * Describes the configured parallelism (number of in-application streams mapped to the streaming source). */ InputParallelism?: InputParallelism; /** * The point at which the application is configured to read from the input stream. */ InputStartingPositionConfiguration?: InputStartingPositionConfiguration; } export type InputDescriptions = InputDescription[]; export interface InputLambdaProcessor { /** * The ARN of the AWS Lambda function that operates on records in the stream. */ ResourceARN: ResourceARN; } export interface InputLambdaProcessorDescription { /** * The ARN of the AWS Lambda function that is used to preprocess the records in the stream. */ ResourceARN: ResourceARN; /** * The ARN of the IAM role that is used to access the AWS Lambda function. Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role. */ RoleARN?: RoleARN; } export interface InputLambdaProcessorUpdate { /** * The Amazon Resource Name (ARN) of the new AWS Lambda function that is used to preprocess the records in the stream. */ ResourceARNUpdate: ResourceARN; } export interface InputParallelism { /** * The number of in-application streams to create. */ Count?: InputParallelismCount; } export type InputParallelismCount = number; export interface InputParallelismUpdate { /** * The number of in-application streams to create for the specified streaming source. */ CountUpdate: InputParallelismCount; } export interface InputProcessingConfiguration { /** * The InputLambdaProcessor that is used to preprocess the records in the stream before being processed by your application code. */ InputLambdaProcessor: InputLambdaProcessor; } export interface InputProcessingConfigurationDescription { /** * Provides configuration information about the associated InputLambdaProcessorDescription */ InputLambdaProcessorDescription?: InputLambdaProcessorDescription; } export interface InputProcessingConfigurationUpdate { /** * Provides update information for an InputLambdaProcessor. */ InputLambdaProcessorUpdate: InputLambdaProcessorUpdate; } export interface InputSchemaUpdate { /** * Specifies the format of the records on the streaming source. */ RecordFormatUpdate?: RecordFormat; /** * Specifies the encoding of the records in the streaming source; for example, UTF-8. */ RecordEncodingUpdate?: RecordEncoding; /** * A list of RecordColumn objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream. */ RecordColumnUpdates?: RecordColumns; } export type InputStartingPosition = "NOW"|"TRIM_HORIZON"|"LAST_STOPPED_POINT"|string; export interface InputStartingPositionConfiguration { /** * The starting position on the stream. NOW - Start reading just after the most recent record in the stream, and start at the request timestamp 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 Data Firehose delivery stream. LAST_STOPPED_POINT - Resume reading from where the application last stopped reading. */ InputStartingPosition?: InputStartingPosition; } export interface InputUpdate { /** * The input ID of the application input to be updated. */ InputId: Id; /** * The name prefix for in-application streams that Kinesis Data Analytics creates for the specific streaming source. */ NamePrefixUpdate?: InAppStreamName; /** * Describes updates to an InputProcessingConfiguration. */ InputProcessingConfigurationUpdate?: InputProcessingConfigurationUpdate; /** * If a Kinesis data stream is the streaming source to be updated, provides an updated stream Amazon Resource Name (ARN). */ KinesisStreamsInputUpdate?: KinesisStreamsInputUpdate; /** * If a Kinesis Data Firehose delivery stream is the streaming source to be updated, provides an updated stream ARN. */ KinesisFirehoseInputUpdate?: KinesisFirehoseInputUpdate; /** * 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. */ InputSchemaUpdate?: InputSchemaUpdate; /** * Describes the parallelism updates (the number of in-application streams Kinesis Data Analytics creates for the specific streaming source). */ InputParallelismUpdate?: InputParallelismUpdate; } export type InputUpdates = InputUpdate[]; export type Inputs = Input[]; export interface JSONMappingParameters { /** * The path to the top-level parent that contains the records. */ RecordRowPath: RecordRowPath; } export type JobPlanDescription = string; export interface KinesisFirehoseInput { /** * The Amazon Resource Name (ARN) of the delivery stream. */ ResourceARN: ResourceARN; } export interface KinesisFirehoseInputDescription { /** * The Amazon Resource Name (ARN) of the delivery stream. */ ResourceARN: ResourceARN; /** * The ARN of the IAM role that Kinesis Data Analytics assumes to access the stream. Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role. */ RoleARN?: RoleARN; } export interface KinesisFirehoseInputUpdate { /** * The Amazon Resource Name (ARN) of the input delivery stream to read. */ ResourceARNUpdate: ResourceARN; } export interface KinesisFirehoseOutput { /** * The ARN of the destination delivery stream to write to. */ ResourceARN: ResourceARN; } export interface KinesisFirehoseOutputDescription { /** * The Amazon Resource Name (ARN) of the delivery stream. */ ResourceARN: ResourceARN; /** * The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream. Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role. */ RoleARN?: RoleARN; } export interface KinesisFirehoseOutputUpdate { /** * The Amazon Resource Name (ARN) of the delivery stream to write to. */ ResourceARNUpdate: ResourceARN; } export interface KinesisStreamsInput { /** * The ARN of the input Kinesis data stream to read. */ ResourceARN: ResourceARN; } export interface KinesisStreamsInputDescription { /** * The Amazon Resource Name (ARN) of the Kinesis data stream. */ ResourceARN: ResourceARN; /** * The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream. Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role. */ RoleARN?: RoleARN; } export interface KinesisStreamsInputUpdate { /** * The Amazon Resource Name (ARN) of the input Kinesis data stream to read. */ ResourceARNUpdate: ResourceARN; } export interface KinesisStreamsOutput { /** * The ARN of the destination Kinesis data stream to write to. */ ResourceARN: ResourceARN; } export interface KinesisStreamsOutputDescription { /** * The Amazon Resource Name (ARN) of the Kinesis data stream. */ ResourceARN: ResourceARN; /** * The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream. Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role. */ RoleARN?: RoleARN; } export interface KinesisStreamsOutputUpdate { /** * The Amazon Resource Name (ARN) of the Kinesis data stream where you want to write the output. */ ResourceARNUpdate: ResourceARN; } export interface LambdaOutput { /** * The Amazon Resource Name (ARN) of the destination Lambda function to write to. */ ResourceARN: ResourceARN; } export interface LambdaOutputDescription { /** * The Amazon Resource Name (ARN) of the destination Lambda function. */ ResourceARN: ResourceARN; /** * The ARN of the IAM role that Kinesis Data Analytics can assume to write to the destination function. Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role. */ RoleARN?: RoleARN; } export interface LambdaOutputUpdate { /** * The Amazon Resource Name (ARN) of the destination AWS Lambda function. */ ResourceARNUpdate: ResourceARN; } export interface ListApplicationSnapshotsRequest { /** * The name of an existing application. */ ApplicationName: ApplicationName; /** * The maximum number of application snapshots to list. */ Limit?: ListSnapshotsInputLimit; /** * Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from. */ NextToken?: NextToken; } export interface ListApplicationSnapshotsResponse { /** * A collection of objects containing information about the application snapshots. */ SnapshotSummaries?: SnapshotSummaries; /** * The token for the next set of results, or null if there are no additional results. */ NextToken?: NextToken; } export type ListApplicationsInputLimit = number; export interface ListApplicationsRequest { /** * The maximum number of applications to list. */ Limit?: ListApplicationsInputLimit; /** * If a previous command returned a pagination token, pass it into this value to retrieve the next set of results. For more information about pagination, see Using the AWS Command Line Interface's Pagination Options. */ NextToken?: ApplicationName; } export interface ListApplicationsResponse { /** * A list of ApplicationSummary objects. */ ApplicationSummaries: ApplicationSummaries; /** * The pagination token for the next set of results, or null if there are no additional results. Pass this token into a subsequent command to retrieve the next set of items For more information about pagination, see Using the AWS Command Line Interface's Pagination Options. */ NextToken?: ApplicationName; } export type ListSnapshotsInputLimit = number; export type LogLevel = "INFO"|"WARN"|"ERROR"|"DEBUG"|string; export type LogStreamARN = string; export interface MappingParameters { /** * Provides additional mapping information when JSON is the record format on the streaming source. */ JSONMappingParameters?: JSONMappingParameters; /** * Provides additional mapping information when the record format uses delimiters (for example, CSV). */ CSVMappingParameters?: CSVMappingParameters; } export type MetricsLevel = "APPLICATION"|"TASK"|"OPERATOR"|"PARALLELISM"|string; export type MinPauseBetweenCheckpoints = number; export interface MonitoringConfiguration { /** * Describes whether to use the default CloudWatch logging configuration for an application. */ ConfigurationType: ConfigurationType; /** * Describes the granularity of the CloudWatch Logs for an application. */ MetricsLevel?: MetricsLevel; /** * Describes the verbosity of the CloudWatch Logs for an application. */ LogLevel?: LogLevel; } export interface MonitoringConfigurationDescription { /** * Describes whether to use the default CloudWatch logging configuration for an application. */ ConfigurationType?: ConfigurationType; /** * Describes the granularity of the CloudWatch Logs for an application. */ MetricsLevel?: MetricsLevel; /** * Describes the verbosity of the CloudWatch Logs for an application. */ LogLevel?: LogLevel; } export interface MonitoringConfigurationUpdate { /** * Describes updates to whether to use the default CloudWatch logging configuration for an application. */ ConfigurationTypeUpdate?: ConfigurationType; /** * Describes updates to the granularity of the CloudWatch Logs for an application. */ MetricsLevelUpdate?: MetricsLevel; /** * Describes updates to the verbosity of the CloudWatch Logs for an application. */ LogLevelUpdate?: LogLevel; } export type NextToken = string; export type ObjectVersion = string; export interface Output { /** * The name of the in-application stream. */ Name: InAppStreamName; /** * Identifies an Amazon Kinesis data stream as the destination. */ KinesisStreamsOutput?: KinesisStreamsOutput; /** * Identifies an Amazon Kinesis Data Firehose delivery stream as the destination. */ KinesisFirehoseOutput?: KinesisFirehoseOutput; /** * Identifies an AWS Lambda function as the destination. */ LambdaOutput?: LambdaOutput; /** * Describes the data format when records are written to the destination. */ DestinationSchema: DestinationSchema; } export interface OutputDescription { /** * A unique identifier for the output configuration. */ OutputId?: Id; /** * The name of the in-application stream that is configured as output. */ Name?: InAppStreamName; /** * Describes the Kinesis data stream that is configured as the destination where output is written. */ KinesisStreamsOutputDescription?: KinesisStreamsOutputDescription; /** * Describes the Kinesis Data Firehose delivery stream that is configured as the destination where output is written. */ KinesisFirehoseOutputDescription?: KinesisFirehoseOutputDescription; /** * Describes the Lambda function that is configured as the destination where output is written. */ LambdaOutputDescription?: LambdaOutputDescription; /** * The data format used for writing data to the destination. */ DestinationSchema?: DestinationSchema; } export type OutputDescriptions = OutputDescription[]; export interface OutputUpdate { /** * Identifies the specific output configuration that you want to update. */ OutputId: Id; /** * 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. */ NameUpdate?: InAppStreamName; /** * Describes a Kinesis data stream as the destination for the output. */ KinesisStreamsOutputUpdate?: KinesisStreamsOutputUpdate; /** * Describes a Kinesis Data Firehose delivery stream as the destination for the output. */ KinesisFirehoseOutputUpdate?: KinesisFirehoseOutputUpdate; /** * Describes an AWS Lambda function as the destination for the output. */ LambdaOutputUpdate?: LambdaOutputUpdate; /** * Describes the data format when records are written to the destination. */ DestinationSchemaUpdate?: DestinationSchema; } export type OutputUpdates = OutputUpdate[]; export type Outputs = Output[]; export type Parallelism = number; export interface ParallelismConfiguration { /** * Describes whether the application uses the default parallelism for the Kinesis Data Analytics service. */ ConfigurationType: ConfigurationType; /** * Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform. The Kinesis Data Analytics service can increase this number automatically if ParallelismConfiguration$AutoScalingEnabled is set to true. */ Parallelism?: Parallelism; /** * Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application. For more information about KPUs, see Amazon Kinesis Data Analytics Pricing. */ ParallelismPerKPU?: ParallelismPerKPU; /** * Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput. */ AutoScalingEnabled?: BooleanObject; } export interface ParallelismConfigurationDescription { /** * Describes whether the application uses the default parallelism for the Kinesis Data Analytics service. */ ConfigurationType?: ConfigurationType; /** * Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform. */ Parallelism?: Parallelism; /** * Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application. */ ParallelismPerKPU?: ParallelismPerKPU; /** * Describes the current number of parallel tasks that a Java-based Kinesis Data Analytics application can perform. */ CurrentParallelism?: Parallelism; /** * Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput. */ AutoScalingEnabled?: BooleanObject; } export interface ParallelismConfigurationUpdate { /** * Describes updates to whether the application uses the default parallelism for the Kinesis Data Analytics service, or if a custom parallelism is used. */ ConfigurationTypeUpdate?: ConfigurationType; /** * Describes updates to the initial number of parallel tasks an application can perform. */ ParallelismUpdate?: Parallelism; /** * Describes updates to the number of parallel tasks an application can perform per Kinesis Processing Unit (KPU) used by the application. */ ParallelismPerKPUUpdate?: ParallelismPerKPU; /** * Describes updates to whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput. */ AutoScalingEnabledUpdate?: BooleanObject; } export type ParallelismPerKPU = number; export type ParsedInputRecord = ParsedInputRecordField[]; export type ParsedInputRecordField = string; export type ParsedInputRecords = ParsedInputRecord[]; export type ProcessedInputRecord = string; export type ProcessedInputRecords = ProcessedInputRecord[]; export interface PropertyGroup { /** * Describes the key of an application execution property key-value pair. */ PropertyGroupId: Id; /** * Describes the value of an application execution property key-value pair. */ PropertyMap: PropertyMap; } export type PropertyGroups = PropertyGroup[]; export type PropertyKey = string; export type PropertyMap = {[key: string]: PropertyValue}; export type PropertyValue = string; export type RawInputRecord = string; export type RawInputRecords = RawInputRecord[]; export interface RecordColumn { /** * The name of the column that is created in the in-application input stream or reference table. */ Name: RecordColumnName; /** * A reference to the data element in the streaming input of the reference data source. */ Mapping?: RecordColumnMapping; /** * The type of column created in the in-application input stream or reference table. */ SqlType: RecordColumnSqlType; } export type RecordColumnDelimiter = string; export type RecordColumnMapping = string; export type RecordColumnName = string; export type RecordColumnSqlType = string; export type RecordColumns = RecordColumn[]; export type RecordEncoding = string; export interface RecordFormat { /** * The type of record format. */ RecordFormatType: RecordFormatType; /** * When you configure 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. */ MappingParameters?: MappingParameters; } export type RecordFormatType = "JSON"|"CSV"|string; export type RecordRowDelimiter = string; export type RecordRowPath = string; export interface ReferenceDataSource { /** * The name of the in-application table to create. */ TableName: InAppTableName; /** * Identifies the S3 bucket and object that contains the reference data. A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application. */ S3ReferenceDataSource?: S3ReferenceDataSource; /** * 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. */ ReferenceSchema: SourceSchema; } export interface ReferenceDataSourceDescription { /** * The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the reference data source to your application using the CreateApplication or UpdateApplication operation. */ ReferenceId: Id; /** * The in-application table name created by the specific reference data source configuration. */ TableName: InAppTableName; /** * Provides the Amazon S3 bucket name, the object key name that contains the reference data. */ S3ReferenceDataSourceDescription: S3ReferenceDataSourceDescription; /** * 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. */ ReferenceSchema?: SourceSchema; } export type ReferenceDataSourceDescriptions = ReferenceDataSourceDescription[]; export interface ReferenceDataSourceUpdate { /** * The ID of the reference data source that is being updated. You can use the DescribeApplication operation to get this value. */ ReferenceId: Id; /** * The in-application table name that is created by this update. */ TableNameUpdate?: InAppTableName; /** * Describes the S3 bucket name, object key name, and IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf and populate the in-application reference table. */ S3ReferenceDataSourceUpdate?: S3ReferenceDataSourceUpdate; /** * 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. */ ReferenceSchemaUpdate?: SourceSchema; } export type ReferenceDataSourceUpdates = ReferenceDataSourceUpdate[]; export type ReferenceDataSources = ReferenceDataSource[]; export type ResourceARN = string; export type RoleARN = string; export interface RunConfiguration { /** * Describes the starting parameters for an SQL-based Kinesis Data Analytics application. */ SqlRunConfigurations?: SqlRunConfigurations; /** * Describes the restore behavior of a restarting application. */ ApplicationRestoreConfiguration?: ApplicationRestoreConfiguration; } export interface RunConfigurationDescription { /** * Describes the restore behavior of a restarting application. */ ApplicationRestoreConfigurationDescription?: ApplicationRestoreConfiguration; } export interface RunConfigurationUpdate { /** * Describes updates to the restore behavior of a restarting application. */ ApplicationRestoreConfiguration?: ApplicationRestoreConfiguration; } export type RuntimeEnvironment = "SQL-1_0"|"FLINK-1_6"|string; export interface S3ApplicationCodeLocationDescription { /** * The Amazon Resource Name (ARN) for the S3 bucket containing the application code. */ BucketARN: BucketARN; /** * The file key for the object containing the application code. */ FileKey: FileKey; /** * The version of the object containing the application code. */ ObjectVersion?: ObjectVersion; } export interface S3Configuration { /** * The ARN of the S3 bucket that contains the data. */ BucketARN: BucketARN; /** * The name of the object that contains the data. */ FileKey: FileKey; } export interface S3ContentLocation { /** * The Amazon Resource Name (ARN) for the S3 bucket containing the application code. */ BucketARN: BucketARN; /** * The file key for the object containing the application code. */ FileKey: FileKey; /** * The version of the object containing the application code. */ ObjectVersion?: ObjectVersion; } export interface S3ContentLocationUpdate { /** * The new Amazon Resource Name (ARN) for the S3 bucket containing the application code. */ BucketARNUpdate?: BucketARN; /** * The new file key for the object containing the application code. */ FileKeyUpdate?: FileKey; /** * The new version of the object containing the application code. */ ObjectVersionUpdate?: ObjectVersion; } export interface S3ReferenceDataSource { /** * The Amazon Resource Name (ARN) of the S3 bucket. */ BucketARN?: BucketARN; /** * The object key name containing the reference data. */ FileKey?: FileKey; } export interface S3ReferenceDataSourceDescription { /** * The Amazon Resource Name (ARN) of the S3 bucket. */ BucketARN: BucketARN; /** * Amazon S3 object key name. */ FileKey: FileKey; /** * The ARN of the IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table. Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role. */ ReferenceRoleARN?: RoleARN; } export interface S3ReferenceDataSourceUpdate { /** * The Amazon Resource Name (ARN) of the S3 bucket. */ BucketARNUpdate?: BucketARN; /** * The object key name. */ FileKeyUpdate?: FileKey; } export interface SnapshotDetails { /** * The identifier for the application snapshot. */ SnapshotName: SnapshotName; /** * The status of the application snapshot. */ SnapshotStatus: SnapshotStatus; /** * The current application version ID when the snapshot was created. */ ApplicationVersionId: ApplicationVersionId; /** * The timestamp of the application snapshot. */ SnapshotCreationTimestamp?: Timestamp; } export type SnapshotName = string; export type SnapshotStatus = "CREATING"|"READY"|"DELETING"|"FAILED"|string; export type SnapshotSummaries = SnapshotDetails[]; export interface SourceSchema { /** * Specifies the format of the records on the streaming source. */ RecordFormat: RecordFormat; /** * Specifies the encoding of the records in the streaming source. For example, UTF-8. */ RecordEncoding?: RecordEncoding; /** * A list of RecordColumn objects. */ RecordColumns: RecordColumns; } export interface SqlApplicationConfiguration { /** * The array of Input objects describing the input streams used by the application. */ Inputs?: Inputs; /** * The array of Output objects describing the destination streams used by the application. */ Outputs?: Outputs; /** * The array of ReferenceDataSource objects describing the reference data sources used by the application. */ ReferenceDataSources?: ReferenceDataSources; } export interface SqlApplicationConfigurationDescription { /** * The array of InputDescription objects describing the input streams used by the application. */ InputDescriptions?: InputDescriptions; /** * The array of OutputDescription objects describing the destination streams used by the application. */ OutputDescriptions?: OutputDescriptions; /** * The array of ReferenceDataSourceDescription objects describing the reference data sources used by the application. */ ReferenceDataSourceDescriptions?: ReferenceDataSourceDescriptions; } export interface SqlApplicationConfigurationUpdate { /** * The array of InputUpdate objects describing the new input streams used by the application. */ InputUpdates?: InputUpdates; /** * The array of OutputUpdate objects describing the new destination streams used by the application. */ OutputUpdates?: OutputUpdates; /** * The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by the application. */ ReferenceDataSourceUpdates?: ReferenceDataSourceUpdates; } export interface SqlRunConfiguration { /** * The input source ID. You can get this ID by calling the DescribeApplication operation. */ InputId: Id; /** * The point at which you want the application to start processing records from the streaming source. */ InputStartingPositionConfiguration: InputStartingPositionConfiguration; } export type SqlRunConfigurations = SqlRunConfiguration[]; export interface StartApplicationRequest { /** * The name of the application. */ ApplicationName: ApplicationName; /** * Identifies the run configuration (start parameters) of a Kinesis Data Analytics application. */ RunConfiguration: RunConfiguration; } export interface StartApplicationResponse { } export interface StopApplicationRequest { /** * The name of the running application to stop. */ ApplicationName: ApplicationName; } export interface StopApplicationResponse { } export type TextContent = string; export type Timestamp = Date; export interface UpdateApplicationRequest { /** * The name of the application to update. */ ApplicationName: ApplicationName; /** * The current application version ID. You can retrieve the application version ID using DescribeApplication. */ CurrentApplicationVersionId: ApplicationVersionId; /** * Describes application configuration updates. */ ApplicationConfigurationUpdate?: ApplicationConfigurationUpdate; /** * Describes updates to the service execution role. */ ServiceExecutionRoleUpdate?: RoleARN; /** * Describes updates to the application's starting parameters. */ RunConfigurationUpdate?: RunConfigurationUpdate; /** * Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption. */ CloudWatchLoggingOptionUpdates?: CloudWatchLoggingOptionUpdates; } export interface UpdateApplicationResponse { /** * Describes application updates. */ ApplicationDetail: ApplicationDetail; } export type ZipFileContent = Buffer|Uint8Array|Blob|string; /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ export type apiVersion = "2018-05-23"|"latest"|string; export interface ClientApiVersions { /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ apiVersion?: apiVersion; } export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; /** * Contains interfaces for use with the KinesisAnalyticsV2 client. */ export import Types = KinesisAnalyticsV2; } export = KinesisAnalyticsV2;