/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the kinesisanalyticsv2-2018-05-23.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.KinesisAnalyticsV2.Model;
namespace Amazon.KinesisAnalyticsV2
{
///
/// Interface for accessing KinesisAnalyticsV2
///
/// Amazon Kinesis Data Analytics is a fully managed service that you can use to process
/// and analyze streaming data using Java, SQL, or Scala. The service enables you to quickly
/// author and run Java, SQL, or Scala code against streaming sources to perform time
/// series analytics, feed real-time dashboards, and create real-time metrics.
///
public partial interface IAmazonKinesisAnalyticsV2 : IAmazonService, IDisposable
{
#region AddApplicationCloudWatchLoggingOption
///
/// Adds an Amazon CloudWatch log stream to monitor application configuration errors.
///
/// Container for the necessary parameters to execute the AddApplicationCloudWatchLoggingOption service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddApplicationCloudWatchLoggingOption service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The user-provided application configuration is not valid.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for AddApplicationCloudWatchLoggingOption Operation
Task AddApplicationCloudWatchLoggingOptionAsync(AddApplicationCloudWatchLoggingOptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AddApplicationInput
///
/// Adds a streaming source to your SQL-based 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.
///
///
/// Container for the necessary parameters to execute the AddApplicationInput service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddApplicationInput service method, as returned by KinesisAnalyticsV2.
///
/// The user-provided application code (query) is not valid. This can be a simple syntax
/// error.
///
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for AddApplicationInput Operation
Task AddApplicationInputAsync(AddApplicationInputRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AddApplicationInputProcessingConfiguration
///
/// Adds an InputProcessingConfiguration to a 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
/// Amazon Lambda.
///
/// Container for the necessary parameters to execute the AddApplicationInputProcessingConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddApplicationInputProcessingConfiguration service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for AddApplicationInputProcessingConfiguration Operation
Task AddApplicationInputProcessingConfigurationAsync(AddApplicationInputProcessingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AddApplicationOutput
///
/// Adds an external destination to your SQL-based 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 Amazon 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.
///
///
/// Container for the necessary parameters to execute the AddApplicationOutput service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddApplicationOutput service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for AddApplicationOutput Operation
Task AddApplicationOutputAsync(AddApplicationOutputRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AddApplicationReferenceDataSource
///
/// Adds a reference data source to an existing SQL-based 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.
///
///
/// Container for the necessary parameters to execute the AddApplicationReferenceDataSource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddApplicationReferenceDataSource service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for AddApplicationReferenceDataSource Operation
Task AddApplicationReferenceDataSourceAsync(AddApplicationReferenceDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AddApplicationVpcConfiguration
///
/// Adds a Virtual Private Cloud (VPC) configuration to the application. Applications
/// can use VPCs to store and access resources securely.
///
///
///
/// Note the following about VPC configurations for Kinesis Data Analytics applications:
///
/// -
///
/// VPC configurations are not supported for SQL applications.
///
///
-
///
/// When a VPC is added to a Kinesis Data Analytics application, the application can no
/// longer be accessed from the Internet directly. To enable Internet access to the application,
/// add an Internet gateway to your VPC.
///
///
///
/// Container for the necessary parameters to execute the AddApplicationVpcConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddApplicationVpcConfiguration service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The user-provided application configuration is not valid.
///
///
/// The specified input parameter value is not valid.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for AddApplicationVpcConfiguration Operation
Task AddApplicationVpcConfigurationAsync(AddApplicationVpcConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateApplication
///
/// Creates a Kinesis Data Analytics application. For information about creating a Kinesis
/// Data Analytics application, see Creating
/// an Application.
///
/// Container for the necessary parameters to execute the CreateApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApplication service method, as returned by KinesisAnalyticsV2.
///
/// The user-provided application code (query) is not valid. This can be a simple syntax
/// error.
///
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The number of allowed resources has been exceeded.
///
///
/// The application is not available for this operation.
///
///
/// Application created with too many tags, or too many tags added to an application.
/// Note that the maximum number of application tags includes system tags. The maximum
/// number of user-defined application tags is 50.
///
///
/// The request was rejected because a specified parameter is not supported or a specified
/// resource is not valid for this operation.
///
/// REST API Reference for CreateApplication Operation
Task CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateApplicationPresignedUrl
///
/// Creates and returns a URL that you can use to connect to an application's extension.
///
///
///
/// The IAM role or user used to call this API defines the permissions to access the extension.
/// After the presigned URL is created, no additional permission is required to access
/// this URL. IAM authorization policies for this API are also enforced for every HTTP
/// request that attempts to connect to the extension.
///
///
///
/// You control the amount of time that the URL will be valid using the SessionExpirationDurationInSeconds
/// parameter. If you do not provide this parameter, the returned URL is valid for twelve
/// hours.
///
///
///
/// The URL that you get from a call to CreateApplicationPresignedUrl must be used within
/// 3 minutes to be valid. If you first try to use the URL after the 3-minute limit expires,
/// the service returns an HTTP 403 Forbidden error.
///
///
///
/// Container for the necessary parameters to execute the CreateApplicationPresignedUrl service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApplicationPresignedUrl service method, as returned by KinesisAnalyticsV2.
///
/// The specified input parameter value is not valid.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for CreateApplicationPresignedUrl Operation
Task CreateApplicationPresignedUrlAsync(CreateApplicationPresignedUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateApplicationSnapshot
///
/// Creates a snapshot of the application's state data.
///
/// Container for the necessary parameters to execute the CreateApplicationSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApplicationSnapshot service method, as returned by KinesisAnalyticsV2.
///
/// The user-provided application configuration is not valid.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The number of allowed resources has been exceeded.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
///
/// The request was rejected because a specified parameter is not supported or a specified
/// resource is not valid for this operation.
///
/// REST API Reference for CreateApplicationSnapshot Operation
Task CreateApplicationSnapshotAsync(CreateApplicationSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplication
///
/// Deletes the specified application. Kinesis Data Analytics halts application execution
/// and deletes the application.
///
/// Container for the necessary parameters to execute the DeleteApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplication service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The user-provided application configuration is not valid.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for DeleteApplication Operation
Task DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplicationCloudWatchLoggingOption
///
/// Deletes an Amazon CloudWatch log stream from an Kinesis Data Analytics application.
///
/// Container for the necessary parameters to execute the DeleteApplicationCloudWatchLoggingOption service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplicationCloudWatchLoggingOption service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The user-provided application configuration is not valid.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for DeleteApplicationCloudWatchLoggingOption Operation
Task DeleteApplicationCloudWatchLoggingOptionAsync(DeleteApplicationCloudWatchLoggingOptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplicationInputProcessingConfiguration
///
/// Deletes an InputProcessingConfiguration from an input.
///
/// Container for the necessary parameters to execute the DeleteApplicationInputProcessingConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplicationInputProcessingConfiguration service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for DeleteApplicationInputProcessingConfiguration Operation
Task DeleteApplicationInputProcessingConfigurationAsync(DeleteApplicationInputProcessingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplicationOutput
///
/// Deletes the output destination configuration from your SQL-based 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.
///
/// Container for the necessary parameters to execute the DeleteApplicationOutput service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplicationOutput service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for DeleteApplicationOutput Operation
Task DeleteApplicationOutputAsync(DeleteApplicationOutputRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplicationReferenceDataSource
///
/// Deletes a reference data source configuration from the specified SQL-based 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.
///
///
///
/// Container for the necessary parameters to execute the DeleteApplicationReferenceDataSource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplicationReferenceDataSource service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for DeleteApplicationReferenceDataSource Operation
Task DeleteApplicationReferenceDataSourceAsync(DeleteApplicationReferenceDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplicationSnapshot
///
/// Deletes a snapshot of application state.
///
/// Container for the necessary parameters to execute the DeleteApplicationSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplicationSnapshot service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
///
/// The request was rejected because a specified parameter is not supported or a specified
/// resource is not valid for this operation.
///
/// REST API Reference for DeleteApplicationSnapshot Operation
Task DeleteApplicationSnapshotAsync(DeleteApplicationSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplicationVpcConfiguration
///
/// Removes a VPC configuration from a Kinesis Data Analytics application.
///
/// Container for the necessary parameters to execute the DeleteApplicationVpcConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplicationVpcConfiguration service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The user-provided application configuration is not valid.
///
///
/// The specified input parameter value is not valid.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for DeleteApplicationVpcConfiguration Operation
Task DeleteApplicationVpcConfigurationAsync(DeleteApplicationVpcConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeApplication
///
/// Returns information about a specific Kinesis Data Analytics application.
///
///
///
/// If you want to retrieve a list of all applications in your account, use the ListApplications
/// operation.
///
///
/// Container for the necessary parameters to execute the DescribeApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeApplication service method, as returned by KinesisAnalyticsV2.
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for DescribeApplication Operation
Task DescribeApplicationAsync(DescribeApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeApplicationSnapshot
///
/// Returns information about a snapshot of application state data.
///
/// Container for the necessary parameters to execute the DescribeApplicationSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeApplicationSnapshot service method, as returned by KinesisAnalyticsV2.
///
/// The specified input parameter value is not valid.
///
///
/// Specified application can't be found.
///
///
/// The request was rejected because a specified parameter is not supported or a specified
/// resource is not valid for this operation.
///
/// REST API Reference for DescribeApplicationSnapshot Operation
Task DescribeApplicationSnapshotAsync(DescribeApplicationSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeApplicationVersion
///
/// Provides a detailed description of a specified version of the application. To see
/// a list of all the versions of an application, invoke the ListApplicationVersions
/// operation.
///
///
///
/// This operation is supported only for Amazon Kinesis Data Analytics for Apache Flink.
///
///
///
/// Container for the necessary parameters to execute the DescribeApplicationVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeApplicationVersion service method, as returned by KinesisAnalyticsV2.
///
/// The specified input parameter value is not valid.
///
///
/// Specified application can't be found.
///
///
/// The request was rejected because a specified parameter is not supported or a specified
/// resource is not valid for this operation.
///
/// REST API Reference for DescribeApplicationVersion Operation
Task DescribeApplicationVersionAsync(DescribeApplicationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DiscoverInputSchema
///
/// Infers a schema for a SQL-based 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.
///
///
/// Container for the necessary parameters to execute the DiscoverInputSchema service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DiscoverInputSchema service method, as returned by KinesisAnalyticsV2.
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// Discovery failed to get a record from the streaming source because of the Kinesis
/// Streams ProvisionedThroughputExceededException
. For more information,
/// see GetRecords
/// in the Amazon Kinesis Streams API Reference.
///
///
/// The service cannot complete the request.
///
///
/// The data format is not valid. Kinesis Data Analytics cannot detect the schema for
/// the given streaming source.
///
///
/// The request was rejected because a specified parameter is not supported or a specified
/// resource is not valid for this operation.
///
/// REST API Reference for DiscoverInputSchema Operation
Task DiscoverInputSchemaAsync(DiscoverInputSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListApplications
///
/// Returns a list of 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.
///
///
/// Container for the necessary parameters to execute the ListApplications service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApplications service method, as returned by KinesisAnalyticsV2.
///
/// The request JSON is not valid for the operation.
///
/// REST API Reference for ListApplications Operation
Task ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListApplicationSnapshots
///
/// Lists information about the current application snapshots.
///
/// Container for the necessary parameters to execute the ListApplicationSnapshots service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApplicationSnapshots service method, as returned by KinesisAnalyticsV2.
///
/// The specified input parameter value is not valid.
///
///
/// The request was rejected because a specified parameter is not supported or a specified
/// resource is not valid for this operation.
///
/// REST API Reference for ListApplicationSnapshots Operation
Task ListApplicationSnapshotsAsync(ListApplicationSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListApplicationVersions
///
/// Lists all the versions for the specified application, including versions that were
/// rolled back. The response also includes a summary of the configuration associated
/// with each version.
///
///
///
/// To get the complete description of a specific application version, invoke the DescribeApplicationVersion
/// operation.
///
///
///
/// This operation is supported only for Amazon Kinesis Data Analytics for Apache Flink.
///
///
///
/// Container for the necessary parameters to execute the ListApplicationVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApplicationVersions service method, as returned by KinesisAnalyticsV2.
///
/// The specified input parameter value is not valid.
///
///
/// Specified application can't be found.
///
///
/// The request was rejected because a specified parameter is not supported or a specified
/// resource is not valid for this operation.
///
/// REST API Reference for ListApplicationVersions Operation
Task ListApplicationVersionsAsync(ListApplicationVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Retrieves the list of key-value tags assigned to the application. For more information,
/// see Using
/// Tagging.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// Specified application can't be found.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RollbackApplication
///
/// Reverts the application to the previous running version. You can roll back an application
/// if you suspect it is stuck in a transient status.
///
///
///
/// You can roll back an application only if it is in the UPDATING
or AUTOSCALING
/// status.
///
///
///
/// When you rollback an application, it loads state data from the last successful snapshot.
/// If the application has no snapshots, Kinesis Data Analytics rejects the rollback request.
///
///
///
/// This action is not supported for Kinesis Data Analytics for SQL applications.
///
///
/// Container for the necessary parameters to execute the RollbackApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RollbackApplication service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
///
/// The request was rejected because a specified parameter is not supported or a specified
/// resource is not valid for this operation.
///
/// REST API Reference for RollbackApplication Operation
Task RollbackApplicationAsync(RollbackApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartApplication
///
/// Starts the specified Kinesis Data Analytics application. After creating an application,
/// you must exclusively call this operation to start your application.
///
/// Container for the necessary parameters to execute the StartApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartApplication service method, as returned by KinesisAnalyticsV2.
///
/// The user-provided application configuration is not valid.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for StartApplication Operation
Task StartApplicationAsync(StartApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopApplication
///
/// Stops the application from processing data. You can stop an application only if it
/// is in the running status, unless you set the Force
parameter to true
.
///
///
///
/// You can use the DescribeApplication operation to find the application status.
///
///
///
///
/// Kinesis Data Analytics takes a snapshot when the application is stopped, unless Force
/// is set to true
.
///
///
/// Container for the necessary parameters to execute the StopApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopApplication service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The user-provided application configuration is not valid.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for StopApplication Operation
Task StopApplicationAsync(StopApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Adds one or more key-value tags to a Kinesis Data Analytics application. Note that
/// the maximum number of application tags includes system tags. The maximum number of
/// user-defined application tags is 50. For more information, see Using
/// Tagging.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
///
/// Application created with too many tags, or too many tags added to an application.
/// Note that the maximum number of application tags includes system tags. The maximum
/// number of user-defined application tags is 50.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes one or more tags from a Kinesis Data Analytics application. For more information,
/// see Using
/// Tagging.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
///
/// Application created with too many tags, or too many tags added to an application.
/// Note that the maximum number of application tags includes system tags. The maximum
/// number of user-defined application tags is 50.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApplication
///
/// Updates an existing 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.
///
///
///
/// You cannot update the RuntimeEnvironment
of an existing application.
/// If you need to update an application's RuntimeEnvironment
, you must delete
/// the application and create it again.
///
///
///
/// Container for the necessary parameters to execute the UpdateApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateApplication service method, as returned by KinesisAnalyticsV2.
///
/// The user-provided application code (query) is not valid. This can be a simple syntax
/// error.
///
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The user-provided application configuration is not valid.
///
///
/// The specified input parameter value is not valid.
///
///
/// The request JSON is not valid for the operation.
///
///
/// The number of allowed resources has been exceeded.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
/// REST API Reference for UpdateApplication Operation
Task UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApplicationMaintenanceConfiguration
///
/// Updates the maintenance configuration of the Kinesis Data Analytics application.
///
///
///
/// You can invoke this operation on an application that is in one of the two following
/// states: READY
or RUNNING
. If you invoke it when the application
/// is in a state other than these two states, it throws a ResourceInUseException
.
/// The service makes use of the updated configuration the next time it schedules maintenance
/// for the application. If you invoke this operation after the service schedules maintenance,
/// the service will apply the configuration update the next time it schedules maintenance
/// for the application. This means that you might not see the maintenance configuration
/// update applied to the maintenance process that follows a successful invocation of
/// this operation, but to the following maintenance process instead.
///
///
///
/// To see the current maintenance configuration of your application, invoke the DescribeApplication
/// operation.
///
///
///
/// For information about application maintenance, see Kinesis
/// Data Analytics for Apache Flink Maintenance.
///
///
///
/// This operation is supported only for Amazon Kinesis Data Analytics for Apache Flink.
///
///
///
/// Container for the necessary parameters to execute the UpdateApplicationMaintenanceConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateApplicationMaintenanceConfiguration service method, as returned by KinesisAnalyticsV2.
///
/// Exception thrown as a result of concurrent modifications to an application. This error
/// can be the result of attempting to modify an application without using the current
/// application ID.
///
///
/// The specified input parameter value is not valid.
///
///
/// The application is not available for this operation.
///
///
/// Specified application can't be found.
///
///
/// The request was rejected because a specified parameter is not supported or a specified
/// resource is not valid for this operation.
///
/// REST API Reference for UpdateApplicationMaintenanceConfiguration Operation
Task UpdateApplicationMaintenanceConfigurationAsync(UpdateApplicationMaintenanceConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}