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
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemasAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aSchemasAsyncClient.static SchemasAsyncClientcreate()Create aSchemasAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand 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 ListDiscoverersPublisherlistDiscoverersPaginator(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest) This is a variant oflistDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest)operation.default ListDiscoverersPublisherlistDiscoverersPaginator(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 ListRegistriesPublisherlistRegistriesPaginator(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest) This is a variant oflistRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest)operation.default ListRegistriesPublisherlistRegistriesPaginator(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 ListSchemasPublisherlistSchemasPaginator(Consumer<ListSchemasRequest.Builder> listSchemasRequest) This is a variant oflistSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest)operation.default ListSchemasPublisherlistSchemasPaginator(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 ListSchemaVersionsPublisherlistSchemaVersionsPaginator(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest) This is a variant oflistSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest)operation.default ListSchemaVersionsPublisherlistSchemaVersionsPaginator(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 SearchSchemasPublishersearchSchemasPaginator(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest) This is a variant ofsearchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest)operation.default SearchSchemasPublishersearchSchemasPaginator(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 SchemasAsyncWaiterwaiter()Create an instance ofSchemasAsyncWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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.Builderavoiding the need to create one manually viaCreateDiscovererRequest.builder()- Parameters:
createDiscovererRequest- AConsumerthat will call methods onCreateDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateRegistryRequest.builder()- Parameters:
createRegistryRequest- AConsumerthat will call methods onCreateRegistryRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateSchemaRequest.builder()- Parameters:
createSchemaRequest- AConsumerthat will call methods onCreateSchemaRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteDiscovererRequest.builder()- Parameters:
deleteDiscovererRequest- AConsumerthat will call methods onDeleteDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteRegistryRequest.builder()- Parameters:
deleteRegistryRequest- AConsumerthat will call methods onDeleteRegistryRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSchemaRequest.builder()- Parameters:
deleteSchemaRequest- AConsumerthat will call methods onDeleteSchemaRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSchemaVersionRequest.builder()- Parameters:
deleteSchemaVersionRequest- AConsumerthat will call methods onDeleteSchemaVersionRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeCodeBindingRequest.builder()- Parameters:
describeCodeBindingRequest- AConsumerthat will call methods onDescribeCodeBindingRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeDiscovererRequest.builder()- Parameters:
describeDiscovererRequest- AConsumerthat will call methods onDescribeDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeRegistryRequest.builder()- Parameters:
describeRegistryRequest- AConsumerthat will call methods onDescribeRegistryRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeSchemaRequest.builder()- Parameters:
describeSchemaRequest- AConsumerthat will call methods onDescribeSchemaRequest.Builderto 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.Builderavoiding the need to create one manually viaExportSchemaRequest.builder()- Parameters:
exportSchemaRequest- AConsumerthat will call methods onExportSchemaRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCodeBindingSourceRequest.builder()- Parameters:
getCodeBindingSourceRequest- AConsumerthat will call methods onGetCodeBindingSourceRequest.Builderto 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.Builderavoiding the need to create one manually viaGetDiscoveredSchemaRequest.builder()- Parameters:
getDiscoveredSchemaRequest- AConsumerthat will call methods onGetDiscoveredSchemaRequest.Builderto 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.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto 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.Builderavoiding the need to create one manually viaListDiscoverersRequest.builder()- Parameters:
listDiscoverersRequest- AConsumerthat will call methods onListDiscoverersRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListDiscoverersRequest.builder()- Parameters:
listDiscoverersRequest- AConsumerthat will call methods onListDiscoverersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListRegistriesRequest.builder()- Parameters:
listRegistriesRequest- AConsumerthat will call methods onListRegistriesRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListRegistriesRequest.builder()- Parameters:
listRegistriesRequest- AConsumerthat will call methods onListRegistriesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListSchemaVersionsRequest.builder()- Parameters:
listSchemaVersionsRequest- AConsumerthat will call methods onListSchemaVersionsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListSchemaVersionsRequest.builder()- Parameters:
listSchemaVersionsRequest- AConsumerthat will call methods onListSchemaVersionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListSchemasRequest.builder()- Parameters:
listSchemasRequest- AConsumerthat will call methods onListSchemasRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListSchemasRequest.builder()- Parameters:
listSchemasRequest- AConsumerthat will call methods onListSchemasRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException 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.Builderavoiding the need to create one manually viaPutCodeBindingRequest.builder()- Parameters:
putCodeBindingRequest- AConsumerthat will call methods onPutCodeBindingRequest.Builderto 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.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto 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.Builderavoiding the need to create one manually viaSearchSchemasRequest.builder()- Parameters:
searchSchemasRequest- AConsumerthat will call methods onSearchSchemasRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaSearchSchemasRequest.builder()- Parameters:
searchSchemasRequest- AConsumerthat will call methods onSearchSchemasRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaStartDiscovererRequest.builder()- Parameters:
startDiscovererRequest- AConsumerthat will call methods onStartDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaStopDiscovererRequest.builder()- Parameters:
stopDiscovererRequest- AConsumerthat will call methods onStopDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException 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.Builderavoiding the need to create one manually viaUpdateDiscovererRequest.builder()- Parameters:
updateDiscovererRequest- AConsumerthat will call methods onUpdateDiscovererRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateRegistryRequest.builder()- Parameters:
updateRegistryRequest- AConsumerthat will call methods onUpdateRegistryRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSchemaRequest.builder()- Parameters:
updateSchemaRequest- AConsumerthat will call methods onUpdateSchemaRequest.Builderto 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 ofSchemasAsyncWaiterusing 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:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aSchemasAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSchemasAsyncClient.
-