@Generated(value="software.amazon.awssdk:codegen") public interface KinesisAnalyticsV2Client extends SdkClient
builder()
method.
Documentation for Kinesis Data Analytics API v2
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default AddApplicationCloudWatchLoggingOptionResponse |
addApplicationCloudWatchLoggingOption(AddApplicationCloudWatchLoggingOptionRequest addApplicationCloudWatchLoggingOptionRequest)
Adds an Amazon CloudWatch log stream to monitor application configuration errors.
|
default AddApplicationCloudWatchLoggingOptionResponse |
addApplicationCloudWatchLoggingOption(Consumer<AddApplicationCloudWatchLoggingOptionRequest.Builder> addApplicationCloudWatchLoggingOptionRequest)
Adds an Amazon CloudWatch log stream to monitor application configuration errors.
|
default AddApplicationInputResponse |
addApplicationInput(AddApplicationInputRequest addApplicationInputRequest)
Adds a streaming source to your SQL-based Amazon Kinesis Data Analytics application.
|
default AddApplicationInputResponse |
addApplicationInput(Consumer<AddApplicationInputRequest.Builder> addApplicationInputRequest)
Adds a streaming source to your SQL-based Amazon Kinesis Data Analytics application.
|
default AddApplicationInputProcessingConfigurationResponse |
addApplicationInputProcessingConfiguration(AddApplicationInputProcessingConfigurationRequest addApplicationInputProcessingConfigurationRequest)
Adds an InputProcessingConfiguration to an SQL-based Kinesis Data Analytics application.
|
default AddApplicationInputProcessingConfigurationResponse |
addApplicationInputProcessingConfiguration(Consumer<AddApplicationInputProcessingConfigurationRequest.Builder> addApplicationInputProcessingConfigurationRequest)
Adds an InputProcessingConfiguration to an SQL-based Kinesis Data Analytics application.
|
default AddApplicationOutputResponse |
addApplicationOutput(AddApplicationOutputRequest addApplicationOutputRequest)
Adds an external destination to your SQL-based Amazon Kinesis Data Analytics application.
|
default AddApplicationOutputResponse |
addApplicationOutput(Consumer<AddApplicationOutputRequest.Builder> addApplicationOutputRequest)
Adds an external destination to your SQL-based Amazon Kinesis Data Analytics application.
|
default AddApplicationReferenceDataSourceResponse |
addApplicationReferenceDataSource(AddApplicationReferenceDataSourceRequest addApplicationReferenceDataSourceRequest)
Adds a reference data source to an existing SQL-based Amazon Kinesis Data Analytics application.
|
default AddApplicationReferenceDataSourceResponse |
addApplicationReferenceDataSource(Consumer<AddApplicationReferenceDataSourceRequest.Builder> addApplicationReferenceDataSourceRequest)
Adds a reference data source to an existing SQL-based Amazon Kinesis Data Analytics application.
|
static KinesisAnalyticsV2ClientBuilder |
builder()
Create a builder that can be used to configure and create a
KinesisAnalyticsV2Client . |
static KinesisAnalyticsV2Client |
create()
Create a
KinesisAnalyticsV2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateApplicationResponse |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Creates an Amazon Kinesis Data Analytics application.
|
default CreateApplicationResponse |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates an Amazon Kinesis Data Analytics application.
|
default CreateApplicationSnapshotResponse |
createApplicationSnapshot(Consumer<CreateApplicationSnapshotRequest.Builder> createApplicationSnapshotRequest)
Creates a snapshot of the application's state data.
|
default CreateApplicationSnapshotResponse |
createApplicationSnapshot(CreateApplicationSnapshotRequest createApplicationSnapshotRequest)
Creates a snapshot of the application's state data.
|
default DeleteApplicationResponse |
deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Deletes the specified application.
|
default DeleteApplicationResponse |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes the specified application.
|
default DeleteApplicationCloudWatchLoggingOptionResponse |
deleteApplicationCloudWatchLoggingOption(Consumer<DeleteApplicationCloudWatchLoggingOptionRequest.Builder> deleteApplicationCloudWatchLoggingOptionRequest)
Deletes an Amazon CloudWatch log stream from an Amazon Kinesis Data Analytics application.
|
default DeleteApplicationCloudWatchLoggingOptionResponse |
deleteApplicationCloudWatchLoggingOption(DeleteApplicationCloudWatchLoggingOptionRequest deleteApplicationCloudWatchLoggingOptionRequest)
Deletes an Amazon CloudWatch log stream from an Amazon Kinesis Data Analytics application.
|
default DeleteApplicationInputProcessingConfigurationResponse |
deleteApplicationInputProcessingConfiguration(Consumer<DeleteApplicationInputProcessingConfigurationRequest.Builder> deleteApplicationInputProcessingConfigurationRequest)
Deletes an InputProcessingConfiguration from an input.
|
default DeleteApplicationInputProcessingConfigurationResponse |
deleteApplicationInputProcessingConfiguration(DeleteApplicationInputProcessingConfigurationRequest deleteApplicationInputProcessingConfigurationRequest)
Deletes an InputProcessingConfiguration from an input.
|
default DeleteApplicationOutputResponse |
deleteApplicationOutput(Consumer<DeleteApplicationOutputRequest.Builder> deleteApplicationOutputRequest)
Deletes the output destination configuration from your SQL-based Amazon Kinesis Data Analytics application's
configuration.
|
default DeleteApplicationOutputResponse |
deleteApplicationOutput(DeleteApplicationOutputRequest deleteApplicationOutputRequest)
Deletes the output destination configuration from your SQL-based Amazon Kinesis Data Analytics application's
configuration.
|
default DeleteApplicationReferenceDataSourceResponse |
deleteApplicationReferenceDataSource(Consumer<DeleteApplicationReferenceDataSourceRequest.Builder> deleteApplicationReferenceDataSourceRequest)
Deletes a reference data source configuration from the specified SQL-based Amazon Kinesis Data Analytics
application's configuration.
|
default DeleteApplicationReferenceDataSourceResponse |
deleteApplicationReferenceDataSource(DeleteApplicationReferenceDataSourceRequest deleteApplicationReferenceDataSourceRequest)
Deletes a reference data source configuration from the specified SQL-based Amazon Kinesis Data Analytics
application's configuration.
|
default DeleteApplicationSnapshotResponse |
deleteApplicationSnapshot(Consumer<DeleteApplicationSnapshotRequest.Builder> deleteApplicationSnapshotRequest)
Deletes a snapshot of application state.
|
default DeleteApplicationSnapshotResponse |
deleteApplicationSnapshot(DeleteApplicationSnapshotRequest deleteApplicationSnapshotRequest)
Deletes a snapshot of application state.
|
default DescribeApplicationResponse |
describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest)
Returns information about a specific Amazon Kinesis Data Analytics application.
|
default DescribeApplicationResponse |
describeApplication(DescribeApplicationRequest describeApplicationRequest)
Returns information about a specific Amazon Kinesis Data Analytics application.
|
default DescribeApplicationSnapshotResponse |
describeApplicationSnapshot(Consumer<DescribeApplicationSnapshotRequest.Builder> describeApplicationSnapshotRequest)
Returns information about a snapshot of application state data.
|
default DescribeApplicationSnapshotResponse |
describeApplicationSnapshot(DescribeApplicationSnapshotRequest describeApplicationSnapshotRequest)
Returns information about a snapshot of application state data.
|
default DiscoverInputSchemaResponse |
discoverInputSchema(Consumer<DiscoverInputSchemaRequest.Builder> discoverInputSchemaRequest)
Infers a schema for an SQL-based Amazon Kinesis Data Analytics application by evaluating sample records on the
specified streaming source (Kinesis data stream or Kinesis Data Firehose delivery stream) or Amazon S3 object.
|
default DiscoverInputSchemaResponse |
discoverInputSchema(DiscoverInputSchemaRequest discoverInputSchemaRequest)
Infers a schema for an SQL-based Amazon Kinesis Data Analytics application by evaluating sample records on the
specified streaming source (Kinesis data stream or Kinesis Data Firehose delivery stream) or Amazon S3 object.
|
default ListApplicationsResponse |
listApplications()
Returns a list of Amazon Kinesis Data Analytics applications in your account.
|
default ListApplicationsResponse |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Returns a list of Amazon Kinesis Data Analytics applications in your account.
|
default ListApplicationsResponse |
listApplications(ListApplicationsRequest listApplicationsRequest)
Returns a list of Amazon Kinesis Data Analytics applications in your account.
|
default ListApplicationSnapshotsResponse |
listApplicationSnapshots(Consumer<ListApplicationSnapshotsRequest.Builder> listApplicationSnapshotsRequest)
Lists information about the current application snapshots.
|
default ListApplicationSnapshotsResponse |
listApplicationSnapshots(ListApplicationSnapshotsRequest listApplicationSnapshotsRequest)
Lists information about the current application snapshots.
|
static ServiceMetadata |
serviceMetadata() |
default StartApplicationResponse |
startApplication(Consumer<StartApplicationRequest.Builder> startApplicationRequest)
Starts the specified Amazon Kinesis Data Analytics application.
|
default StartApplicationResponse |
startApplication(StartApplicationRequest startApplicationRequest)
Starts the specified Amazon Kinesis Data Analytics application.
|
default StopApplicationResponse |
stopApplication(Consumer<StopApplicationRequest.Builder> stopApplicationRequest)
Stops the application from processing data.
|
default StopApplicationResponse |
stopApplication(StopApplicationRequest stopApplicationRequest)
Stops the application from processing data.
|
default UpdateApplicationResponse |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Updates an existing Amazon Kinesis Data Analytics application.
|
default UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates an existing Amazon Kinesis Data Analytics application.
|
serviceName
close
static final String SERVICE_NAME
static KinesisAnalyticsV2Client create()
KinesisAnalyticsV2Client
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static KinesisAnalyticsV2ClientBuilder builder()
KinesisAnalyticsV2Client
.default AddApplicationCloudWatchLoggingOptionResponse addApplicationCloudWatchLoggingOption(AddApplicationCloudWatchLoggingOptionRequest addApplicationCloudWatchLoggingOptionRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Adds an Amazon CloudWatch log stream to monitor application configuration errors.
addApplicationCloudWatchLoggingOptionRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AddApplicationCloudWatchLoggingOptionResponse addApplicationCloudWatchLoggingOption(Consumer<AddApplicationCloudWatchLoggingOptionRequest.Builder> addApplicationCloudWatchLoggingOptionRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Adds an Amazon CloudWatch log stream to monitor application configuration errors.
This is a convenience which creates an instance of the
AddApplicationCloudWatchLoggingOptionRequest.Builder
avoiding the need to create one manually via
AddApplicationCloudWatchLoggingOptionRequest.builder()
addApplicationCloudWatchLoggingOptionRequest
- A Consumer
that will call methods on AddApplicationCloudWatchLoggingOptionRequest.Builder
to create a request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AddApplicationInputResponse addApplicationInput(AddApplicationInputRequest addApplicationInputRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, CodeValidationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Adds a streaming source to your SQL-based Amazon 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.
addApplicationInputRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.CodeValidationException
- The user-provided application code (query) is not valid. This can be a simple syntax error.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
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 Amazon Kinesis Data Analytics application.
You can add a streaming source when you create an application, or you can use this operation to add a streaming source after you create an application. For more information, see CreateApplication.
Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version.
This is a convenience which creates an instance of the AddApplicationInputRequest.Builder
avoiding the
need to create one manually via AddApplicationInputRequest.builder()
addApplicationInputRequest
- A Consumer
that will call methods on AddApplicationInputRequest.Builder
to create a
request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.CodeValidationException
- The user-provided application code (query) is not valid. This can be a simple syntax error.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AddApplicationInputProcessingConfigurationResponse addApplicationInputProcessingConfiguration(AddApplicationInputProcessingConfigurationRequest addApplicationInputProcessingConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Adds an InputProcessingConfiguration to an 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 AWS Lambda.
addApplicationInputProcessingConfigurationRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AddApplicationInputProcessingConfigurationResponse addApplicationInputProcessingConfiguration(Consumer<AddApplicationInputProcessingConfigurationRequest.Builder> addApplicationInputProcessingConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Adds an InputProcessingConfiguration to an 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 AWS Lambda.
This is a convenience which creates an instance of the
AddApplicationInputProcessingConfigurationRequest.Builder
avoiding the need to create one manually via
AddApplicationInputProcessingConfigurationRequest.builder()
addApplicationInputProcessingConfigurationRequest
- A Consumer
that will call methods on
AddApplicationInputProcessingConfigurationRequest.Builder
to create a request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AddApplicationOutputResponse addApplicationOutput(AddApplicationOutputRequest addApplicationOutputRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Adds an external destination to your SQL-based Amazon 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 AWS 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.
addApplicationOutputRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AddApplicationOutputResponse addApplicationOutput(Consumer<AddApplicationOutputRequest.Builder> addApplicationOutputRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Adds an external destination to your SQL-based Amazon 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 AWS Lambda function), you add the relevant configuration to your application using this operation. You can configure one or more outputs for your application. Each output configuration maps an in-application stream and an external destination.
You can use one of the output configurations to deliver data from your in-application error stream to an external destination so that you can analyze the errors.
Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version.
This is a convenience which creates an instance of the AddApplicationOutputRequest.Builder
avoiding the
need to create one manually via AddApplicationOutputRequest.builder()
addApplicationOutputRequest
- A Consumer
that will call methods on AddApplicationOutputRequest.Builder
to create a
request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default AddApplicationReferenceDataSourceResponse addApplicationReferenceDataSource(AddApplicationReferenceDataSourceRequest addApplicationReferenceDataSourceRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Adds a reference data source to an existing SQL-based Amazon 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.
addApplicationReferenceDataSourceRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
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 Amazon Kinesis Data Analytics application.
Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.
This is a convenience which creates an instance of the AddApplicationReferenceDataSourceRequest.Builder
avoiding the need to create one manually via AddApplicationReferenceDataSourceRequest.builder()
addApplicationReferenceDataSourceRequest
- A Consumer
that will call methods on AddApplicationReferenceDataSourceRequest.Builder
to
create a request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws CodeValidationException, ResourceInUseException, LimitExceededException, InvalidArgumentException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Creates an Amazon Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see Creating an Application.
SQL is not enabled for this private beta release. Using SQL parameters (such as SqlApplicationConfiguration) will result in an error.
createApplicationRequest
- CodeValidationException
- The user-provided application code (query) is not valid. This can be a simple syntax error.ResourceInUseException
- The application is not available for this operation.LimitExceededException
- The number of allowed resources has been exceeded.InvalidArgumentException
- The specified input parameter value is not valid.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws CodeValidationException, ResourceInUseException, LimitExceededException, InvalidArgumentException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Creates an Amazon Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see Creating an Application.
SQL is not enabled for this private beta release. Using SQL parameters (such as SqlApplicationConfiguration) will result in an error.
This is a convenience which creates an instance of the CreateApplicationRequest.Builder
avoiding the need
to create one manually via CreateApplicationRequest.builder()
createApplicationRequest
- A Consumer
that will call methods on CreateApplicationRequest.Builder
to create a request.CodeValidationException
- The user-provided application code (query) is not valid. This can be a simple syntax error.ResourceInUseException
- The application is not available for this operation.LimitExceededException
- The number of allowed resources has been exceeded.InvalidArgumentException
- The specified input parameter value is not valid.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateApplicationSnapshotResponse createApplicationSnapshot(CreateApplicationSnapshotRequest createApplicationSnapshotRequest) throws ResourceInUseException, ResourceNotFoundException, LimitExceededException, InvalidArgumentException, UnsupportedOperationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Creates a snapshot of the application's state data.
createApplicationSnapshotRequest
- ResourceInUseException
- The application is not available for this operation.ResourceNotFoundException
- Specified application can't be found.LimitExceededException
- The number of allowed resources has been exceeded.InvalidArgumentException
- The specified input parameter value is not valid.UnsupportedOperationException
- The request was rejected because a specified parameter is not supported or a specified resource is not
valid for this operation.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.UnsupportedOperationException
AwsServiceException
default CreateApplicationSnapshotResponse createApplicationSnapshot(Consumer<CreateApplicationSnapshotRequest.Builder> createApplicationSnapshotRequest) throws ResourceInUseException, ResourceNotFoundException, LimitExceededException, InvalidArgumentException, UnsupportedOperationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Creates a snapshot of the application's state data.
This is a convenience which creates an instance of the CreateApplicationSnapshotRequest.Builder
avoiding
the need to create one manually via CreateApplicationSnapshotRequest.builder()
createApplicationSnapshotRequest
- A Consumer
that will call methods on CreateApplicationSnapshotRequest.Builder
to create a
request.ResourceInUseException
- The application is not available for this operation.ResourceNotFoundException
- Specified application can't be found.LimitExceededException
- The number of allowed resources has been exceeded.InvalidArgumentException
- The specified input parameter value is not valid.UnsupportedOperationException
- The request was rejected because a specified parameter is not supported or a specified resource is not
valid for this operation.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.UnsupportedOperationException
AwsServiceException
default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ConcurrentModificationException, ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes the specified application. Kinesis Data Analytics halts application execution and deletes the application.
deleteApplicationRequest
- ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws ConcurrentModificationException, ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes the specified application. Kinesis Data Analytics halts application execution and deletes the application.
This is a convenience which creates an instance of the DeleteApplicationRequest.Builder
avoiding the need
to create one manually via DeleteApplicationRequest.builder()
deleteApplicationRequest
- A Consumer
that will call methods on DeleteApplicationRequest.Builder
to create a request.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteApplicationCloudWatchLoggingOptionResponse deleteApplicationCloudWatchLoggingOption(DeleteApplicationCloudWatchLoggingOptionRequest deleteApplicationCloudWatchLoggingOptionRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes an Amazon CloudWatch log stream from an Amazon Kinesis Data Analytics application.
deleteApplicationCloudWatchLoggingOptionRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteApplicationCloudWatchLoggingOptionResponse deleteApplicationCloudWatchLoggingOption(Consumer<DeleteApplicationCloudWatchLoggingOptionRequest.Builder> deleteApplicationCloudWatchLoggingOptionRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes an Amazon CloudWatch log stream from an Amazon Kinesis Data Analytics application.
This is a convenience which creates an instance of the
DeleteApplicationCloudWatchLoggingOptionRequest.Builder
avoiding the need to create one manually via
DeleteApplicationCloudWatchLoggingOptionRequest.builder()
deleteApplicationCloudWatchLoggingOptionRequest
- A Consumer
that will call methods on
DeleteApplicationCloudWatchLoggingOptionRequest.Builder
to create a request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteApplicationInputProcessingConfigurationResponse deleteApplicationInputProcessingConfiguration(DeleteApplicationInputProcessingConfigurationRequest deleteApplicationInputProcessingConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes an InputProcessingConfiguration from an input.
deleteApplicationInputProcessingConfigurationRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteApplicationInputProcessingConfigurationResponse deleteApplicationInputProcessingConfiguration(Consumer<DeleteApplicationInputProcessingConfigurationRequest.Builder> deleteApplicationInputProcessingConfigurationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes an InputProcessingConfiguration from an input.
This is a convenience which creates an instance of the
DeleteApplicationInputProcessingConfigurationRequest.Builder
avoiding the need to create one manually via
DeleteApplicationInputProcessingConfigurationRequest.builder()
deleteApplicationInputProcessingConfigurationRequest
- A Consumer
that will call methods on
DeleteApplicationInputProcessingConfigurationRequest.Builder
to create a request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteApplicationOutputResponse deleteApplicationOutput(DeleteApplicationOutputRequest deleteApplicationOutputRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes the output destination configuration from your SQL-based Amazon 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.
deleteApplicationOutputRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
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 Amazon Kinesis Data Analytics application's configuration. Kinesis Data Analytics will no longer write data from the corresponding in-application stream to the external output destination.
This is a convenience which creates an instance of the DeleteApplicationOutputRequest.Builder
avoiding
the need to create one manually via DeleteApplicationOutputRequest.builder()
deleteApplicationOutputRequest
- A Consumer
that will call methods on DeleteApplicationOutputRequest.Builder
to create a
request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
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 Amazon 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.
deleteApplicationReferenceDataSourceRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
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 Amazon Kinesis Data Analytics application's configuration.
If the application is running, Kinesis Data Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation.
This is a convenience which creates an instance of the
DeleteApplicationReferenceDataSourceRequest.Builder
avoiding the need to create one manually via
DeleteApplicationReferenceDataSourceRequest.builder()
deleteApplicationReferenceDataSourceRequest
- A Consumer
that will call methods on DeleteApplicationReferenceDataSourceRequest.Builder
to create a request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteApplicationSnapshotResponse deleteApplicationSnapshot(DeleteApplicationSnapshotRequest deleteApplicationSnapshotRequest) throws ResourceInUseException, InvalidArgumentException, UnsupportedOperationException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes a snapshot of application state.
deleteApplicationSnapshotRequest
- ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.UnsupportedOperationException
- The request was rejected because a specified parameter is not supported or a specified resource is not
valid for this operation.InvalidRequestException
- The request JSON is not valid for the operation.ResourceNotFoundException
- Specified application can't be found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.UnsupportedOperationException
AwsServiceException
default DeleteApplicationSnapshotResponse deleteApplicationSnapshot(Consumer<DeleteApplicationSnapshotRequest.Builder> deleteApplicationSnapshotRequest) throws ResourceInUseException, InvalidArgumentException, UnsupportedOperationException, InvalidRequestException, ResourceNotFoundException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Deletes a snapshot of application state.
This is a convenience which creates an instance of the DeleteApplicationSnapshotRequest.Builder
avoiding
the need to create one manually via DeleteApplicationSnapshotRequest.builder()
deleteApplicationSnapshotRequest
- A Consumer
that will call methods on DeleteApplicationSnapshotRequest.Builder
to create a
request.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.UnsupportedOperationException
- The request was rejected because a specified parameter is not supported or a specified resource is not
valid for this operation.InvalidRequestException
- The request JSON is not valid for the operation.ResourceNotFoundException
- Specified application can't be found.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.UnsupportedOperationException
AwsServiceException
default DescribeApplicationResponse describeApplication(DescribeApplicationRequest describeApplicationRequest) throws ResourceNotFoundException, InvalidArgumentException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Returns information about a specific Amazon Kinesis Data Analytics application.
If you want to retrieve a list of all applications in your account, use the ListApplications operation.
describeApplicationRequest
- ResourceNotFoundException
- Specified application can't be found.InvalidArgumentException
- The specified input parameter value is not valid.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeApplicationResponse describeApplication(Consumer<DescribeApplicationRequest.Builder> describeApplicationRequest) throws ResourceNotFoundException, InvalidArgumentException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Returns information about a specific Amazon Kinesis Data Analytics application.
If you want to retrieve a list of all applications in your account, use the ListApplications operation.
This is a convenience which creates an instance of the DescribeApplicationRequest.Builder
avoiding the
need to create one manually via DescribeApplicationRequest.builder()
describeApplicationRequest
- A Consumer
that will call methods on DescribeApplicationRequest.Builder
to create a
request.ResourceNotFoundException
- Specified application can't be found.InvalidArgumentException
- The specified input parameter value is not valid.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DescribeApplicationSnapshotResponse describeApplicationSnapshot(DescribeApplicationSnapshotRequest describeApplicationSnapshotRequest) throws ResourceNotFoundException, InvalidArgumentException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Returns information about a snapshot of application state data.
describeApplicationSnapshotRequest
- ResourceNotFoundException
- Specified application can't be found.InvalidArgumentException
- The specified input parameter value is not valid.UnsupportedOperationException
- The request was rejected because a specified parameter is not supported or a specified resource is not
valid for this operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.UnsupportedOperationException
AwsServiceException
default DescribeApplicationSnapshotResponse describeApplicationSnapshot(Consumer<DescribeApplicationSnapshotRequest.Builder> describeApplicationSnapshotRequest) throws ResourceNotFoundException, InvalidArgumentException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Returns information about a snapshot of application state data.
This is a convenience which creates an instance of the DescribeApplicationSnapshotRequest.Builder
avoiding the need to create one manually via DescribeApplicationSnapshotRequest.builder()
describeApplicationSnapshotRequest
- A Consumer
that will call methods on DescribeApplicationSnapshotRequest.Builder
to create
a request.ResourceNotFoundException
- Specified application can't be found.InvalidArgumentException
- The specified input parameter value is not valid.UnsupportedOperationException
- The request was rejected because a specified parameter is not supported or a specified resource is not
valid for this operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.UnsupportedOperationException
AwsServiceException
default DiscoverInputSchemaResponse discoverInputSchema(DiscoverInputSchemaRequest discoverInputSchemaRequest) throws InvalidArgumentException, UnableToDetectSchemaException, ResourceProvisionedThroughputExceededException, ServiceUnavailableException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Infers a schema for an SQL-based Amazon 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.
discoverInputSchemaRequest
- InvalidArgumentException
- The specified input parameter value is not valid.UnableToDetectSchemaException
- The data format is not valid. Amazon Kinesis Data Analytics cannot detect the schema for the given
streaming source.ResourceProvisionedThroughputExceededException
- Discovery failed to get a record from the streaming source because of the Amazon Kinesis Streams
ProvisionedThroughputExceededException
. For more information, see GetRecords in the
Amazon Kinesis Streams API Reference.ServiceUnavailableException
- The service cannot complete the request.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DiscoverInputSchemaResponse discoverInputSchema(Consumer<DiscoverInputSchemaRequest.Builder> discoverInputSchemaRequest) throws InvalidArgumentException, UnableToDetectSchemaException, ResourceProvisionedThroughputExceededException, ServiceUnavailableException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Infers a schema for an SQL-based Amazon Kinesis Data Analytics application by evaluating sample records on the specified streaming source (Kinesis data stream or Kinesis Data Firehose delivery stream) or Amazon S3 object. In the response, the operation returns the inferred schema and also the sample records that the operation used to infer the schema.
You can use the inferred schema when configuring a streaming source for your application. When you create an application using the Kinesis Data Analytics console, the console uses this operation to infer a schema and show it in the console user interface.
This is a convenience which creates an instance of the DiscoverInputSchemaRequest.Builder
avoiding the
need to create one manually via DiscoverInputSchemaRequest.builder()
discoverInputSchemaRequest
- A Consumer
that will call methods on DiscoverInputSchemaRequest.Builder
to create a
request.InvalidArgumentException
- The specified input parameter value is not valid.UnableToDetectSchemaException
- The data format is not valid. Amazon Kinesis Data Analytics cannot detect the schema for the given
streaming source.ResourceProvisionedThroughputExceededException
- Discovery failed to get a record from the streaming source because of the Amazon Kinesis Streams
ProvisionedThroughputExceededException
. For more information, see GetRecords in the
Amazon Kinesis Streams API Reference.ServiceUnavailableException
- The service cannot complete the request.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListApplicationSnapshotsResponse listApplicationSnapshots(ListApplicationSnapshotsRequest listApplicationSnapshotsRequest) throws InvalidArgumentException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Lists information about the current application snapshots.
listApplicationSnapshotsRequest
- InvalidArgumentException
- The specified input parameter value is not valid.UnsupportedOperationException
- The request was rejected because a specified parameter is not supported or a specified resource is not
valid for this operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.UnsupportedOperationException
AwsServiceException
default ListApplicationSnapshotsResponse listApplicationSnapshots(Consumer<ListApplicationSnapshotsRequest.Builder> listApplicationSnapshotsRequest) throws InvalidArgumentException, UnsupportedOperationException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Lists information about the current application snapshots.
This is a convenience which creates an instance of the ListApplicationSnapshotsRequest.Builder
avoiding
the need to create one manually via ListApplicationSnapshotsRequest.builder()
listApplicationSnapshotsRequest
- A Consumer
that will call methods on ListApplicationSnapshotsRequest.Builder
to create a
request.InvalidArgumentException
- The specified input parameter value is not valid.UnsupportedOperationException
- The request was rejected because a specified parameter is not supported or a specified resource is not
valid for this operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.UnsupportedOperationException
AwsServiceException
default ListApplicationsResponse listApplications() throws InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Returns a list of Amazon Kinesis Data Analytics 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.
InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listApplications(ListApplicationsRequest)
,
AWS API Documentationdefault ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Returns a list of Amazon Kinesis Data Analytics 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.
listApplicationsRequest
- InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Returns a list of Amazon Kinesis Data Analytics applications in your account. For each application, the response includes the application name, Amazon Resource Name (ARN), and status.
If you want detailed information about a specific application, use DescribeApplication.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder
avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest
- A Consumer
that will call methods on ListApplicationsRequest.Builder
to create a request.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StartApplicationResponse startApplication(StartApplicationRequest startApplicationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidApplicationConfigurationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Starts the specified Amazon Kinesis Data Analytics application. After creating an application, you must exclusively call this operation to start your application.
SQL is not enabled for this private beta. Using SQL parameters (such as RunConfiguration$SqlRunConfigurations) will result in an error.
startApplicationRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.InvalidApplicationConfigurationException
- The user-provided application configuration is not valid.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StartApplicationResponse startApplication(Consumer<StartApplicationRequest.Builder> startApplicationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidApplicationConfigurationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Starts the specified Amazon Kinesis Data Analytics application. After creating an application, you must exclusively call this operation to start your application.
SQL is not enabled for this private beta. Using SQL parameters (such as RunConfiguration$SqlRunConfigurations) will result in an error.
This is a convenience which creates an instance of the StartApplicationRequest.Builder
avoiding the need
to create one manually via StartApplicationRequest.builder()
startApplicationRequest
- A Consumer
that will call methods on StartApplicationRequest.Builder
to create a request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.InvalidApplicationConfigurationException
- The user-provided application configuration is not valid.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopApplicationResponse stopApplication(StopApplicationRequest stopApplicationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Stops the application from processing data. You can stop an application only if it is in the running state. You can use the DescribeApplication operation to find the application state.
stopApplicationRequest
- ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopApplicationResponse stopApplication(Consumer<StopApplicationRequest.Builder> stopApplicationRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Stops the application from processing data. You can stop an application only if it is in the running state. You can use the DescribeApplication operation to find the application state.
This is a convenience which creates an instance of the StopApplicationRequest.Builder
avoiding the need
to create one manually via StopApplicationRequest.builder()
stopApplicationRequest
- A Consumer
that will call methods on StopApplicationRequest.Builder
to create a request.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws CodeValidationException, ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Updates an existing Amazon Kinesis Data Analytics application. Using this operation, you can update application code, input configuration, and output configuration.
Kinesis Data Analytics updates the ApplicationVersionId
each time you update your application.
SQL is not enabled for this private beta. Using SQL parameters (such as SqlApplicationConfigurationUpdate) will result in an error.
updateApplicationRequest
- CodeValidationException
- The user-provided application code (query) is not valid. This can be a simple syntax error.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws CodeValidationException, ResourceNotFoundException, ResourceInUseException, InvalidArgumentException, ConcurrentModificationException, InvalidRequestException, AwsServiceException, SdkClientException, KinesisAnalyticsV2Exception
Updates an existing Amazon Kinesis Data Analytics application. Using this operation, you can update application code, input configuration, and output configuration.
Kinesis Data Analytics updates the ApplicationVersionId
each time you update your application.
SQL is not enabled for this private beta. Using SQL parameters (such as SqlApplicationConfigurationUpdate) will result in an error.
This is a convenience which creates an instance of the UpdateApplicationRequest.Builder
avoiding the need
to create one manually via UpdateApplicationRequest.builder()
updateApplicationRequest
- A Consumer
that will call methods on UpdateApplicationRequest.Builder
to create a request.CodeValidationException
- The user-provided application code (query) is not valid. This can be a simple syntax error.ResourceNotFoundException
- Specified application can't be found.ResourceInUseException
- The application is not available for this operation.InvalidArgumentException
- The specified input parameter value is not valid.ConcurrentModificationException
- Exception thrown as a result of concurrent modifications to an application. This error can be the result
of attempting to modify an application without using the current application ID.InvalidRequestException
- The request JSON is not valid for the operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.KinesisAnalyticsV2Exception
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.