Interface KafkaConnectAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface KafkaConnectAsyncClient extends AwsClient
Service client for accessing Kafka Connect asynchronously. This can be created using the static 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 Details

  • 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 invoke Throwable.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 via CreateConnectorRequest.builder()

      Parameters:
      createConnectorRequest - A Consumer that will call methods on CreateConnectorRequest.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 invoke Throwable.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 invoke Throwable.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 via CreateCustomPluginRequest.builder()

      Parameters:
      createCustomPluginRequest - A Consumer that will call methods on CreateCustomPluginRequest.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 invoke Throwable.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 invoke Throwable.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 via CreateWorkerConfigurationRequest.builder()

      Parameters:
      createWorkerConfigurationRequest - A Consumer that will call methods on CreateWorkerConfigurationRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteConnectorRequest.builder()

      Parameters:
      deleteConnectorRequest - A Consumer that will call methods on DeleteConnectorRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteCustomPluginRequest.builder()

      Parameters:
      deleteCustomPluginRequest - A Consumer that will call methods on DeleteCustomPluginRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteWorkerConfigurationRequest.builder()

      Parameters:
      deleteWorkerConfigurationRequest - A Consumer that will call methods on DeleteWorkerConfigurationRequest.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 invoke Throwable.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 invoke Throwable.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 via DescribeConnectorRequest.builder()

      Parameters:
      describeConnectorRequest - A Consumer that will call methods on DescribeConnectorRequest.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 invoke Throwable.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 invoke Throwable.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 via DescribeCustomPluginRequest.builder()

      Parameters:
      describeCustomPluginRequest - A Consumer that will call methods on DescribeCustomPluginRequest.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 invoke Throwable.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 invoke Throwable.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 via DescribeWorkerConfigurationRequest.builder()

      Parameters:
      describeWorkerConfigurationRequest - A Consumer that will call methods on DescribeWorkerConfigurationRequest.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 invoke Throwable.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 invoke Throwable.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 via ListConnectorsRequest.builder()

      Parameters:
      listConnectorsRequest - A Consumer that will call methods on ListConnectorsRequest.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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsPublisher publisher = client.listConnectorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 via ListConnectorsRequest.builder()

      Parameters:
      listConnectorsRequest - A Consumer that will call methods on ListConnectorsRequest.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 invoke Throwable.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 invoke Throwable.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 via ListCustomPluginsRequest.builder()

      Parameters:
      listCustomPluginsRequest - A Consumer that will call methods on ListCustomPluginsRequest.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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsPublisher publisher = client.listCustomPluginsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsPublisher publisher = client.listCustomPluginsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 via ListCustomPluginsRequest.builder()

      Parameters:
      listCustomPluginsRequest - A Consumer that will call methods on ListCustomPluginsRequest.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 invoke Throwable.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 invoke Throwable.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 via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via ListWorkerConfigurationsRequest.builder()

      Parameters:
      listWorkerConfigurationsRequest - A Consumer that will call methods on ListWorkerConfigurationsRequest.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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsPublisher publisher = client.listWorkerConfigurationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsPublisher publisher = client.listWorkerConfigurationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 via ListWorkerConfigurationsRequest.builder()

      Parameters:
      listWorkerConfigurationsRequest - A Consumer that will call methods on ListWorkerConfigurationsRequest.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 invoke Throwable.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

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Attaches tags to the specified resource.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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 via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via UpdateConnectorRequest.builder()

      Parameters:
      updateConnectorRequest - A Consumer that will call methods on UpdateConnectorRequest.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 invoke Throwable.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

      default KafkaConnectServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static KafkaConnectAsyncClient create()
      Create a KafkaConnectAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a KafkaConnectAsyncClient.