@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSSchemasAsyncClient extends AWSSchemasClient implements AWSSchemasAsync
AsyncHandler
can be used to receive notification when
an asynchronous operation completes.
Amazon EventBridge Schema Registry
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createDiscoverer, createRegistry, createSchema, deleteDiscoverer, deleteRegistry, deleteResourcePolicy, deleteSchema, deleteSchemaVersion, describeCodeBinding, describeDiscoverer, describeRegistry, describeSchema, exportSchema, getCachedResponseMetadata, getCodeBindingSource, getDiscoveredSchema, getResourcePolicy, listDiscoverers, listRegistries, listSchemas, listSchemaVersions, listTagsForResource, putCodeBinding, putResourcePolicy, searchSchemas, startDiscoverer, stopDiscoverer, tagResource, untagResource, updateDiscoverer, updateRegistry, updateSchema, waiters
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDiscoverer, createRegistry, createSchema, deleteDiscoverer, deleteRegistry, deleteResourcePolicy, deleteSchema, deleteSchemaVersion, describeCodeBinding, describeDiscoverer, describeRegistry, describeSchema, exportSchema, getCachedResponseMetadata, getCodeBindingSource, getDiscoveredSchema, getResourcePolicy, listDiscoverers, listRegistries, listSchemas, listSchemaVersions, listTagsForResource, putCodeBinding, putResourcePolicy, searchSchemas, startDiscoverer, stopDiscoverer, tagResource, untagResource, updateDiscoverer, updateRegistry, updateSchema, waiters
public static AWSSchemasAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateDiscovererResult> createDiscovererAsync(CreateDiscovererRequest request)
AWSSchemasAsync
Creates a discoverer.
createDiscovererAsync
in interface AWSSchemasAsync
public Future<CreateDiscovererResult> createDiscovererAsync(CreateDiscovererRequest request, AsyncHandler<CreateDiscovererRequest,CreateDiscovererResult> asyncHandler)
AWSSchemasAsync
Creates a discoverer.
createDiscovererAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRegistryResult> createRegistryAsync(CreateRegistryRequest request)
AWSSchemasAsync
Creates a registry.
createRegistryAsync
in interface AWSSchemasAsync
public Future<CreateRegistryResult> createRegistryAsync(CreateRegistryRequest request, AsyncHandler<CreateRegistryRequest,CreateRegistryResult> asyncHandler)
AWSSchemasAsync
Creates a registry.
createRegistryAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateSchemaResult> createSchemaAsync(CreateSchemaRequest request)
AWSSchemasAsync
Creates a schema definition.
Inactive schemas will be deleted after two years.
createSchemaAsync
in interface AWSSchemasAsync
public Future<CreateSchemaResult> createSchemaAsync(CreateSchemaRequest request, AsyncHandler<CreateSchemaRequest,CreateSchemaResult> asyncHandler)
AWSSchemasAsync
Creates a schema definition.
Inactive schemas will be deleted after two years.
createSchemaAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDiscovererResult> deleteDiscovererAsync(DeleteDiscovererRequest request)
AWSSchemasAsync
Deletes a discoverer.
deleteDiscovererAsync
in interface AWSSchemasAsync
public Future<DeleteDiscovererResult> deleteDiscovererAsync(DeleteDiscovererRequest request, AsyncHandler<DeleteDiscovererRequest,DeleteDiscovererResult> asyncHandler)
AWSSchemasAsync
Deletes a discoverer.
deleteDiscovererAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRegistryResult> deleteRegistryAsync(DeleteRegistryRequest request)
AWSSchemasAsync
Deletes a Registry.
deleteRegistryAsync
in interface AWSSchemasAsync
public Future<DeleteRegistryResult> deleteRegistryAsync(DeleteRegistryRequest request, AsyncHandler<DeleteRegistryRequest,DeleteRegistryResult> asyncHandler)
AWSSchemasAsync
Deletes a Registry.
deleteRegistryAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request)
AWSSchemasAsync
Delete the resource-based policy attached to the specified registry.
deleteResourcePolicyAsync
in interface AWSSchemasAsync
public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
AWSSchemasAsync
Delete the resource-based policy attached to the specified registry.
deleteResourcePolicyAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSchemaResult> deleteSchemaAsync(DeleteSchemaRequest request)
AWSSchemasAsync
Delete a schema definition.
deleteSchemaAsync
in interface AWSSchemasAsync
public Future<DeleteSchemaResult> deleteSchemaAsync(DeleteSchemaRequest request, AsyncHandler<DeleteSchemaRequest,DeleteSchemaResult> asyncHandler)
AWSSchemasAsync
Delete a schema definition.
deleteSchemaAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSchemaVersionResult> deleteSchemaVersionAsync(DeleteSchemaVersionRequest request)
AWSSchemasAsync
Delete the schema version definition
deleteSchemaVersionAsync
in interface AWSSchemasAsync
public Future<DeleteSchemaVersionResult> deleteSchemaVersionAsync(DeleteSchemaVersionRequest request, AsyncHandler<DeleteSchemaVersionRequest,DeleteSchemaVersionResult> asyncHandler)
AWSSchemasAsync
Delete the schema version definition
deleteSchemaVersionAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCodeBindingResult> describeCodeBindingAsync(DescribeCodeBindingRequest request)
AWSSchemasAsync
Describe the code binding URI.
describeCodeBindingAsync
in interface AWSSchemasAsync
public Future<DescribeCodeBindingResult> describeCodeBindingAsync(DescribeCodeBindingRequest request, AsyncHandler<DescribeCodeBindingRequest,DescribeCodeBindingResult> asyncHandler)
AWSSchemasAsync
Describe the code binding URI.
describeCodeBindingAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDiscovererResult> describeDiscovererAsync(DescribeDiscovererRequest request)
AWSSchemasAsync
Describes the discoverer.
describeDiscovererAsync
in interface AWSSchemasAsync
public Future<DescribeDiscovererResult> describeDiscovererAsync(DescribeDiscovererRequest request, AsyncHandler<DescribeDiscovererRequest,DescribeDiscovererResult> asyncHandler)
AWSSchemasAsync
Describes the discoverer.
describeDiscovererAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRegistryResult> describeRegistryAsync(DescribeRegistryRequest request)
AWSSchemasAsync
Describes the registry.
describeRegistryAsync
in interface AWSSchemasAsync
public Future<DescribeRegistryResult> describeRegistryAsync(DescribeRegistryRequest request, AsyncHandler<DescribeRegistryRequest,DescribeRegistryResult> asyncHandler)
AWSSchemasAsync
Describes the registry.
describeRegistryAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSchemaResult> describeSchemaAsync(DescribeSchemaRequest request)
AWSSchemasAsync
Retrieve the schema definition.
describeSchemaAsync
in interface AWSSchemasAsync
public Future<DescribeSchemaResult> describeSchemaAsync(DescribeSchemaRequest request, AsyncHandler<DescribeSchemaRequest,DescribeSchemaResult> asyncHandler)
AWSSchemasAsync
Retrieve the schema definition.
describeSchemaAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ExportSchemaResult> exportSchemaAsync(ExportSchemaRequest request)
exportSchemaAsync
in interface AWSSchemasAsync
public Future<ExportSchemaResult> exportSchemaAsync(ExportSchemaRequest request, AsyncHandler<ExportSchemaRequest,ExportSchemaResult> asyncHandler)
exportSchemaAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCodeBindingSourceResult> getCodeBindingSourceAsync(GetCodeBindingSourceRequest request)
AWSSchemasAsync
Get the code binding source URI.
getCodeBindingSourceAsync
in interface AWSSchemasAsync
public Future<GetCodeBindingSourceResult> getCodeBindingSourceAsync(GetCodeBindingSourceRequest request, AsyncHandler<GetCodeBindingSourceRequest,GetCodeBindingSourceResult> asyncHandler)
AWSSchemasAsync
Get the code binding source URI.
getCodeBindingSourceAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDiscoveredSchemaResult> getDiscoveredSchemaAsync(GetDiscoveredSchemaRequest request)
AWSSchemasAsync
Get the discovered schema that was generated based on sampled events.
getDiscoveredSchemaAsync
in interface AWSSchemasAsync
public Future<GetDiscoveredSchemaResult> getDiscoveredSchemaAsync(GetDiscoveredSchemaRequest request, AsyncHandler<GetDiscoveredSchemaRequest,GetDiscoveredSchemaResult> asyncHandler)
AWSSchemasAsync
Get the discovered schema that was generated based on sampled events.
getDiscoveredSchemaAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request)
AWSSchemasAsync
Retrieves the resource-based policy attached to a given registry.
getResourcePolicyAsync
in interface AWSSchemasAsync
public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
AWSSchemasAsync
Retrieves the resource-based policy attached to a given registry.
getResourcePolicyAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDiscoverersResult> listDiscoverersAsync(ListDiscoverersRequest request)
AWSSchemasAsync
List the discoverers.
listDiscoverersAsync
in interface AWSSchemasAsync
public Future<ListDiscoverersResult> listDiscoverersAsync(ListDiscoverersRequest request, AsyncHandler<ListDiscoverersRequest,ListDiscoverersResult> asyncHandler)
AWSSchemasAsync
List the discoverers.
listDiscoverersAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRegistriesResult> listRegistriesAsync(ListRegistriesRequest request)
AWSSchemasAsync
List the registries.
listRegistriesAsync
in interface AWSSchemasAsync
public Future<ListRegistriesResult> listRegistriesAsync(ListRegistriesRequest request, AsyncHandler<ListRegistriesRequest,ListRegistriesResult> asyncHandler)
AWSSchemasAsync
List the registries.
listRegistriesAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSchemaVersionsResult> listSchemaVersionsAsync(ListSchemaVersionsRequest request)
AWSSchemasAsync
Provides a list of the schema versions and related information.
listSchemaVersionsAsync
in interface AWSSchemasAsync
public Future<ListSchemaVersionsResult> listSchemaVersionsAsync(ListSchemaVersionsRequest request, AsyncHandler<ListSchemaVersionsRequest,ListSchemaVersionsResult> asyncHandler)
AWSSchemasAsync
Provides a list of the schema versions and related information.
listSchemaVersionsAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSchemasResult> listSchemasAsync(ListSchemasRequest request)
AWSSchemasAsync
List the schemas.
listSchemasAsync
in interface AWSSchemasAsync
public Future<ListSchemasResult> listSchemasAsync(ListSchemasRequest request, AsyncHandler<ListSchemasRequest,ListSchemasResult> asyncHandler)
AWSSchemasAsync
List the schemas.
listSchemasAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSSchemasAsync
Get tags for resource.
listTagsForResourceAsync
in interface AWSSchemasAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSSchemasAsync
Get tags for resource.
listTagsForResourceAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutCodeBindingResult> putCodeBindingAsync(PutCodeBindingRequest request)
AWSSchemasAsync
Put code binding URI
putCodeBindingAsync
in interface AWSSchemasAsync
public Future<PutCodeBindingResult> putCodeBindingAsync(PutCodeBindingRequest request, AsyncHandler<PutCodeBindingRequest,PutCodeBindingResult> asyncHandler)
AWSSchemasAsync
Put code binding URI
putCodeBindingAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request)
AWSSchemasAsync
The name of the policy.
putResourcePolicyAsync
in interface AWSSchemasAsync
request
- The name of the policy.public Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
AWSSchemasAsync
The name of the policy.
putResourcePolicyAsync
in interface AWSSchemasAsync
request
- The name of the policy.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SearchSchemasResult> searchSchemasAsync(SearchSchemasRequest request)
AWSSchemasAsync
Search the schemas
searchSchemasAsync
in interface AWSSchemasAsync
public Future<SearchSchemasResult> searchSchemasAsync(SearchSchemasRequest request, AsyncHandler<SearchSchemasRequest,SearchSchemasResult> asyncHandler)
AWSSchemasAsync
Search the schemas
searchSchemasAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartDiscovererResult> startDiscovererAsync(StartDiscovererRequest request)
AWSSchemasAsync
Starts the discoverer
startDiscovererAsync
in interface AWSSchemasAsync
public Future<StartDiscovererResult> startDiscovererAsync(StartDiscovererRequest request, AsyncHandler<StartDiscovererRequest,StartDiscovererResult> asyncHandler)
AWSSchemasAsync
Starts the discoverer
startDiscovererAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopDiscovererResult> stopDiscovererAsync(StopDiscovererRequest request)
AWSSchemasAsync
Stops the discoverer
stopDiscovererAsync
in interface AWSSchemasAsync
public Future<StopDiscovererResult> stopDiscovererAsync(StopDiscovererRequest request, AsyncHandler<StopDiscovererRequest,StopDiscovererResult> asyncHandler)
AWSSchemasAsync
Stops the discoverer
stopDiscovererAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSSchemasAsync
Add tags to a resource.
tagResourceAsync
in interface AWSSchemasAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSSchemasAsync
Add tags to a resource.
tagResourceAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSSchemasAsync
Removes tags from a resource.
untagResourceAsync
in interface AWSSchemasAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSSchemasAsync
Removes tags from a resource.
untagResourceAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateDiscovererResult> updateDiscovererAsync(UpdateDiscovererRequest request)
AWSSchemasAsync
Updates the discoverer
updateDiscovererAsync
in interface AWSSchemasAsync
public Future<UpdateDiscovererResult> updateDiscovererAsync(UpdateDiscovererRequest request, AsyncHandler<UpdateDiscovererRequest,UpdateDiscovererResult> asyncHandler)
AWSSchemasAsync
Updates the discoverer
updateDiscovererAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRegistryResult> updateRegistryAsync(UpdateRegistryRequest request)
AWSSchemasAsync
Updates a registry.
updateRegistryAsync
in interface AWSSchemasAsync
request
- Updates the registry.public Future<UpdateRegistryResult> updateRegistryAsync(UpdateRegistryRequest request, AsyncHandler<UpdateRegistryRequest,UpdateRegistryResult> asyncHandler)
AWSSchemasAsync
Updates a registry.
updateRegistryAsync
in interface AWSSchemasAsync
request
- Updates the registry.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSchemaResult> updateSchemaAsync(UpdateSchemaRequest request)
AWSSchemasAsync
Updates the schema definition
Inactive schemas will be deleted after two years.
updateSchemaAsync
in interface AWSSchemasAsync
public Future<UpdateSchemaResult> updateSchemaAsync(UpdateSchemaRequest request, AsyncHandler<UpdateSchemaRequest,UpdateSchemaResult> asyncHandler)
AWSSchemasAsync
Updates the schema definition
Inactive schemas will be deleted after two years.
updateSchemaAsync
in interface AWSSchemasAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSSchemas
shutdown
in class AWSSchemasClient