@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSAppSyncAsync extends AWSAppSync
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
AbstractAWSAppSyncAsync
instead.
AWS AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
ENDPOINT_PREFIX
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, shutdown, startSchemaCreation, tagResource, untagResource, updateApiKey, updateDataSource, updateFunction, updateGraphqlApi, updateResolver, updateType
Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest createApiKeyRequest)
Creates a unique key that you can distribute to clients who are executing your API.
createApiKeyRequest
- Future<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest createApiKeyRequest, AsyncHandler<CreateApiKeyRequest,CreateApiKeyResult> asyncHandler)
Creates a unique key that you can distribute to clients who are executing your API.
createApiKeyRequest
- 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.Future<CreateDataSourceResult> createDataSourceAsync(CreateDataSourceRequest createDataSourceRequest)
Creates a DataSource
object.
createDataSourceRequest
- Future<CreateDataSourceResult> createDataSourceAsync(CreateDataSourceRequest createDataSourceRequest, AsyncHandler<CreateDataSourceRequest,CreateDataSourceResult> asyncHandler)
Creates a DataSource
object.
createDataSourceRequest
- 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.Future<CreateFunctionResult> createFunctionAsync(CreateFunctionRequest createFunctionRequest)
Creates a Function
object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
createFunctionRequest
- Future<CreateFunctionResult> createFunctionAsync(CreateFunctionRequest createFunctionRequest, AsyncHandler<CreateFunctionRequest,CreateFunctionResult> asyncHandler)
Creates a Function
object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
createFunctionRequest
- 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.Future<CreateGraphqlApiResult> createGraphqlApiAsync(CreateGraphqlApiRequest createGraphqlApiRequest)
Creates a GraphqlApi
object.
createGraphqlApiRequest
- Future<CreateGraphqlApiResult> createGraphqlApiAsync(CreateGraphqlApiRequest createGraphqlApiRequest, AsyncHandler<CreateGraphqlApiRequest,CreateGraphqlApiResult> asyncHandler)
Creates a GraphqlApi
object.
createGraphqlApiRequest
- 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.Future<CreateResolverResult> createResolverAsync(CreateResolverRequest createResolverRequest)
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.
createResolverRequest
- Future<CreateResolverResult> createResolverAsync(CreateResolverRequest createResolverRequest, AsyncHandler<CreateResolverRequest,CreateResolverResult> asyncHandler)
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.
createResolverRequest
- 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.Future<CreateTypeResult> createTypeAsync(CreateTypeRequest createTypeRequest)
Creates a Type
object.
createTypeRequest
- Future<CreateTypeResult> createTypeAsync(CreateTypeRequest createTypeRequest, AsyncHandler<CreateTypeRequest,CreateTypeResult> asyncHandler)
Creates a Type
object.
createTypeRequest
- 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.Future<DeleteApiKeyResult> deleteApiKeyAsync(DeleteApiKeyRequest deleteApiKeyRequest)
Deletes an API key.
deleteApiKeyRequest
- Future<DeleteApiKeyResult> deleteApiKeyAsync(DeleteApiKeyRequest deleteApiKeyRequest, AsyncHandler<DeleteApiKeyRequest,DeleteApiKeyResult> asyncHandler)
Deletes an API key.
deleteApiKeyRequest
- 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.Future<DeleteDataSourceResult> deleteDataSourceAsync(DeleteDataSourceRequest deleteDataSourceRequest)
Deletes a DataSource
object.
deleteDataSourceRequest
- Future<DeleteDataSourceResult> deleteDataSourceAsync(DeleteDataSourceRequest deleteDataSourceRequest, AsyncHandler<DeleteDataSourceRequest,DeleteDataSourceResult> asyncHandler)
Deletes a DataSource
object.
deleteDataSourceRequest
- 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.Future<DeleteFunctionResult> deleteFunctionAsync(DeleteFunctionRequest deleteFunctionRequest)
Deletes a Function
.
deleteFunctionRequest
- Future<DeleteFunctionResult> deleteFunctionAsync(DeleteFunctionRequest deleteFunctionRequest, AsyncHandler<DeleteFunctionRequest,DeleteFunctionResult> asyncHandler)
Deletes a Function
.
deleteFunctionRequest
- 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.Future<DeleteGraphqlApiResult> deleteGraphqlApiAsync(DeleteGraphqlApiRequest deleteGraphqlApiRequest)
Deletes a GraphqlApi
object.
deleteGraphqlApiRequest
- Future<DeleteGraphqlApiResult> deleteGraphqlApiAsync(DeleteGraphqlApiRequest deleteGraphqlApiRequest, AsyncHandler<DeleteGraphqlApiRequest,DeleteGraphqlApiResult> asyncHandler)
Deletes a GraphqlApi
object.
deleteGraphqlApiRequest
- 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.Future<DeleteResolverResult> deleteResolverAsync(DeleteResolverRequest deleteResolverRequest)
Deletes a Resolver
object.
deleteResolverRequest
- Future<DeleteResolverResult> deleteResolverAsync(DeleteResolverRequest deleteResolverRequest, AsyncHandler<DeleteResolverRequest,DeleteResolverResult> asyncHandler)
Deletes a Resolver
object.
deleteResolverRequest
- 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.Future<DeleteTypeResult> deleteTypeAsync(DeleteTypeRequest deleteTypeRequest)
Deletes a Type
object.
deleteTypeRequest
- Future<DeleteTypeResult> deleteTypeAsync(DeleteTypeRequest deleteTypeRequest, AsyncHandler<DeleteTypeRequest,DeleteTypeResult> asyncHandler)
Deletes a Type
object.
deleteTypeRequest
- 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.Future<GetDataSourceResult> getDataSourceAsync(GetDataSourceRequest getDataSourceRequest)
Retrieves a DataSource
object.
getDataSourceRequest
- Future<GetDataSourceResult> getDataSourceAsync(GetDataSourceRequest getDataSourceRequest, AsyncHandler<GetDataSourceRequest,GetDataSourceResult> asyncHandler)
Retrieves a DataSource
object.
getDataSourceRequest
- 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.Future<GetFunctionResult> getFunctionAsync(GetFunctionRequest getFunctionRequest)
Get a Function
.
getFunctionRequest
- Future<GetFunctionResult> getFunctionAsync(GetFunctionRequest getFunctionRequest, AsyncHandler<GetFunctionRequest,GetFunctionResult> asyncHandler)
Get a Function
.
getFunctionRequest
- 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.Future<GetGraphqlApiResult> getGraphqlApiAsync(GetGraphqlApiRequest getGraphqlApiRequest)
Retrieves a GraphqlApi
object.
getGraphqlApiRequest
- Future<GetGraphqlApiResult> getGraphqlApiAsync(GetGraphqlApiRequest getGraphqlApiRequest, AsyncHandler<GetGraphqlApiRequest,GetGraphqlApiResult> asyncHandler)
Retrieves a GraphqlApi
object.
getGraphqlApiRequest
- 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.Future<GetIntrospectionSchemaResult> getIntrospectionSchemaAsync(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest)
Retrieves the introspection schema for a GraphQL API.
getIntrospectionSchemaRequest
- Future<GetIntrospectionSchemaResult> getIntrospectionSchemaAsync(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest, AsyncHandler<GetIntrospectionSchemaRequest,GetIntrospectionSchemaResult> asyncHandler)
Retrieves the introspection schema for a GraphQL API.
getIntrospectionSchemaRequest
- 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.Future<GetResolverResult> getResolverAsync(GetResolverRequest getResolverRequest)
Retrieves a Resolver
object.
getResolverRequest
- Future<GetResolverResult> getResolverAsync(GetResolverRequest getResolverRequest, AsyncHandler<GetResolverRequest,GetResolverResult> asyncHandler)
Retrieves a Resolver
object.
getResolverRequest
- 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.Future<GetSchemaCreationStatusResult> getSchemaCreationStatusAsync(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest)
Retrieves the current status of a schema creation operation.
getSchemaCreationStatusRequest
- Future<GetSchemaCreationStatusResult> getSchemaCreationStatusAsync(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest, AsyncHandler<GetSchemaCreationStatusRequest,GetSchemaCreationStatusResult> asyncHandler)
Retrieves the current status of a schema creation operation.
getSchemaCreationStatusRequest
- 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.Future<GetTypeResult> getTypeAsync(GetTypeRequest getTypeRequest)
Retrieves a Type
object.
getTypeRequest
- Future<GetTypeResult> getTypeAsync(GetTypeRequest getTypeRequest, AsyncHandler<GetTypeRequest,GetTypeResult> asyncHandler)
Retrieves a Type
object.
getTypeRequest
- 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.Future<ListApiKeysResult> listApiKeysAsync(ListApiKeysRequest listApiKeysRequest)
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.
listApiKeysRequest
- Future<ListApiKeysResult> listApiKeysAsync(ListApiKeysRequest listApiKeysRequest, AsyncHandler<ListApiKeysRequest,ListApiKeysResult> asyncHandler)
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.
listApiKeysRequest
- 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.Future<ListDataSourcesResult> listDataSourcesAsync(ListDataSourcesRequest listDataSourcesRequest)
Lists the data sources for a given API.
listDataSourcesRequest
- Future<ListDataSourcesResult> listDataSourcesAsync(ListDataSourcesRequest listDataSourcesRequest, AsyncHandler<ListDataSourcesRequest,ListDataSourcesResult> asyncHandler)
Lists the data sources for a given API.
listDataSourcesRequest
- 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.Future<ListFunctionsResult> listFunctionsAsync(ListFunctionsRequest listFunctionsRequest)
List multiple functions.
listFunctionsRequest
- Future<ListFunctionsResult> listFunctionsAsync(ListFunctionsRequest listFunctionsRequest, AsyncHandler<ListFunctionsRequest,ListFunctionsResult> asyncHandler)
List multiple functions.
listFunctionsRequest
- 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.Future<ListGraphqlApisResult> listGraphqlApisAsync(ListGraphqlApisRequest listGraphqlApisRequest)
Lists your GraphQL APIs.
listGraphqlApisRequest
- Future<ListGraphqlApisResult> listGraphqlApisAsync(ListGraphqlApisRequest listGraphqlApisRequest, AsyncHandler<ListGraphqlApisRequest,ListGraphqlApisResult> asyncHandler)
Lists your GraphQL APIs.
listGraphqlApisRequest
- 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.Future<ListResolversResult> listResolversAsync(ListResolversRequest listResolversRequest)
Lists the resolvers for a given API and type.
listResolversRequest
- Future<ListResolversResult> listResolversAsync(ListResolversRequest listResolversRequest, AsyncHandler<ListResolversRequest,ListResolversResult> asyncHandler)
Lists the resolvers for a given API and type.
listResolversRequest
- 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.Future<ListResolversByFunctionResult> listResolversByFunctionAsync(ListResolversByFunctionRequest listResolversByFunctionRequest)
List the resolvers that are associated with a specific function.
listResolversByFunctionRequest
- Future<ListResolversByFunctionResult> listResolversByFunctionAsync(ListResolversByFunctionRequest listResolversByFunctionRequest, AsyncHandler<ListResolversByFunctionRequest,ListResolversByFunctionResult> asyncHandler)
List the resolvers that are associated with a specific function.
listResolversByFunctionRequest
- 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.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for a resource.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags for a resource.
listTagsForResourceRequest
- 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.Future<ListTypesResult> listTypesAsync(ListTypesRequest listTypesRequest)
Lists the types for a given API.
listTypesRequest
- Future<ListTypesResult> listTypesAsync(ListTypesRequest listTypesRequest, AsyncHandler<ListTypesRequest,ListTypesResult> asyncHandler)
Lists the types for a given API.
listTypesRequest
- 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.Future<StartSchemaCreationResult> startSchemaCreationAsync(StartSchemaCreationRequest startSchemaCreationRequest)
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
startSchemaCreationRequest
- Future<StartSchemaCreationResult> startSchemaCreationAsync(StartSchemaCreationRequest startSchemaCreationRequest, AsyncHandler<StartSchemaCreationRequest,StartSchemaCreationResult> asyncHandler)
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
startSchemaCreationRequest
- 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Tags a resource with user-supplied tags.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Tags a resource with user-supplied tags.
tagResourceRequest
- 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.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Untags a resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Untags a resource.
untagResourceRequest
- 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.Future<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest updateApiKeyRequest)
Updates an API key.
updateApiKeyRequest
- Future<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest updateApiKeyRequest, AsyncHandler<UpdateApiKeyRequest,UpdateApiKeyResult> asyncHandler)
Updates an API key.
updateApiKeyRequest
- 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.Future<UpdateDataSourceResult> updateDataSourceAsync(UpdateDataSourceRequest updateDataSourceRequest)
Updates a DataSource
object.
updateDataSourceRequest
- Future<UpdateDataSourceResult> updateDataSourceAsync(UpdateDataSourceRequest updateDataSourceRequest, AsyncHandler<UpdateDataSourceRequest,UpdateDataSourceResult> asyncHandler)
Updates a DataSource
object.
updateDataSourceRequest
- 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.Future<UpdateFunctionResult> updateFunctionAsync(UpdateFunctionRequest updateFunctionRequest)
Updates a Function
object.
updateFunctionRequest
- Future<UpdateFunctionResult> updateFunctionAsync(UpdateFunctionRequest updateFunctionRequest, AsyncHandler<UpdateFunctionRequest,UpdateFunctionResult> asyncHandler)
Updates a Function
object.
updateFunctionRequest
- 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.Future<UpdateGraphqlApiResult> updateGraphqlApiAsync(UpdateGraphqlApiRequest updateGraphqlApiRequest)
Updates a GraphqlApi
object.
updateGraphqlApiRequest
- Future<UpdateGraphqlApiResult> updateGraphqlApiAsync(UpdateGraphqlApiRequest updateGraphqlApiRequest, AsyncHandler<UpdateGraphqlApiRequest,UpdateGraphqlApiResult> asyncHandler)
Updates a GraphqlApi
object.
updateGraphqlApiRequest
- 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.Future<UpdateResolverResult> updateResolverAsync(UpdateResolverRequest updateResolverRequest)
Updates a Resolver
object.
updateResolverRequest
- Future<UpdateResolverResult> updateResolverAsync(UpdateResolverRequest updateResolverRequest, AsyncHandler<UpdateResolverRequest,UpdateResolverResult> asyncHandler)
Updates a Resolver
object.
updateResolverRequest
- 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.Future<UpdateTypeResult> updateTypeAsync(UpdateTypeRequest updateTypeRequest)
Updates a Type
object.
updateTypeRequest
- Future<UpdateTypeResult> updateTypeAsync(UpdateTypeRequest updateTypeRequest, AsyncHandler<UpdateTypeRequest,UpdateTypeResult> asyncHandler)
Updates a Type
object.
updateTypeRequest
- 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.Copyright © 2019. All rights reserved.