Interface KafkaConnectAsyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface KafkaConnectAsyncClient extends AwsClient
Service client for accessing Kafka Connect asynchronously. This can be created using the staticbuilder()method.The asynchronous client performs non-blocking I/O when configured with anySdkAsyncHttpClientsupported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createConnector
default CompletableFuture<CreateConnectorResponse> createConnector(CreateConnectorRequest createConnectorRequest)
Creates a connector using the specified properties.
- Parameters:
createConnectorRequest-- Returns:
- A Java Future containing the result of the CreateConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- ConflictException HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createConnector
default CompletableFuture<CreateConnectorResponse> createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest)
Creates a connector using the specified properties.
This is a convenience which creates an instance of the
CreateConnectorRequest.Builderavoiding the need to create one manually viaCreateConnectorRequest.builder()- Parameters:
createConnectorRequest- AConsumerthat will call methods onCreateConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- ConflictException HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createCustomPlugin
default CompletableFuture<CreateCustomPluginResponse> createCustomPlugin(CreateCustomPluginRequest createCustomPluginRequest)
Creates a custom plugin using the specified properties.
- Parameters:
createCustomPluginRequest-- Returns:
- A Java Future containing the result of the CreateCustomPlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- ConflictException HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createCustomPlugin
default CompletableFuture<CreateCustomPluginResponse> createCustomPlugin(Consumer<CreateCustomPluginRequest.Builder> createCustomPluginRequest)
Creates a custom plugin using the specified properties.
This is a convenience which creates an instance of the
CreateCustomPluginRequest.Builderavoiding the need to create one manually viaCreateCustomPluginRequest.builder()- Parameters:
createCustomPluginRequest- AConsumerthat will call methods onCreateCustomPluginRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateCustomPlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- ConflictException HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createWorkerConfiguration
default CompletableFuture<CreateWorkerConfigurationResponse> createWorkerConfiguration(CreateWorkerConfigurationRequest createWorkerConfigurationRequest)
Creates a worker configuration using the specified properties.
- Parameters:
createWorkerConfigurationRequest-- Returns:
- A Java Future containing the result of the CreateWorkerConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- ConflictException HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createWorkerConfiguration
default CompletableFuture<CreateWorkerConfigurationResponse> createWorkerConfiguration(Consumer<CreateWorkerConfigurationRequest.Builder> createWorkerConfigurationRequest)
Creates a worker configuration using the specified properties.
This is a convenience which creates an instance of the
CreateWorkerConfigurationRequest.Builderavoiding the need to create one manually viaCreateWorkerConfigurationRequest.builder()- Parameters:
createWorkerConfigurationRequest- AConsumerthat will call methods onCreateWorkerConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWorkerConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- ConflictException HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteConnector
default CompletableFuture<DeleteConnectorResponse> deleteConnector(DeleteConnectorRequest deleteConnectorRequest)
Deletes the specified connector.
- Parameters:
deleteConnectorRequest-- Returns:
- A Java Future containing the result of the DeleteConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteConnector
default CompletableFuture<DeleteConnectorResponse> deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest)
Deletes the specified connector.
This is a convenience which creates an instance of the
DeleteConnectorRequest.Builderavoiding the need to create one manually viaDeleteConnectorRequest.builder()- Parameters:
deleteConnectorRequest- AConsumerthat will call methods onDeleteConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteCustomPlugin
default CompletableFuture<DeleteCustomPluginResponse> deleteCustomPlugin(DeleteCustomPluginRequest deleteCustomPluginRequest)
Deletes a custom plugin.
- Parameters:
deleteCustomPluginRequest-- Returns:
- A Java Future containing the result of the DeleteCustomPlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteCustomPlugin
default CompletableFuture<DeleteCustomPluginResponse> deleteCustomPlugin(Consumer<DeleteCustomPluginRequest.Builder> deleteCustomPluginRequest)
Deletes a custom plugin.
This is a convenience which creates an instance of the
DeleteCustomPluginRequest.Builderavoiding the need to create one manually viaDeleteCustomPluginRequest.builder()- Parameters:
deleteCustomPluginRequest- AConsumerthat will call methods onDeleteCustomPluginRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteCustomPlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteWorkerConfiguration
default CompletableFuture<DeleteWorkerConfigurationResponse> deleteWorkerConfiguration(DeleteWorkerConfigurationRequest deleteWorkerConfigurationRequest)
Deletes the specified worker configuration.
- Parameters:
deleteWorkerConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteWorkerConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteWorkerConfiguration
default CompletableFuture<DeleteWorkerConfigurationResponse> deleteWorkerConfiguration(Consumer<DeleteWorkerConfigurationRequest.Builder> deleteWorkerConfigurationRequest)
Deletes the specified worker configuration.
This is a convenience which creates an instance of the
DeleteWorkerConfigurationRequest.Builderavoiding the need to create one manually viaDeleteWorkerConfigurationRequest.builder()- Parameters:
deleteWorkerConfigurationRequest- AConsumerthat will call methods onDeleteWorkerConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteWorkerConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeConnector
default CompletableFuture<DescribeConnectorResponse> describeConnector(DescribeConnectorRequest describeConnectorRequest)
Returns summary information about the connector.
- Parameters:
describeConnectorRequest-- Returns:
- A Java Future containing the result of the DescribeConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeConnector
default CompletableFuture<DescribeConnectorResponse> describeConnector(Consumer<DescribeConnectorRequest.Builder> describeConnectorRequest)
Returns summary information about the connector.
This is a convenience which creates an instance of the
DescribeConnectorRequest.Builderavoiding the need to create one manually viaDescribeConnectorRequest.builder()- Parameters:
describeConnectorRequest- AConsumerthat will call methods onDescribeConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeConnectorOperation
default CompletableFuture<DescribeConnectorOperationResponse> describeConnectorOperation(DescribeConnectorOperationRequest describeConnectorOperationRequest)
Returns information about the specified connector's operations.
- Parameters:
describeConnectorOperationRequest-- Returns:
- A Java Future containing the result of the DescribeConnectorOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeConnectorOperation
default CompletableFuture<DescribeConnectorOperationResponse> describeConnectorOperation(Consumer<DescribeConnectorOperationRequest.Builder> describeConnectorOperationRequest)
Returns information about the specified connector's operations.
This is a convenience which creates an instance of the
DescribeConnectorOperationRequest.Builderavoiding the need to create one manually viaDescribeConnectorOperationRequest.builder()- Parameters:
describeConnectorOperationRequest- AConsumerthat will call methods onDescribeConnectorOperationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeConnectorOperation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeCustomPlugin
default CompletableFuture<DescribeCustomPluginResponse> describeCustomPlugin(DescribeCustomPluginRequest describeCustomPluginRequest)
A summary description of the custom plugin.
- Parameters:
describeCustomPluginRequest-- Returns:
- A Java Future containing the result of the DescribeCustomPlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeCustomPlugin
default CompletableFuture<DescribeCustomPluginResponse> describeCustomPlugin(Consumer<DescribeCustomPluginRequest.Builder> describeCustomPluginRequest)
A summary description of the custom plugin.
This is a convenience which creates an instance of the
DescribeCustomPluginRequest.Builderavoiding the need to create one manually viaDescribeCustomPluginRequest.builder()- Parameters:
describeCustomPluginRequest- AConsumerthat will call methods onDescribeCustomPluginRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeCustomPlugin operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeWorkerConfiguration
default CompletableFuture<DescribeWorkerConfigurationResponse> describeWorkerConfiguration(DescribeWorkerConfigurationRequest describeWorkerConfigurationRequest)
Returns information about a worker configuration.
- Parameters:
describeWorkerConfigurationRequest-- Returns:
- A Java Future containing the result of the DescribeWorkerConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeWorkerConfiguration
default CompletableFuture<DescribeWorkerConfigurationResponse> describeWorkerConfiguration(Consumer<DescribeWorkerConfigurationRequest.Builder> describeWorkerConfigurationRequest)
Returns information about a worker configuration.
This is a convenience which creates an instance of the
DescribeWorkerConfigurationRequest.Builderavoiding the need to create one manually viaDescribeWorkerConfigurationRequest.builder()- Parameters:
describeWorkerConfigurationRequest- AConsumerthat will call methods onDescribeWorkerConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkerConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConnectorOperations
default CompletableFuture<ListConnectorOperationsResponse> listConnectorOperations(ListConnectorOperationsRequest listConnectorOperationsRequest)
Lists information about a connector's operation(s).
- Parameters:
listConnectorOperationsRequest-- Returns:
- A Java Future containing the result of the ListConnectorOperations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConnectorOperations
default CompletableFuture<ListConnectorOperationsResponse> listConnectorOperations(Consumer<ListConnectorOperationsRequest.Builder> listConnectorOperationsRequest)
Lists information about a connector's operation(s).
This is a convenience which creates an instance of the
ListConnectorOperationsRequest.Builderavoiding the need to create one manually viaListConnectorOperationsRequest.builder()- Parameters:
listConnectorOperationsRequest- AConsumerthat will call methods onListConnectorOperationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListConnectorOperations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConnectorOperationsPaginator
default ListConnectorOperationsPublisher listConnectorOperationsPaginator(ListConnectorOperationsRequest listConnectorOperationsRequest)
This is a variant of
listConnectorOperations(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorOperationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorOperationsPublisher publisher = client.listConnectorOperationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorOperationsPublisher publisher = client.listConnectorOperationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.kafkaconnect.model.ListConnectorOperationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorOperationsResponse response) { //... }; });Please notice that the configuration of maxResults 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
listConnectorOperations(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorOperationsRequest)operation.- Parameters:
listConnectorOperationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConnectorOperationsPaginator
default ListConnectorOperationsPublisher listConnectorOperationsPaginator(Consumer<ListConnectorOperationsRequest.Builder> listConnectorOperationsRequest)
This is a variant of
listConnectorOperations(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorOperationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorOperationsPublisher publisher = client.listConnectorOperationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorOperationsPublisher publisher = client.listConnectorOperationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.kafkaconnect.model.ListConnectorOperationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorOperationsResponse response) { //... }; });Please notice that the configuration of maxResults 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
listConnectorOperations(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorOperationsRequest)operation.
This is a convenience which creates an instance of the
ListConnectorOperationsRequest.Builderavoiding the need to create one manually viaListConnectorOperationsRequest.builder()- Parameters:
listConnectorOperationsRequest- AConsumerthat will call methods onListConnectorOperationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConnectors
default CompletableFuture<ListConnectorsResponse> listConnectors(ListConnectorsRequest listConnectorsRequest)
Returns a list of all the connectors in this account and Region. The list is limited to connectors whose name starts with the specified prefix. The response also includes a description of each of the listed connectors.
- Parameters:
listConnectorsRequest-- Returns:
- A Java Future containing the result of the ListConnectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConnectors
default CompletableFuture<ListConnectorsResponse> listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest)
Returns a list of all the connectors in this account and Region. The list is limited to connectors whose name starts with the specified prefix. The response also includes a description of each of the listed connectors.
This is a convenience which creates an instance of the
ListConnectorsRequest.Builderavoiding the need to create one manually viaListConnectorsRequest.builder()- Parameters:
listConnectorsRequest- AConsumerthat will call methods onListConnectorsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListConnectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConnectorsPaginator
default ListConnectorsPublisher listConnectorsPaginator(ListConnectorsRequest listConnectorsRequest)
This is a variant of
listConnectors(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsResponse response) { //... }; });Please notice that the configuration of maxResults 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
listConnectors(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsRequest)operation.- Parameters:
listConnectorsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConnectorsPaginator
default ListConnectorsPublisher listConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest)
This is a variant of
listConnectors(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsResponse response) { //... }; });Please notice that the configuration of maxResults 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
listConnectors(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsRequest)operation.
This is a convenience which creates an instance of the
ListConnectorsRequest.Builderavoiding the need to create one manually viaListConnectorsRequest.builder()- Parameters:
listConnectorsRequest- AConsumerthat will call methods onListConnectorsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomPlugins
default CompletableFuture<ListCustomPluginsResponse> listCustomPlugins(ListCustomPluginsRequest listCustomPluginsRequest)
Returns a list of all of the custom plugins in this account and Region.
- Parameters:
listCustomPluginsRequest-- Returns:
- A Java Future containing the result of the ListCustomPlugins operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomPlugins
default CompletableFuture<ListCustomPluginsResponse> listCustomPlugins(Consumer<ListCustomPluginsRequest.Builder> listCustomPluginsRequest)
Returns a list of all of the custom plugins in this account and Region.
This is a convenience which creates an instance of the
ListCustomPluginsRequest.Builderavoiding the need to create one manually viaListCustomPluginsRequest.builder()- Parameters:
listCustomPluginsRequest- AConsumerthat will call methods onListCustomPluginsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCustomPlugins operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomPluginsPaginator
default ListCustomPluginsPublisher listCustomPluginsPaginator(ListCustomPluginsRequest listCustomPluginsRequest)
This is a variant of
listCustomPlugins(software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsPublisher publisher = client.listCustomPluginsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsPublisher publisher = client.listCustomPluginsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsResponse response) { //... }; });Please notice that the configuration of maxResults 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
listCustomPlugins(software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsRequest)operation.- Parameters:
listCustomPluginsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomPluginsPaginator
default ListCustomPluginsPublisher listCustomPluginsPaginator(Consumer<ListCustomPluginsRequest.Builder> listCustomPluginsRequest)
This is a variant of
listCustomPlugins(software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsPublisher publisher = client.listCustomPluginsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsPublisher publisher = client.listCustomPluginsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsResponse response) { //... }; });Please notice that the configuration of maxResults 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
listCustomPlugins(software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsRequest)operation.
This is a convenience which creates an instance of the
ListCustomPluginsRequest.Builderavoiding the need to create one manually viaListCustomPluginsRequest.builder()- Parameters:
listCustomPluginsRequest- AConsumerthat will call methods onListCustomPluginsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all the tags attached to the specified resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all the tags attached to the specified resource.
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:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listWorkerConfigurations
default CompletableFuture<ListWorkerConfigurationsResponse> listWorkerConfigurations(ListWorkerConfigurationsRequest listWorkerConfigurationsRequest)
Returns a list of all of the worker configurations in this account and Region.
- Parameters:
listWorkerConfigurationsRequest-- Returns:
- A Java Future containing the result of the ListWorkerConfigurations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listWorkerConfigurations
default CompletableFuture<ListWorkerConfigurationsResponse> listWorkerConfigurations(Consumer<ListWorkerConfigurationsRequest.Builder> listWorkerConfigurationsRequest)
Returns a list of all of the worker configurations in this account and Region.
This is a convenience which creates an instance of the
ListWorkerConfigurationsRequest.Builderavoiding the need to create one manually viaListWorkerConfigurationsRequest.builder()- Parameters:
listWorkerConfigurationsRequest- AConsumerthat will call methods onListWorkerConfigurationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListWorkerConfigurations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listWorkerConfigurationsPaginator
default ListWorkerConfigurationsPublisher listWorkerConfigurationsPaginator(ListWorkerConfigurationsRequest listWorkerConfigurationsRequest)
This is a variant of
listWorkerConfigurations(software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsPublisher publisher = client.listWorkerConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsPublisher publisher = client.listWorkerConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsResponse response) { //... }; });Please notice that the configuration of maxResults 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
listWorkerConfigurations(software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsRequest)operation.- Parameters:
listWorkerConfigurationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listWorkerConfigurationsPaginator
default ListWorkerConfigurationsPublisher listWorkerConfigurationsPaginator(Consumer<ListWorkerConfigurationsRequest.Builder> listWorkerConfigurationsRequest)
This is a variant of
listWorkerConfigurations(software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsPublisher publisher = client.listWorkerConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsPublisher publisher = client.listWorkerConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsResponse response) { //... }; });Please notice that the configuration of maxResults 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
listWorkerConfigurations(software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListWorkerConfigurationsRequest.Builderavoiding the need to create one manually viaListWorkerConfigurationsRequest.builder()- Parameters:
listWorkerConfigurationsRequest- AConsumerthat will call methods onListWorkerConfigurationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Attaches tags to the specified resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- ConflictException HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Attaches tags to the specified resource.
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:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- ConflictException HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from the specified resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from the specified resource.
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:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateConnector
default CompletableFuture<UpdateConnectorResponse> updateConnector(UpdateConnectorRequest updateConnectorRequest)
Updates the specified connector.
- Parameters:
updateConnectorRequest-- Returns:
- A Java Future containing the result of the UpdateConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateConnector
default CompletableFuture<UpdateConnectorResponse> updateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest)
Updates the specified connector.
This is a convenience which creates an instance of the
UpdateConnectorRequest.Builderavoiding the need to create one manually viaUpdateConnectorRequest.builder()- Parameters:
updateConnectorRequest- AConsumerthat will call methods onUpdateConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
- BadRequestException HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
- ForbiddenException HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
- ServiceUnavailableException HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
- TooManyRequestsException HTTP Status Code 429: Limit exceeded. Resource limit reached.
- UnauthorizedException HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
- InternalServerErrorException HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
- 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.
- KafkaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default KafkaConnectServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static KafkaConnectAsyncClient create()
Create aKafkaConnectAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static KafkaConnectAsyncClientBuilder builder()
Create a builder that can be used to configure and create aKafkaConnectAsyncClient.
-
-