Interface SchemasAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
Amazon EventBridge Schema Registry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic SchemasAsyncClientBuilder
builder()
Create a builder that can be used to configure and create aSchemasAsyncClient
.static SchemasAsyncClient
create()
Create aSchemasAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createDiscoverer
(Consumer<CreateDiscovererRequest.Builder> createDiscovererRequest) Creates a discoverer.createDiscoverer
(CreateDiscovererRequest createDiscovererRequest) Creates a discoverer.default CompletableFuture
<CreateRegistryResponse> createRegistry
(Consumer<CreateRegistryRequest.Builder> createRegistryRequest) Creates a registry.default CompletableFuture
<CreateRegistryResponse> createRegistry
(CreateRegistryRequest createRegistryRequest) Creates a registry.default CompletableFuture
<CreateSchemaResponse> createSchema
(Consumer<CreateSchemaRequest.Builder> createSchemaRequest) Creates a schema definition.default CompletableFuture
<CreateSchemaResponse> createSchema
(CreateSchemaRequest createSchemaRequest) Creates a schema definition.deleteDiscoverer
(Consumer<DeleteDiscovererRequest.Builder> deleteDiscovererRequest) Deletes a discoverer.deleteDiscoverer
(DeleteDiscovererRequest deleteDiscovererRequest) Deletes a discoverer.default CompletableFuture
<DeleteRegistryResponse> deleteRegistry
(Consumer<DeleteRegistryRequest.Builder> deleteRegistryRequest) Deletes a Registry.default CompletableFuture
<DeleteRegistryResponse> deleteRegistry
(DeleteRegistryRequest deleteRegistryRequest) Deletes a Registry.deleteResourcePolicy
(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Delete the resource-based policy attached to the specified registry.deleteResourcePolicy
(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Delete the resource-based policy attached to the specified registry.default CompletableFuture
<DeleteSchemaResponse> deleteSchema
(Consumer<DeleteSchemaRequest.Builder> deleteSchemaRequest) Delete a schema definition.default CompletableFuture
<DeleteSchemaResponse> deleteSchema
(DeleteSchemaRequest deleteSchemaRequest) Delete a schema definition.deleteSchemaVersion
(Consumer<DeleteSchemaVersionRequest.Builder> deleteSchemaVersionRequest) Delete the schema version definitiondeleteSchemaVersion
(DeleteSchemaVersionRequest deleteSchemaVersionRequest) Delete the schema version definitiondescribeCodeBinding
(Consumer<DescribeCodeBindingRequest.Builder> describeCodeBindingRequest) Describe the code binding URI.describeCodeBinding
(DescribeCodeBindingRequest describeCodeBindingRequest) Describe the code binding URI.describeDiscoverer
(Consumer<DescribeDiscovererRequest.Builder> describeDiscovererRequest) Describes the discoverer.describeDiscoverer
(DescribeDiscovererRequest describeDiscovererRequest) Describes the discoverer.describeRegistry
(Consumer<DescribeRegistryRequest.Builder> describeRegistryRequest) Describes the registry.describeRegistry
(DescribeRegistryRequest describeRegistryRequest) Describes the registry.default CompletableFuture
<DescribeSchemaResponse> describeSchema
(Consumer<DescribeSchemaRequest.Builder> describeSchemaRequest) Retrieve the schema definition.default CompletableFuture
<DescribeSchemaResponse> describeSchema
(DescribeSchemaRequest describeSchemaRequest) Retrieve the schema definition.default CompletableFuture
<ExportSchemaResponse> exportSchema
(Consumer<ExportSchemaRequest.Builder> exportSchemaRequest) Invokes the ExportSchema operation asynchronously.default CompletableFuture
<ExportSchemaResponse> exportSchema
(ExportSchemaRequest exportSchemaRequest) Invokes the ExportSchema operation asynchronously.getCodeBindingSource
(Consumer<GetCodeBindingSourceRequest.Builder> getCodeBindingSourceRequest) Get the code binding source URI.getCodeBindingSource
(GetCodeBindingSourceRequest getCodeBindingSourceRequest) Get the code binding source URI.getDiscoveredSchema
(Consumer<GetDiscoveredSchemaRequest.Builder> getDiscoveredSchemaRequest) Get the discovered schema that was generated based on sampled events.getDiscoveredSchema
(GetDiscoveredSchemaRequest getDiscoveredSchemaRequest) Get the discovered schema that was generated based on sampled events.getResourcePolicy
(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource-based policy attached to a given registry.getResourcePolicy
(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource-based policy attached to a given registry.default CompletableFuture
<ListDiscoverersResponse> listDiscoverers
(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) List the discoverers.default CompletableFuture
<ListDiscoverersResponse> listDiscoverers
(ListDiscoverersRequest listDiscoverersRequest) List the discoverers.default ListDiscoverersPublisher
listDiscoverersPaginator
(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) This is a variant oflistDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation.default ListDiscoverersPublisher
listDiscoverersPaginator
(ListDiscoverersRequest listDiscoverersRequest) This is a variant oflistDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation.default CompletableFuture
<ListRegistriesResponse> listRegistries
(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) List the registries.default CompletableFuture
<ListRegistriesResponse> listRegistries
(ListRegistriesRequest listRegistriesRequest) List the registries.default ListRegistriesPublisher
listRegistriesPaginator
(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) This is a variant oflistRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation.default ListRegistriesPublisher
listRegistriesPaginator
(ListRegistriesRequest listRegistriesRequest) This is a variant oflistRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation.default CompletableFuture
<ListSchemasResponse> listSchemas
(Consumer<ListSchemasRequest.Builder> listSchemasRequest) List the schemas.default CompletableFuture
<ListSchemasResponse> listSchemas
(ListSchemasRequest listSchemasRequest) List the schemas.default ListSchemasPublisher
listSchemasPaginator
(Consumer<ListSchemasRequest.Builder> listSchemasRequest) This is a variant oflistSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation.default ListSchemasPublisher
listSchemasPaginator
(ListSchemasRequest listSchemasRequest) This is a variant oflistSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation.listSchemaVersions
(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) Provides a list of the schema versions and related information.listSchemaVersions
(ListSchemaVersionsRequest listSchemaVersionsRequest) Provides a list of the schema versions and related information.default ListSchemaVersionsPublisher
listSchemaVersionsPaginator
(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) This is a variant oflistSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation.default ListSchemaVersionsPublisher
listSchemaVersionsPaginator
(ListSchemaVersionsRequest listSchemaVersionsRequest) This is a variant oflistSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Get tags for resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Get tags for resource.default CompletableFuture
<PutCodeBindingResponse> putCodeBinding
(Consumer<PutCodeBindingRequest.Builder> putCodeBindingRequest) Put code binding URIdefault CompletableFuture
<PutCodeBindingResponse> putCodeBinding
(PutCodeBindingRequest putCodeBindingRequest) Put code binding URIputResourcePolicy
(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) The name of the policy.putResourcePolicy
(PutResourcePolicyRequest putResourcePolicyRequest) The name of the policy.default CompletableFuture
<SearchSchemasResponse> searchSchemas
(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) Search the schemasdefault CompletableFuture
<SearchSchemasResponse> searchSchemas
(SearchSchemasRequest searchSchemasRequest) Search the schemasdefault SearchSchemasPublisher
searchSchemasPaginator
(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) This is a variant ofsearchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation.default SearchSchemasPublisher
searchSchemasPaginator
(SearchSchemasRequest searchSchemasRequest) This is a variant ofsearchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<StartDiscovererResponse> startDiscoverer
(Consumer<StartDiscovererRequest.Builder> startDiscovererRequest) Starts the discovererdefault CompletableFuture
<StartDiscovererResponse> startDiscoverer
(StartDiscovererRequest startDiscovererRequest) Starts the discovererdefault CompletableFuture
<StopDiscovererResponse> stopDiscoverer
(Consumer<StopDiscovererRequest.Builder> stopDiscovererRequest) Stops the discovererdefault CompletableFuture
<StopDiscovererResponse> stopDiscoverer
(StopDiscovererRequest stopDiscovererRequest) Stops the discovererdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add tags to a resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Add tags to a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a resource.updateDiscoverer
(Consumer<UpdateDiscovererRequest.Builder> updateDiscovererRequest) Updates the discovererupdateDiscoverer
(UpdateDiscovererRequest updateDiscovererRequest) Updates the discovererdefault CompletableFuture
<UpdateRegistryResponse> updateRegistry
(Consumer<UpdateRegistryRequest.Builder> updateRegistryRequest) Updates a registry.default CompletableFuture
<UpdateRegistryResponse> updateRegistry
(UpdateRegistryRequest updateRegistryRequest) Updates a registry.default CompletableFuture
<UpdateSchemaResponse> updateSchema
(Consumer<UpdateSchemaRequest.Builder> updateSchemaRequest) Updates the schema definitiondefault CompletableFuture
<UpdateSchemaResponse> updateSchema
(UpdateSchemaRequest updateSchemaRequest) Updates the schema definitiondefault SchemasAsyncWaiter
waiter()
Create an instance ofSchemasAsyncWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createDiscoverer
default CompletableFuture<CreateDiscovererResponse> createDiscoverer(CreateDiscovererRequest createDiscovererRequest) Creates a discoverer.
- Parameters:
createDiscovererRequest
-- Returns:
- A Java Future containing the result of the CreateDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- InternalServerErrorException 500 response
- UnauthorizedException 401 response
- ForbiddenException 403 response
- ServiceUnavailableException 503 response
- ConflictException 409 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDiscoverer
default CompletableFuture<CreateDiscovererResponse> createDiscoverer(Consumer<CreateDiscovererRequest.Builder> createDiscovererRequest) Creates a discoverer.
This is a convenience which creates an instance of the
CreateDiscovererRequest.Builder
avoiding the need to create one manually viaCreateDiscovererRequest.builder()
- Parameters:
createDiscovererRequest
- AConsumer
that will call methods onCreateDiscovererRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- InternalServerErrorException 500 response
- UnauthorizedException 401 response
- ForbiddenException 403 response
- ServiceUnavailableException 503 response
- ConflictException 409 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRegistry
default CompletableFuture<CreateRegistryResponse> createRegistry(CreateRegistryRequest createRegistryRequest) Creates a registry.
- Parameters:
createRegistryRequest
-- Returns:
- A Java Future containing the result of the CreateRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- InternalServerErrorException 500 response
- UnauthorizedException 401 response
- ForbiddenException 403 response
- ServiceUnavailableException 503 response
- ConflictException 409 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRegistry
default CompletableFuture<CreateRegistryResponse> createRegistry(Consumer<CreateRegistryRequest.Builder> createRegistryRequest) Creates a registry.
This is a convenience which creates an instance of the
CreateRegistryRequest.Builder
avoiding the need to create one manually viaCreateRegistryRequest.builder()
- Parameters:
createRegistryRequest
- AConsumer
that will call methods onCreateRegistryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- InternalServerErrorException 500 response
- UnauthorizedException 401 response
- ForbiddenException 403 response
- ServiceUnavailableException 503 response
- ConflictException 409 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSchema
default CompletableFuture<CreateSchemaResponse> createSchema(CreateSchemaRequest createSchemaRequest) Creates a schema definition.
Inactive schemas will be deleted after two years.
- Parameters:
createSchemaRequest
-- Returns:
- A Java Future containing the result of the CreateSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSchema
default CompletableFuture<CreateSchemaResponse> createSchema(Consumer<CreateSchemaRequest.Builder> createSchemaRequest) Creates a schema definition.
Inactive schemas will be deleted after two years.
This is a convenience which creates an instance of the
CreateSchemaRequest.Builder
avoiding the need to create one manually viaCreateSchemaRequest.builder()
- Parameters:
createSchemaRequest
- AConsumer
that will call methods onCreateSchemaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDiscoverer
default CompletableFuture<DeleteDiscovererResponse> deleteDiscoverer(DeleteDiscovererRequest deleteDiscovererRequest) Deletes a discoverer.
- Parameters:
deleteDiscovererRequest
-- Returns:
- A Java Future containing the result of the DeleteDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDiscoverer
default CompletableFuture<DeleteDiscovererResponse> deleteDiscoverer(Consumer<DeleteDiscovererRequest.Builder> deleteDiscovererRequest) Deletes a discoverer.
This is a convenience which creates an instance of the
DeleteDiscovererRequest.Builder
avoiding the need to create one manually viaDeleteDiscovererRequest.builder()
- Parameters:
deleteDiscovererRequest
- AConsumer
that will call methods onDeleteDiscovererRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRegistry
default CompletableFuture<DeleteRegistryResponse> deleteRegistry(DeleteRegistryRequest deleteRegistryRequest) Deletes a Registry.
- Parameters:
deleteRegistryRequest
-- Returns:
- A Java Future containing the result of the DeleteRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRegistry
default CompletableFuture<DeleteRegistryResponse> deleteRegistry(Consumer<DeleteRegistryRequest.Builder> deleteRegistryRequest) Deletes a Registry.
This is a convenience which creates an instance of the
DeleteRegistryRequest.Builder
avoiding the need to create one manually viaDeleteRegistryRequest.builder()
- Parameters:
deleteRegistryRequest
- AConsumer
that will call methods onDeleteRegistryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Delete the resource-based policy attached to the specified registry.
- Parameters:
deleteResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Delete the resource-based policy attached to the specified registry.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builder
avoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()
- Parameters:
deleteResourcePolicyRequest
- AConsumer
that will call methods onDeleteResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSchema
default CompletableFuture<DeleteSchemaResponse> deleteSchema(DeleteSchemaRequest deleteSchemaRequest) Delete a schema definition.
- Parameters:
deleteSchemaRequest
-- Returns:
- A Java Future containing the result of the DeleteSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSchema
default CompletableFuture<DeleteSchemaResponse> deleteSchema(Consumer<DeleteSchemaRequest.Builder> deleteSchemaRequest) Delete a schema definition.
This is a convenience which creates an instance of the
DeleteSchemaRequest.Builder
avoiding the need to create one manually viaDeleteSchemaRequest.builder()
- Parameters:
deleteSchemaRequest
- AConsumer
that will call methods onDeleteSchemaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSchemaVersion
default CompletableFuture<DeleteSchemaVersionResponse> deleteSchemaVersion(DeleteSchemaVersionRequest deleteSchemaVersionRequest) Delete the schema version definition
- Parameters:
deleteSchemaVersionRequest
-- Returns:
- A Java Future containing the result of the DeleteSchemaVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSchemaVersion
default CompletableFuture<DeleteSchemaVersionResponse> deleteSchemaVersion(Consumer<DeleteSchemaVersionRequest.Builder> deleteSchemaVersionRequest) Delete the schema version definition
This is a convenience which creates an instance of the
DeleteSchemaVersionRequest.Builder
avoiding the need to create one manually viaDeleteSchemaVersionRequest.builder()
- Parameters:
deleteSchemaVersionRequest
- AConsumer
that will call methods onDeleteSchemaVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSchemaVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCodeBinding
default CompletableFuture<DescribeCodeBindingResponse> describeCodeBinding(DescribeCodeBindingRequest describeCodeBindingRequest) Describe the code binding URI.
- Parameters:
describeCodeBindingRequest
-- Returns:
- A Java Future containing the result of the DescribeCodeBinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCodeBinding
default CompletableFuture<DescribeCodeBindingResponse> describeCodeBinding(Consumer<DescribeCodeBindingRequest.Builder> describeCodeBindingRequest) Describe the code binding URI.
This is a convenience which creates an instance of the
DescribeCodeBindingRequest.Builder
avoiding the need to create one manually viaDescribeCodeBindingRequest.builder()
- Parameters:
describeCodeBindingRequest
- AConsumer
that will call methods onDescribeCodeBindingRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeCodeBinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeDiscoverer
default CompletableFuture<DescribeDiscovererResponse> describeDiscoverer(DescribeDiscovererRequest describeDiscovererRequest) Describes the discoverer.
- Parameters:
describeDiscovererRequest
-- Returns:
- A Java Future containing the result of the DescribeDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeDiscoverer
default CompletableFuture<DescribeDiscovererResponse> describeDiscoverer(Consumer<DescribeDiscovererRequest.Builder> describeDiscovererRequest) Describes the discoverer.
This is a convenience which creates an instance of the
DescribeDiscovererRequest.Builder
avoiding the need to create one manually viaDescribeDiscovererRequest.builder()
- Parameters:
describeDiscovererRequest
- AConsumer
that will call methods onDescribeDiscovererRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRegistry
default CompletableFuture<DescribeRegistryResponse> describeRegistry(DescribeRegistryRequest describeRegistryRequest) Describes the registry.
- Parameters:
describeRegistryRequest
-- Returns:
- A Java Future containing the result of the DescribeRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeRegistry
default CompletableFuture<DescribeRegistryResponse> describeRegistry(Consumer<DescribeRegistryRequest.Builder> describeRegistryRequest) Describes the registry.
This is a convenience which creates an instance of the
DescribeRegistryRequest.Builder
avoiding the need to create one manually viaDescribeRegistryRequest.builder()
- Parameters:
describeRegistryRequest
- AConsumer
that will call methods onDescribeRegistryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSchema
default CompletableFuture<DescribeSchemaResponse> describeSchema(DescribeSchemaRequest describeSchemaRequest) Retrieve the schema definition.
- Parameters:
describeSchemaRequest
-- Returns:
- A Java Future containing the result of the DescribeSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeSchema
default CompletableFuture<DescribeSchemaResponse> describeSchema(Consumer<DescribeSchemaRequest.Builder> describeSchemaRequest) Retrieve the schema definition.
This is a convenience which creates an instance of the
DescribeSchemaRequest.Builder
avoiding the need to create one manually viaDescribeSchemaRequest.builder()
- Parameters:
describeSchemaRequest
- AConsumer
that will call methods onDescribeSchemaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportSchema
default CompletableFuture<ExportSchemaResponse> exportSchema(ExportSchemaRequest exportSchemaRequest) Invokes the ExportSchema operation asynchronously.- Parameters:
exportSchemaRequest
-- Returns:
- A Java Future containing the result of the ExportSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- TooManyRequestsException 429 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportSchema
default CompletableFuture<ExportSchemaResponse> exportSchema(Consumer<ExportSchemaRequest.Builder> exportSchemaRequest) Invokes the ExportSchema operation asynchronously.
This is a convenience which creates an instance of the
ExportSchemaRequest.Builder
avoiding the need to create one manually viaExportSchemaRequest.builder()
- Parameters:
exportSchemaRequest
- AConsumer
that will call methods onExportSchemaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ExportSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- TooManyRequestsException 429 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeBindingSource
default CompletableFuture<GetCodeBindingSourceResponse> getCodeBindingSource(GetCodeBindingSourceRequest getCodeBindingSourceRequest) Get the code binding source URI.
- Parameters:
getCodeBindingSourceRequest
-- Returns:
- A Java Future containing the result of the GetCodeBindingSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodeBindingSource
default CompletableFuture<GetCodeBindingSourceResponse> getCodeBindingSource(Consumer<GetCodeBindingSourceRequest.Builder> getCodeBindingSourceRequest) Get the code binding source URI.
This is a convenience which creates an instance of the
GetCodeBindingSourceRequest.Builder
avoiding the need to create one manually viaGetCodeBindingSourceRequest.builder()
- Parameters:
getCodeBindingSourceRequest
- AConsumer
that will call methods onGetCodeBindingSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCodeBindingSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDiscoveredSchema
default CompletableFuture<GetDiscoveredSchemaResponse> getDiscoveredSchema(GetDiscoveredSchemaRequest getDiscoveredSchemaRequest) Get the discovered schema that was generated based on sampled events.
- Parameters:
getDiscoveredSchemaRequest
-- Returns:
- A Java Future containing the result of the GetDiscoveredSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDiscoveredSchema
default CompletableFuture<GetDiscoveredSchemaResponse> getDiscoveredSchema(Consumer<GetDiscoveredSchemaRequest.Builder> getDiscoveredSchemaRequest) Get the discovered schema that was generated based on sampled events.
This is a convenience which creates an instance of the
GetDiscoveredSchemaRequest.Builder
avoiding the need to create one manually viaGetDiscoveredSchemaRequest.builder()
- Parameters:
getDiscoveredSchemaRequest
- AConsumer
that will call methods onGetDiscoveredSchemaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDiscoveredSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource-based policy attached to a given registry.
- Parameters:
getResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource-based policy attached to a given registry.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builder
avoiding the need to create one manually viaGetResourcePolicyRequest.builder()
- Parameters:
getResourcePolicyRequest
- AConsumer
that will call methods onGetResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoverers
default CompletableFuture<ListDiscoverersResponse> listDiscoverers(ListDiscoverersRequest listDiscoverersRequest) List the discoverers.
- Parameters:
listDiscoverersRequest
-- Returns:
- A Java Future containing the result of the ListDiscoverers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoverers
default CompletableFuture<ListDiscoverersResponse> listDiscoverers(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) List the discoverers.
This is a convenience which creates an instance of the
ListDiscoverersRequest.Builder
avoiding the need to create one manually viaListDiscoverersRequest.builder()
- Parameters:
listDiscoverersRequest
- AConsumer
that will call methods onListDiscoverersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDiscoverers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoverersPaginator
default ListDiscoverersPublisher listDiscoverersPaginator(ListDiscoverersRequest listDiscoverersRequest) This is a variant of
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse response) { //... }; });
Please notice that the configuration of Limit 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
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation.- Parameters:
listDiscoverersRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoverersPaginator
default ListDiscoverersPublisher listDiscoverersPaginator(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) This is a variant of
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse response) { //... }; });
Please notice that the configuration of Limit 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
listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)
operation.
This is a convenience which creates an instance of the
ListDiscoverersRequest.Builder
avoiding the need to create one manually viaListDiscoverersRequest.builder()
- Parameters:
listDiscoverersRequest
- AConsumer
that will call methods onListDiscoverersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRegistries
default CompletableFuture<ListRegistriesResponse> listRegistries(ListRegistriesRequest listRegistriesRequest) List the registries.
- Parameters:
listRegistriesRequest
-- Returns:
- A Java Future containing the result of the ListRegistries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRegistries
default CompletableFuture<ListRegistriesResponse> listRegistries(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) List the registries.
This is a convenience which creates an instance of the
ListRegistriesRequest.Builder
avoiding the need to create one manually viaListRegistriesRequest.builder()
- Parameters:
listRegistriesRequest
- AConsumer
that will call methods onListRegistriesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRegistries operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRegistriesPaginator
default ListRegistriesPublisher listRegistriesPaginator(ListRegistriesRequest listRegistriesRequest) This is a variant of
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListRegistriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListRegistriesResponse response) { //... }; });
Please notice that the configuration of Limit 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
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation.- Parameters:
listRegistriesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRegistriesPaginator
default ListRegistriesPublisher listRegistriesPaginator(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) This is a variant of
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListRegistriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListRegistriesResponse response) { //... }; });
Please notice that the configuration of Limit 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
listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)
operation.
This is a convenience which creates an instance of the
ListRegistriesRequest.Builder
avoiding the need to create one manually viaListRegistriesRequest.builder()
- Parameters:
listRegistriesRequest
- AConsumer
that will call methods onListRegistriesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemaVersions
default CompletableFuture<ListSchemaVersionsResponse> listSchemaVersions(ListSchemaVersionsRequest listSchemaVersionsRequest) Provides a list of the schema versions and related information.
- Parameters:
listSchemaVersionsRequest
-- Returns:
- A Java Future containing the result of the ListSchemaVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemaVersions
default CompletableFuture<ListSchemaVersionsResponse> listSchemaVersions(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) Provides a list of the schema versions and related information.
This is a convenience which creates an instance of the
ListSchemaVersionsRequest.Builder
avoiding the need to create one manually viaListSchemaVersionsRequest.builder()
- Parameters:
listSchemaVersionsRequest
- AConsumer
that will call methods onListSchemaVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSchemaVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemaVersionsPaginator
default ListSchemaVersionsPublisher listSchemaVersionsPaginator(ListSchemaVersionsRequest listSchemaVersionsRequest) This is a variant of
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse response) { //... }; });
Please notice that the configuration of Limit 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
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation.- Parameters:
listSchemaVersionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemaVersionsPaginator
default ListSchemaVersionsPublisher listSchemaVersionsPaginator(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) This is a variant of
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse response) { //... }; });
Please notice that the configuration of Limit 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
listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)
operation.
This is a convenience which creates an instance of the
ListSchemaVersionsRequest.Builder
avoiding the need to create one manually viaListSchemaVersionsRequest.builder()
- Parameters:
listSchemaVersionsRequest
- AConsumer
that will call methods onListSchemaVersionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemas
List the schemas.
- Parameters:
listSchemasRequest
-- Returns:
- A Java Future containing the result of the ListSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemas
default CompletableFuture<ListSchemasResponse> listSchemas(Consumer<ListSchemasRequest.Builder> listSchemasRequest) List the schemas.
This is a convenience which creates an instance of the
ListSchemasRequest.Builder
avoiding the need to create one manually viaListSchemasRequest.builder()
- Parameters:
listSchemasRequest
- AConsumer
that will call methods onListSchemasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemasPaginator
This is a variant of
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemasResponse response) { //... }; });
Please notice that the configuration of Limit 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
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation.- Parameters:
listSchemasRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSchemasPaginator
default ListSchemasPublisher listSchemasPaginator(Consumer<ListSchemasRequest.Builder> listSchemasRequest) This is a variant of
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemasResponse response) { //... }; });
Please notice that the configuration of Limit 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
listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)
operation.
This is a convenience which creates an instance of the
ListSchemasRequest.Builder
avoiding the need to create one manually viaListSchemasRequest.builder()
- Parameters:
listSchemasRequest
- AConsumer
that will call methods onListSchemasRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException 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) Get tags for resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException 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) Get tags for resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putCodeBinding
default CompletableFuture<PutCodeBindingResponse> putCodeBinding(PutCodeBindingRequest putCodeBindingRequest) Put code binding URI
- Parameters:
putCodeBindingRequest
-- Returns:
- A Java Future containing the result of the PutCodeBinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- GoneException 410 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putCodeBinding
default CompletableFuture<PutCodeBindingResponse> putCodeBinding(Consumer<PutCodeBindingRequest.Builder> putCodeBindingRequest) Put code binding URI
This is a convenience which creates an instance of the
PutCodeBindingRequest.Builder
avoiding the need to create one manually viaPutCodeBindingRequest.builder()
- Parameters:
putCodeBindingRequest
- AConsumer
that will call methods onPutCodeBindingRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutCodeBinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- GoneException 410 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- TooManyRequestsException 429 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) The name of the policy.
- Parameters:
putResourcePolicyRequest
- The name of the policy.- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- PreconditionFailedException 412 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) The name of the policy.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builder
avoiding the need to create one manually viaPutResourcePolicyRequest.builder()
- Parameters:
putResourcePolicyRequest
- AConsumer
that will call methods onPutResourcePolicyRequest.Builder
to create a request. The name of the policy.- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- PreconditionFailedException 412 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchSchemas
default CompletableFuture<SearchSchemasResponse> searchSchemas(SearchSchemasRequest searchSchemasRequest) Search the schemas
- Parameters:
searchSchemasRequest
-- Returns:
- A Java Future containing the result of the SearchSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchSchemas
default CompletableFuture<SearchSchemasResponse> searchSchemas(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) Search the schemas
This is a convenience which creates an instance of the
SearchSchemasRequest.Builder
avoiding the need to create one manually viaSearchSchemasRequest.builder()
- Parameters:
searchSchemasRequest
- AConsumer
that will call methods onSearchSchemasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SearchSchemas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchSchemasPaginator
This is a variant of
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.SearchSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.SearchSchemasResponse response) { //... }; });
Please notice that the configuration of Limit 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
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation.- Parameters:
searchSchemasRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchSchemasPaginator
default SearchSchemasPublisher searchSchemasPaginator(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) This is a variant of
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.SearchSchemasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.schemas.model.SearchSchemasResponse response) { //... }; });
Please notice that the configuration of Limit 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
searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)
operation.
This is a convenience which creates an instance of the
SearchSchemasRequest.Builder
avoiding the need to create one manually viaSearchSchemasRequest.builder()
- Parameters:
searchSchemasRequest
- AConsumer
that will call methods onSearchSchemasRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ServiceUnavailableException 503 response
- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startDiscoverer
default CompletableFuture<StartDiscovererResponse> startDiscoverer(StartDiscovererRequest startDiscovererRequest) Starts the discoverer
- Parameters:
startDiscovererRequest
-- Returns:
- A Java Future containing the result of the StartDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startDiscoverer
default CompletableFuture<StartDiscovererResponse> startDiscoverer(Consumer<StartDiscovererRequest.Builder> startDiscovererRequest) Starts the discoverer
This is a convenience which creates an instance of the
StartDiscovererRequest.Builder
avoiding the need to create one manually viaStartDiscovererRequest.builder()
- Parameters:
startDiscovererRequest
- AConsumer
that will call methods onStartDiscovererRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopDiscoverer
default CompletableFuture<StopDiscovererResponse> stopDiscoverer(StopDiscovererRequest stopDiscovererRequest) Stops the discoverer
- Parameters:
stopDiscovererRequest
-- Returns:
- A Java Future containing the result of the StopDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopDiscoverer
default CompletableFuture<StopDiscovererResponse> stopDiscoverer(Consumer<StopDiscovererRequest.Builder> stopDiscovererRequest) Stops the discoverer
This is a convenience which creates an instance of the
StopDiscovererRequest.Builder
avoiding the need to create one manually viaStopDiscovererRequest.builder()
- Parameters:
stopDiscovererRequest
- AConsumer
that will call methods onStopDiscovererRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StopDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Add tags to a resource.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException 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) Add tags to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException 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 a resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException 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 a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- NotFoundException 404 response
- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDiscoverer
default CompletableFuture<UpdateDiscovererResponse> updateDiscoverer(UpdateDiscovererRequest updateDiscovererRequest) Updates the discoverer
- Parameters:
updateDiscovererRequest
-- Returns:
- A Java Future containing the result of the UpdateDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDiscoverer
default CompletableFuture<UpdateDiscovererResponse> updateDiscoverer(Consumer<UpdateDiscovererRequest.Builder> updateDiscovererRequest) Updates the discoverer
This is a convenience which creates an instance of the
UpdateDiscovererRequest.Builder
avoiding the need to create one manually viaUpdateDiscovererRequest.builder()
- Parameters:
updateDiscovererRequest
- AConsumer
that will call methods onUpdateDiscovererRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDiscoverer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRegistry
default CompletableFuture<UpdateRegistryResponse> updateRegistry(UpdateRegistryRequest updateRegistryRequest) Updates a registry.
- Parameters:
updateRegistryRequest
- Updates the registry.- Returns:
- A Java Future containing the result of the UpdateRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRegistry
default CompletableFuture<UpdateRegistryResponse> updateRegistry(Consumer<UpdateRegistryRequest.Builder> updateRegistryRequest) Updates a registry.
This is a convenience which creates an instance of the
UpdateRegistryRequest.Builder
avoiding the need to create one manually viaUpdateRegistryRequest.builder()
- Parameters:
updateRegistryRequest
- AConsumer
that will call methods onUpdateRegistryRequest.Builder
to create a request. Updates the registry.- Returns:
- A Java Future containing the result of the UpdateRegistry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- UnauthorizedException 401 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSchema
default CompletableFuture<UpdateSchemaResponse> updateSchema(UpdateSchemaRequest updateSchemaRequest) Updates the schema definition
Inactive schemas will be deleted after two years.
- Parameters:
updateSchemaRequest
-- Returns:
- A Java Future containing the result of the UpdateSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSchema
default CompletableFuture<UpdateSchemaResponse> updateSchema(Consumer<UpdateSchemaRequest.Builder> updateSchemaRequest) Updates the schema definition
Inactive schemas will be deleted after two years.
This is a convenience which creates an instance of the
UpdateSchemaRequest.Builder
avoiding the need to create one manually viaUpdateSchemaRequest.builder()
- Parameters:
updateSchemaRequest
- AConsumer
that will call methods onUpdateSchemaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- InternalServerErrorException 500 response
- ForbiddenException 403 response
- NotFoundException 404 response
- ServiceUnavailableException 503 response
- 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.
- SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
waiter
Create an instance ofSchemasAsyncWaiter
using this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
SchemasAsyncWaiter
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aSchemasAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aSchemasAsyncClient
.
-