Interface KinesisAnalyticsV2Client
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
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
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionaddApplicationCloudWatchLoggingOption
(Consumer<AddApplicationCloudWatchLoggingOptionRequest.Builder> addApplicationCloudWatchLoggingOptionRequest) Adds an Amazon CloudWatch log stream to monitor application configuration errors.addApplicationCloudWatchLoggingOption
(AddApplicationCloudWatchLoggingOptionRequest addApplicationCloudWatchLoggingOptionRequest) Adds an Amazon CloudWatch log stream to monitor application configuration errors.default AddApplicationInputResponse
addApplicationInput
(Consumer<AddApplicationInputRequest.Builder> addApplicationInputRequest) Adds a streaming source to your SQL-based Kinesis Data Analytics application.default AddApplicationInputResponse
addApplicationInput
(AddApplicationInputRequest addApplicationInputRequest) Adds a streaming source to your SQL-based Kinesis Data Analytics application.addApplicationInputProcessingConfiguration
(Consumer<AddApplicationInputProcessingConfigurationRequest.Builder> addApplicationInputProcessingConfigurationRequest) Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application.addApplicationInputProcessingConfiguration
(AddApplicationInputProcessingConfigurationRequest addApplicationInputProcessingConfigurationRequest) Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application.default AddApplicationOutputResponse
addApplicationOutput
(Consumer<AddApplicationOutputRequest.Builder> addApplicationOutputRequest) Adds an external destination to your SQL-based Kinesis Data Analytics application.default AddApplicationOutputResponse
addApplicationOutput
(AddApplicationOutputRequest addApplicationOutputRequest) Adds an external destination to your SQL-based Kinesis Data Analytics application.addApplicationReferenceDataSource
(Consumer<AddApplicationReferenceDataSourceRequest.Builder> addApplicationReferenceDataSourceRequest) Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.addApplicationReferenceDataSource
(AddApplicationReferenceDataSourceRequest addApplicationReferenceDataSourceRequest) Adds a reference data source to an existing SQL-based Kinesis Data Analytics application.addApplicationVpcConfiguration
(Consumer<AddApplicationVpcConfigurationRequest.Builder> addApplicationVpcConfigurationRequest) Adds a Virtual Private Cloud (VPC) configuration to the application.addApplicationVpcConfiguration
(AddApplicationVpcConfigurationRequest addApplicationVpcConfigurationRequest) Adds a Virtual Private Cloud (VPC) configuration to the application.builder()
Create a builder that can be used to configure and create aKinesisAnalyticsV2Client
.static KinesisAnalyticsV2Client
create()
Create aKinesisAnalyticsV2Client
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateApplicationResponse
createApplication
(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates a Managed Service for Apache Flink application.default CreateApplicationResponse
createApplication
(CreateApplicationRequest createApplicationRequest) Creates a Managed Service for Apache Flink application.createApplicationPresignedUrl
(Consumer<CreateApplicationPresignedUrlRequest.Builder> createApplicationPresignedUrlRequest) Creates and returns a URL that you can use to connect to an application's extension.createApplicationPresignedUrl
(CreateApplicationPresignedUrlRequest createApplicationPresignedUrlRequest) Creates and returns a URL that you can use to connect to an application's extension.createApplicationSnapshot
(Consumer<CreateApplicationSnapshotRequest.Builder> createApplicationSnapshotRequest) Creates a snapshot of the application's state data.createApplicationSnapshot
(CreateApplicationSnapshotRequest createApplicationSnapshotRequest) Creates a snapshot of the application's state data.default DeleteApplicationResponse
deleteApplication
(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes the specified application.default DeleteApplicationResponse
deleteApplication
(DeleteApplicationRequest deleteApplicationRequest) Deletes the specified application.deleteApplicationCloudWatchLoggingOption
(Consumer<DeleteApplicationCloudWatchLoggingOptionRequest.Builder> deleteApplicationCloudWatchLoggingOptionRequest) Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.deleteApplicationCloudWatchLoggingOption
(DeleteApplicationCloudWatchLoggingOptionRequest deleteApplicationCloudWatchLoggingOptionRequest) Deletes an Amazon CloudWatch log stream from an SQL-based Kinesis Data Analytics application.deleteApplicationInputProcessingConfiguration
(Consumer<DeleteApplicationInputProcessingConfigurationRequest.Builder> deleteApplicationInputProcessingConfigurationRequest) Deletes an InputProcessingConfiguration from an input.deleteApplicationInputProcessingConfiguration
(DeleteApplicationInputProcessingConfigurationRequest deleteApplicationInputProcessingConfigurationRequest) Deletes an InputProcessingConfiguration from an input.default DeleteApplicationOutputResponse
deleteApplicationOutput
(Consumer<DeleteApplicationOutputRequest.Builder> deleteApplicationOutputRequest) Deletes the output destination configuration from your SQL-based Kinesis Data Analytics application's configuration.default DeleteApplicationOutputResponse
deleteApplicationOutput
(DeleteApplicationOutputRequest deleteApplicationOutputRequest) Deletes the output destination configuration from your SQL-based Kinesis Data Analytics application's configuration.deleteApplicationReferenceDataSource
(Consumer<DeleteApplicationReferenceDataSourceRequest.Builder> deleteApplicationReferenceDataSourceRequest) Deletes a reference data source configuration from the specified SQL-based Kinesis Data Analytics application's configuration.deleteApplicationReferenceDataSource
(DeleteApplicationReferenceDataSourceRequest deleteApplicationReferenceDataSourceRequest) Deletes a reference data source configuration from the specified SQL-based Kinesis Data Analytics application's configuration.deleteApplicationSnapshot
(Consumer<DeleteApplicationSnapshotRequest.Builder> deleteApplicationSnapshotRequest) Deletes a snapshot of application state.deleteApplicationSnapshot
(DeleteApplicationSnapshotRequest deleteApplicationSnapshotRequest) Deletes a snapshot of application state.deleteApplicationVpcConfiguration
(Consumer<DeleteApplicationVpcConfigurationRequest.Builder> deleteApplicationVpcConfigurationRequest) Removes a VPC configuration from a Managed Service for Apache Flink application.deleteApplicationVpcConfiguration
(DeleteApplicationVpcConfigurationRequest deleteApplicationVpcConfigurationRequest) Removes a VPC configuration from a Managed Service for Apache Flink application.default DescribeApplicationResponse
describeApplication
(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) Returns information about a specific Managed Service for Apache Flink application.default DescribeApplicationResponse
describeApplication
(DescribeApplicationRequest describeApplicationRequest) Returns information about a specific Managed Service for Apache Flink application.describeApplicationSnapshot
(Consumer<DescribeApplicationSnapshotRequest.Builder> describeApplicationSnapshotRequest) Returns information about a snapshot of application state data.describeApplicationSnapshot
(DescribeApplicationSnapshotRequest describeApplicationSnapshotRequest) Returns information about a snapshot of application state data.describeApplicationVersion
(Consumer<DescribeApplicationVersionRequest.Builder> describeApplicationVersionRequest) Provides a detailed description of a specified version of the application.describeApplicationVersion
(DescribeApplicationVersionRequest describeApplicationVersionRequest) Provides a detailed description of a specified version of the application.default DiscoverInputSchemaResponse
discoverInputSchema
(Consumer<DiscoverInputSchemaRequest.Builder> discoverInputSchemaRequest) Infers a schema for a SQL-based Kinesis Data Analytics application by evaluating sample records on the specified streaming source (Kinesis data stream or Kinesis Data Firehose delivery stream) or Amazon S3 object.default DiscoverInputSchemaResponse
discoverInputSchema
(DiscoverInputSchemaRequest discoverInputSchemaRequest) Infers a schema for a SQL-based Kinesis Data Analytics application by evaluating sample records on the specified streaming source (Kinesis data stream or Kinesis Data Firehose delivery stream) or Amazon S3 object.default ListApplicationsResponse
Returns a list of Managed Service for Apache Flink applications in your account.default ListApplicationsResponse
listApplications
(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Returns a list of Managed Service for Apache Flink applications in your account.default ListApplicationsResponse
listApplications
(ListApplicationsRequest listApplicationsRequest) Returns a list of Managed Service for Apache Flink applications in your account.default ListApplicationSnapshotsResponse
listApplicationSnapshots
(Consumer<ListApplicationSnapshotsRequest.Builder> listApplicationSnapshotsRequest) Lists information about the current application snapshots.default ListApplicationSnapshotsResponse
listApplicationSnapshots
(ListApplicationSnapshotsRequest listApplicationSnapshotsRequest) Lists information about the current application snapshots.default ListApplicationVersionsResponse
listApplicationVersions
(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest) Lists all the versions for the specified application, including versions that were rolled back.default ListApplicationVersionsResponse
listApplicationVersions
(ListApplicationVersionsRequest listApplicationVersionsRequest) Lists all the versions for the specified application, including versions that were rolled back.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves the list of key-value tags assigned to the application.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the list of key-value tags assigned to the application.default RollbackApplicationResponse
rollbackApplication
(Consumer<RollbackApplicationRequest.Builder> rollbackApplicationRequest) Reverts the application to the previous running version.default RollbackApplicationResponse
rollbackApplication
(RollbackApplicationRequest rollbackApplicationRequest) Reverts the application to the previous running version.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartApplicationResponse
startApplication
(Consumer<StartApplicationRequest.Builder> startApplicationRequest) Starts the specified Managed Service for Apache Flink application.default StartApplicationResponse
startApplication
(StartApplicationRequest startApplicationRequest) Starts the specified Managed Service for Apache Flink application.default StopApplicationResponse
stopApplication
(Consumer<StopApplicationRequest.Builder> stopApplicationRequest) Stops the application from processing data.default StopApplicationResponse
stopApplication
(StopApplicationRequest stopApplicationRequest) Stops the application from processing data.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more key-value tags to a Managed Service for Apache Flink application.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds one or more key-value tags to a Managed Service for Apache Flink application.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a Managed Service for Apache Flink application.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags from a Managed Service for Apache Flink application.default UpdateApplicationResponse
updateApplication
(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates an existing Managed Service for Apache Flink application.default UpdateApplicationResponse
updateApplication
(UpdateApplicationRequest updateApplicationRequest) Updates an existing Managed Service for Apache Flink application.updateApplicationMaintenanceConfiguration
(Consumer<UpdateApplicationMaintenanceConfigurationRequest.Builder> updateApplicationMaintenanceConfigurationRequest) Updates the maintenance configuration of the Managed Service for Apache Flink application.updateApplicationMaintenanceConfiguration
(UpdateApplicationMaintenanceConfigurationRequest updateApplicationMaintenanceConfigurationRequest) Updates the maintenance configuration of the Managed Service for Apache Flink application.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
addApplicationCloudWatchLoggingOption
default 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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaAddApplicationCloudWatchLoggingOptionRequest.builder()
- Parameters:
addApplicationCloudWatchLoggingOptionRequest
- AConsumer
that will call methods onAddApplicationCloudWatchLoggingOptionRequest.Builder
to create a request.- Returns:
- Result of the AddApplicationCloudWatchLoggingOption operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaAddApplicationInputRequest.builder()
- Parameters:
addApplicationInputRequest
- AConsumer
that will call methods onAddApplicationInputRequest.Builder
to create a request.- Returns:
- Result of the AddApplicationInput operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaAddApplicationInputProcessingConfigurationRequest.builder()
- Parameters:
addApplicationInputProcessingConfigurationRequest
- AConsumer
that will call methods onAddApplicationInputProcessingConfigurationRequest.Builder
to create a request.- Returns:
- Result of the AddApplicationInputProcessingConfiguration operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaAddApplicationOutputRequest.builder()
- Parameters:
addApplicationOutputRequest
- AConsumer
that will call methods onAddApplicationOutputRequest.Builder
to create a request.- Returns:
- Result of the AddApplicationOutput operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaAddApplicationReferenceDataSourceRequest.builder()
- Parameters:
addApplicationReferenceDataSourceRequest
- AConsumer
that will call methods onAddApplicationReferenceDataSourceRequest.Builder
to create a request.- Returns:
- Result of the AddApplicationReferenceDataSource operation returned by the service.
- See Also:
-
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.
- See Also:
-
-
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.Builder
avoiding the need to create one manually viaAddApplicationVpcConfigurationRequest.builder()
- Parameters:
addApplicationVpcConfigurationRequest
- AConsumer
that will call methods onAddApplicationVpcConfigurationRequest.Builder
to create a request.- Returns:
- Result of the AddApplicationVpcConfiguration operation returned by the service.
- See Also:
-
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaCreateApplicationRequest.builder()
- Parameters:
createApplicationRequest
- AConsumer
that will call methods onCreateApplicationRequest.Builder
to create a request.- Returns:
- Result of the CreateApplication operation returned by the service.
- See Also:
-
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
SessionExpirationDurationInSeconds
parameter. If you do not provide this parameter, the returned URL is valid for twelve hours.The URL that you get from a call to CreateApplicationPresignedUrl must be used within 3 minutes to be valid. If you first try to use the URL after the 3-minute limit expires, the service returns an HTTP 403 Forbidden error.
- Parameters:
createApplicationPresignedUrlRequest
-- Returns:
- Result of the CreateApplicationPresignedUrl operation returned by the service.
- See Also:
-
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
SessionExpirationDurationInSeconds
parameter. If you do not provide this parameter, the returned URL is valid for twelve hours.The URL that you get from a call to CreateApplicationPresignedUrl must be used within 3 minutes to be valid. If you first try to use the URL after the 3-minute limit expires, the service returns an HTTP 403 Forbidden error.
This is a convenience which creates an instance of the
CreateApplicationPresignedUrlRequest.Builder
avoiding the need to create one manually viaCreateApplicationPresignedUrlRequest.builder()
- Parameters:
createApplicationPresignedUrlRequest
- AConsumer
that will call methods onCreateApplicationPresignedUrlRequest.Builder
to create a request.- Returns:
- Result of the CreateApplicationPresignedUrl operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaCreateApplicationSnapshotRequest.builder()
- Parameters:
createApplicationSnapshotRequest
- AConsumer
that will call methods onCreateApplicationSnapshotRequest.Builder
to create a request.- Returns:
- Result of the CreateApplicationSnapshot operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteApplicationRequest.builder()
- Parameters:
deleteApplicationRequest
- AConsumer
that will call methods onDeleteApplicationRequest.Builder
to create a request.- Returns:
- Result of the DeleteApplication operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteApplicationCloudWatchLoggingOptionRequest.builder()
- Parameters:
deleteApplicationCloudWatchLoggingOptionRequest
- AConsumer
that will call methods onDeleteApplicationCloudWatchLoggingOptionRequest.Builder
to create a request.- Returns:
- Result of the DeleteApplicationCloudWatchLoggingOption operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteApplicationInputProcessingConfigurationRequest.builder()
- Parameters:
deleteApplicationInputProcessingConfigurationRequest
- AConsumer
that will call methods onDeleteApplicationInputProcessingConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DeleteApplicationInputProcessingConfiguration operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteApplicationOutputRequest.builder()
- Parameters:
deleteApplicationOutputRequest
- AConsumer
that will call methods onDeleteApplicationOutputRequest.Builder
to create a request.- Returns:
- Result of the DeleteApplicationOutput operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteApplicationReferenceDataSourceRequest.builder()
- Parameters:
deleteApplicationReferenceDataSourceRequest
- AConsumer
that will call methods onDeleteApplicationReferenceDataSourceRequest.Builder
to create a request.- Returns:
- Result of the DeleteApplicationReferenceDataSource operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteApplicationSnapshotRequest.builder()
- Parameters:
deleteApplicationSnapshotRequest
- AConsumer
that will call methods onDeleteApplicationSnapshotRequest.Builder
to create a request.- Returns:
- Result of the DeleteApplicationSnapshot operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteApplicationVpcConfigurationRequest.builder()
- Parameters:
deleteApplicationVpcConfigurationRequest
- AConsumer
that will call methods onDeleteApplicationVpcConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DeleteApplicationVpcConfiguration operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeApplicationRequest.builder()
- Parameters:
describeApplicationRequest
- AConsumer
that will call methods onDescribeApplicationRequest.Builder
to create a request.- Returns:
- Result of the DescribeApplication operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeApplicationSnapshotRequest.builder()
- Parameters:
describeApplicationSnapshotRequest
- AConsumer
that will call methods onDescribeApplicationSnapshotRequest.Builder
to create a request.- Returns:
- Result of the DescribeApplicationSnapshot operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeApplicationVersionRequest.builder()
- Parameters:
describeApplicationVersionRequest
- AConsumer
that will call methods onDescribeApplicationVersionRequest.Builder
to create a request.- Returns:
- Result of the DescribeApplicationVersion operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDiscoverInputSchemaRequest.builder()
- Parameters:
discoverInputSchemaRequest
- AConsumer
that will call methods onDiscoverInputSchemaRequest.Builder
to create a request.- Returns:
- Result of the DiscoverInputSchema operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListApplicationSnapshotsRequest.builder()
- Parameters:
listApplicationSnapshotsRequest
- AConsumer
that will call methods onListApplicationSnapshotsRequest.Builder
to create a request.- Returns:
- Result of the ListApplicationSnapshots operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListApplicationVersionsRequest.builder()
- Parameters:
listApplicationVersionsRequest
- AConsumer
that will call methods onListApplicationVersionsRequest.Builder
to create a request.- Returns:
- Result of the ListApplicationVersions operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListApplicationsRequest.builder()
- Parameters:
listApplicationsRequest
- AConsumer
that will call methods onListApplicationsRequest.Builder
to create a request.- Returns:
- Result of the ListApplications operation returned by the service.
- See Also:
-
listApplications
default ListApplicationsResponse listApplications() throws InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2ExceptionReturns 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.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
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
UPDATING
orAUTOSCALING
status.When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request.
This action is not supported for Managed Service for Apache Flink for SQL applications.
- Parameters:
rollbackApplicationRequest
-- Returns:
- Result of the RollbackApplication operation returned by the service.
- See Also:
-
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
UPDATING
orAUTOSCALING
status.When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Managed Service for Apache Flink rejects the rollback request.
This action is not supported for Managed Service for Apache Flink for SQL applications.
This is a convenience which creates an instance of the
RollbackApplicationRequest.Builder
avoiding the need to create one manually viaRollbackApplicationRequest.builder()
- Parameters:
rollbackApplicationRequest
- AConsumer
that will call methods onRollbackApplicationRequest.Builder
to create a request.- Returns:
- Result of the RollbackApplication operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaStartApplicationRequest.builder()
- Parameters:
startApplicationRequest
- AConsumer
that will call methods onStartApplicationRequest.Builder
to create a request.- Returns:
- Result of the StartApplication operation returned by the service.
- See Also:
-
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
Force
parameter totrue
.You can use the DescribeApplication operation to find the application status.
Managed Service for Apache Flink takes a snapshot when the application is stopped, unless
Force
is set totrue
.- Parameters:
stopApplicationRequest
-- Returns:
- Result of the StopApplication operation returned by the service.
- See Also:
-
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
Force
parameter totrue
.You can use the DescribeApplication operation to find the application status.
Managed Service for Apache Flink takes a snapshot when the application is stopped, unless
Force
is set totrue
.
This is a convenience which creates an instance of the
StopApplicationRequest.Builder
avoiding the need to create one manually viaStopApplicationRequest.builder()
- Parameters:
stopApplicationRequest
- AConsumer
that will call methods onStopApplicationRequest.Builder
to create a request.- Returns:
- Result of the StopApplication operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
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
ApplicationVersionId
each time you update your application.- Parameters:
updateApplicationRequest
-- Returns:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
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
ApplicationVersionId
each time you update your application.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builder
avoiding the need to create one manually viaUpdateApplicationRequest.builder()
- Parameters:
updateApplicationRequest
- AConsumer
that will call methods onUpdateApplicationRequest.Builder
to create a request.- Returns:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
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:
READY
orRUNNING
. If you invoke it when the application is in a state other than these two states, it throws aResourceInUseException
. The service makes use of the updated configuration the next time it schedules maintenance for the application. If you invoke this operation after the service schedules maintenance, the service will apply the configuration update the next time it schedules maintenance for the application. This means that you might not see the maintenance configuration update applied to the maintenance process that follows a successful invocation of this operation, but to the following maintenance process instead.To see the current maintenance configuration of your application, invoke the DescribeApplication operation.
For information about application maintenance, see Managed Service for Apache Flink for Apache Flink Maintenance.
This operation is supported only for Managed Service for Apache Flink.
- Parameters:
updateApplicationMaintenanceConfigurationRequest
-- Returns:
- Result of the UpdateApplicationMaintenanceConfiguration operation returned by the service.
- See Also:
-
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:
READY
orRUNNING
. If you invoke it when the application is in a state other than these two states, it throws aResourceInUseException
. The service makes use of the updated configuration the next time it schedules maintenance for the application. If you invoke this operation after the service schedules maintenance, the service will apply the configuration update the next time it schedules maintenance for the application. This means that you might not see the maintenance configuration update applied to the maintenance process that follows a successful invocation of this operation, but to the following maintenance process instead.To see the current maintenance configuration of your application, invoke the DescribeApplication operation.
For information about application maintenance, see Managed Service for Apache Flink for Apache Flink Maintenance.
This operation is supported only for Managed Service for Apache Flink.
This is a convenience which creates an instance of the
UpdateApplicationMaintenanceConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateApplicationMaintenanceConfigurationRequest.builder()
- Parameters:
updateApplicationMaintenanceConfigurationRequest
- AConsumer
that will call methods onUpdateApplicationMaintenanceConfigurationRequest.Builder
to create a request.- Returns:
- Result of the UpdateApplicationMaintenanceConfiguration operation returned by the service.
- See Also:
-
create
Create aKinesisAnalyticsV2Client
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aKinesisAnalyticsV2Client
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-