Interface KafkaConnectAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported 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
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aKafkaConnectAsyncClient
.static KafkaConnectAsyncClient
create()
Create aKafkaConnectAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateConnectorResponse> createConnector
(Consumer<CreateConnectorRequest.Builder> createConnectorRequest) Creates a connector using the specified properties.default CompletableFuture
<CreateConnectorResponse> createConnector
(CreateConnectorRequest createConnectorRequest) Creates a connector using the specified properties.createCustomPlugin
(Consumer<CreateCustomPluginRequest.Builder> createCustomPluginRequest) Creates a custom plugin using the specified properties.createCustomPlugin
(CreateCustomPluginRequest createCustomPluginRequest) Creates a custom plugin using the specified properties.createWorkerConfiguration
(Consumer<CreateWorkerConfigurationRequest.Builder> createWorkerConfigurationRequest) Creates a worker configuration using the specified properties.createWorkerConfiguration
(CreateWorkerConfigurationRequest createWorkerConfigurationRequest) Creates a worker configuration using the specified properties.default CompletableFuture
<DeleteConnectorResponse> deleteConnector
(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest) Deletes the specified connector.default CompletableFuture
<DeleteConnectorResponse> deleteConnector
(DeleteConnectorRequest deleteConnectorRequest) Deletes the specified connector.deleteCustomPlugin
(Consumer<DeleteCustomPluginRequest.Builder> deleteCustomPluginRequest) Deletes a custom plugin.deleteCustomPlugin
(DeleteCustomPluginRequest deleteCustomPluginRequest) Deletes a custom plugin.deleteWorkerConfiguration
(Consumer<DeleteWorkerConfigurationRequest.Builder> deleteWorkerConfigurationRequest) Deletes the specified worker configuration.deleteWorkerConfiguration
(DeleteWorkerConfigurationRequest deleteWorkerConfigurationRequest) Deletes the specified worker configuration.describeConnector
(Consumer<DescribeConnectorRequest.Builder> describeConnectorRequest) Returns summary information about the connector.describeConnector
(DescribeConnectorRequest describeConnectorRequest) Returns summary information about the connector.describeCustomPlugin
(Consumer<DescribeCustomPluginRequest.Builder> describeCustomPluginRequest) A summary description of the custom plugin.describeCustomPlugin
(DescribeCustomPluginRequest describeCustomPluginRequest) A summary description of the custom plugin.describeWorkerConfiguration
(Consumer<DescribeWorkerConfigurationRequest.Builder> describeWorkerConfigurationRequest) Returns information about a worker configuration.describeWorkerConfiguration
(DescribeWorkerConfigurationRequest describeWorkerConfigurationRequest) Returns information about a worker configuration.default CompletableFuture
<ListConnectorsResponse> listConnectors
(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) Returns a list of all the connectors in this account and Region.default CompletableFuture
<ListConnectorsResponse> listConnectors
(ListConnectorsRequest listConnectorsRequest) Returns a list of all the connectors in this account and Region.default ListConnectorsPublisher
listConnectorsPaginator
(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) This is a variant oflistConnectors(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsRequest)
operation.default ListConnectorsPublisher
listConnectorsPaginator
(ListConnectorsRequest listConnectorsRequest) This is a variant oflistConnectors(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsRequest)
operation.listCustomPlugins
(Consumer<ListCustomPluginsRequest.Builder> listCustomPluginsRequest) Returns a list of all of the custom plugins in this account and Region.listCustomPlugins
(ListCustomPluginsRequest listCustomPluginsRequest) Returns a list of all of the custom plugins in this account and Region.default ListCustomPluginsPublisher
listCustomPluginsPaginator
(Consumer<ListCustomPluginsRequest.Builder> listCustomPluginsRequest) This is a variant oflistCustomPlugins(software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsRequest)
operation.default ListCustomPluginsPublisher
listCustomPluginsPaginator
(ListCustomPluginsRequest listCustomPluginsRequest) This is a variant oflistCustomPlugins(software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all the tags attached to the specified resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists all the tags attached to the specified resource.listWorkerConfigurations
(Consumer<ListWorkerConfigurationsRequest.Builder> listWorkerConfigurationsRequest) Returns a list of all of the worker configurations in this account and Region.listWorkerConfigurations
(ListWorkerConfigurationsRequest listWorkerConfigurationsRequest) Returns a list of all of the worker configurations in this account and Region.listWorkerConfigurationsPaginator
(Consumer<ListWorkerConfigurationsRequest.Builder> listWorkerConfigurationsRequest) This is a variant oflistWorkerConfigurations(software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsRequest)
operation.listWorkerConfigurationsPaginator
(ListWorkerConfigurationsRequest listWorkerConfigurationsRequest) This is a variant oflistWorkerConfigurations(software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsRequest)
operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Attaches tags to the specified resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Attaches tags to the specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from the specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from the specified resource.default CompletableFuture
<UpdateConnectorResponse> updateConnector
(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest) Updates the specified connector.default CompletableFuture
<UpdateConnectorResponse> updateConnector
(UpdateConnectorRequest updateConnectorRequest) Updates the specified connector.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
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:
-
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.Builder
avoiding the need to create one manually viaCreateConnectorRequest.builder()
- Parameters:
createConnectorRequest
- AConsumer
that will call methods onCreateConnectorRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaCreateCustomPluginRequest.builder()
- Parameters:
createCustomPluginRequest
- AConsumer
that will call methods onCreateCustomPluginRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaCreateWorkerConfigurationRequest.builder()
- Parameters:
createWorkerConfigurationRequest
- AConsumer
that will call methods onCreateWorkerConfigurationRequest.Builder
to 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:
-
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:
-
deleteConnector
default CompletableFuture<DeleteConnectorResponse> deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest) Deletes the specified connector.
This is a convenience which creates an instance of the
DeleteConnectorRequest.Builder
avoiding the need to create one manually viaDeleteConnectorRequest.builder()
- Parameters:
deleteConnectorRequest
- AConsumer
that will call methods onDeleteConnectorRequest.Builder
to 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:
-
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:
-
deleteCustomPlugin
default CompletableFuture<DeleteCustomPluginResponse> deleteCustomPlugin(Consumer<DeleteCustomPluginRequest.Builder> deleteCustomPluginRequest) Deletes a custom plugin.
This is a convenience which creates an instance of the
DeleteCustomPluginRequest.Builder
avoiding the need to create one manually viaDeleteCustomPluginRequest.builder()
- Parameters:
deleteCustomPluginRequest
- AConsumer
that will call methods onDeleteCustomPluginRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaDeleteWorkerConfigurationRequest.builder()
- Parameters:
deleteWorkerConfigurationRequest
- AConsumer
that will call methods onDeleteWorkerConfigurationRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaDescribeConnectorRequest.builder()
- Parameters:
describeConnectorRequest
- AConsumer
that will call methods onDescribeConnectorRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaDescribeCustomPluginRequest.builder()
- Parameters:
describeCustomPluginRequest
- AConsumer
that will call methods onDescribeCustomPluginRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaDescribeWorkerConfigurationRequest.builder()
- Parameters:
describeWorkerConfigurationRequest
- AConsumer
that will call methods onDescribeWorkerConfigurationRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaListConnectorsRequest.builder()
- Parameters:
listConnectorsRequest
- AConsumer
that will call methods onListConnectorsRequest.Builder
to 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:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListConnectorsRequest.builder()
- Parameters:
listConnectorsRequest
- AConsumer
that will call methods onListConnectorsRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaListCustomPluginsRequest.builder()
- Parameters:
listCustomPluginsRequest
- AConsumer
that will call methods onListCustomPluginsRequest.Builder
to 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:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsPublisher publisher = client.listCustomPluginsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsPublisher publisher = client.listCustomPluginsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListCustomPluginsRequest.builder()
- Parameters:
listCustomPluginsRequest
- AConsumer
that will call methods onListCustomPluginsRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaListWorkerConfigurationsRequest.builder()
- Parameters:
listWorkerConfigurationsRequest
- AConsumer
that will call methods onListWorkerConfigurationsRequest.Builder
to 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:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsPublisher publisher = client.listWorkerConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsPublisher publisher = client.listWorkerConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListWorkerConfigurationsRequest.builder()
- Parameters:
listWorkerConfigurationsRequest
- AConsumer
that will call methods onListWorkerConfigurationsRequest.Builder
to 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:
-
tagResource
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:
-
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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to 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:
-
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:
-
updateConnector
default CompletableFuture<UpdateConnectorResponse> updateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest) Updates the specified connector.
This is a convenience which creates an instance of the
UpdateConnectorRequest.Builder
avoiding the need to create one manually viaUpdateConnectorRequest.builder()
- Parameters:
updateConnectorRequest
- AConsumer
that will call methods onUpdateConnectorRequest.Builder
to 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:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aKafkaConnectAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aKafkaConnectAsyncClient
.
-