Interface KinesisAnalyticsV2AsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface KinesisAnalyticsV2AsyncClient extends AwsClient
Service client for accessing Kinesis Analytics V2 asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

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 Details

  • 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 invoke Throwable.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 via AddApplicationCloudWatchLoggingOptionRequest.builder()

      Parameters:
      addApplicationCloudWatchLoggingOptionRequest - A Consumer that will call methods on AddApplicationCloudWatchLoggingOptionRequest.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 invoke Throwable.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 invoke Throwable.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 via AddApplicationInputRequest.builder()

      Parameters:
      addApplicationInputRequest - A Consumer that will call methods on AddApplicationInputRequest.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 invoke Throwable.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 invoke Throwable.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 via AddApplicationInputProcessingConfigurationRequest.builder()

      Parameters:
      addApplicationInputProcessingConfigurationRequest - A Consumer that will call methods on AddApplicationInputProcessingConfigurationRequest.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 invoke Throwable.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 invoke Throwable.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 via AddApplicationOutputRequest.builder()

      Parameters:
      addApplicationOutputRequest - A Consumer that will call methods on AddApplicationOutputRequest.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 invoke Throwable.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 invoke Throwable.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 via AddApplicationReferenceDataSourceRequest.builder()

      Parameters:
      addApplicationReferenceDataSourceRequest - A Consumer that will call methods on AddApplicationReferenceDataSourceRequest.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 invoke Throwable.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 invoke Throwable.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 via AddApplicationVpcConfigurationRequest.builder()

      Parameters:
      addApplicationVpcConfigurationRequest - A Consumer that will call methods on AddApplicationVpcConfigurationRequest.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 invoke Throwable.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 invoke Throwable.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 via CreateApplicationRequest.builder()

      Parameters:
      createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.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 invoke Throwable.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 invoke Throwable.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 via CreateApplicationPresignedUrlRequest.builder()

      Parameters:
      createApplicationPresignedUrlRequest - A Consumer that will call methods on CreateApplicationPresignedUrlRequest.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 invoke Throwable.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 invoke Throwable.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 via CreateApplicationSnapshotRequest.builder()

      Parameters:
      createApplicationSnapshotRequest - A Consumer that will call methods on CreateApplicationSnapshotRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteApplicationRequest.builder()

      Parameters:
      deleteApplicationRequest - A Consumer that will call methods on DeleteApplicationRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteApplicationCloudWatchLoggingOptionRequest.builder()

      Parameters:
      deleteApplicationCloudWatchLoggingOptionRequest - A Consumer that will call methods on DeleteApplicationCloudWatchLoggingOptionRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteApplicationInputProcessingConfigurationRequest.builder()

      Parameters:
      deleteApplicationInputProcessingConfigurationRequest - A Consumer that will call methods on DeleteApplicationInputProcessingConfigurationRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteApplicationOutputRequest.builder()

      Parameters:
      deleteApplicationOutputRequest - A Consumer that will call methods on DeleteApplicationOutputRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteApplicationReferenceDataSourceRequest.builder()

      Parameters:
      deleteApplicationReferenceDataSourceRequest - A Consumer that will call methods on DeleteApplicationReferenceDataSourceRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteApplicationSnapshotRequest.builder()

      Parameters:
      deleteApplicationSnapshotRequest - A Consumer that will call methods on DeleteApplicationSnapshotRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteApplicationVpcConfigurationRequest.builder()

      Parameters:
      deleteApplicationVpcConfigurationRequest - A Consumer that will call methods on DeleteApplicationVpcConfigurationRequest.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 invoke Throwable.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 invoke Throwable.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 via DescribeApplicationRequest.builder()

      Parameters:
      describeApplicationRequest - A Consumer that will call methods on DescribeApplicationRequest.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 invoke Throwable.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 invoke Throwable.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 via DescribeApplicationSnapshotRequest.builder()

      Parameters:
      describeApplicationSnapshotRequest - A Consumer that will call methods on DescribeApplicationSnapshotRequest.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 invoke Throwable.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 invoke Throwable.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 via DescribeApplicationVersionRequest.builder()

      Parameters:
      describeApplicationVersionRequest - A Consumer that will call methods on DescribeApplicationVersionRequest.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 invoke Throwable.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 invoke Throwable.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 via DiscoverInputSchemaRequest.builder()

      Parameters:
      discoverInputSchemaRequest - A Consumer that will call methods on DiscoverInputSchemaRequest.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 invoke Throwable.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 invoke Throwable.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 via ListApplicationSnapshotsRequest.builder()

      Parameters:
      listApplicationSnapshotsRequest - A Consumer that will call methods on ListApplicationSnapshotsRequest.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 invoke Throwable.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 invoke Throwable.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 via ListApplicationVersionsRequest.builder()

      Parameters:
      listApplicationVersionsRequest - A Consumer that will call methods on ListApplicationVersionsRequest.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 invoke Throwable.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 invoke Throwable.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 via ListApplicationsRequest.builder()

      Parameters:
      listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.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 invoke Throwable.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()

      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 invoke Throwable.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 invoke Throwable.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 via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.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 invoke Throwable.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 or AUTOSCALING 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 invoke Throwable.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 or AUTOSCALING 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 via RollbackApplicationRequest.builder()

      Parameters:
      rollbackApplicationRequest - A Consumer that will call methods on RollbackApplicationRequest.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 invoke Throwable.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 invoke Throwable.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 via StartApplicationRequest.builder()

      Parameters:
      startApplicationRequest - A Consumer that will call methods on StartApplicationRequest.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 invoke Throwable.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 to true.

      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 to true.

      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 invoke Throwable.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 to true.

      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 to true.


      This is a convenience which creates an instance of the StopApplicationRequest.Builder avoiding the need to create one manually via StopApplicationRequest.builder()

      Parameters:
      stopApplicationRequest - A Consumer that will call methods on StopApplicationRequest.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 invoke Throwable.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

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest 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.

      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 invoke Throwable.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 via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via UpdateApplicationRequest.builder()

      Parameters:
      updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.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 invoke Throwable.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 or RUNNING. If you invoke it when the application is in a state other than these two states, it throws a ResourceInUseException. The service makes use of the updated configuration the next time it schedules maintenance for the application. If you invoke this operation after the service schedules maintenance, the service will apply the configuration update the next time it schedules maintenance for the application. This means that you might not see the maintenance configuration update applied to the maintenance process that follows a successful invocation of this operation, but to the following maintenance process instead.

      To see the current maintenance configuration of your application, invoke the DescribeApplication operation.

      For information about application maintenance, see 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 invoke Throwable.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 or RUNNING. If you invoke it when the application is in a state other than these two states, it throws a ResourceInUseException. The service makes use of the updated configuration the next time it schedules maintenance for the application. If you invoke this operation after the service schedules maintenance, the service will apply the configuration update the next time it schedules maintenance for the application. This means that you might not see the maintenance configuration update applied to the maintenance process that follows a successful invocation of this operation, but to the following maintenance process instead.

      To see the current maintenance configuration of your application, invoke the DescribeApplication operation.

      For information about application maintenance, see 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 via UpdateApplicationMaintenanceConfigurationRequest.builder()

      Parameters:
      updateApplicationMaintenanceConfigurationRequest - A Consumer that will call methods on UpdateApplicationMaintenanceConfigurationRequest.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 invoke Throwable.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

      default KinesisAnalyticsV2ServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      Create a KinesisAnalyticsV2AsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a KinesisAnalyticsV2AsyncClient.