@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonKinesisAnalyticsV2AsyncClient extends AmazonKinesisAnalyticsV2Client implements AmazonKinesisAnalyticsV2Async
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXaddApplicationCloudWatchLoggingOption, addApplicationInput, addApplicationInputProcessingConfiguration, addApplicationOutput, addApplicationReferenceDataSource, addApplicationVpcConfiguration, builder, createApplication, createApplicationPresignedUrl, createApplicationSnapshot, deleteApplication, deleteApplicationCloudWatchLoggingOption, deleteApplicationInputProcessingConfiguration, deleteApplicationOutput, deleteApplicationReferenceDataSource, deleteApplicationSnapshot, deleteApplicationVpcConfiguration, describeApplication, describeApplicationSnapshot, discoverInputSchema, getCachedResponseMetadata, listApplications, listApplicationSnapshots, listTagsForResource, startApplication, stopApplication, tagResource, untagResource, updateApplicationaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddApplicationCloudWatchLoggingOption, addApplicationInput, addApplicationInputProcessingConfiguration, addApplicationOutput, addApplicationReferenceDataSource, addApplicationVpcConfiguration, createApplication, createApplicationPresignedUrl, createApplicationSnapshot, deleteApplication, deleteApplicationCloudWatchLoggingOption, deleteApplicationInputProcessingConfiguration, deleteApplicationOutput, deleteApplicationReferenceDataSource, deleteApplicationSnapshot, deleteApplicationVpcConfiguration, describeApplication, describeApplicationSnapshot, discoverInputSchema, getCachedResponseMetadata, listApplications, listApplicationSnapshots, listTagsForResource, startApplication, stopApplication, tagResource, untagResource, updateApplicationpublic static AmazonKinesisAnalyticsV2AsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddApplicationCloudWatchLoggingOptionResult> addApplicationCloudWatchLoggingOptionAsync(AddApplicationCloudWatchLoggingOptionRequest request)
AmazonKinesisAnalyticsV2AsyncAdds an Amazon CloudWatch log stream to monitor application configuration errors.
addApplicationCloudWatchLoggingOptionAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<AddApplicationCloudWatchLoggingOptionResult> addApplicationCloudWatchLoggingOptionAsync(AddApplicationCloudWatchLoggingOptionRequest request, AsyncHandler<AddApplicationCloudWatchLoggingOptionRequest,AddApplicationCloudWatchLoggingOptionResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncAdds an Amazon CloudWatch log stream to monitor application configuration errors.
addApplicationCloudWatchLoggingOptionAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AddApplicationInputResult> addApplicationInputAsync(AddApplicationInputRequest request)
AmazonKinesisAnalyticsV2AsyncAdds 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.
addApplicationInputAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<AddApplicationInputResult> addApplicationInputAsync(AddApplicationInputRequest request, AsyncHandler<AddApplicationInputRequest,AddApplicationInputResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncAdds 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.
addApplicationInputAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AddApplicationInputProcessingConfigurationResult> addApplicationInputProcessingConfigurationAsync(AddApplicationInputProcessingConfigurationRequest request)
AmazonKinesisAnalyticsV2AsyncAdds 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 AWS Lambda.
addApplicationInputProcessingConfigurationAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<AddApplicationInputProcessingConfigurationResult> addApplicationInputProcessingConfigurationAsync(AddApplicationInputProcessingConfigurationRequest request, AsyncHandler<AddApplicationInputProcessingConfigurationRequest,AddApplicationInputProcessingConfigurationResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncAdds 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 AWS Lambda.
addApplicationInputProcessingConfigurationAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AddApplicationOutputResult> addApplicationOutputAsync(AddApplicationOutputRequest request)
AmazonKinesisAnalyticsV2AsyncAdds 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 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.
addApplicationOutputAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<AddApplicationOutputResult> addApplicationOutputAsync(AddApplicationOutputRequest request, AsyncHandler<AddApplicationOutputRequest,AddApplicationOutputResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncAdds 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 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.
addApplicationOutputAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AddApplicationReferenceDataSourceResult> addApplicationReferenceDataSourceAsync(AddApplicationReferenceDataSourceRequest request)
AmazonKinesisAnalyticsV2AsyncAdds 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.
addApplicationReferenceDataSourceAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<AddApplicationReferenceDataSourceResult> addApplicationReferenceDataSourceAsync(AddApplicationReferenceDataSourceRequest request, AsyncHandler<AddApplicationReferenceDataSourceRequest,AddApplicationReferenceDataSourceResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncAdds 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.
addApplicationReferenceDataSourceAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AddApplicationVpcConfigurationResult> addApplicationVpcConfigurationAsync(AddApplicationVpcConfigurationRequest request)
AmazonKinesisAnalyticsV2AsyncAdds 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.
addApplicationVpcConfigurationAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<AddApplicationVpcConfigurationResult> addApplicationVpcConfigurationAsync(AddApplicationVpcConfigurationRequest request, AsyncHandler<AddApplicationVpcConfigurationRequest,AddApplicationVpcConfigurationResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncAdds 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.
addApplicationVpcConfigurationAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AmazonKinesisAnalyticsV2AsyncCreates a Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see Creating an Application.
createApplicationAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncCreates a Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see Creating an Application.
createApplicationAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateApplicationPresignedUrlResult> createApplicationPresignedUrlAsync(CreateApplicationPresignedUrlRequest request)
AmazonKinesisAnalyticsV2AsyncCreates and returns a URL that you can use to connect to an application's extension. Currently, the only available extension is the Apache Flink dashboard.
The IAM role or user used to call this API defines the permissions to access the extension. Once 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.
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.
createApplicationPresignedUrlAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<CreateApplicationPresignedUrlResult> createApplicationPresignedUrlAsync(CreateApplicationPresignedUrlRequest request, AsyncHandler<CreateApplicationPresignedUrlRequest,CreateApplicationPresignedUrlResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncCreates and returns a URL that you can use to connect to an application's extension. Currently, the only available extension is the Apache Flink dashboard.
The IAM role or user used to call this API defines the permissions to access the extension. Once 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.
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.
createApplicationPresignedUrlAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateApplicationSnapshotResult> createApplicationSnapshotAsync(CreateApplicationSnapshotRequest request)
AmazonKinesisAnalyticsV2AsyncCreates a snapshot of the application's state data.
createApplicationSnapshotAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<CreateApplicationSnapshotResult> createApplicationSnapshotAsync(CreateApplicationSnapshotRequest request, AsyncHandler<CreateApplicationSnapshotRequest,CreateApplicationSnapshotResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncCreates a snapshot of the application's state data.
createApplicationSnapshotAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AmazonKinesisAnalyticsV2AsyncDeletes the specified application. Kinesis Data Analytics halts application execution and deletes the application.
deleteApplicationAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncDeletes the specified application. Kinesis Data Analytics halts application execution and deletes the application.
deleteApplicationAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationCloudWatchLoggingOptionResult> deleteApplicationCloudWatchLoggingOptionAsync(DeleteApplicationCloudWatchLoggingOptionRequest request)
AmazonKinesisAnalyticsV2AsyncDeletes an Amazon CloudWatch log stream from an Kinesis Data Analytics application.
deleteApplicationCloudWatchLoggingOptionAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<DeleteApplicationCloudWatchLoggingOptionResult> deleteApplicationCloudWatchLoggingOptionAsync(DeleteApplicationCloudWatchLoggingOptionRequest request, AsyncHandler<DeleteApplicationCloudWatchLoggingOptionRequest,DeleteApplicationCloudWatchLoggingOptionResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncDeletes an Amazon CloudWatch log stream from an Kinesis Data Analytics application.
deleteApplicationCloudWatchLoggingOptionAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationInputProcessingConfigurationResult> deleteApplicationInputProcessingConfigurationAsync(DeleteApplicationInputProcessingConfigurationRequest request)
AmazonKinesisAnalyticsV2AsyncDeletes an InputProcessingConfiguration from an input.
deleteApplicationInputProcessingConfigurationAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<DeleteApplicationInputProcessingConfigurationResult> deleteApplicationInputProcessingConfigurationAsync(DeleteApplicationInputProcessingConfigurationRequest request, AsyncHandler<DeleteApplicationInputProcessingConfigurationRequest,DeleteApplicationInputProcessingConfigurationResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncDeletes an InputProcessingConfiguration from an input.
deleteApplicationInputProcessingConfigurationAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationOutputResult> deleteApplicationOutputAsync(DeleteApplicationOutputRequest request)
AmazonKinesisAnalyticsV2AsyncDeletes 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.
deleteApplicationOutputAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<DeleteApplicationOutputResult> deleteApplicationOutputAsync(DeleteApplicationOutputRequest request, AsyncHandler<DeleteApplicationOutputRequest,DeleteApplicationOutputResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncDeletes 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.
deleteApplicationOutputAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationReferenceDataSourceResult> deleteApplicationReferenceDataSourceAsync(DeleteApplicationReferenceDataSourceRequest request)
AmazonKinesisAnalyticsV2AsyncDeletes 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.
deleteApplicationReferenceDataSourceAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<DeleteApplicationReferenceDataSourceResult> deleteApplicationReferenceDataSourceAsync(DeleteApplicationReferenceDataSourceRequest request, AsyncHandler<DeleteApplicationReferenceDataSourceRequest,DeleteApplicationReferenceDataSourceResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncDeletes 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.
deleteApplicationReferenceDataSourceAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationSnapshotResult> deleteApplicationSnapshotAsync(DeleteApplicationSnapshotRequest request)
AmazonKinesisAnalyticsV2AsyncDeletes a snapshot of application state.
deleteApplicationSnapshotAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<DeleteApplicationSnapshotResult> deleteApplicationSnapshotAsync(DeleteApplicationSnapshotRequest request, AsyncHandler<DeleteApplicationSnapshotRequest,DeleteApplicationSnapshotResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncDeletes a snapshot of application state.
deleteApplicationSnapshotAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationVpcConfigurationResult> deleteApplicationVpcConfigurationAsync(DeleteApplicationVpcConfigurationRequest request)
AmazonKinesisAnalyticsV2AsyncRemoves a VPC configuration from a Kinesis Data Analytics application.
deleteApplicationVpcConfigurationAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<DeleteApplicationVpcConfigurationResult> deleteApplicationVpcConfigurationAsync(DeleteApplicationVpcConfigurationRequest request, AsyncHandler<DeleteApplicationVpcConfigurationRequest,DeleteApplicationVpcConfigurationResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncRemoves a VPC configuration from a Kinesis Data Analytics application.
deleteApplicationVpcConfigurationAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeApplicationResult> describeApplicationAsync(DescribeApplicationRequest request)
AmazonKinesisAnalyticsV2AsyncReturns 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.
describeApplicationAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<DescribeApplicationResult> describeApplicationAsync(DescribeApplicationRequest request, AsyncHandler<DescribeApplicationRequest,DescribeApplicationResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncReturns 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.
describeApplicationAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeApplicationSnapshotResult> describeApplicationSnapshotAsync(DescribeApplicationSnapshotRequest request)
AmazonKinesisAnalyticsV2AsyncReturns information about a snapshot of application state data.
describeApplicationSnapshotAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<DescribeApplicationSnapshotResult> describeApplicationSnapshotAsync(DescribeApplicationSnapshotRequest request, AsyncHandler<DescribeApplicationSnapshotRequest,DescribeApplicationSnapshotResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncReturns information about a snapshot of application state data.
describeApplicationSnapshotAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DiscoverInputSchemaResult> discoverInputSchemaAsync(DiscoverInputSchemaRequest request)
AmazonKinesisAnalyticsV2AsyncInfers 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.
discoverInputSchemaAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<DiscoverInputSchemaResult> discoverInputSchemaAsync(DiscoverInputSchemaRequest request, AsyncHandler<DiscoverInputSchemaRequest,DiscoverInputSchemaResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncInfers 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.
discoverInputSchemaAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationSnapshotsResult> listApplicationSnapshotsAsync(ListApplicationSnapshotsRequest request)
AmazonKinesisAnalyticsV2AsyncLists information about the current application snapshots.
listApplicationSnapshotsAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<ListApplicationSnapshotsResult> listApplicationSnapshotsAsync(ListApplicationSnapshotsRequest request, AsyncHandler<ListApplicationSnapshotsRequest,ListApplicationSnapshotsResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncLists information about the current application snapshots.
listApplicationSnapshotsAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AmazonKinesisAnalyticsV2AsyncReturns 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.
listApplicationsAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncReturns 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.
listApplicationsAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonKinesisAnalyticsV2AsyncRetrieves the list of key-value tags assigned to the application. For more information, see Using Tagging.
listTagsForResourceAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncRetrieves the list of key-value tags assigned to the application. For more information, see Using Tagging.
listTagsForResourceAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartApplicationResult> startApplicationAsync(StartApplicationRequest request)
AmazonKinesisAnalyticsV2AsyncStarts the specified Kinesis Data Analytics application. After creating an application, you must exclusively call this operation to start your application.
startApplicationAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<StartApplicationResult> startApplicationAsync(StartApplicationRequest request, AsyncHandler<StartApplicationRequest,StartApplicationResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncStarts the specified Kinesis Data Analytics application. After creating an application, you must exclusively call this operation to start your application.
startApplicationAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopApplicationResult> stopApplicationAsync(StopApplicationRequest request)
AmazonKinesisAnalyticsV2Async
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.
stopApplicationAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<StopApplicationResult> stopApplicationAsync(StopApplicationRequest request, AsyncHandler<StopApplicationRequest,StopApplicationResult> asyncHandler)
AmazonKinesisAnalyticsV2Async
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.
stopApplicationAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonKinesisAnalyticsV2AsyncAdds 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.
tagResourceAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncAdds 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.
tagResourceAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonKinesisAnalyticsV2AsyncRemoves one or more tags from a Kinesis Data Analytics application. For more information, see Using Tagging.
untagResourceAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncRemoves one or more tags from a Kinesis Data Analytics application. For more information, see Using Tagging.
untagResourceAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AmazonKinesisAnalyticsV2AsyncUpdates 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.
updateApplicationAsync in interface AmazonKinesisAnalyticsV2Asyncpublic Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AmazonKinesisAnalyticsV2AsyncUpdates 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.
updateApplicationAsync in interface AmazonKinesisAnalyticsV2AsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonKinesisAnalyticsV2shutdown in class AmazonKinesisAnalyticsV2Client