Interface KinesisAnalyticsV2Client
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface KinesisAnalyticsV2Client extends AwsClient
Service client for accessing Kinesis Analytics V2. This can be created using the staticbuilder()method.Amazon Managed Service for Apache Flink was previously known as Amazon Kinesis Data Analytics for Apache Flink.
Amazon Managed Service for Apache Flink is a fully managed service that you can use to process and analyze streaming data using Java, Python, SQL, or Scala. The service enables you to quickly author and run Java, SQL, or Scala code against streaming sources to perform time series analytics, feed real-time dashboards, and create real-time metrics.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default AddApplicationCloudWatchLoggingOptionResponseaddApplicationCloudWatchLoggingOption(Consumer<AddApplicationCloudWatchLoggingOptionRequest.Builder> addApplicationCloudWatchLoggingOptionRequest)Adds an Amazon CloudWatch log stream to monitor application configuration errors.default AddApplicationCloudWatchLoggingOptionResponseaddApplicationCloudWatchLoggingOption(AddApplicationCloudWatchLoggingOptionRequest addApplicationCloudWatchLoggingOptionRequest)Adds an Amazon CloudWatch log stream to monitor application configuration errors.default AddApplicationInputResponseaddApplicationInput(Consumer<AddApplicationInputRequest.Builder> addApplicationInputRequest)Adds a streaming source to your SQL-based Kinesis Data Analytics application.default AddApplicationInputResponseaddApplicationInput(AddApplicationInputRequest addApplicationInputRequest)Adds a streaming source to your SQL-based Kinesis Data Analytics application.default AddApplicationInputProcessingConfigurationResponseaddApplicationInputProcessingConfiguration(Consumer<AddApplicationInputProcessingConfigurationRequest.Builder> addApplicationInputProcessingConfigurationRequest)Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application.default AddApplicationInputProcessingConfigurationResponseaddApplicationInputProcessingConfiguration(AddApplicationInputProcessingConfigurationRequest addApplicationInputProcessingConfigurationRequest)Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application.default AddApplicationOutputResponseaddApplicationOutput(Consumer<AddApplicationOutputRequest.Builder> addApplicationOutputRequest)Adds an external destination to your SQL-based Kinesis Data Analytics application.default AddApplicationOutputResponseaddApplicationOutput(AddApplicationOutputRequest addApplicationOutputRequest)Adds an external destination to your SQL-based Kinesis Data Analytics application.default AddApplicationReferenceDataSourceResponseaddApplicationReferenceDataSource(Consumer<AddApplicationReferenceDataSourceRequest.Builder> addApplicationReferenceDataSourceRequest)Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.default AddApplicationReferenceDataSourceResponseaddApplicationReferenceDataSource(AddApplicationReferenceDataSourceRequest addApplicationReferenceDataSourceRequest)Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.default AddApplicationVpcConfigurationResponseaddApplicationVpcConfiguration(Consumer<AddApplicationVpcConfigurationRequest.Builder> addApplicationVpcConfigurationRequest)Adds a Virtual Private Cloud (VPC) configuration to the application.default AddApplicationVpcConfigurationResponseaddApplicationVpcConfiguration(AddApplicationVpcConfigurationRequest addApplicationVpcConfigurationRequest)Adds a Virtual Private Cloud (VPC) configuration to the application.static KinesisAnalyticsV2ClientBuilderbuilder()Create a builder that can be used to configure and create aKinesisAnalyticsV2Client.static KinesisAnalyticsV2Clientcreate()Create aKinesisAnalyticsV2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateApplicationResponsecreateApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)Creates a Managed Service for Apache Flink application.default CreateApplicationResponsecreateApplication(CreateApplicationRequest createApplicationRequest)Creates a Managed Service for Apache Flink application.default CreateApplicationPresignedUrlResponsecreateApplicationPresignedUrl(Consumer<CreateApplicationPresignedUrlRequest.Builder> createApplicationPresignedUrlRequest)Creates and returns a URL that you can use to connect to an application's extension.default CreateApplicationPresignedUrlResponsecreateApplicationPresignedUrl(CreateApplicationPresignedUrlRequest createApplicationPresignedUrlRequest)Creates and returns a URL that you can use to connect to an application's extension.default CreateApplicationSnapshotResponsecreateApplicationSnapshot(Consumer<CreateApplicationSnapshotRequest.Builder> createApplicationSnapshotRequest)Creates a snapshot of the application's state data.default CreateApplicationSnapshotResponsecreateApplicationSnapshot(CreateApplicationSnapshotRequest createApplicationSnapshotRequest)Creates a snapshot of the application's state data.default DeleteApplicationResponsedeleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)Deletes the specified application.default DeleteApplicationResponsedeleteApplication(DeleteApplicationRequest deleteApplicationRequest)Deletes the specified application.default DeleteApplicationCloudWatchLoggingOptionResponsedeleteApplicationCloudWatchLoggingOption(Consumer<DeleteApplicationCloudWatchLoggingOptionRequest.Builder> deleteApplicationCloudWatchLoggingOptionRequest)Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.default DeleteApplicationCloudWatchLoggingOptionResponsedeleteApplicationCloudWatchLoggingOption(DeleteApplicationCloudWatchLoggingOptionRequest deleteApplicationCloudWatchLoggingOptionRequest)Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.default DeleteApplicationInputProcessingConfigurationResponsedeleteApplicationInputProcessingConfiguration(Consumer<DeleteApplicationInputProcessingConfigurationRequest.Builder> deleteApplicationInputProcessingConfigurationRequest)Deletes an InputProcessingConfiguration from an input.default DeleteApplicationInputProcessingConfigurationResponsedeleteApplicationInputProcessingConfiguration(DeleteApplicationInputProcessingConfigurationRequest deleteApplicationInputProcessingConfigurationRequest)Deletes an InputProcessingConfiguration from an input.default DeleteApplicationOutputResponsedeleteApplicationOutput(Consumer<DeleteApplicationOutputRequest.Builder> deleteApplicationOutputRequest)Deletes the output destination configuration from your SQL-based Kinesis Data Analytics application's configuration.default DeleteApplicationOutputResponsedeleteApplicationOutput(DeleteApplicationOutputRequest deleteApplicationOutputRequest)Deletes the output destination configuration from your SQL-based Kinesis Data Analytics application's configuration.default DeleteApplicationReferenceDataSourceResponsedeleteApplicationReferenceDataSource(Consumer<DeleteApplicationReferenceDataSourceRequest.Builder> deleteApplicationReferenceDataSourceRequest)Deletes a reference data source configuration from the specified SQL-based Kinesis Data Analytics application's configuration.default DeleteApplicationReferenceDataSourceResponsedeleteApplicationReferenceDataSource(DeleteApplicationReferenceDataSourceRequest deleteApplicationReferenceDataSourceRequest)Deletes a reference data source configuration from the specified SQL-based Kinesis Data Analytics application's configuration.default DeleteApplicationSnapshotResponsedeleteApplicationSnapshot(Consumer<DeleteApplicationSnapshotRequest.Builder> deleteApplicationSnapshotRequest)Deletes a snapshot of application state.default DeleteApplicationSnapshotResponsedeleteApplicationSnapshot(DeleteApplicationSnapshotRequest deleteApplicationSnapshotRequest)Deletes a snapshot of application state.default DeleteApplicationVpcConfigurationResponsedeleteApplicationVpcConfiguration(Consumer<DeleteApplicationVpcConfigurationRequest.Builder> deleteApplicationVpcConfigurationRequest)Removes a VPC configuration from a Managed Service for Apache Flink application.default DeleteApplicationVpcConfigurationResponsedeleteApplicationVpcConfiguration(DeleteApplicationVpcConfigurationRequest deleteApplicationVpcConfigurationRequest)Removes a VPC configuration from a Managed Service for Apache Flink application.default DescribeApplicationResponsedescribeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest)Returns information about a specific Managed Service for Apache Flink application.default DescribeApplicationResponsedescribeApplication(DescribeApplicationRequest describeApplicationRequest)Returns information about a specific Managed Service for Apache Flink application.default DescribeApplicationSnapshotResponsedescribeApplicationSnapshot(Consumer<DescribeApplicationSnapshotRequest.Builder> describeApplicationSnapshotRequest)Returns information about a snapshot of application state data.default DescribeApplicationSnapshotResponsedescribeApplicationSnapshot(DescribeApplicationSnapshotRequest describeApplicationSnapshotRequest)Returns information about a snapshot of application state data.default DescribeApplicationVersionResponsedescribeApplicationVersion(Consumer<DescribeApplicationVersionRequest.Builder> describeApplicationVersionRequest)Provides a detailed description of a specified version of the application.default DescribeApplicationVersionResponsedescribeApplicationVersion(DescribeApplicationVersionRequest describeApplicationVersionRequest)Provides a detailed description of a specified version of the application.default DiscoverInputSchemaResponsediscoverInputSchema(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.default DiscoverInputSchemaResponsediscoverInputSchema(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.default ListApplicationsResponselistApplications()Returns a list of Managed Service for Apache Flink applications in your account.default ListApplicationsResponselistApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)Returns a list of Managed Service for Apache Flink applications in your account.default ListApplicationsResponselistApplications(ListApplicationsRequest listApplicationsRequest)Returns a list of Managed Service for Apache Flink applications in your account.default ListApplicationSnapshotsResponselistApplicationSnapshots(Consumer<ListApplicationSnapshotsRequest.Builder> listApplicationSnapshotsRequest)Lists information about the current application snapshots.default ListApplicationSnapshotsResponselistApplicationSnapshots(ListApplicationSnapshotsRequest listApplicationSnapshotsRequest)Lists information about the current application snapshots.default ListApplicationVersionsResponselistApplicationVersions(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest)Lists all the versions for the specified application, including versions that were rolled back.default ListApplicationVersionsResponselistApplicationVersions(ListApplicationVersionsRequest listApplicationVersionsRequest)Lists all the versions for the specified application, including versions that were rolled back.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Retrieves the list of key-value tags assigned to the application.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Retrieves the list of key-value tags assigned to the application.default RollbackApplicationResponserollbackApplication(Consumer<RollbackApplicationRequest.Builder> rollbackApplicationRequest)Reverts the application to the previous running version.default RollbackApplicationResponserollbackApplication(RollbackApplicationRequest rollbackApplicationRequest)Reverts the application to the previous running version.default KinesisAnalyticsV2ServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default StartApplicationResponsestartApplication(Consumer<StartApplicationRequest.Builder> startApplicationRequest)Starts the specified Managed Service for Apache Flink application.default StartApplicationResponsestartApplication(StartApplicationRequest startApplicationRequest)Starts the specified Managed Service for Apache Flink application.default StopApplicationResponsestopApplication(Consumer<StopApplicationRequest.Builder> stopApplicationRequest)Stops the application from processing data.default StopApplicationResponsestopApplication(StopApplicationRequest stopApplicationRequest)Stops the application from processing data.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Adds one or more key-value tags to a Managed Service for Apache Flink application.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Adds one or more key-value tags to a Managed Service for Apache Flink application.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Removes one or more tags from a Managed Service for Apache Flink application.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Removes one or more tags from a Managed Service for Apache Flink application.default UpdateApplicationResponseupdateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)Updates an existing Managed Service for Apache Flink application.default UpdateApplicationResponseupdateApplication(UpdateApplicationRequest updateApplicationRequest)Updates an existing Managed Service for Apache Flink application.default UpdateApplicationMaintenanceConfigurationResponseupdateApplicationMaintenanceConfiguration(Consumer<UpdateApplicationMaintenanceConfigurationRequest.Builder> updateApplicationMaintenanceConfigurationRequest)Updates the maintenance configuration of the Managed Service for Apache Flink application.default UpdateApplicationMaintenanceConfigurationResponseupdateApplicationMaintenanceConfiguration(UpdateApplicationMaintenanceConfigurationRequest updateApplicationMaintenanceConfigurationRequest)Updates the maintenance configuration of the Managed Service for Apache Flink application.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
addApplicationCloudWatchLoggingOption
default AddApplicationCloudWatchLoggingOptionResponse addApplicationCloudWatchLoggingOption(AddApplicationCloudWatchLoggingOptionRequest addApplicationCloudWatchLoggingOptionRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Adds an Amazon CloudWatch log stream to monitor application configuration errors.
- Parameters:
addApplicationCloudWatchLoggingOptionRequest-- Returns:
- Result of the AddApplicationCloudWatchLoggingOption operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
addApplicationCloudWatchLoggingOption
default AddApplicationCloudWatchLoggingOptionResponse addApplicationCloudWatchLoggingOption(Consumer<AddApplicationCloudWatchLoggingOptionRequest.Builder> addApplicationCloudWatchLoggingOptionRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Adds an Amazon CloudWatch log stream to monitor application configuration errors.
This is a convenience which creates an instance of the
AddApplicationCloudWatchLoggingOptionRequest.Builderavoiding the need to create one manually viaAddApplicationCloudWatchLoggingOptionRequest.builder()- Parameters:
addApplicationCloudWatchLoggingOptionRequest- AConsumerthat will call methods onAddApplicationCloudWatchLoggingOptionRequest.Builderto create a request.- Returns:
- Result of the AddApplicationCloudWatchLoggingOption operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
addApplicationInput
default AddApplicationInputResponse addApplicationInput(AddApplicationInputRequest addApplicationInputRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, CodeValidationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the AddApplicationInput operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
addApplicationInput
default AddApplicationInputResponse addApplicationInput(Consumer<AddApplicationInputRequest.Builder> addApplicationInputRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, CodeValidationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaAddApplicationInputRequest.builder()- Parameters:
addApplicationInputRequest- AConsumerthat will call methods onAddApplicationInputRequest.Builderto create a request.- Returns:
- Result of the AddApplicationInput operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
addApplicationInputProcessingConfiguration
default AddApplicationInputProcessingConfigurationResponse addApplicationInputProcessingConfiguration(AddApplicationInputProcessingConfigurationRequest addApplicationInputProcessingConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the AddApplicationInputProcessingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
addApplicationInputProcessingConfiguration
default AddApplicationInputProcessingConfigurationResponse addApplicationInputProcessingConfiguration(Consumer<AddApplicationInputProcessingConfigurationRequest.Builder> addApplicationInputProcessingConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaAddApplicationInputProcessingConfigurationRequest.builder()- Parameters:
addApplicationInputProcessingConfigurationRequest- AConsumerthat will call methods onAddApplicationInputProcessingConfigurationRequest.Builderto create a request.- Returns:
- Result of the AddApplicationInputProcessingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
addApplicationOutput
default AddApplicationOutputResponse addApplicationOutput(AddApplicationOutputRequest addApplicationOutputRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the AddApplicationOutput operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
addApplicationOutput
default AddApplicationOutputResponse addApplicationOutput(Consumer<AddApplicationOutputRequest.Builder> addApplicationOutputRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaAddApplicationOutputRequest.builder()- Parameters:
addApplicationOutputRequest- AConsumerthat will call methods onAddApplicationOutputRequest.Builderto create a request.- Returns:
- Result of the AddApplicationOutput operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
addApplicationReferenceDataSource
default AddApplicationReferenceDataSourceResponse addApplicationReferenceDataSource(AddApplicationReferenceDataSourceRequest addApplicationReferenceDataSourceRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the AddApplicationReferenceDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
addApplicationReferenceDataSource
default AddApplicationReferenceDataSourceResponse addApplicationReferenceDataSource(Consumer<AddApplicationReferenceDataSourceRequest.Builder> addApplicationReferenceDataSourceRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaAddApplicationReferenceDataSourceRequest.builder()- Parameters:
addApplicationReferenceDataSourceRequest- AConsumerthat will call methods onAddApplicationReferenceDataSourceRequest.Builderto create a request.- Returns:
- Result of the AddApplicationReferenceDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
addApplicationVpcConfiguration
default AddApplicationVpcConfigurationResponse addApplicationVpcConfiguration(AddApplicationVpcConfigurationRequest addApplicationVpcConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the AddApplicationVpcConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
addApplicationVpcConfiguration
default AddApplicationVpcConfigurationResponse addApplicationVpcConfiguration(Consumer<AddApplicationVpcConfigurationRequest.Builder> addApplicationVpcConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaAddApplicationVpcConfigurationRequest.builder()- Parameters:
addApplicationVpcConfigurationRequest- AConsumerthat will call methods onAddApplicationVpcConfigurationRequest.Builderto create a request.- Returns:
- Result of the AddApplicationVpcConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
createApplication
default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws CodeValidationException, ResourceInUseException, LimitExceededException, InvalidArgumentException, InvalidRequestException, TooManyTagsException, ConcurrentModificationException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the CreateApplication operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
createApplication
default CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws CodeValidationException, ResourceInUseException, LimitExceededException, InvalidArgumentException, InvalidRequestException, TooManyTagsException, ConcurrentModificationException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaCreateApplicationRequest.builder()- Parameters:
createApplicationRequest- AConsumerthat will call methods onCreateApplicationRequest.Builderto create a request.- Returns:
- Result of the CreateApplication operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
createApplicationPresignedUrl
default CreateApplicationPresignedUrlResponse createApplicationPresignedUrl(CreateApplicationPresignedUrlRequest createApplicationPresignedUrlRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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
SessionExpirationDurationInSecondsparameter. 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:
- Result of the CreateApplicationPresignedUrl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createApplicationPresignedUrl
default CreateApplicationPresignedUrlResponse createApplicationPresignedUrl(Consumer<CreateApplicationPresignedUrlRequest.Builder> createApplicationPresignedUrlRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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
SessionExpirationDurationInSecondsparameter. 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.Builderavoiding the need to create one manually viaCreateApplicationPresignedUrlRequest.builder()- Parameters:
createApplicationPresignedUrlRequest- AConsumerthat will call methods onCreateApplicationPresignedUrlRequest.Builderto create a request.- Returns:
- Result of the CreateApplicationPresignedUrl operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createApplicationSnapshot
default CreateApplicationSnapshotResponse createApplicationSnapshot(CreateApplicationSnapshotRequest createApplicationSnapshotRequest) throws ResourceInUseException, ResourceNotFoundException, LimitExceededException, InvalidArgumentException, UnsupportedOperationException, InvalidRequestException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Creates a snapshot of the application's state data.
- Parameters:
createApplicationSnapshotRequest-- Returns:
- Result of the CreateApplicationSnapshot operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
createApplicationSnapshot
default CreateApplicationSnapshotResponse createApplicationSnapshot(Consumer<CreateApplicationSnapshotRequest.Builder> createApplicationSnapshotRequest) throws ResourceInUseException, ResourceNotFoundException, LimitExceededException, InvalidArgumentException, UnsupportedOperationException, InvalidRequestException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Creates a snapshot of the application's state data.
This is a convenience which creates an instance of the
CreateApplicationSnapshotRequest.Builderavoiding the need to create one manually viaCreateApplicationSnapshotRequest.builder()- Parameters:
createApplicationSnapshotRequest- AConsumerthat will call methods onCreateApplicationSnapshotRequest.Builderto create a request.- Returns:
- Result of the CreateApplicationSnapshot operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
deleteApplication
default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ConcurrentModificationException, ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidRequestException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes the specified application. Managed Service for Apache Flink halts application execution and deletes the application.
- Parameters:
deleteApplicationRequest-- Returns:
- Result of the DeleteApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplication
default DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws ConcurrentModificationException, ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidRequestException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaDeleteApplicationRequest.builder()- Parameters:
deleteApplicationRequest- AConsumerthat will call methods onDeleteApplicationRequest.Builderto create a request.- Returns:
- Result of the DeleteApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationCloudWatchLoggingOption
default DeleteApplicationCloudWatchLoggingOptionResponse deleteApplicationCloudWatchLoggingOption(DeleteApplicationCloudWatchLoggingOptionRequest deleteApplicationCloudWatchLoggingOptionRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.
- Parameters:
deleteApplicationCloudWatchLoggingOptionRequest-- Returns:
- Result of the DeleteApplicationCloudWatchLoggingOption operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationCloudWatchLoggingOption
default DeleteApplicationCloudWatchLoggingOptionResponse deleteApplicationCloudWatchLoggingOption(Consumer<DeleteApplicationCloudWatchLoggingOptionRequest.Builder> deleteApplicationCloudWatchLoggingOptionRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaDeleteApplicationCloudWatchLoggingOptionRequest.builder()- Parameters:
deleteApplicationCloudWatchLoggingOptionRequest- AConsumerthat will call methods onDeleteApplicationCloudWatchLoggingOptionRequest.Builderto create a request.- Returns:
- Result of the DeleteApplicationCloudWatchLoggingOption operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationInputProcessingConfiguration
default DeleteApplicationInputProcessingConfigurationResponse deleteApplicationInputProcessingConfiguration(DeleteApplicationInputProcessingConfigurationRequest deleteApplicationInputProcessingConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes an InputProcessingConfiguration from an input.
- Parameters:
deleteApplicationInputProcessingConfigurationRequest-- Returns:
- Result of the DeleteApplicationInputProcessingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationInputProcessingConfiguration
default DeleteApplicationInputProcessingConfigurationResponse deleteApplicationInputProcessingConfiguration(Consumer<DeleteApplicationInputProcessingConfigurationRequest.Builder> deleteApplicationInputProcessingConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes an InputProcessingConfiguration from an input.
This is a convenience which creates an instance of the
DeleteApplicationInputProcessingConfigurationRequest.Builderavoiding the need to create one manually viaDeleteApplicationInputProcessingConfigurationRequest.builder()- Parameters:
deleteApplicationInputProcessingConfigurationRequest- AConsumerthat will call methods onDeleteApplicationInputProcessingConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteApplicationInputProcessingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationOutput
default DeleteApplicationOutputResponse deleteApplicationOutput(DeleteApplicationOutputRequest deleteApplicationOutputRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the DeleteApplicationOutput operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationOutput
default DeleteApplicationOutputResponse deleteApplicationOutput(Consumer<DeleteApplicationOutputRequest.Builder> deleteApplicationOutputRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaDeleteApplicationOutputRequest.builder()- Parameters:
deleteApplicationOutputRequest- AConsumerthat will call methods onDeleteApplicationOutputRequest.Builderto create a request.- Returns:
- Result of the DeleteApplicationOutput operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationReferenceDataSource
default DeleteApplicationReferenceDataSourceResponse deleteApplicationReferenceDataSource(DeleteApplicationReferenceDataSourceRequest deleteApplicationReferenceDataSourceRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the DeleteApplicationReferenceDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationReferenceDataSource
default DeleteApplicationReferenceDataSourceResponse deleteApplicationReferenceDataSource(Consumer<DeleteApplicationReferenceDataSourceRequest.Builder> deleteApplicationReferenceDataSourceRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaDeleteApplicationReferenceDataSourceRequest.builder()- Parameters:
deleteApplicationReferenceDataSourceRequest- AConsumerthat will call methods onDeleteApplicationReferenceDataSourceRequest.Builderto create a request.- Returns:
- Result of the DeleteApplicationReferenceDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationSnapshot
default DeleteApplicationSnapshotResponse deleteApplicationSnapshot(DeleteApplicationSnapshotRequest deleteApplicationSnapshotRequest) throws ResourceInUseException, InvalidArgumentException, UnsupportedOperationException, InvalidRequestException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes a snapshot of application state.
- Parameters:
deleteApplicationSnapshotRequest-- Returns:
- Result of the DeleteApplicationSnapshot operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationSnapshot
default DeleteApplicationSnapshotResponse deleteApplicationSnapshot(Consumer<DeleteApplicationSnapshotRequest.Builder> deleteApplicationSnapshotRequest) throws ResourceInUseException, InvalidArgumentException, UnsupportedOperationException, InvalidRequestException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes a snapshot of application state.
This is a convenience which creates an instance of the
DeleteApplicationSnapshotRequest.Builderavoiding the need to create one manually viaDeleteApplicationSnapshotRequest.builder()- Parameters:
deleteApplicationSnapshotRequest- AConsumerthat will call methods onDeleteApplicationSnapshotRequest.Builderto create a request.- Returns:
- Result of the DeleteApplicationSnapshot operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationVpcConfiguration
default DeleteApplicationVpcConfigurationResponse deleteApplicationVpcConfiguration(DeleteApplicationVpcConfigurationRequest deleteApplicationVpcConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Removes a VPC configuration from a Managed Service for Apache Flink application.
- Parameters:
deleteApplicationVpcConfigurationRequest-- Returns:
- Result of the DeleteApplicationVpcConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplicationVpcConfiguration
default DeleteApplicationVpcConfigurationResponse deleteApplicationVpcConfiguration(Consumer<DeleteApplicationVpcConfigurationRequest.Builder> deleteApplicationVpcConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidApplicationConfigurationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Removes a VPC configuration from a Managed Service for Apache Flink application.
This is a convenience which creates an instance of the
DeleteApplicationVpcConfigurationRequest.Builderavoiding the need to create one manually viaDeleteApplicationVpcConfigurationRequest.builder()- Parameters:
deleteApplicationVpcConfigurationRequest- AConsumerthat will call methods onDeleteApplicationVpcConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteApplicationVpcConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeApplication
default DescribeApplicationResponse describeApplication(DescribeApplicationRequest describeApplicationRequest) throws ResourceNotFoundException, InvalidArgumentException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the DescribeApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeApplication
default DescribeApplicationResponse describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) throws ResourceNotFoundException, InvalidArgumentException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaDescribeApplicationRequest.builder()- Parameters:
describeApplicationRequest- AConsumerthat will call methods onDescribeApplicationRequest.Builderto create a request.- Returns:
- Result of the DescribeApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeApplicationSnapshot
default DescribeApplicationSnapshotResponse describeApplicationSnapshot(DescribeApplicationSnapshotRequest describeApplicationSnapshotRequest) throws ResourceNotFoundException, InvalidArgumentException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Returns information about a snapshot of application state data.
- Parameters:
describeApplicationSnapshotRequest-- Returns:
- Result of the DescribeApplicationSnapshot operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
describeApplicationSnapshot
default DescribeApplicationSnapshotResponse describeApplicationSnapshot(Consumer<DescribeApplicationSnapshotRequest.Builder> describeApplicationSnapshotRequest) throws ResourceNotFoundException, InvalidArgumentException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Returns information about a snapshot of application state data.
This is a convenience which creates an instance of the
DescribeApplicationSnapshotRequest.Builderavoiding the need to create one manually viaDescribeApplicationSnapshotRequest.builder()- Parameters:
describeApplicationSnapshotRequest- AConsumerthat will call methods onDescribeApplicationSnapshotRequest.Builderto create a request.- Returns:
- Result of the DescribeApplicationSnapshot operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
describeApplicationVersion
default DescribeApplicationVersionResponse describeApplicationVersion(DescribeApplicationVersionRequest describeApplicationVersionRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the DescribeApplicationVersion operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
describeApplicationVersion
default DescribeApplicationVersionResponse describeApplicationVersion(Consumer<DescribeApplicationVersionRequest.Builder> describeApplicationVersionRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaDescribeApplicationVersionRequest.builder()- Parameters:
describeApplicationVersionRequest- AConsumerthat will call methods onDescribeApplicationVersionRequest.Builderto create a request.- Returns:
- Result of the DescribeApplicationVersion operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
discoverInputSchema
default DiscoverInputSchemaResponse discoverInputSchema(DiscoverInputSchemaRequest discoverInputSchemaRequest) throws InvalidArgumentException, UnableToDetectSchemaException, ResourceProvisionedThroughputExceededException, ServiceUnavailableException, InvalidRequestException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the DiscoverInputSchema operation returned by the service.
- Throws:
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 StreamsProvisionedThroughputExceededException. 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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
discoverInputSchema
default DiscoverInputSchemaResponse discoverInputSchema(Consumer<DiscoverInputSchemaRequest.Builder> discoverInputSchemaRequest) throws InvalidArgumentException, UnableToDetectSchemaException, ResourceProvisionedThroughputExceededException, ServiceUnavailableException, InvalidRequestException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaDiscoverInputSchemaRequest.builder()- Parameters:
discoverInputSchemaRequest- AConsumerthat will call methods onDiscoverInputSchemaRequest.Builderto create a request.- Returns:
- Result of the DiscoverInputSchema operation returned by the service.
- Throws:
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 StreamsProvisionedThroughputExceededException. 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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
listApplicationSnapshots
default ListApplicationSnapshotsResponse listApplicationSnapshots(ListApplicationSnapshotsRequest listApplicationSnapshotsRequest) throws InvalidArgumentException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Lists information about the current application snapshots.
- Parameters:
listApplicationSnapshotsRequest-- Returns:
- Result of the ListApplicationSnapshots operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
listApplicationSnapshots
default ListApplicationSnapshotsResponse listApplicationSnapshots(Consumer<ListApplicationSnapshotsRequest.Builder> listApplicationSnapshotsRequest) throws InvalidArgumentException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Lists information about the current application snapshots.
This is a convenience which creates an instance of the
ListApplicationSnapshotsRequest.Builderavoiding the need to create one manually viaListApplicationSnapshotsRequest.builder()- Parameters:
listApplicationSnapshotsRequest- AConsumerthat will call methods onListApplicationSnapshotsRequest.Builderto create a request.- Returns:
- Result of the ListApplicationSnapshots operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
listApplicationVersions
default ListApplicationVersionsResponse listApplicationVersions(ListApplicationVersionsRequest listApplicationVersionsRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the ListApplicationVersions operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
listApplicationVersions
default ListApplicationVersionsResponse listApplicationVersions(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaListApplicationVersionsRequest.builder()- Parameters:
listApplicationVersionsRequest- AConsumerthat will call methods onListApplicationVersionsRequest.Builderto create a request.- Returns:
- Result of the ListApplicationVersions operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
listApplications
default ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the ListApplications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listApplications
default ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- Result of the ListApplications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listApplications
default ListApplicationsResponse listApplications() throws InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the ListApplications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
listApplications(ListApplicationsRequest), AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InvalidArgumentException, ConcurrentModificationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Retrieves the list of key-value tags assigned to the application. For more information, see Using Tagging.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, InvalidArgumentException, ConcurrentModificationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
rollbackApplication
default RollbackApplicationResponse rollbackApplication(RollbackApplicationRequest rollbackApplicationRequest) throws ResourceNotFoundException, InvalidArgumentException, ResourceInUseException, InvalidRequestException, ConcurrentModificationException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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
UPDATINGorAUTOSCALINGstatus.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:
- Result of the RollbackApplication operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
rollbackApplication
default RollbackApplicationResponse rollbackApplication(Consumer<RollbackApplicationRequest.Builder> rollbackApplicationRequest) throws ResourceNotFoundException, InvalidArgumentException, ResourceInUseException, InvalidRequestException, ConcurrentModificationException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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
UPDATINGorAUTOSCALINGstatus.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.Builderavoiding the need to create one manually viaRollbackApplicationRequest.builder()- Parameters:
rollbackApplicationRequest- AConsumerthat will call methods onRollbackApplicationRequest.Builderto create a request.- Returns:
- Result of the RollbackApplication operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
startApplication
default StartApplicationResponse startApplication(StartApplicationRequest startApplicationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidApplicationConfigurationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the StartApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startApplication
default StartApplicationResponse startApplication(Consumer<StartApplicationRequest.Builder> startApplicationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidApplicationConfigurationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaStartApplicationRequest.builder()- Parameters:
startApplicationRequest- AConsumerthat will call methods onStartApplicationRequest.Builderto create a request.- Returns:
- Result of the StartApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopApplication
default StopApplicationResponse stopApplication(StopApplicationRequest stopApplicationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidRequestException, InvalidApplicationConfigurationException, ConcurrentModificationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Stops the application from processing data. You can stop an application only if it is in the running status, unless you set the
Forceparameter totrue.You can use the DescribeApplication operation to find the application status.
Managed Service for Apache Flink takes a snapshot when the application is stopped, unless
Forceis set totrue.- Parameters:
stopApplicationRequest-- Returns:
- Result of the StopApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopApplication
default StopApplicationResponse stopApplication(Consumer<StopApplicationRequest.Builder> stopApplicationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidRequestException, InvalidApplicationConfigurationException, ConcurrentModificationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Stops the application from processing data. You can stop an application only if it is in the running status, unless you set the
Forceparameter totrue.You can use the DescribeApplication operation to find the application status.
Managed Service for Apache Flink takes a snapshot when the application is stopped, unless
Forceis set totrue.
This is a convenience which creates an instance of the
StopApplicationRequest.Builderavoiding the need to create one manually viaStopApplicationRequest.builder()- Parameters:
stopApplicationRequest- AConsumerthat will call methods onStopApplicationRequest.Builderto create a request.- Returns:
- Result of the StopApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, ResourceInUseException, TooManyTagsException, InvalidArgumentException, ConcurrentModificationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, ResourceInUseException, TooManyTagsException, InvalidArgumentException, ConcurrentModificationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ResourceInUseException, TooManyTagsException, InvalidArgumentException, ConcurrentModificationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Removes one or more tags from a Managed Service for Apache Flink application. For more information, see Using Tagging.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ResourceInUseException, TooManyTagsException, InvalidArgumentException, ConcurrentModificationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateApplication
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws CodeValidationException, ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, InvalidApplicationConfigurationException, LimitExceededException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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
ApplicationVersionIdeach time you update your application.- Parameters:
updateApplicationRequest-- Returns:
- Result of the UpdateApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateApplication
default UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws CodeValidationException, ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, InvalidApplicationConfigurationException, LimitExceededException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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
ApplicationVersionIdeach time you update your application.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builderavoiding the need to create one manually viaUpdateApplicationRequest.builder()- Parameters:
updateApplicationRequest- AConsumerthat will call methods onUpdateApplicationRequest.Builderto create a request.- Returns:
- Result of the UpdateApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateApplicationMaintenanceConfiguration
default UpdateApplicationMaintenanceConfigurationResponse updateApplicationMaintenanceConfiguration(UpdateApplicationMaintenanceConfigurationRequest updateApplicationMaintenanceConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
READYorRUNNING. If you invoke it when the application is in a state other than these two states, it throws aResourceInUseException. The service makes use of the updated configuration the next time it schedules maintenance for the application. If you invoke this operation after the service schedules maintenance, the service will apply the configuration update the next time it schedules maintenance for the application. This means that you might not see the maintenance configuration update applied to the maintenance process that follows a successful invocation of this operation, but to the following maintenance process instead.To see the current maintenance configuration of your application, invoke the DescribeApplication operation.
For information about application maintenance, see Managed Service for Apache Flink for Apache Flink Maintenance.
This operation is supported only for Managed Service for Apache Flink.
- Parameters:
updateApplicationMaintenanceConfigurationRequest-- Returns:
- Result of the UpdateApplicationMaintenanceConfiguration operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
updateApplicationMaintenanceConfiguration
default UpdateApplicationMaintenanceConfigurationResponse updateApplicationMaintenanceConfiguration(Consumer<UpdateApplicationMaintenanceConfigurationRequest.Builder> updateApplicationMaintenanceConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
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:
READYorRUNNING. If you invoke it when the application is in a state other than these two states, it throws aResourceInUseException. The service makes use of the updated configuration the next time it schedules maintenance for the application. If you invoke this operation after the service schedules maintenance, the service will apply the configuration update the next time it schedules maintenance for the application. This means that you might not see the maintenance configuration update applied to the maintenance process that follows a successful invocation of this operation, but to the following maintenance process instead.To see the current maintenance configuration of your application, invoke the DescribeApplication operation.
For information about application maintenance, see Managed Service for Apache Flink for Apache Flink Maintenance.
This operation is supported only for Managed Service for Apache Flink.
This is a convenience which creates an instance of the
UpdateApplicationMaintenanceConfigurationRequest.Builderavoiding the need to create one manually viaUpdateApplicationMaintenanceConfigurationRequest.builder()- Parameters:
updateApplicationMaintenanceConfigurationRequest- AConsumerthat will call methods onUpdateApplicationMaintenanceConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateApplicationMaintenanceConfiguration operation returned by the service.
- Throws:
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.UnsupportedOperationExceptionAwsServiceException- See Also:
- AWS API Documentation
-
create
static KinesisAnalyticsV2Client create()
Create aKinesisAnalyticsV2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static KinesisAnalyticsV2ClientBuilder builder()
Create a builder that can be used to configure and create aKinesisAnalyticsV2Client.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default KinesisAnalyticsV2ServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-