@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAppSyncAsyncClient extends AWSAppSyncClient implements AWSAppSyncAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
AWS AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createApiKey, createDataSource, createFunction, createGraphqlApi, createResolver, createType, deleteApiKey, deleteDataSource, deleteFunction, deleteGraphqlApi, deleteResolver, deleteType, getCachedResponseMetadata, getDataSource, getFunction, getGraphqlApi, getIntrospectionSchema, getResolver, getSchemaCreationStatus, getType, listApiKeys, listDataSources, listFunctions, listGraphqlApis, listResolvers, listResolversByFunction, listTagsForResource, listTypes, startSchemaCreation, tagResource, untagResource, updateApiKey, updateDataSource, updateFunction, updateGraphqlApi, updateResolver, updateType
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
createApiKey, createDataSource, createFunction, createGraphqlApi, createResolver, createType, deleteApiKey, deleteDataSource, deleteFunction, deleteGraphqlApi, deleteResolver, deleteType, getCachedResponseMetadata, getDataSource, getFunction, getGraphqlApi, getIntrospectionSchema, getResolver, getSchemaCreationStatus, getType, listApiKeys, listDataSources, listFunctions, listGraphqlApis, listResolvers, listResolversByFunction, listTagsForResource, listTypes, startSchemaCreation, tagResource, untagResource, updateApiKey, updateDataSource, updateFunction, updateGraphqlApi, updateResolver, updateType
public static AWSAppSyncAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest request)
AWSAppSyncAsync
Creates a unique key that you can distribute to clients who are executing your API.
createApiKeyAsync
in interface AWSAppSyncAsync
public Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest request, AsyncHandler<CreateApiKeyRequest,CreateApiKeyResult> asyncHandler)
AWSAppSyncAsync
Creates a unique key that you can distribute to clients who are executing your API.
createApiKeyAsync
in interface AWSAppSyncAsync
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<CreateDataSourceResult> createDataSourceAsync(CreateDataSourceRequest request)
AWSAppSyncAsync
Creates a DataSource
object.
createDataSourceAsync
in interface AWSAppSyncAsync
public Future<CreateDataSourceResult> createDataSourceAsync(CreateDataSourceRequest request, AsyncHandler<CreateDataSourceRequest,CreateDataSourceResult> asyncHandler)
AWSAppSyncAsync
Creates a DataSource
object.
createDataSourceAsync
in interface AWSAppSyncAsync
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<CreateFunctionResult> createFunctionAsync(CreateFunctionRequest request)
AWSAppSyncAsync
Creates a Function
object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
createFunctionAsync
in interface AWSAppSyncAsync
public Future<CreateFunctionResult> createFunctionAsync(CreateFunctionRequest request, AsyncHandler<CreateFunctionRequest,CreateFunctionResult> asyncHandler)
AWSAppSyncAsync
Creates a Function
object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
createFunctionAsync
in interface AWSAppSyncAsync
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<CreateGraphqlApiResult> createGraphqlApiAsync(CreateGraphqlApiRequest request)
AWSAppSyncAsync
Creates a GraphqlApi
object.
createGraphqlApiAsync
in interface AWSAppSyncAsync
public Future<CreateGraphqlApiResult> createGraphqlApiAsync(CreateGraphqlApiRequest request, AsyncHandler<CreateGraphqlApiRequest,CreateGraphqlApiResult> asyncHandler)
AWSAppSyncAsync
Creates a GraphqlApi
object.
createGraphqlApiAsync
in interface AWSAppSyncAsync
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<CreateResolverResult> createResolverAsync(CreateResolverRequest request)
AWSAppSyncAsync
Creates a Resolver
object.
A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.
createResolverAsync
in interface AWSAppSyncAsync
public Future<CreateResolverResult> createResolverAsync(CreateResolverRequest request, AsyncHandler<CreateResolverRequest,CreateResolverResult> asyncHandler)
AWSAppSyncAsync
Creates a Resolver
object.
A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.
createResolverAsync
in interface AWSAppSyncAsync
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<CreateTypeResult> createTypeAsync(CreateTypeRequest request)
AWSAppSyncAsync
Creates a Type
object.
createTypeAsync
in interface AWSAppSyncAsync
public Future<CreateTypeResult> createTypeAsync(CreateTypeRequest request, AsyncHandler<CreateTypeRequest,CreateTypeResult> asyncHandler)
AWSAppSyncAsync
Creates a Type
object.
createTypeAsync
in interface AWSAppSyncAsync
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<DeleteApiKeyResult> deleteApiKeyAsync(DeleteApiKeyRequest request)
AWSAppSyncAsync
Deletes an API key.
deleteApiKeyAsync
in interface AWSAppSyncAsync
public Future<DeleteApiKeyResult> deleteApiKeyAsync(DeleteApiKeyRequest request, AsyncHandler<DeleteApiKeyRequest,DeleteApiKeyResult> asyncHandler)
AWSAppSyncAsync
Deletes an API key.
deleteApiKeyAsync
in interface AWSAppSyncAsync
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<DeleteDataSourceResult> deleteDataSourceAsync(DeleteDataSourceRequest request)
AWSAppSyncAsync
Deletes a DataSource
object.
deleteDataSourceAsync
in interface AWSAppSyncAsync
public Future<DeleteDataSourceResult> deleteDataSourceAsync(DeleteDataSourceRequest request, AsyncHandler<DeleteDataSourceRequest,DeleteDataSourceResult> asyncHandler)
AWSAppSyncAsync
Deletes a DataSource
object.
deleteDataSourceAsync
in interface AWSAppSyncAsync
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<DeleteFunctionResult> deleteFunctionAsync(DeleteFunctionRequest request)
AWSAppSyncAsync
Deletes a Function
.
deleteFunctionAsync
in interface AWSAppSyncAsync
public Future<DeleteFunctionResult> deleteFunctionAsync(DeleteFunctionRequest request, AsyncHandler<DeleteFunctionRequest,DeleteFunctionResult> asyncHandler)
AWSAppSyncAsync
Deletes a Function
.
deleteFunctionAsync
in interface AWSAppSyncAsync
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<DeleteGraphqlApiResult> deleteGraphqlApiAsync(DeleteGraphqlApiRequest request)
AWSAppSyncAsync
Deletes a GraphqlApi
object.
deleteGraphqlApiAsync
in interface AWSAppSyncAsync
public Future<DeleteGraphqlApiResult> deleteGraphqlApiAsync(DeleteGraphqlApiRequest request, AsyncHandler<DeleteGraphqlApiRequest,DeleteGraphqlApiResult> asyncHandler)
AWSAppSyncAsync
Deletes a GraphqlApi
object.
deleteGraphqlApiAsync
in interface AWSAppSyncAsync
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<DeleteResolverResult> deleteResolverAsync(DeleteResolverRequest request)
AWSAppSyncAsync
Deletes a Resolver
object.
deleteResolverAsync
in interface AWSAppSyncAsync
public Future<DeleteResolverResult> deleteResolverAsync(DeleteResolverRequest request, AsyncHandler<DeleteResolverRequest,DeleteResolverResult> asyncHandler)
AWSAppSyncAsync
Deletes a Resolver
object.
deleteResolverAsync
in interface AWSAppSyncAsync
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<DeleteTypeResult> deleteTypeAsync(DeleteTypeRequest request)
AWSAppSyncAsync
Deletes a Type
object.
deleteTypeAsync
in interface AWSAppSyncAsync
public Future<DeleteTypeResult> deleteTypeAsync(DeleteTypeRequest request, AsyncHandler<DeleteTypeRequest,DeleteTypeResult> asyncHandler)
AWSAppSyncAsync
Deletes a Type
object.
deleteTypeAsync
in interface AWSAppSyncAsync
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<GetDataSourceResult> getDataSourceAsync(GetDataSourceRequest request)
AWSAppSyncAsync
Retrieves a DataSource
object.
getDataSourceAsync
in interface AWSAppSyncAsync
public Future<GetDataSourceResult> getDataSourceAsync(GetDataSourceRequest request, AsyncHandler<GetDataSourceRequest,GetDataSourceResult> asyncHandler)
AWSAppSyncAsync
Retrieves a DataSource
object.
getDataSourceAsync
in interface AWSAppSyncAsync
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<GetFunctionResult> getFunctionAsync(GetFunctionRequest request)
AWSAppSyncAsync
Get a Function
.
getFunctionAsync
in interface AWSAppSyncAsync
public Future<GetFunctionResult> getFunctionAsync(GetFunctionRequest request, AsyncHandler<GetFunctionRequest,GetFunctionResult> asyncHandler)
AWSAppSyncAsync
Get a Function
.
getFunctionAsync
in interface AWSAppSyncAsync
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<GetGraphqlApiResult> getGraphqlApiAsync(GetGraphqlApiRequest request)
AWSAppSyncAsync
Retrieves a GraphqlApi
object.
getGraphqlApiAsync
in interface AWSAppSyncAsync
public Future<GetGraphqlApiResult> getGraphqlApiAsync(GetGraphqlApiRequest request, AsyncHandler<GetGraphqlApiRequest,GetGraphqlApiResult> asyncHandler)
AWSAppSyncAsync
Retrieves a GraphqlApi
object.
getGraphqlApiAsync
in interface AWSAppSyncAsync
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<GetIntrospectionSchemaResult> getIntrospectionSchemaAsync(GetIntrospectionSchemaRequest request)
AWSAppSyncAsync
Retrieves the introspection schema for a GraphQL API.
getIntrospectionSchemaAsync
in interface AWSAppSyncAsync
public Future<GetIntrospectionSchemaResult> getIntrospectionSchemaAsync(GetIntrospectionSchemaRequest request, AsyncHandler<GetIntrospectionSchemaRequest,GetIntrospectionSchemaResult> asyncHandler)
AWSAppSyncAsync
Retrieves the introspection schema for a GraphQL API.
getIntrospectionSchemaAsync
in interface AWSAppSyncAsync
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<GetResolverResult> getResolverAsync(GetResolverRequest request)
AWSAppSyncAsync
Retrieves a Resolver
object.
getResolverAsync
in interface AWSAppSyncAsync
public Future<GetResolverResult> getResolverAsync(GetResolverRequest request, AsyncHandler<GetResolverRequest,GetResolverResult> asyncHandler)
AWSAppSyncAsync
Retrieves a Resolver
object.
getResolverAsync
in interface AWSAppSyncAsync
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<GetSchemaCreationStatusResult> getSchemaCreationStatusAsync(GetSchemaCreationStatusRequest request)
AWSAppSyncAsync
Retrieves the current status of a schema creation operation.
getSchemaCreationStatusAsync
in interface AWSAppSyncAsync
public Future<GetSchemaCreationStatusResult> getSchemaCreationStatusAsync(GetSchemaCreationStatusRequest request, AsyncHandler<GetSchemaCreationStatusRequest,GetSchemaCreationStatusResult> asyncHandler)
AWSAppSyncAsync
Retrieves the current status of a schema creation operation.
getSchemaCreationStatusAsync
in interface AWSAppSyncAsync
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<GetTypeResult> getTypeAsync(GetTypeRequest request)
AWSAppSyncAsync
Retrieves a Type
object.
getTypeAsync
in interface AWSAppSyncAsync
public Future<GetTypeResult> getTypeAsync(GetTypeRequest request, AsyncHandler<GetTypeRequest,GetTypeResult> asyncHandler)
AWSAppSyncAsync
Retrieves a Type
object.
getTypeAsync
in interface AWSAppSyncAsync
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<ListApiKeysResult> listApiKeysAsync(ListApiKeysRequest request)
AWSAppSyncAsync
Lists the API keys for a given API.
API keys are deleted automatically sometime after they expire. However, they may still be included in the
response until they have actually been deleted. You can safely call DeleteApiKey
to manually delete
a key before it's automatically deleted.
listApiKeysAsync
in interface AWSAppSyncAsync
public Future<ListApiKeysResult> listApiKeysAsync(ListApiKeysRequest request, AsyncHandler<ListApiKeysRequest,ListApiKeysResult> asyncHandler)
AWSAppSyncAsync
Lists the API keys for a given API.
API keys are deleted automatically sometime after they expire. However, they may still be included in the
response until they have actually been deleted. You can safely call DeleteApiKey
to manually delete
a key before it's automatically deleted.
listApiKeysAsync
in interface AWSAppSyncAsync
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<ListDataSourcesResult> listDataSourcesAsync(ListDataSourcesRequest request)
AWSAppSyncAsync
Lists the data sources for a given API.
listDataSourcesAsync
in interface AWSAppSyncAsync
public Future<ListDataSourcesResult> listDataSourcesAsync(ListDataSourcesRequest request, AsyncHandler<ListDataSourcesRequest,ListDataSourcesResult> asyncHandler)
AWSAppSyncAsync
Lists the data sources for a given API.
listDataSourcesAsync
in interface AWSAppSyncAsync
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<ListFunctionsResult> listFunctionsAsync(ListFunctionsRequest request)
AWSAppSyncAsync
List multiple functions.
listFunctionsAsync
in interface AWSAppSyncAsync
public Future<ListFunctionsResult> listFunctionsAsync(ListFunctionsRequest request, AsyncHandler<ListFunctionsRequest,ListFunctionsResult> asyncHandler)
AWSAppSyncAsync
List multiple functions.
listFunctionsAsync
in interface AWSAppSyncAsync
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<ListGraphqlApisResult> listGraphqlApisAsync(ListGraphqlApisRequest request)
AWSAppSyncAsync
Lists your GraphQL APIs.
listGraphqlApisAsync
in interface AWSAppSyncAsync
public Future<ListGraphqlApisResult> listGraphqlApisAsync(ListGraphqlApisRequest request, AsyncHandler<ListGraphqlApisRequest,ListGraphqlApisResult> asyncHandler)
AWSAppSyncAsync
Lists your GraphQL APIs.
listGraphqlApisAsync
in interface AWSAppSyncAsync
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<ListResolversResult> listResolversAsync(ListResolversRequest request)
AWSAppSyncAsync
Lists the resolvers for a given API and type.
listResolversAsync
in interface AWSAppSyncAsync
public Future<ListResolversResult> listResolversAsync(ListResolversRequest request, AsyncHandler<ListResolversRequest,ListResolversResult> asyncHandler)
AWSAppSyncAsync
Lists the resolvers for a given API and type.
listResolversAsync
in interface AWSAppSyncAsync
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<ListResolversByFunctionResult> listResolversByFunctionAsync(ListResolversByFunctionRequest request)
AWSAppSyncAsync
List the resolvers that are associated with a specific function.
listResolversByFunctionAsync
in interface AWSAppSyncAsync
public Future<ListResolversByFunctionResult> listResolversByFunctionAsync(ListResolversByFunctionRequest request, AsyncHandler<ListResolversByFunctionRequest,ListResolversByFunctionResult> asyncHandler)
AWSAppSyncAsync
List the resolvers that are associated with a specific function.
listResolversByFunctionAsync
in interface AWSAppSyncAsync
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)
AWSAppSyncAsync
Lists the tags for a resource.
listTagsForResourceAsync
in interface AWSAppSyncAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSAppSyncAsync
Lists the tags for a resource.
listTagsForResourceAsync
in interface AWSAppSyncAsync
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<ListTypesResult> listTypesAsync(ListTypesRequest request)
AWSAppSyncAsync
Lists the types for a given API.
listTypesAsync
in interface AWSAppSyncAsync
public Future<ListTypesResult> listTypesAsync(ListTypesRequest request, AsyncHandler<ListTypesRequest,ListTypesResult> asyncHandler)
AWSAppSyncAsync
Lists the types for a given API.
listTypesAsync
in interface AWSAppSyncAsync
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<StartSchemaCreationResult> startSchemaCreationAsync(StartSchemaCreationRequest request)
AWSAppSyncAsync
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
startSchemaCreationAsync
in interface AWSAppSyncAsync
public Future<StartSchemaCreationResult> startSchemaCreationAsync(StartSchemaCreationRequest request, AsyncHandler<StartSchemaCreationRequest,StartSchemaCreationResult> asyncHandler)
AWSAppSyncAsync
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
startSchemaCreationAsync
in interface AWSAppSyncAsync
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)
AWSAppSyncAsync
Tags a resource with user-supplied tags.
tagResourceAsync
in interface AWSAppSyncAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSAppSyncAsync
Tags a resource with user-supplied tags.
tagResourceAsync
in interface AWSAppSyncAsync
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)
AWSAppSyncAsync
Untags a resource.
untagResourceAsync
in interface AWSAppSyncAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSAppSyncAsync
Untags a resource.
untagResourceAsync
in interface AWSAppSyncAsync
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<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest request)
AWSAppSyncAsync
Updates an API key.
updateApiKeyAsync
in interface AWSAppSyncAsync
public Future<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest request, AsyncHandler<UpdateApiKeyRequest,UpdateApiKeyResult> asyncHandler)
AWSAppSyncAsync
Updates an API key.
updateApiKeyAsync
in interface AWSAppSyncAsync
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<UpdateDataSourceResult> updateDataSourceAsync(UpdateDataSourceRequest request)
AWSAppSyncAsync
Updates a DataSource
object.
updateDataSourceAsync
in interface AWSAppSyncAsync
public Future<UpdateDataSourceResult> updateDataSourceAsync(UpdateDataSourceRequest request, AsyncHandler<UpdateDataSourceRequest,UpdateDataSourceResult> asyncHandler)
AWSAppSyncAsync
Updates a DataSource
object.
updateDataSourceAsync
in interface AWSAppSyncAsync
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<UpdateFunctionResult> updateFunctionAsync(UpdateFunctionRequest request)
AWSAppSyncAsync
Updates a Function
object.
updateFunctionAsync
in interface AWSAppSyncAsync
public Future<UpdateFunctionResult> updateFunctionAsync(UpdateFunctionRequest request, AsyncHandler<UpdateFunctionRequest,UpdateFunctionResult> asyncHandler)
AWSAppSyncAsync
Updates a Function
object.
updateFunctionAsync
in interface AWSAppSyncAsync
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<UpdateGraphqlApiResult> updateGraphqlApiAsync(UpdateGraphqlApiRequest request)
AWSAppSyncAsync
Updates a GraphqlApi
object.
updateGraphqlApiAsync
in interface AWSAppSyncAsync
public Future<UpdateGraphqlApiResult> updateGraphqlApiAsync(UpdateGraphqlApiRequest request, AsyncHandler<UpdateGraphqlApiRequest,UpdateGraphqlApiResult> asyncHandler)
AWSAppSyncAsync
Updates a GraphqlApi
object.
updateGraphqlApiAsync
in interface AWSAppSyncAsync
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<UpdateResolverResult> updateResolverAsync(UpdateResolverRequest request)
AWSAppSyncAsync
Updates a Resolver
object.
updateResolverAsync
in interface AWSAppSyncAsync
public Future<UpdateResolverResult> updateResolverAsync(UpdateResolverRequest request, AsyncHandler<UpdateResolverRequest,UpdateResolverResult> asyncHandler)
AWSAppSyncAsync
Updates a Resolver
object.
updateResolverAsync
in interface AWSAppSyncAsync
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<UpdateTypeResult> updateTypeAsync(UpdateTypeRequest request)
AWSAppSyncAsync
Updates a Type
object.
updateTypeAsync
in interface AWSAppSyncAsync
public Future<UpdateTypeResult> updateTypeAsync(UpdateTypeRequest request, AsyncHandler<UpdateTypeRequest,UpdateTypeResult> asyncHandler)
AWSAppSyncAsync
Updates a Type
object.
updateTypeAsync
in interface AWSAppSyncAsync
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 AWSAppSync
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.