Interface KinesisAnalyticsV2AsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
Amazon Managed Service for Apache Flink was previously known as Amazon Kinesis Data Analytics for Apache Flink.
Amazon Managed Service for Apache Flink is a fully managed service that you can use to process and analyze streaming data using Java, Python, 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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionaddApplicationCloudWatchLoggingOption
(Consumer<AddApplicationCloudWatchLoggingOptionRequest.Builder> addApplicationCloudWatchLoggingOptionRequest) Adds an Amazon CloudWatch log stream to monitor application configuration errors.addApplicationCloudWatchLoggingOption
(AddApplicationCloudWatchLoggingOptionRequest addApplicationCloudWatchLoggingOptionRequest) Adds an Amazon CloudWatch log stream to monitor application configuration errors.addApplicationInput
(Consumer<AddApplicationInputRequest.Builder> addApplicationInputRequest) Adds a streaming source to your SQL-based Kinesis Data Analytics application.addApplicationInput
(AddApplicationInputRequest addApplicationInputRequest) Adds a streaming source to your SQL-based Kinesis Data Analytics application.addApplicationInputProcessingConfiguration
(Consumer<AddApplicationInputProcessingConfigurationRequest.Builder> addApplicationInputProcessingConfigurationRequest) Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application.addApplicationInputProcessingConfiguration
(AddApplicationInputProcessingConfigurationRequest addApplicationInputProcessingConfigurationRequest) Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application.addApplicationOutput
(Consumer<AddApplicationOutputRequest.Builder> addApplicationOutputRequest) Adds an external destination to your SQL-based Kinesis Data Analytics application.addApplicationOutput
(AddApplicationOutputRequest addApplicationOutputRequest) Adds an external destination to your SQL-based Kinesis Data Analytics application.addApplicationReferenceDataSource
(Consumer<AddApplicationReferenceDataSourceRequest.Builder> addApplicationReferenceDataSourceRequest) Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.addApplicationReferenceDataSource
(AddApplicationReferenceDataSourceRequest addApplicationReferenceDataSourceRequest) Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.addApplicationVpcConfiguration
(Consumer<AddApplicationVpcConfigurationRequest.Builder> addApplicationVpcConfigurationRequest) Adds a Virtual Private Cloud (VPC) configuration to the application.addApplicationVpcConfiguration
(AddApplicationVpcConfigurationRequest addApplicationVpcConfigurationRequest) Adds a Virtual Private Cloud (VPC) configuration to the application.builder()
Create a builder that can be used to configure and create aKinesisAnalyticsV2AsyncClient
.create()
Create aKinesisAnalyticsV2AsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createApplication
(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates a Managed Service for Apache Flink application.createApplication
(CreateApplicationRequest createApplicationRequest) Creates a Managed Service for Apache Flink application.createApplicationPresignedUrl
(Consumer<CreateApplicationPresignedUrlRequest.Builder> createApplicationPresignedUrlRequest) Creates and returns a URL that you can use to connect to an application's extension.createApplicationPresignedUrl
(CreateApplicationPresignedUrlRequest createApplicationPresignedUrlRequest) Creates and returns a URL that you can use to connect to an application's extension.createApplicationSnapshot
(Consumer<CreateApplicationSnapshotRequest.Builder> createApplicationSnapshotRequest) Creates a snapshot of the application's state data.createApplicationSnapshot
(CreateApplicationSnapshotRequest createApplicationSnapshotRequest) Creates a snapshot of the application's state data.deleteApplication
(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes the specified application.deleteApplication
(DeleteApplicationRequest deleteApplicationRequest) Deletes the specified application.deleteApplicationCloudWatchLoggingOption
(Consumer<DeleteApplicationCloudWatchLoggingOptionRequest.Builder> deleteApplicationCloudWatchLoggingOptionRequest) Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.deleteApplicationCloudWatchLoggingOption
(DeleteApplicationCloudWatchLoggingOptionRequest deleteApplicationCloudWatchLoggingOptionRequest) Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.deleteApplicationInputProcessingConfiguration
(Consumer<DeleteApplicationInputProcessingConfigurationRequest.Builder> deleteApplicationInputProcessingConfigurationRequest) Deletes an InputProcessingConfiguration from an input.deleteApplicationInputProcessingConfiguration
(DeleteApplicationInputProcessingConfigurationRequest deleteApplicationInputProcessingConfigurationRequest) Deletes an InputProcessingConfiguration from an input.deleteApplicationOutput
(Consumer<DeleteApplicationOutputRequest.Builder> deleteApplicationOutputRequest) Deletes the output destination configuration from your SQL-based Kinesis Data Analytics application's configuration.deleteApplicationOutput
(DeleteApplicationOutputRequest deleteApplicationOutputRequest) Deletes the output destination configuration from your SQL-based Kinesis Data Analytics application's configuration.deleteApplicationReferenceDataSource
(Consumer<DeleteApplicationReferenceDataSourceRequest.Builder> deleteApplicationReferenceDataSourceRequest) Deletes a reference data source configuration from the specified SQL-based Kinesis Data Analytics application's configuration.deleteApplicationReferenceDataSource
(DeleteApplicationReferenceDataSourceRequest deleteApplicationReferenceDataSourceRequest) Deletes a reference data source configuration from the specified SQL-based Kinesis Data Analytics application's configuration.deleteApplicationSnapshot
(Consumer<DeleteApplicationSnapshotRequest.Builder> deleteApplicationSnapshotRequest) Deletes a snapshot of application state.deleteApplicationSnapshot
(DeleteApplicationSnapshotRequest deleteApplicationSnapshotRequest) Deletes a snapshot of application state.deleteApplicationVpcConfiguration
(Consumer<DeleteApplicationVpcConfigurationRequest.Builder> deleteApplicationVpcConfigurationRequest) Removes a VPC configuration from a Managed Service for Apache Flink application.deleteApplicationVpcConfiguration
(DeleteApplicationVpcConfigurationRequest deleteApplicationVpcConfigurationRequest) Removes a VPC configuration from a Managed Service for Apache Flink application.describeApplication
(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) Returns information about a specific Managed Service for Apache Flink application.describeApplication
(DescribeApplicationRequest describeApplicationRequest) Returns information about a specific Managed Service for Apache Flink application.describeApplicationSnapshot
(Consumer<DescribeApplicationSnapshotRequest.Builder> describeApplicationSnapshotRequest) Returns information about a snapshot of application state data.describeApplicationSnapshot
(DescribeApplicationSnapshotRequest describeApplicationSnapshotRequest) Returns information about a snapshot of application state data.describeApplicationVersion
(Consumer<DescribeApplicationVersionRequest.Builder> describeApplicationVersionRequest) Provides a detailed description of a specified version of the application.describeApplicationVersion
(DescribeApplicationVersionRequest describeApplicationVersionRequest) Provides a detailed description of a specified version of the application.discoverInputSchema
(Consumer<DiscoverInputSchemaRequest.Builder> discoverInputSchemaRequest) 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.discoverInputSchema
(DiscoverInputSchemaRequest discoverInputSchemaRequest) 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.Returns a list of Managed Service for Apache Flink applications in your account.listApplications
(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Returns a list of Managed Service for Apache Flink applications in your account.listApplications
(ListApplicationsRequest listApplicationsRequest) Returns a list of Managed Service for Apache Flink applications in your account.listApplicationSnapshots
(Consumer<ListApplicationSnapshotsRequest.Builder> listApplicationSnapshotsRequest) Lists information about the current application snapshots.listApplicationSnapshots
(ListApplicationSnapshotsRequest listApplicationSnapshotsRequest) Lists information about the current application snapshots.listApplicationVersions
(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest) Lists all the versions for the specified application, including versions that were rolled back.listApplicationVersions
(ListApplicationVersionsRequest listApplicationVersionsRequest) Lists all the versions for the specified application, including versions that were rolled back.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves the list of key-value tags assigned to the application.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the list of key-value tags assigned to the application.rollbackApplication
(Consumer<RollbackApplicationRequest.Builder> rollbackApplicationRequest) Reverts the application to the previous running version.rollbackApplication
(RollbackApplicationRequest rollbackApplicationRequest) Reverts the application to the previous running version.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartApplication
(Consumer<StartApplicationRequest.Builder> startApplicationRequest) Starts the specified Managed Service for Apache Flink application.startApplication
(StartApplicationRequest startApplicationRequest) Starts the specified Managed Service for Apache Flink application.default CompletableFuture
<StopApplicationResponse> stopApplication
(Consumer<StopApplicationRequest.Builder> stopApplicationRequest) Stops the application from processing data.default CompletableFuture
<StopApplicationResponse> stopApplication
(StopApplicationRequest stopApplicationRequest) Stops the application from processing data.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more key-value tags to a Managed Service for Apache Flink application.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds one or more key-value tags to a Managed Service for Apache Flink application.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a Managed Service for Apache Flink application.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags from a Managed Service for Apache Flink application.updateApplication
(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates an existing Managed Service for Apache Flink application.updateApplication
(UpdateApplicationRequest updateApplicationRequest) Updates an existing Managed Service for Apache Flink application.updateApplicationMaintenanceConfiguration
(Consumer<UpdateApplicationMaintenanceConfigurationRequest.Builder> updateApplicationMaintenanceConfigurationRequest) Updates the maintenance configuration of the Managed Service for Apache Flink application.updateApplicationMaintenanceConfiguration
(UpdateApplicationMaintenanceConfigurationRequest updateApplicationMaintenanceConfigurationRequest) Updates the maintenance configuration of the Managed Service for Apache Flink application.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
addApplicationCloudWatchLoggingOption
default CompletableFuture<AddApplicationCloudWatchLoggingOptionResponse> addApplicationCloudWatchLoggingOption(AddApplicationCloudWatchLoggingOptionRequest addApplicationCloudWatchLoggingOptionRequest) Adds an Amazon CloudWatch log stream to monitor application configuration errors.
- Parameters:
addApplicationCloudWatchLoggingOptionRequest
-- Returns:
- A Java Future containing the result of the AddApplicationCloudWatchLoggingOption operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addApplicationCloudWatchLoggingOption
default CompletableFuture<AddApplicationCloudWatchLoggingOptionResponse> addApplicationCloudWatchLoggingOption(Consumer<AddApplicationCloudWatchLoggingOptionRequest.Builder> addApplicationCloudWatchLoggingOptionRequest) Adds an Amazon CloudWatch log stream to monitor application configuration errors.
This is a convenience which creates an instance of the
AddApplicationCloudWatchLoggingOptionRequest.Builder
avoiding the need to create one manually viaAddApplicationCloudWatchLoggingOptionRequest.builder()
- Parameters:
addApplicationCloudWatchLoggingOptionRequest
- AConsumer
that will call methods onAddApplicationCloudWatchLoggingOptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AddApplicationCloudWatchLoggingOption operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addApplicationInput
default CompletableFuture<AddApplicationInputResponse> addApplicationInput(AddApplicationInputRequest addApplicationInputRequest) 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.
- Parameters:
addApplicationInputRequest
-- Returns:
- A Java Future containing the result of the AddApplicationInput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- CodeValidationException The user-provided application code (query) is not valid. This can be a simple syntax error.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addApplicationInput
default CompletableFuture<AddApplicationInputResponse> addApplicationInput(Consumer<AddApplicationInputRequest.Builder> addApplicationInputRequest) 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.
This is a convenience which creates an instance of the
AddApplicationInputRequest.Builder
avoiding the need to create one manually viaAddApplicationInputRequest.builder()
- Parameters:
addApplicationInputRequest
- AConsumer
that will call methods onAddApplicationInputRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AddApplicationInput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- CodeValidationException The user-provided application code (query) is not valid. This can be a simple syntax error.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addApplicationInputProcessingConfiguration
default CompletableFuture<AddApplicationInputProcessingConfigurationResponse> addApplicationInputProcessingConfiguration(AddApplicationInputProcessingConfigurationRequest addApplicationInputProcessingConfigurationRequest) 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.
- Parameters:
addApplicationInputProcessingConfigurationRequest
-- Returns:
- A Java Future containing the result of the AddApplicationInputProcessingConfiguration operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addApplicationInputProcessingConfiguration
default CompletableFuture<AddApplicationInputProcessingConfigurationResponse> addApplicationInputProcessingConfiguration(Consumer<AddApplicationInputProcessingConfigurationRequest.Builder> addApplicationInputProcessingConfigurationRequest) 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.
This is a convenience which creates an instance of the
AddApplicationInputProcessingConfigurationRequest.Builder
avoiding the need to create one manually viaAddApplicationInputProcessingConfigurationRequest.builder()
- Parameters:
addApplicationInputProcessingConfigurationRequest
- AConsumer
that will call methods onAddApplicationInputProcessingConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AddApplicationInputProcessingConfiguration operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addApplicationOutput
default CompletableFuture<AddApplicationOutputResponse> addApplicationOutput(AddApplicationOutputRequest addApplicationOutputRequest) 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.
- Parameters:
addApplicationOutputRequest
-- Returns:
- A Java Future containing the result of the AddApplicationOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addApplicationOutput
default CompletableFuture<AddApplicationOutputResponse> addApplicationOutput(Consumer<AddApplicationOutputRequest.Builder> addApplicationOutputRequest) 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.
This is a convenience which creates an instance of the
AddApplicationOutputRequest.Builder
avoiding the need to create one manually viaAddApplicationOutputRequest.builder()
- Parameters:
addApplicationOutputRequest
- AConsumer
that will call methods onAddApplicationOutputRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AddApplicationOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addApplicationReferenceDataSource
default CompletableFuture<AddApplicationReferenceDataSourceResponse> addApplicationReferenceDataSource(AddApplicationReferenceDataSourceRequest addApplicationReferenceDataSourceRequest) 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.
- Parameters:
addApplicationReferenceDataSourceRequest
-- Returns:
- A Java Future containing the result of the AddApplicationReferenceDataSource operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addApplicationReferenceDataSource
default CompletableFuture<AddApplicationReferenceDataSourceResponse> addApplicationReferenceDataSource(Consumer<AddApplicationReferenceDataSourceRequest.Builder> addApplicationReferenceDataSourceRequest) 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.
This is a convenience which creates an instance of the
AddApplicationReferenceDataSourceRequest.Builder
avoiding the need to create one manually viaAddApplicationReferenceDataSourceRequest.builder()
- Parameters:
addApplicationReferenceDataSourceRequest
- AConsumer
that will call methods onAddApplicationReferenceDataSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AddApplicationReferenceDataSource operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addApplicationVpcConfiguration
default CompletableFuture<AddApplicationVpcConfigurationResponse> addApplicationVpcConfiguration(AddApplicationVpcConfigurationRequest addApplicationVpcConfigurationRequest) 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 Managed Service for Apache Flink applications:
-
VPC configurations are not supported for SQL applications.
-
When a VPC is added to a Managed Service for Apache Flink 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.
- Parameters:
addApplicationVpcConfigurationRequest
-- Returns:
- A Java Future containing the result of the AddApplicationVpcConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
addApplicationVpcConfiguration
default CompletableFuture<AddApplicationVpcConfigurationResponse> addApplicationVpcConfiguration(Consumer<AddApplicationVpcConfigurationRequest.Builder> addApplicationVpcConfigurationRequest) 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 Managed Service for Apache Flink applications:
-
VPC configurations are not supported for SQL applications.
-
When a VPC is added to a Managed Service for Apache Flink 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.
This is a convenience which creates an instance of the
AddApplicationVpcConfigurationRequest.Builder
avoiding the need to create one manually viaAddApplicationVpcConfigurationRequest.builder()
- Parameters:
addApplicationVpcConfigurationRequest
- AConsumer
that will call methods onAddApplicationVpcConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AddApplicationVpcConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest) Creates a Managed Service for Apache Flink application. For information about creating a Managed Service for Apache Flink application, see Creating an Application.
- Parameters:
createApplicationRequest
-- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- CodeValidationException The user-provided application code (query) is not valid. This can be a simple syntax error.
- ResourceInUseException The application is not available for this operation.
- LimitExceededException The number of allowed resources has been exceeded.
- InvalidArgumentException The specified input parameter value is not valid.
- InvalidRequestException The request JSON is not valid for the operation.
- TooManyTagsException 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.
- ConcurrentModificationException 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.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates a Managed Service for Apache Flink application. For information about creating a Managed Service for Apache Flink application, see Creating an Application.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builder
avoiding the need to create one manually viaCreateApplicationRequest.builder()
- Parameters:
createApplicationRequest
- AConsumer
that will call methods onCreateApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- CodeValidationException The user-provided application code (query) is not valid. This can be a simple syntax error.
- ResourceInUseException The application is not available for this operation.
- LimitExceededException The number of allowed resources has been exceeded.
- InvalidArgumentException The specified input parameter value is not valid.
- InvalidRequestException The request JSON is not valid for the operation.
- TooManyTagsException 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.
- ConcurrentModificationException 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.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplicationPresignedUrl
default CompletableFuture<CreateApplicationPresignedUrlResponse> createApplicationPresignedUrl(CreateApplicationPresignedUrlRequest createApplicationPresignedUrlRequest) 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.
- Parameters:
createApplicationPresignedUrlRequest
-- Returns:
- A Java Future containing the result of the CreateApplicationPresignedUrl operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplicationPresignedUrl
default CompletableFuture<CreateApplicationPresignedUrlResponse> createApplicationPresignedUrl(Consumer<CreateApplicationPresignedUrlRequest.Builder> createApplicationPresignedUrlRequest) 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.
This is a convenience which creates an instance of the
CreateApplicationPresignedUrlRequest.Builder
avoiding the need to create one manually viaCreateApplicationPresignedUrlRequest.builder()
- Parameters:
createApplicationPresignedUrlRequest
- AConsumer
that will call methods onCreateApplicationPresignedUrlRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateApplicationPresignedUrl operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplicationSnapshot
default CompletableFuture<CreateApplicationSnapshotResponse> createApplicationSnapshot(CreateApplicationSnapshotRequest createApplicationSnapshotRequest) Creates a snapshot of the application's state data.
- Parameters:
createApplicationSnapshotRequest
-- Returns:
- A Java Future containing the result of the CreateApplicationSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceInUseException The application is not available for this operation.
- ResourceNotFoundException Specified application can't be found.
- LimitExceededException The number of allowed resources has been exceeded.
- InvalidArgumentException The specified input parameter value is not valid.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplicationSnapshot
default CompletableFuture<CreateApplicationSnapshotResponse> createApplicationSnapshot(Consumer<CreateApplicationSnapshotRequest.Builder> createApplicationSnapshotRequest) Creates a snapshot of the application's state data.
This is a convenience which creates an instance of the
CreateApplicationSnapshotRequest.Builder
avoiding the need to create one manually viaCreateApplicationSnapshotRequest.builder()
- Parameters:
createApplicationSnapshotRequest
- AConsumer
that will call methods onCreateApplicationSnapshotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateApplicationSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceInUseException The application is not available for this operation.
- ResourceNotFoundException Specified application can't be found.
- LimitExceededException The number of allowed resources has been exceeded.
- InvalidArgumentException The specified input parameter value is not valid.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest) Deletes the specified application. Managed Service for Apache Flink halts application execution and deletes the application.
- Parameters:
deleteApplicationRequest
-- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ConcurrentModificationException 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.
- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes the specified application. Managed Service for Apache Flink halts application execution and deletes the application.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builder
avoiding the need to create one manually viaDeleteApplicationRequest.builder()
- Parameters:
deleteApplicationRequest
- AConsumer
that will call methods onDeleteApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ConcurrentModificationException 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.
- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationCloudWatchLoggingOption
default CompletableFuture<DeleteApplicationCloudWatchLoggingOptionResponse> deleteApplicationCloudWatchLoggingOption(DeleteApplicationCloudWatchLoggingOptionRequest deleteApplicationCloudWatchLoggingOptionRequest) Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.
- Parameters:
deleteApplicationCloudWatchLoggingOptionRequest
-- Returns:
- A Java Future containing the result of the DeleteApplicationCloudWatchLoggingOption operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationCloudWatchLoggingOption
default CompletableFuture<DeleteApplicationCloudWatchLoggingOptionResponse> deleteApplicationCloudWatchLoggingOption(Consumer<DeleteApplicationCloudWatchLoggingOptionRequest.Builder> deleteApplicationCloudWatchLoggingOptionRequest) Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.
This is a convenience which creates an instance of the
DeleteApplicationCloudWatchLoggingOptionRequest.Builder
avoiding the need to create one manually viaDeleteApplicationCloudWatchLoggingOptionRequest.builder()
- Parameters:
deleteApplicationCloudWatchLoggingOptionRequest
- AConsumer
that will call methods onDeleteApplicationCloudWatchLoggingOptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApplicationCloudWatchLoggingOption operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationInputProcessingConfiguration
default CompletableFuture<DeleteApplicationInputProcessingConfigurationResponse> deleteApplicationInputProcessingConfiguration(DeleteApplicationInputProcessingConfigurationRequest deleteApplicationInputProcessingConfigurationRequest) Deletes an InputProcessingConfiguration from an input.
- Parameters:
deleteApplicationInputProcessingConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteApplicationInputProcessingConfiguration operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationInputProcessingConfiguration
default CompletableFuture<DeleteApplicationInputProcessingConfigurationResponse> deleteApplicationInputProcessingConfiguration(Consumer<DeleteApplicationInputProcessingConfigurationRequest.Builder> deleteApplicationInputProcessingConfigurationRequest) Deletes an InputProcessingConfiguration from an input.
This is a convenience which creates an instance of the
DeleteApplicationInputProcessingConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteApplicationInputProcessingConfigurationRequest.builder()
- Parameters:
deleteApplicationInputProcessingConfigurationRequest
- AConsumer
that will call methods onDeleteApplicationInputProcessingConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApplicationInputProcessingConfiguration operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationOutput
default CompletableFuture<DeleteApplicationOutputResponse> deleteApplicationOutput(DeleteApplicationOutputRequest deleteApplicationOutputRequest) 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.
- Parameters:
deleteApplicationOutputRequest
-- Returns:
- A Java Future containing the result of the DeleteApplicationOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationOutput
default CompletableFuture<DeleteApplicationOutputResponse> deleteApplicationOutput(Consumer<DeleteApplicationOutputRequest.Builder> deleteApplicationOutputRequest) 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.
This is a convenience which creates an instance of the
DeleteApplicationOutputRequest.Builder
avoiding the need to create one manually viaDeleteApplicationOutputRequest.builder()
- Parameters:
deleteApplicationOutputRequest
- AConsumer
that will call methods onDeleteApplicationOutputRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApplicationOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationReferenceDataSource
default CompletableFuture<DeleteApplicationReferenceDataSourceResponse> deleteApplicationReferenceDataSource(DeleteApplicationReferenceDataSourceRequest deleteApplicationReferenceDataSourceRequest) 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.
- Parameters:
deleteApplicationReferenceDataSourceRequest
-- Returns:
- A Java Future containing the result of the DeleteApplicationReferenceDataSource operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationReferenceDataSource
default CompletableFuture<DeleteApplicationReferenceDataSourceResponse> deleteApplicationReferenceDataSource(Consumer<DeleteApplicationReferenceDataSourceRequest.Builder> deleteApplicationReferenceDataSourceRequest) 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.
This is a convenience which creates an instance of the
DeleteApplicationReferenceDataSourceRequest.Builder
avoiding the need to create one manually viaDeleteApplicationReferenceDataSourceRequest.builder()
- Parameters:
deleteApplicationReferenceDataSourceRequest
- AConsumer
that will call methods onDeleteApplicationReferenceDataSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApplicationReferenceDataSource operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationSnapshot
default CompletableFuture<DeleteApplicationSnapshotResponse> deleteApplicationSnapshot(DeleteApplicationSnapshotRequest deleteApplicationSnapshotRequest) Deletes a snapshot of application state.
- Parameters:
deleteApplicationSnapshotRequest
-- Returns:
- A Java Future containing the result of the DeleteApplicationSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- InvalidRequestException The request JSON is not valid for the operation.
- ResourceNotFoundException Specified application can't be found.
- ConcurrentModificationException 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationSnapshot
default CompletableFuture<DeleteApplicationSnapshotResponse> deleteApplicationSnapshot(Consumer<DeleteApplicationSnapshotRequest.Builder> deleteApplicationSnapshotRequest) Deletes a snapshot of application state.
This is a convenience which creates an instance of the
DeleteApplicationSnapshotRequest.Builder
avoiding the need to create one manually viaDeleteApplicationSnapshotRequest.builder()
- Parameters:
deleteApplicationSnapshotRequest
- AConsumer
that will call methods onDeleteApplicationSnapshotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApplicationSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- InvalidRequestException The request JSON is not valid for the operation.
- ResourceNotFoundException Specified application can't be found.
- ConcurrentModificationException 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationVpcConfiguration
default CompletableFuture<DeleteApplicationVpcConfigurationResponse> deleteApplicationVpcConfiguration(DeleteApplicationVpcConfigurationRequest deleteApplicationVpcConfigurationRequest) Removes a VPC configuration from a Managed Service for Apache Flink application.
- Parameters:
deleteApplicationVpcConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteApplicationVpcConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplicationVpcConfiguration
default CompletableFuture<DeleteApplicationVpcConfigurationResponse> deleteApplicationVpcConfiguration(Consumer<DeleteApplicationVpcConfigurationRequest.Builder> deleteApplicationVpcConfigurationRequest) Removes a VPC configuration from a Managed Service for Apache Flink application.
This is a convenience which creates an instance of the
DeleteApplicationVpcConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteApplicationVpcConfigurationRequest.builder()
- Parameters:
deleteApplicationVpcConfigurationRequest
- AConsumer
that will call methods onDeleteApplicationVpcConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApplicationVpcConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplication
default CompletableFuture<DescribeApplicationResponse> describeApplication(DescribeApplicationRequest describeApplicationRequest) Returns information about a specific Managed Service for Apache Flink application.
If you want to retrieve a list of all applications in your account, use the ListApplications operation.
- Parameters:
describeApplicationRequest
-- Returns:
- A Java Future containing the result of the DescribeApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- InvalidArgumentException The specified input parameter value is not valid.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplication
default CompletableFuture<DescribeApplicationResponse> describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) Returns information about a specific Managed Service for Apache Flink application.
If you want to retrieve a list of all applications in your account, use the ListApplications operation.
This is a convenience which creates an instance of the
DescribeApplicationRequest.Builder
avoiding the need to create one manually viaDescribeApplicationRequest.builder()
- Parameters:
describeApplicationRequest
- AConsumer
that will call methods onDescribeApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- InvalidArgumentException The specified input parameter value is not valid.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicationSnapshot
default CompletableFuture<DescribeApplicationSnapshotResponse> describeApplicationSnapshot(DescribeApplicationSnapshotRequest describeApplicationSnapshotRequest) Returns information about a snapshot of application state data.
- Parameters:
describeApplicationSnapshotRequest
-- Returns:
- A Java Future containing the result of the DescribeApplicationSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- InvalidArgumentException The specified input parameter value is not valid.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicationSnapshot
default CompletableFuture<DescribeApplicationSnapshotResponse> describeApplicationSnapshot(Consumer<DescribeApplicationSnapshotRequest.Builder> describeApplicationSnapshotRequest) Returns information about a snapshot of application state data.
This is a convenience which creates an instance of the
DescribeApplicationSnapshotRequest.Builder
avoiding the need to create one manually viaDescribeApplicationSnapshotRequest.builder()
- Parameters:
describeApplicationSnapshotRequest
- AConsumer
that will call methods onDescribeApplicationSnapshotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeApplicationSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- InvalidArgumentException The specified input parameter value is not valid.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicationVersion
default CompletableFuture<DescribeApplicationVersionResponse> describeApplicationVersion(DescribeApplicationVersionRequest describeApplicationVersionRequest) 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 Managed Service for Apache Flink.
- Parameters:
describeApplicationVersionRequest
-- Returns:
- A Java Future containing the result of the DescribeApplicationVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidArgumentException The specified input parameter value is not valid.
- ResourceNotFoundException Specified application can't be found.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicationVersion
default CompletableFuture<DescribeApplicationVersionResponse> describeApplicationVersion(Consumer<DescribeApplicationVersionRequest.Builder> describeApplicationVersionRequest) 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 Managed Service for Apache Flink.
This is a convenience which creates an instance of the
DescribeApplicationVersionRequest.Builder
avoiding the need to create one manually viaDescribeApplicationVersionRequest.builder()
- Parameters:
describeApplicationVersionRequest
- AConsumer
that will call methods onDescribeApplicationVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeApplicationVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidArgumentException The specified input parameter value is not valid.
- ResourceNotFoundException Specified application can't be found.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
discoverInputSchema
default CompletableFuture<DiscoverInputSchemaResponse> discoverInputSchema(DiscoverInputSchemaRequest discoverInputSchemaRequest) 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.
- Parameters:
discoverInputSchemaRequest
-- Returns:
- A Java Future containing the result of the DiscoverInputSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidArgumentException The specified input parameter value is not valid.
- UnableToDetectSchemaException The data format is not valid. Kinesis Data Analytics cannot detect the schema for the given streaming source.
- ResourceProvisionedThroughputExceededException 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. - ServiceUnavailableException The service cannot complete the request.
- InvalidRequestException The request JSON is not valid for the operation.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
discoverInputSchema
default CompletableFuture<DiscoverInputSchemaResponse> discoverInputSchema(Consumer<DiscoverInputSchemaRequest.Builder> discoverInputSchemaRequest) 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.
This is a convenience which creates an instance of the
DiscoverInputSchemaRequest.Builder
avoiding the need to create one manually viaDiscoverInputSchemaRequest.builder()
- Parameters:
discoverInputSchemaRequest
- AConsumer
that will call methods onDiscoverInputSchemaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DiscoverInputSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidArgumentException The specified input parameter value is not valid.
- UnableToDetectSchemaException The data format is not valid. Kinesis Data Analytics cannot detect the schema for the given streaming source.
- ResourceProvisionedThroughputExceededException 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. - ServiceUnavailableException The service cannot complete the request.
- InvalidRequestException The request JSON is not valid for the operation.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationSnapshots
default CompletableFuture<ListApplicationSnapshotsResponse> listApplicationSnapshots(ListApplicationSnapshotsRequest listApplicationSnapshotsRequest) Lists information about the current application snapshots.
- Parameters:
listApplicationSnapshotsRequest
-- Returns:
- A Java Future containing the result of the ListApplicationSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidArgumentException The specified input parameter value is not valid.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationSnapshots
default CompletableFuture<ListApplicationSnapshotsResponse> listApplicationSnapshots(Consumer<ListApplicationSnapshotsRequest.Builder> listApplicationSnapshotsRequest) Lists information about the current application snapshots.
This is a convenience which creates an instance of the
ListApplicationSnapshotsRequest.Builder
avoiding the need to create one manually viaListApplicationSnapshotsRequest.builder()
- Parameters:
listApplicationSnapshotsRequest
- AConsumer
that will call methods onListApplicationSnapshotsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListApplicationSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidArgumentException The specified input parameter value is not valid.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationVersions
default CompletableFuture<ListApplicationVersionsResponse> listApplicationVersions(ListApplicationVersionsRequest listApplicationVersionsRequest) 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 Managed Service for Apache Flink.
- Parameters:
listApplicationVersionsRequest
-- Returns:
- A Java Future containing the result of the ListApplicationVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidArgumentException The specified input parameter value is not valid.
- ResourceNotFoundException Specified application can't be found.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationVersions
default CompletableFuture<ListApplicationVersionsResponse> listApplicationVersions(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest) 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 Managed Service for Apache Flink.
This is a convenience which creates an instance of the
ListApplicationVersionsRequest.Builder
avoiding the need to create one manually viaListApplicationVersionsRequest.builder()
- Parameters:
listApplicationVersionsRequest
- AConsumer
that will call methods onListApplicationVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListApplicationVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidArgumentException The specified input parameter value is not valid.
- ResourceNotFoundException Specified application can't be found.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest) Returns a list of Managed Service for Apache Flink 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.
- Parameters:
listApplicationsRequest
-- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Returns a list of Managed Service for Apache Flink 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.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builder
avoiding the need to create one manually viaListApplicationsRequest.builder()
- Parameters:
listApplicationsRequest
- AConsumer
that will call methods onListApplicationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
Returns a list of Managed Service for Apache Flink 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.
- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the list of key-value tags assigned to the application. For more information, see Using Tagging.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves the list of key-value tags assigned to the application. For more information, see Using Tagging.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rollbackApplication
default CompletableFuture<RollbackApplicationResponse> rollbackApplication(RollbackApplicationRequest rollbackApplicationRequest) 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
orAUTOSCALING
status.When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request.
This action is not supported for Managed Service for Apache Flink for SQL applications.
- Parameters:
rollbackApplicationRequest
-- Returns:
- A Java Future containing the result of the RollbackApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- InvalidArgumentException The specified input parameter value is not valid.
- ResourceInUseException The application is not available for this operation.
- InvalidRequestException The request JSON is not valid for the operation.
- ConcurrentModificationException 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.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rollbackApplication
default CompletableFuture<RollbackApplicationResponse> rollbackApplication(Consumer<RollbackApplicationRequest.Builder> rollbackApplicationRequest) 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
orAUTOSCALING
status.When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request.
This action is not supported for Managed Service for Apache Flink for SQL applications.
This is a convenience which creates an instance of the
RollbackApplicationRequest.Builder
avoiding the need to create one manually viaRollbackApplicationRequest.builder()
- Parameters:
rollbackApplicationRequest
- AConsumer
that will call methods onRollbackApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RollbackApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- InvalidArgumentException The specified input parameter value is not valid.
- ResourceInUseException The application is not available for this operation.
- InvalidRequestException The request JSON is not valid for the operation.
- ConcurrentModificationException 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.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startApplication
default CompletableFuture<StartApplicationResponse> startApplication(StartApplicationRequest startApplicationRequest) Starts the specified Managed Service for Apache Flink application. After creating an application, you must exclusively call this operation to start your application.
- Parameters:
startApplicationRequest
-- Returns:
- A Java Future containing the result of the StartApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startApplication
default CompletableFuture<StartApplicationResponse> startApplication(Consumer<StartApplicationRequest.Builder> startApplicationRequest) Starts the specified Managed Service for Apache Flink application. After creating an application, you must exclusively call this operation to start your application.
This is a convenience which creates an instance of the
StartApplicationRequest.Builder
avoiding the need to create one manually viaStartApplicationRequest.builder()
- Parameters:
startApplicationRequest
- AConsumer
that will call methods onStartApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- InvalidRequestException The request JSON is not valid for the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopApplication
default CompletableFuture<StopApplicationResponse> stopApplication(StopApplicationRequest stopApplicationRequest) 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 totrue
.You can use the DescribeApplication operation to find the application status.
Managed Service for Apache Flink takes a snapshot when the application is stopped, unless
Force
is set totrue
.- Parameters:
stopApplicationRequest
-- Returns:
- A Java Future containing the result of the StopApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- ConcurrentModificationException 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopApplication
default CompletableFuture<StopApplicationResponse> stopApplication(Consumer<StopApplicationRequest.Builder> stopApplicationRequest) 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 totrue
.You can use the DescribeApplication operation to find the application status.
Managed Service for Apache Flink takes a snapshot when the application is stopped, unless
Force
is set totrue
.
This is a convenience which creates an instance of the
StopApplicationRequest.Builder
avoiding the need to create one manually viaStopApplicationRequest.builder()
- Parameters:
stopApplicationRequest
- AConsumer
that will call methods onStopApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StopApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- ConcurrentModificationException 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds one or more key-value tags to a Managed Service for Apache Flink 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.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- TooManyTagsException 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.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more key-value tags to a Managed Service for Apache Flink 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.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- TooManyTagsException 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.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from a Managed Service for Apache Flink application. For more information, see Using Tagging.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- TooManyTagsException 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.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a Managed Service for Apache Flink application. For more information, see Using Tagging.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- TooManyTagsException 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.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest) Updates an existing Managed Service for Apache Flink application. Using this operation, you can update application code, input configuration, and output configuration.
Managed Service for Apache Flink updates the
ApplicationVersionId
each time you update your application.- Parameters:
updateApplicationRequest
-- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- CodeValidationException The user-provided application code (query) is not valid. This can be a simple syntax error.
- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- LimitExceededException The number of allowed resources has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates an existing Managed Service for Apache Flink application. Using this operation, you can update application code, input configuration, and output configuration.
Managed Service for Apache Flink updates the
ApplicationVersionId
each time you update your application.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builder
avoiding the need to create one manually viaUpdateApplicationRequest.builder()
- Parameters:
updateApplicationRequest
- AConsumer
that will call methods onUpdateApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- CodeValidationException The user-provided application code (query) is not valid. This can be a simple syntax error.
- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- InvalidRequestException The request JSON is not valid for the operation.
- InvalidApplicationConfigurationException The user-provided application configuration is not valid.
- LimitExceededException The number of allowed resources has been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplicationMaintenanceConfiguration
default CompletableFuture<UpdateApplicationMaintenanceConfigurationResponse> updateApplicationMaintenanceConfiguration(UpdateApplicationMaintenanceConfigurationRequest updateApplicationMaintenanceConfigurationRequest) Updates the maintenance configuration of the Managed Service for Apache Flink application.
You can invoke this operation on an application that is in one of the two following states:
READY
orRUNNING
. If you invoke it when the application is in a state other than these two states, it throws aResourceInUseException
. 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 Managed Service for Apache Flink for Apache Flink Maintenance.
This operation is supported only for Managed Service for Apache Flink.
- Parameters:
updateApplicationMaintenanceConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateApplicationMaintenanceConfiguration operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplicationMaintenanceConfiguration
default CompletableFuture<UpdateApplicationMaintenanceConfigurationResponse> updateApplicationMaintenanceConfiguration(Consumer<UpdateApplicationMaintenanceConfigurationRequest.Builder> updateApplicationMaintenanceConfigurationRequest) Updates the maintenance configuration of the Managed Service for Apache Flink application.
You can invoke this operation on an application that is in one of the two following states:
READY
orRUNNING
. If you invoke it when the application is in a state other than these two states, it throws aResourceInUseException
. 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 Managed Service for Apache Flink for Apache Flink Maintenance.
This operation is supported only for Managed Service for Apache Flink.
This is a convenience which creates an instance of the
UpdateApplicationMaintenanceConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateApplicationMaintenanceConfigurationRequest.builder()
- Parameters:
updateApplicationMaintenanceConfigurationRequest
- AConsumer
that will call methods onUpdateApplicationMaintenanceConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApplicationMaintenanceConfiguration operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException Specified application can't be found.
- ResourceInUseException The application is not available for this operation.
- InvalidArgumentException The specified input parameter value is not valid.
- ConcurrentModificationException 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.
- UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- KinesisAnalyticsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aKinesisAnalyticsV2AsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aKinesisAnalyticsV2AsyncClient
.
-