UNPKG

aws-sdk

Version:
875 lines (874 loc) • 91.1 kB
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<KinesisAnalyticsV2.Types.AddApplicationCloudWatchLoggingOptionResponse, AWSError>; /** * Adds an Amazon CloudWatch log stream to monitor application configuration errors. */ addApplicationCloudWatchLoggingOption(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.AddApplicationCloudWatchLoggingOptionResponse) => void): Request<KinesisAnalyticsV2.Types.AddApplicationCloudWatchLoggingOptionResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.AddApplicationInputResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.AddApplicationInputResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.AddApplicationInputProcessingConfigurationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.AddApplicationInputProcessingConfigurationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.AddApplicationOutputResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.AddApplicationOutputResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.AddApplicationReferenceDataSourceResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.AddApplicationReferenceDataSourceResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.CreateApplicationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.CreateApplicationResponse, AWSError>; /** * Creates a snapshot of the application's state data. */ createApplicationSnapshot(params: KinesisAnalyticsV2.Types.CreateApplicationSnapshotRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.CreateApplicationSnapshotResponse) => void): Request<KinesisAnalyticsV2.Types.CreateApplicationSnapshotResponse, AWSError>; /** * Creates a snapshot of the application's state data. */ createApplicationSnapshot(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.CreateApplicationSnapshotResponse) => void): Request<KinesisAnalyticsV2.Types.CreateApplicationSnapshotResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.DeleteApplicationResponse, AWSError>; /** * Deletes the specified application. Kinesis Data Analytics halts application execution and deletes the application. */ deleteApplication(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationResponse) => void): Request<KinesisAnalyticsV2.Types.DeleteApplicationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.DeleteApplicationCloudWatchLoggingOptionResponse, AWSError>; /** * Deletes an Amazon CloudWatch log stream from an Amazon Kinesis Data Analytics application. */ deleteApplicationCloudWatchLoggingOption(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationCloudWatchLoggingOptionResponse) => void): Request<KinesisAnalyticsV2.Types.DeleteApplicationCloudWatchLoggingOptionResponse, AWSError>; /** * Deletes an InputProcessingConfiguration from an input. */ deleteApplicationInputProcessingConfiguration(params: KinesisAnalyticsV2.Types.DeleteApplicationInputProcessingConfigurationRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationInputProcessingConfigurationResponse) => void): Request<KinesisAnalyticsV2.Types.DeleteApplicationInputProcessingConfigurationResponse, AWSError>; /** * Deletes an InputProcessingConfiguration from an input. */ deleteApplicationInputProcessingConfiguration(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationInputProcessingConfigurationResponse) => void): Request<KinesisAnalyticsV2.Types.DeleteApplicationInputProcessingConfigurationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.DeleteApplicationOutputResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.DeleteApplicationOutputResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.DeleteApplicationReferenceDataSourceResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.DeleteApplicationReferenceDataSourceResponse, AWSError>; /** * Deletes a snapshot of application state. */ deleteApplicationSnapshot(params: KinesisAnalyticsV2.Types.DeleteApplicationSnapshotRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationSnapshotResponse) => void): Request<KinesisAnalyticsV2.Types.DeleteApplicationSnapshotResponse, AWSError>; /** * Deletes a snapshot of application state. */ deleteApplicationSnapshot(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DeleteApplicationSnapshotResponse) => void): Request<KinesisAnalyticsV2.Types.DeleteApplicationSnapshotResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.DescribeApplicationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.DescribeApplicationResponse, AWSError>; /** * Returns information about a snapshot of application state data. */ describeApplicationSnapshot(params: KinesisAnalyticsV2.Types.DescribeApplicationSnapshotRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DescribeApplicationSnapshotResponse) => void): Request<KinesisAnalyticsV2.Types.DescribeApplicationSnapshotResponse, AWSError>; /** * Returns information about a snapshot of application state data. */ describeApplicationSnapshot(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.DescribeApplicationSnapshotResponse) => void): Request<KinesisAnalyticsV2.Types.DescribeApplicationSnapshotResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.DiscoverInputSchemaResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.DiscoverInputSchemaResponse, AWSError>; /** * Lists information about the current application snapshots. */ listApplicationSnapshots(params: KinesisAnalyticsV2.Types.ListApplicationSnapshotsRequest, callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.ListApplicationSnapshotsResponse) => void): Request<KinesisAnalyticsV2.Types.ListApplicationSnapshotsResponse, AWSError>; /** * Lists information about the current application snapshots. */ listApplicationSnapshots(callback?: (err: AWSError, data: KinesisAnalyticsV2.Types.ListApplicationSnapshotsResponse) => void): Request<KinesisAnalyticsV2.Types.ListApplicationSnapshotsResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.ListApplicationsResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.ListApplicationsResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.StartApplicationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.StartApplicationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.StopApplicationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.StopApplicationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.UpdateApplicationResponse, AWSError>; /** * 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<KinesisAnalyticsV2.Types.UpdateApplicationResponse, AWSError>; } 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.