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
FieldsModifier and TypeFieldDescriptionstatic final StringValue 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 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.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 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.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 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.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 DeleteApplicationResponsedeleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes the specified application.default DeleteApplicationResponsedeleteApplication(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 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.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 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.describeApplicationOperation(Consumer<DescribeApplicationOperationRequest.Builder> describeApplicationOperationRequest) Returns information about a specific operation performed on a Managed Service for Apache Flink applicationdescribeApplicationOperation(DescribeApplicationOperationRequest describeApplicationOperationRequest) Returns information about a specific operation performed on a Managed Service for Apache Flink applicationdescribeApplicationSnapshot(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 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.listApplicationOperations(Consumer<ListApplicationOperationsRequest.Builder> listApplicationOperationsRequest) Lists information about operations performed on a Managed Service for Apache Flink applicationlistApplicationOperations(ListApplicationOperationsRequest listApplicationOperationsRequest) Lists information about operations performed on a Managed Service for Apache Flink applicationlistApplicationOperationsPaginator(Consumer<ListApplicationOperationsRequest.Builder> listApplicationOperationsRequest) This is a variant oflistApplicationOperations(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationOperationsRequest)operation.listApplicationOperationsPaginator(ListApplicationOperationsRequest listApplicationOperationsRequest) This is a variant oflistApplicationOperations(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationOperationsRequest)operation.default ListApplicationsResponseReturns 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 ListApplicationSnapshotsIterablelistApplicationSnapshotsPaginator(Consumer<ListApplicationSnapshotsRequest.Builder> listApplicationSnapshotsRequest) This is a variant oflistApplicationSnapshots(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationSnapshotsRequest)operation.default ListApplicationSnapshotsIterablelistApplicationSnapshotsPaginator(ListApplicationSnapshotsRequest listApplicationSnapshotsRequest) This is a variant oflistApplicationSnapshots(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationSnapshotsRequest)operation.default ListApplicationsIterableThis is a variant oflistApplications(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsRequest)operation.default ListApplicationsIterablelistApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsRequest)operation.default ListApplicationsIterablelistApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsRequest)operation.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 ListApplicationVersionsIterablelistApplicationVersionsPaginator(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest) This is a variant oflistApplicationVersions(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationVersionsRequest)operation.default ListApplicationVersionsIterablelistApplicationVersionsPaginator(ListApplicationVersionsRequest listApplicationVersionsRequest) This is a variant oflistApplicationVersions(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationVersionsRequest)operation.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.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault 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.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
closeMethods 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.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.
- 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.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.
- 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.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.
- 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.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.
- 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.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.
- 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.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.
- 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.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.
- 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
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.
- 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
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.
- 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.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.
- 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.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.
- 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.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.
- 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.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.
- 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.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.
- 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.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.
- 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.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.
- 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.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.
- 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.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.
- See Also:
-
describeApplicationOperation
default DescribeApplicationOperationResponse describeApplicationOperation(DescribeApplicationOperationRequest describeApplicationOperationRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception Returns information about a specific operation performed on a Managed Service for Apache Flink application- Parameters:
describeApplicationOperationRequest- Request for information about a specific operation performed on a Managed Service for Apache Flink application- Returns:
- Result of the DescribeApplicationOperation operation returned by the service.
- See Also:
-
describeApplicationOperation
default DescribeApplicationOperationResponse describeApplicationOperation(Consumer<DescribeApplicationOperationRequest.Builder> describeApplicationOperationRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception Returns information about a specific operation performed on a Managed Service for Apache Flink application
This is a convenience which creates an instance of the
DescribeApplicationOperationRequest.Builderavoiding the need to create one manually viaDescribeApplicationOperationRequest.builder()- Parameters:
describeApplicationOperationRequest- AConsumerthat will call methods onDescribeApplicationOperationRequest.Builderto create a request. Request for information about a specific operation performed on a Managed Service for Apache Flink application- Returns:
- Result of the DescribeApplicationOperation 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.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.
- 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.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.
- 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.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.
- See Also:
-
listApplicationOperations
default ListApplicationOperationsResponse listApplicationOperations(ListApplicationOperationsRequest listApplicationOperationsRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception Lists information about operations performed on a Managed Service for Apache Flink application- Parameters:
listApplicationOperationsRequest- Request to list operations performed on an application- Returns:
- Result of the ListApplicationOperations operation returned by the service.
- See Also:
-
listApplicationOperations
default ListApplicationOperationsResponse listApplicationOperations(Consumer<ListApplicationOperationsRequest.Builder> listApplicationOperationsRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception Lists information about operations performed on a Managed Service for Apache Flink application
This is a convenience which creates an instance of the
ListApplicationOperationsRequest.Builderavoiding the need to create one manually viaListApplicationOperationsRequest.builder()- Parameters:
listApplicationOperationsRequest- AConsumerthat will call methods onListApplicationOperationsRequest.Builderto create a request. Request to list operations performed on an application- Returns:
- Result of the ListApplicationOperations operation returned by the service.
- See Also:
-
listApplicationOperationsPaginator
default ListApplicationOperationsIterable listApplicationOperationsPaginator(ListApplicationOperationsRequest listApplicationOperationsRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception This is a variant of
listApplicationOperations(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationOperationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationOperationsIterable responses = client.listApplicationOperationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationOperationsIterable responses = client .listApplicationOperationsPaginator(request); for (software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationOperationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationOperationsIterable responses = client.listApplicationOperationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplicationOperations(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationOperationsRequest)operation.- Parameters:
listApplicationOperationsRequest- Request to list operations performed on an application- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listApplicationOperationsPaginator
default ListApplicationOperationsIterable listApplicationOperationsPaginator(Consumer<ListApplicationOperationsRequest.Builder> listApplicationOperationsRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception This is a variant of
listApplicationOperations(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationOperationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationOperationsIterable responses = client.listApplicationOperationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationOperationsIterable responses = client .listApplicationOperationsPaginator(request); for (software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationOperationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationOperationsIterable responses = client.listApplicationOperationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplicationOperations(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationOperationsRequest)operation.
This is a convenience which creates an instance of the
ListApplicationOperationsRequest.Builderavoiding the need to create one manually viaListApplicationOperationsRequest.builder()- Parameters:
listApplicationOperationsRequest- AConsumerthat will call methods onListApplicationOperationsRequest.Builderto create a request. Request to list operations performed on an application- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.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.
- See Also:
-
listApplicationSnapshotsPaginator
default ListApplicationSnapshotsIterable listApplicationSnapshotsPaginator(ListApplicationSnapshotsRequest listApplicationSnapshotsRequest) throws InvalidArgumentException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception This is a variant of
listApplicationSnapshots(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationSnapshotsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationSnapshotsIterable responses = client.listApplicationSnapshotsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationSnapshotsIterable responses = client .listApplicationSnapshotsPaginator(request); for (software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationSnapshotsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationSnapshotsIterable responses = client.listApplicationSnapshotsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplicationSnapshots(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationSnapshotsRequest)operation.- Parameters:
listApplicationSnapshotsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listApplicationSnapshotsPaginator
default ListApplicationSnapshotsIterable listApplicationSnapshotsPaginator(Consumer<ListApplicationSnapshotsRequest.Builder> listApplicationSnapshotsRequest) throws InvalidArgumentException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception This is a variant of
listApplicationSnapshots(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationSnapshotsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationSnapshotsIterable responses = client.listApplicationSnapshotsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationSnapshotsIterable responses = client .listApplicationSnapshotsPaginator(request); for (software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationSnapshotsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationSnapshotsIterable responses = client.listApplicationSnapshotsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplicationSnapshots(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationSnapshotsRequest)operation.
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:
- A custom iterable that can be used to iterate through all the response pages.
- 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.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.
- See Also:
-
listApplicationVersionsPaginator
default ListApplicationVersionsIterable listApplicationVersionsPaginator(ListApplicationVersionsRequest listApplicationVersionsRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception This is a variant of
listApplicationVersions(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationVersionsIterable responses = client.listApplicationVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationVersionsIterable responses = client .listApplicationVersionsPaginator(request); for (software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationVersionsIterable responses = client.listApplicationVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplicationVersions(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationVersionsRequest)operation.- Parameters:
listApplicationVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listApplicationVersionsPaginator
default ListApplicationVersionsIterable listApplicationVersionsPaginator(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest) throws InvalidArgumentException, ResourceNotFoundException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception This is a variant of
listApplicationVersions(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationVersionsIterable responses = client.listApplicationVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationVersionsIterable responses = client .listApplicationVersionsPaginator(request); for (software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationVersionsIterable responses = client.listApplicationVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplicationVersions(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationVersionsRequest)operation.
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:
- A custom iterable that can be used to iterate through all the response pages.
- 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.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.
- 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:
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator() throws InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2ExceptionThis is a variant of
listApplications(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationsIterable responses = client .listApplicationsPaginator(request); for (software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception This is a variant of
listApplications(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationsIterable responses = client .listApplicationsPaginator(request); for (software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsRequest)operation.- Parameters:
listApplicationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listApplicationsPaginator
default ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception This is a variant of
listApplications(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationsIterable responses = client .listApplicationsPaginator(request); for (software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.kinesisanalyticsv2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.kinesisanalyticsv2.model.ListApplicationsRequest)operation.
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:
- A custom iterable that can be used to iterate through all the response pages.
- 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.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.
- 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 or in the running status.
You can roll back an application only if it is in the
UPDATING,AUTOSCALING, orRUNNINGstatuses.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.
- 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 or in the running status.
You can roll back an application only if it is in the
UPDATING,AUTOSCALING, orRUNNINGstatuses.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 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.
- 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.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.
- 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
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.
- 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
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.
- 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.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.
- 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.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.
- 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
ApplicationVersionIdeach 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
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.
- 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:
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.
- 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:
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.
- See Also:
-
create
Create aKinesisAnalyticsV2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aKinesisAnalyticsV2Client. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-