@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface KafkaConnectClient extends AwsClient
builder() method.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static KafkaConnectClientBuilder |
builder()
Create a builder that can be used to configure and create a
KafkaConnectClient. |
static KafkaConnectClient |
create()
Create a
KafkaConnectClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateConnectorResponse |
createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest)
Creates a connector using the specified properties.
|
default CreateConnectorResponse |
createConnector(CreateConnectorRequest createConnectorRequest)
Creates a connector using the specified properties.
|
default CreateCustomPluginResponse |
createCustomPlugin(Consumer<CreateCustomPluginRequest.Builder> createCustomPluginRequest)
Creates a custom plugin using the specified properties.
|
default CreateCustomPluginResponse |
createCustomPlugin(CreateCustomPluginRequest createCustomPluginRequest)
Creates a custom plugin using the specified properties.
|
default CreateWorkerConfigurationResponse |
createWorkerConfiguration(Consumer<CreateWorkerConfigurationRequest.Builder> createWorkerConfigurationRequest)
Creates a worker configuration using the specified properties.
|
default CreateWorkerConfigurationResponse |
createWorkerConfiguration(CreateWorkerConfigurationRequest createWorkerConfigurationRequest)
Creates a worker configuration using the specified properties.
|
default DeleteConnectorResponse |
deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest)
Deletes the specified connector.
|
default DeleteConnectorResponse |
deleteConnector(DeleteConnectorRequest deleteConnectorRequest)
Deletes the specified connector.
|
default DeleteCustomPluginResponse |
deleteCustomPlugin(Consumer<DeleteCustomPluginRequest.Builder> deleteCustomPluginRequest)
Deletes a custom plugin.
|
default DeleteCustomPluginResponse |
deleteCustomPlugin(DeleteCustomPluginRequest deleteCustomPluginRequest)
Deletes a custom plugin.
|
default DescribeConnectorResponse |
describeConnector(Consumer<DescribeConnectorRequest.Builder> describeConnectorRequest)
Returns summary information about the connector.
|
default DescribeConnectorResponse |
describeConnector(DescribeConnectorRequest describeConnectorRequest)
Returns summary information about the connector.
|
default DescribeCustomPluginResponse |
describeCustomPlugin(Consumer<DescribeCustomPluginRequest.Builder> describeCustomPluginRequest)
A summary description of the custom plugin.
|
default DescribeCustomPluginResponse |
describeCustomPlugin(DescribeCustomPluginRequest describeCustomPluginRequest)
A summary description of the custom plugin.
|
default DescribeWorkerConfigurationResponse |
describeWorkerConfiguration(Consumer<DescribeWorkerConfigurationRequest.Builder> describeWorkerConfigurationRequest)
Returns information about a worker configuration.
|
default DescribeWorkerConfigurationResponse |
describeWorkerConfiguration(DescribeWorkerConfigurationRequest describeWorkerConfigurationRequest)
Returns information about a worker configuration.
|
default ListConnectorsResponse |
listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest)
Returns a list of all the connectors in this account and Region.
|
default ListConnectorsResponse |
listConnectors(ListConnectorsRequest listConnectorsRequest)
Returns a list of all the connectors in this account and Region.
|
default ListConnectorsIterable |
listConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest)
Returns a list of all the connectors in this account and Region.
|
default ListConnectorsIterable |
listConnectorsPaginator(ListConnectorsRequest listConnectorsRequest)
Returns a list of all the connectors in this account and Region.
|
default ListCustomPluginsResponse |
listCustomPlugins(Consumer<ListCustomPluginsRequest.Builder> listCustomPluginsRequest)
Returns a list of all of the custom plugins in this account and Region.
|
default ListCustomPluginsResponse |
listCustomPlugins(ListCustomPluginsRequest listCustomPluginsRequest)
Returns a list of all of the custom plugins in this account and Region.
|
default ListCustomPluginsIterable |
listCustomPluginsPaginator(Consumer<ListCustomPluginsRequest.Builder> listCustomPluginsRequest)
Returns a list of all of the custom plugins in this account and Region.
|
default ListCustomPluginsIterable |
listCustomPluginsPaginator(ListCustomPluginsRequest listCustomPluginsRequest)
Returns a list of all of the custom plugins in this account and Region.
|
default ListWorkerConfigurationsResponse |
listWorkerConfigurations(Consumer<ListWorkerConfigurationsRequest.Builder> listWorkerConfigurationsRequest)
Returns a list of all of the worker configurations in this account and Region.
|
default ListWorkerConfigurationsResponse |
listWorkerConfigurations(ListWorkerConfigurationsRequest listWorkerConfigurationsRequest)
Returns a list of all of the worker configurations in this account and Region.
|
default ListWorkerConfigurationsIterable |
listWorkerConfigurationsPaginator(Consumer<ListWorkerConfigurationsRequest.Builder> listWorkerConfigurationsRequest)
Returns a list of all of the worker configurations in this account and Region.
|
default ListWorkerConfigurationsIterable |
listWorkerConfigurationsPaginator(ListWorkerConfigurationsRequest listWorkerConfigurationsRequest)
Returns a list of all of the worker configurations in this account and Region.
|
default KafkaConnectServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default UpdateConnectorResponse |
updateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest)
Updates the specified connector.
|
default UpdateConnectorResponse |
updateConnector(UpdateConnectorRequest updateConnectorRequest)
Updates the specified connector.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CreateConnectorResponse createConnector(CreateConnectorRequest createConnectorRequest) throws NotFoundException, ConflictException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Creates a connector using the specified properties.
createConnectorRequest - 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.AwsServiceExceptiondefault CreateConnectorResponse createConnector(Consumer<CreateConnectorRequest.Builder> createConnectorRequest) throws NotFoundException, ConflictException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
createConnectorRequest - A Consumer that will call methods on
CreateConnectorRequest.Builder to create a
request.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.AwsServiceExceptiondefault CreateCustomPluginResponse createCustomPlugin(CreateCustomPluginRequest createCustomPluginRequest) throws NotFoundException, ConflictException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Creates a custom plugin using the specified properties.
createCustomPluginRequest - 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.AwsServiceExceptiondefault CreateCustomPluginResponse createCustomPlugin(Consumer<CreateCustomPluginRequest.Builder> createCustomPluginRequest) throws NotFoundException, ConflictException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
createCustomPluginRequest - A Consumer that will call methods on
CreateCustomPluginRequest.Builder to create a
request.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.AwsServiceExceptiondefault CreateWorkerConfigurationResponse createWorkerConfiguration(CreateWorkerConfigurationRequest createWorkerConfigurationRequest) throws NotFoundException, ConflictException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Creates a worker configuration using the specified properties.
createWorkerConfigurationRequest - 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.AwsServiceExceptiondefault CreateWorkerConfigurationResponse createWorkerConfiguration(Consumer<CreateWorkerConfigurationRequest.Builder> createWorkerConfigurationRequest) throws NotFoundException, ConflictException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
createWorkerConfigurationRequest - A Consumer that will call methods on
CreateWorkerConfigurationRequest.Builder to
create a request.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.AwsServiceExceptiondefault DeleteConnectorResponse deleteConnector(DeleteConnectorRequest deleteConnectorRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Deletes the specified connector.
deleteConnectorRequest - 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.AwsServiceExceptiondefault DeleteConnectorResponse deleteConnector(Consumer<DeleteConnectorRequest.Builder> deleteConnectorRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
deleteConnectorRequest - A Consumer that will call methods on
DeleteConnectorRequest.Builder to create a
request.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.AwsServiceExceptiondefault DeleteCustomPluginResponse deleteCustomPlugin(DeleteCustomPluginRequest deleteCustomPluginRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Deletes a custom plugin.
deleteCustomPluginRequest - 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.AwsServiceExceptiondefault DeleteCustomPluginResponse deleteCustomPlugin(Consumer<DeleteCustomPluginRequest.Builder> deleteCustomPluginRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
deleteCustomPluginRequest - A Consumer that will call methods on
DeleteCustomPluginRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeConnectorResponse describeConnector(DescribeConnectorRequest describeConnectorRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Returns summary information about the connector.
describeConnectorRequest - 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.AwsServiceExceptiondefault DescribeConnectorResponse describeConnector(Consumer<DescribeConnectorRequest.Builder> describeConnectorRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
describeConnectorRequest - A Consumer that will call methods on
DescribeConnectorRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeCustomPluginResponse describeCustomPlugin(DescribeCustomPluginRequest describeCustomPluginRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
A summary description of the custom plugin.
describeCustomPluginRequest - 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.AwsServiceExceptiondefault DescribeCustomPluginResponse describeCustomPlugin(Consumer<DescribeCustomPluginRequest.Builder> describeCustomPluginRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
describeCustomPluginRequest - A Consumer that will call methods on
DescribeCustomPluginRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeWorkerConfigurationResponse describeWorkerConfiguration(DescribeWorkerConfigurationRequest describeWorkerConfigurationRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Returns information about a worker configuration.
describeWorkerConfigurationRequest - 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.AwsServiceExceptiondefault DescribeWorkerConfigurationResponse describeWorkerConfiguration(Consumer<DescribeWorkerConfigurationRequest.Builder> describeWorkerConfigurationRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
describeWorkerConfigurationRequest - A Consumer that will call methods on
DescribeWorkerConfigurationRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListConnectorsResponse listConnectors(ListConnectorsRequest listConnectorsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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.
listConnectorsRequest - 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.AwsServiceExceptiondefault ListConnectorsResponse listConnectors(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
listConnectorsRequest - A Consumer that will call methods on
ListConnectorsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListConnectorsIterable listConnectorsPaginator(ListConnectorsRequest listConnectorsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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 variant of
listConnectors(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsIterable responses = client
.listConnectorsPaginator(request);
for (software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listConnectorsRequest - 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.AwsServiceExceptiondefault ListConnectorsIterable listConnectorsPaginator(Consumer<ListConnectorsRequest.Builder> listConnectorsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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 variant of
listConnectors(software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsIterable responses = client
.listConnectorsPaginator(request);
for (software.amazon.awssdk.services.kafkaconnect.model.ListConnectorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.kafkaconnect.paginators.ListConnectorsIterable responses = client.listConnectorsPaginator(request);
responses.iterator().forEachRemaining(....);
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()
listConnectorsRequest - A Consumer that will call methods on
ListConnectorsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListCustomPluginsResponse listCustomPlugins(ListCustomPluginsRequest listCustomPluginsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Returns a list of all of the custom plugins in this account and Region.
listCustomPluginsRequest - 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.AwsServiceExceptiondefault ListCustomPluginsResponse listCustomPlugins(Consumer<ListCustomPluginsRequest.Builder> listCustomPluginsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
listCustomPluginsRequest - A Consumer that will call methods on
ListCustomPluginsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListCustomPluginsIterable listCustomPluginsPaginator(ListCustomPluginsRequest listCustomPluginsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Returns a list of all of the custom plugins in this account and Region.
This is a variant of
listCustomPlugins(software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsIterable responses = client.listCustomPluginsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsIterable responses = client
.listCustomPluginsPaginator(request);
for (software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsIterable responses = client.listCustomPluginsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listCustomPluginsRequest - 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.AwsServiceExceptiondefault ListCustomPluginsIterable listCustomPluginsPaginator(Consumer<ListCustomPluginsRequest.Builder> listCustomPluginsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Returns a list of all of the custom plugins in this account and Region.
This is a variant of
listCustomPlugins(software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsIterable responses = client.listCustomPluginsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsIterable responses = client
.listCustomPluginsPaginator(request);
for (software.amazon.awssdk.services.kafkaconnect.model.ListCustomPluginsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.kafkaconnect.paginators.ListCustomPluginsIterable responses = client.listCustomPluginsPaginator(request);
responses.iterator().forEachRemaining(....);
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()
listCustomPluginsRequest - A Consumer that will call methods on
ListCustomPluginsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListWorkerConfigurationsResponse listWorkerConfigurations(ListWorkerConfigurationsRequest listWorkerConfigurationsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Returns a list of all of the worker configurations in this account and Region.
listWorkerConfigurationsRequest - 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.AwsServiceExceptiondefault ListWorkerConfigurationsResponse listWorkerConfigurations(Consumer<ListWorkerConfigurationsRequest.Builder> listWorkerConfigurationsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
listWorkerConfigurationsRequest - A Consumer that will call methods on
ListWorkerConfigurationsRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListWorkerConfigurationsIterable listWorkerConfigurationsPaginator(ListWorkerConfigurationsRequest listWorkerConfigurationsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Returns a list of all of the worker configurations in this account and Region.
This is a variant of
listWorkerConfigurations(software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsIterable responses = client.listWorkerConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsIterable responses = client
.listWorkerConfigurationsPaginator(request);
for (software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsIterable responses = client.listWorkerConfigurationsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listWorkerConfigurationsRequest - 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.AwsServiceExceptiondefault ListWorkerConfigurationsIterable listWorkerConfigurationsPaginator(Consumer<ListWorkerConfigurationsRequest.Builder> listWorkerConfigurationsRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Returns a list of all of the worker configurations in this account and Region.
This is a variant of
listWorkerConfigurations(software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsIterable responses = client.listWorkerConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsIterable responses = client
.listWorkerConfigurationsPaginator(request);
for (software.amazon.awssdk.services.kafkaconnect.model.ListWorkerConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.kafkaconnect.paginators.ListWorkerConfigurationsIterable responses = client.listWorkerConfigurationsPaginator(request);
responses.iterator().forEachRemaining(....);
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()
listWorkerConfigurationsRequest - A Consumer that will call methods on
ListWorkerConfigurationsRequest.Builder to
create a request.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.AwsServiceExceptiondefault UpdateConnectorResponse updateConnector(UpdateConnectorRequest updateConnectorRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
Updates the specified connector.
updateConnectorRequest - 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.AwsServiceExceptiondefault UpdateConnectorResponse updateConnector(Consumer<UpdateConnectorRequest.Builder> updateConnectorRequest) throws NotFoundException, BadRequestException, ForbiddenException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, InternalServerErrorException, AwsServiceException, SdkClientException, KafkaConnectException
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()
updateConnectorRequest - A Consumer that will call methods on
UpdateConnectorRequest.Builder to create a
request.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.AwsServiceExceptionstatic KafkaConnectClient create()
KafkaConnectClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static KafkaConnectClientBuilder builder()
KafkaConnectClient.static ServiceMetadata serviceMetadata()
default KafkaConnectServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.