/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.schemas; import javax.annotation.Generated; import com.amazonaws.services.schemas.model.*; /** * Interface for accessing Schemas asynchronously. Each asynchronous method will return a Java Future object * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive * notification when an asynchronous operation completes. *
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.schemas.AbstractAWSSchemasAsync} instead. *
**
* Amazon EventBridge Schema Registry *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSSchemasAsync extends AWSSchemas { /** ** Creates a discoverer. *
* * @param createDiscovererRequest * @return A Java Future containing the result of the CreateDiscoverer operation returned by the service. * @sample AWSSchemasAsync.CreateDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Creates a discoverer. *
* * @param createDiscovererRequest * @param 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. * @return A Java Future containing the result of the CreateDiscoverer operation returned by the service. * @sample AWSSchemasAsyncHandler.CreateDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Creates a registry. *
* * @param createRegistryRequest * @return A Java Future containing the result of the CreateRegistry operation returned by the service. * @sample AWSSchemasAsync.CreateRegistry * @see AWS API * Documentation */ java.util.concurrent.Future* Creates a registry. *
* * @param createRegistryRequest * @param 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. * @return A Java Future containing the result of the CreateRegistry operation returned by the service. * @sample AWSSchemasAsyncHandler.CreateRegistry * @see AWS API * Documentation */ java.util.concurrent.Future* Creates a schema definition. *
** Inactive schemas will be deleted after two years. *
** Creates a schema definition. *
** Inactive schemas will be deleted after two years. *
** Deletes a discoverer. *
* * @param deleteDiscovererRequest * @return A Java Future containing the result of the DeleteDiscoverer operation returned by the service. * @sample AWSSchemasAsync.DeleteDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes a discoverer. *
* * @param deleteDiscovererRequest * @param 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. * @return A Java Future containing the result of the DeleteDiscoverer operation returned by the service. * @sample AWSSchemasAsyncHandler.DeleteDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes a Registry. *
* * @param deleteRegistryRequest * @return A Java Future containing the result of the DeleteRegistry operation returned by the service. * @sample AWSSchemasAsync.DeleteRegistry * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes a Registry. *
* * @param deleteRegistryRequest * @param 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. * @return A Java Future containing the result of the DeleteRegistry operation returned by the service. * @sample AWSSchemasAsyncHandler.DeleteRegistry * @see AWS API * Documentation */ java.util.concurrent.Future* Delete the resource-based policy attached to the specified registry. *
* * @param deleteResourcePolicyRequest * @return A Java Future containing the result of the DeleteResourcePolicy operation returned by the service. * @sample AWSSchemasAsync.DeleteResourcePolicy * @see AWS * API Documentation */ java.util.concurrent.Future* Delete the resource-based policy attached to the specified registry. *
* * @param deleteResourcePolicyRequest * @param 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. * @return A Java Future containing the result of the DeleteResourcePolicy operation returned by the service. * @sample AWSSchemasAsyncHandler.DeleteResourcePolicy * @see AWS * API Documentation */ java.util.concurrent.Future* Delete a schema definition. *
* * @param deleteSchemaRequest * @return A Java Future containing the result of the DeleteSchema operation returned by the service. * @sample AWSSchemasAsync.DeleteSchema * @see AWS API * Documentation */ java.util.concurrent.Future* Delete a schema definition. *
* * @param deleteSchemaRequest * @param 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. * @return A Java Future containing the result of the DeleteSchema operation returned by the service. * @sample AWSSchemasAsyncHandler.DeleteSchema * @see AWS API * Documentation */ java.util.concurrent.Future* Delete the schema version definition *
* * @param deleteSchemaVersionRequest * @return A Java Future containing the result of the DeleteSchemaVersion operation returned by the service. * @sample AWSSchemasAsync.DeleteSchemaVersion * @see AWS * API Documentation */ java.util.concurrent.Future* Delete the schema version definition *
* * @param deleteSchemaVersionRequest * @param 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. * @return A Java Future containing the result of the DeleteSchemaVersion operation returned by the service. * @sample AWSSchemasAsyncHandler.DeleteSchemaVersion * @see AWS * API Documentation */ java.util.concurrent.Future* Describe the code binding URI. *
* * @param describeCodeBindingRequest * @return A Java Future containing the result of the DescribeCodeBinding operation returned by the service. * @sample AWSSchemasAsync.DescribeCodeBinding * @see AWS * API Documentation */ java.util.concurrent.Future* Describe the code binding URI. *
* * @param describeCodeBindingRequest * @param 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. * @return A Java Future containing the result of the DescribeCodeBinding operation returned by the service. * @sample AWSSchemasAsyncHandler.DescribeCodeBinding * @see AWS * API Documentation */ java.util.concurrent.Future* Describes the discoverer. *
* * @param describeDiscovererRequest * @return A Java Future containing the result of the DescribeDiscoverer operation returned by the service. * @sample AWSSchemasAsync.DescribeDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Describes the discoverer. *
* * @param describeDiscovererRequest * @param 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. * @return A Java Future containing the result of the DescribeDiscoverer operation returned by the service. * @sample AWSSchemasAsyncHandler.DescribeDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Describes the registry. *
* * @param describeRegistryRequest * @return A Java Future containing the result of the DescribeRegistry operation returned by the service. * @sample AWSSchemasAsync.DescribeRegistry * @see AWS API * Documentation */ java.util.concurrent.Future* Describes the registry. *
* * @param describeRegistryRequest * @param 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. * @return A Java Future containing the result of the DescribeRegistry operation returned by the service. * @sample AWSSchemasAsyncHandler.DescribeRegistry * @see AWS API * Documentation */ java.util.concurrent.Future* Retrieve the schema definition. *
* * @param describeSchemaRequest * @return A Java Future containing the result of the DescribeSchema operation returned by the service. * @sample AWSSchemasAsync.DescribeSchema * @see AWS API * Documentation */ java.util.concurrent.Future* Retrieve the schema definition. *
* * @param describeSchemaRequest * @param 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. * @return A Java Future containing the result of the DescribeSchema operation returned by the service. * @sample AWSSchemasAsyncHandler.DescribeSchema * @see AWS API * Documentation */ java.util.concurrent.Future* Get the code binding source URI. *
* * @param getCodeBindingSourceRequest * @return A Java Future containing the result of the GetCodeBindingSource operation returned by the service. * @sample AWSSchemasAsync.GetCodeBindingSource * @see AWS * API Documentation */ java.util.concurrent.Future* Get the code binding source URI. *
* * @param getCodeBindingSourceRequest * @param 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. * @return A Java Future containing the result of the GetCodeBindingSource operation returned by the service. * @sample AWSSchemasAsyncHandler.GetCodeBindingSource * @see AWS * API Documentation */ java.util.concurrent.Future* Get the discovered schema that was generated based on sampled events. *
* * @param getDiscoveredSchemaRequest * @return A Java Future containing the result of the GetDiscoveredSchema operation returned by the service. * @sample AWSSchemasAsync.GetDiscoveredSchema * @see AWS * API Documentation */ java.util.concurrent.Future* Get the discovered schema that was generated based on sampled events. *
* * @param getDiscoveredSchemaRequest * @param 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. * @return A Java Future containing the result of the GetDiscoveredSchema operation returned by the service. * @sample AWSSchemasAsyncHandler.GetDiscoveredSchema * @see AWS * API Documentation */ java.util.concurrent.Future* Retrieves the resource-based policy attached to a given registry. *
* * @param getResourcePolicyRequest * @return A Java Future containing the result of the GetResourcePolicy operation returned by the service. * @sample AWSSchemasAsync.GetResourcePolicy * @see AWS API * Documentation */ java.util.concurrent.Future* Retrieves the resource-based policy attached to a given registry. *
* * @param getResourcePolicyRequest * @param 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. * @return A Java Future containing the result of the GetResourcePolicy operation returned by the service. * @sample AWSSchemasAsyncHandler.GetResourcePolicy * @see AWS API * Documentation */ java.util.concurrent.Future* List the discoverers. *
* * @param listDiscoverersRequest * @return A Java Future containing the result of the ListDiscoverers operation returned by the service. * @sample AWSSchemasAsync.ListDiscoverers * @see AWS API * Documentation */ java.util.concurrent.Future* List the discoverers. *
* * @param listDiscoverersRequest * @param 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. * @return A Java Future containing the result of the ListDiscoverers operation returned by the service. * @sample AWSSchemasAsyncHandler.ListDiscoverers * @see AWS API * Documentation */ java.util.concurrent.Future* List the registries. *
* * @param listRegistriesRequest * @return A Java Future containing the result of the ListRegistries operation returned by the service. * @sample AWSSchemasAsync.ListRegistries * @see AWS API * Documentation */ java.util.concurrent.Future* List the registries. *
* * @param listRegistriesRequest * @param 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. * @return A Java Future containing the result of the ListRegistries operation returned by the service. * @sample AWSSchemasAsyncHandler.ListRegistries * @see AWS API * Documentation */ java.util.concurrent.Future* Provides a list of the schema versions and related information. *
* * @param listSchemaVersionsRequest * @return A Java Future containing the result of the ListSchemaVersions operation returned by the service. * @sample AWSSchemasAsync.ListSchemaVersions * @see AWS API * Documentation */ java.util.concurrent.Future* Provides a list of the schema versions and related information. *
* * @param listSchemaVersionsRequest * @param 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. * @return A Java Future containing the result of the ListSchemaVersions operation returned by the service. * @sample AWSSchemasAsyncHandler.ListSchemaVersions * @see AWS API * Documentation */ java.util.concurrent.Future* List the schemas. *
* * @param listSchemasRequest * @return A Java Future containing the result of the ListSchemas operation returned by the service. * @sample AWSSchemasAsync.ListSchemas * @see AWS API * Documentation */ java.util.concurrent.Future* List the schemas. *
* * @param listSchemasRequest * @param 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. * @return A Java Future containing the result of the ListSchemas operation returned by the service. * @sample AWSSchemasAsyncHandler.ListSchemas * @see AWS API * Documentation */ java.util.concurrent.Future* Get tags for resource. *
* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSSchemasAsync.ListTagsForResource * @see AWS * API Documentation */ java.util.concurrent.Future* Get tags for resource. *
* * @param listTagsForResourceRequest * @param 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSSchemasAsyncHandler.ListTagsForResource * @see AWS * API Documentation */ java.util.concurrent.Future* Put code binding URI *
* * @param putCodeBindingRequest * @return A Java Future containing the result of the PutCodeBinding operation returned by the service. * @sample AWSSchemasAsync.PutCodeBinding * @see AWS API * Documentation */ java.util.concurrent.Future* Put code binding URI *
* * @param putCodeBindingRequest * @param 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. * @return A Java Future containing the result of the PutCodeBinding operation returned by the service. * @sample AWSSchemasAsyncHandler.PutCodeBinding * @see AWS API * Documentation */ java.util.concurrent.Future* The name of the policy. *
* * @param putResourcePolicyRequest * The name of the policy. * @return A Java Future containing the result of the PutResourcePolicy operation returned by the service. * @sample AWSSchemasAsync.PutResourcePolicy * @see AWS API * Documentation */ java.util.concurrent.Future* The name of the policy. *
* * @param putResourcePolicyRequest * The name of the policy. * @param 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. * @return A Java Future containing the result of the PutResourcePolicy operation returned by the service. * @sample AWSSchemasAsyncHandler.PutResourcePolicy * @see AWS API * Documentation */ java.util.concurrent.Future* Search the schemas *
* * @param searchSchemasRequest * @return A Java Future containing the result of the SearchSchemas operation returned by the service. * @sample AWSSchemasAsync.SearchSchemas * @see AWS API * Documentation */ java.util.concurrent.Future* Search the schemas *
* * @param searchSchemasRequest * @param 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. * @return A Java Future containing the result of the SearchSchemas operation returned by the service. * @sample AWSSchemasAsyncHandler.SearchSchemas * @see AWS API * Documentation */ java.util.concurrent.Future* Starts the discoverer *
* * @param startDiscovererRequest * @return A Java Future containing the result of the StartDiscoverer operation returned by the service. * @sample AWSSchemasAsync.StartDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Starts the discoverer *
* * @param startDiscovererRequest * @param 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. * @return A Java Future containing the result of the StartDiscoverer operation returned by the service. * @sample AWSSchemasAsyncHandler.StartDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Stops the discoverer *
* * @param stopDiscovererRequest * @return A Java Future containing the result of the StopDiscoverer operation returned by the service. * @sample AWSSchemasAsync.StopDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Stops the discoverer *
* * @param stopDiscovererRequest * @param 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. * @return A Java Future containing the result of the StopDiscoverer operation returned by the service. * @sample AWSSchemasAsyncHandler.StopDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Add tags to a resource. *
* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSSchemasAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Add tags to a resource. *
* * @param tagResourceRequest * @param 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSSchemasAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes tags from a resource. *
* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSSchemasAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes tags from a resource. *
* * @param untagResourceRequest * @param 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSSchemasAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the discoverer *
* * @param updateDiscovererRequest * @return A Java Future containing the result of the UpdateDiscoverer operation returned by the service. * @sample AWSSchemasAsync.UpdateDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the discoverer *
* * @param updateDiscovererRequest * @param 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. * @return A Java Future containing the result of the UpdateDiscoverer operation returned by the service. * @sample AWSSchemasAsyncHandler.UpdateDiscoverer * @see AWS API * Documentation */ java.util.concurrent.Future* Updates a registry. *
* * @param updateRegistryRequest * Updates the registry. * @return A Java Future containing the result of the UpdateRegistry operation returned by the service. * @sample AWSSchemasAsync.UpdateRegistry * @see AWS API * Documentation */ java.util.concurrent.Future* Updates a registry. *
* * @param updateRegistryRequest * Updates the registry. * @param 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. * @return A Java Future containing the result of the UpdateRegistry operation returned by the service. * @sample AWSSchemasAsyncHandler.UpdateRegistry * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the schema definition *
** Inactive schemas will be deleted after two years. *
** Updates the schema definition *
** Inactive schemas will be deleted after two years. *
*