@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.
AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
associateApi, associateMergedGraphqlApi, associateSourceGraphqlApi, builder, createApiCache, createApiKey, createDataSource, createDomainName, createFunction, createGraphqlApi, createResolver, createType, deleteApiCache, deleteApiKey, deleteDataSource, deleteDomainName, deleteFunction, deleteGraphqlApi, deleteResolver, deleteType, disassociateApi, disassociateMergedGraphqlApi, disassociateSourceGraphqlApi, evaluateCode, evaluateMappingTemplate, flushApiCache, getApiAssociation, getApiCache, getCachedResponseMetadata, getDataSource, getDataSourceIntrospection, getDomainName, getFunction, getGraphqlApi, getGraphqlApiEnvironmentVariables, getIntrospectionSchema, getResolver, getSchemaCreationStatus, getSourceApiAssociation, getType, listApiKeys, listDataSources, listDomainNames, listFunctions, listGraphqlApis, listResolvers, listResolversByFunction, listSourceApiAssociations, listTagsForResource, listTypes, listTypesByAssociation, putGraphqlApiEnvironmentVariables, startDataSourceIntrospection, startSchemaCreation, startSchemaMerge, tagResource, untagResource, updateApiCache, updateApiKey, updateDataSource, updateDomainName, updateFunction, updateGraphqlApi, updateResolver, updateSourceApiAssociation, 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
associateApi, associateMergedGraphqlApi, associateSourceGraphqlApi, createApiCache, createApiKey, createDataSource, createDomainName, createFunction, createGraphqlApi, createResolver, createType, deleteApiCache, deleteApiKey, deleteDataSource, deleteDomainName, deleteFunction, deleteGraphqlApi, deleteResolver, deleteType, disassociateApi, disassociateMergedGraphqlApi, disassociateSourceGraphqlApi, evaluateCode, evaluateMappingTemplate, flushApiCache, getApiAssociation, getApiCache, getCachedResponseMetadata, getDataSource, getDataSourceIntrospection, getDomainName, getFunction, getGraphqlApi, getGraphqlApiEnvironmentVariables, getIntrospectionSchema, getResolver, getSchemaCreationStatus, getSourceApiAssociation, getType, listApiKeys, listDataSources, listDomainNames, listFunctions, listGraphqlApis, listResolvers, listResolversByFunction, listSourceApiAssociations, listTagsForResource, listTypes, listTypesByAssociation, putGraphqlApiEnvironmentVariables, startDataSourceIntrospection, startSchemaCreation, startSchemaMerge, tagResource, untagResource, updateApiCache, updateApiKey, updateDataSource, updateDomainName, updateFunction, updateGraphqlApi, updateResolver, updateSourceApiAssociation, updateType
public static AWSAppSyncAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateApiResult> associateApiAsync(AssociateApiRequest request)
AWSAppSyncAsync
Maps an endpoint to your custom domain.
associateApiAsync
in interface AWSAppSyncAsync
public Future<AssociateApiResult> associateApiAsync(AssociateApiRequest request, AsyncHandler<AssociateApiRequest,AssociateApiResult> asyncHandler)
AWSAppSyncAsync
Maps an endpoint to your custom domain.
associateApiAsync
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<AssociateMergedGraphqlApiResult> associateMergedGraphqlApiAsync(AssociateMergedGraphqlApiRequest request)
AWSAppSyncAsync
Creates an association between a Merged API and source API using the source API's identifier.
associateMergedGraphqlApiAsync
in interface AWSAppSyncAsync
public Future<AssociateMergedGraphqlApiResult> associateMergedGraphqlApiAsync(AssociateMergedGraphqlApiRequest request, AsyncHandler<AssociateMergedGraphqlApiRequest,AssociateMergedGraphqlApiResult> asyncHandler)
AWSAppSyncAsync
Creates an association between a Merged API and source API using the source API's identifier.
associateMergedGraphqlApiAsync
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<AssociateSourceGraphqlApiResult> associateSourceGraphqlApiAsync(AssociateSourceGraphqlApiRequest request)
AWSAppSyncAsync
Creates an association between a Merged API and source API using the Merged API's identifier.
associateSourceGraphqlApiAsync
in interface AWSAppSyncAsync
public Future<AssociateSourceGraphqlApiResult> associateSourceGraphqlApiAsync(AssociateSourceGraphqlApiRequest request, AsyncHandler<AssociateSourceGraphqlApiRequest,AssociateSourceGraphqlApiResult> asyncHandler)
AWSAppSyncAsync
Creates an association between a Merged API and source API using the Merged API's identifier.
associateSourceGraphqlApiAsync
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<CreateApiCacheResult> createApiCacheAsync(CreateApiCacheRequest request)
AWSAppSyncAsync
Creates a cache for the GraphQL API.
createApiCacheAsync
in interface AWSAppSyncAsync
request
- Represents the input of a CreateApiCache
operation.public Future<CreateApiCacheResult> createApiCacheAsync(CreateApiCacheRequest request, AsyncHandler<CreateApiCacheRequest,CreateApiCacheResult> asyncHandler)
AWSAppSyncAsync
Creates a cache for the GraphQL API.
createApiCacheAsync
in interface AWSAppSyncAsync
request
- Represents the input of a CreateApiCache
operation.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<CreateApiKeyResult> createApiKeyAsync(CreateApiKeyRequest request)
AWSAppSyncAsync
Creates a unique key that you can distribute to clients who invoke 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 invoke 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<CreateDomainNameResult> createDomainNameAsync(CreateDomainNameRequest request)
AWSAppSyncAsync
Creates a custom DomainName
object.
createDomainNameAsync
in interface AWSAppSyncAsync
public Future<CreateDomainNameResult> createDomainNameAsync(CreateDomainNameRequest request, AsyncHandler<CreateDomainNameRequest,CreateDomainNameResult> asyncHandler)
AWSAppSyncAsync
Creates a custom DomainName
object.
createDomainNameAsync
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. You can use multiple functions 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. You can use multiple functions 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<DeleteApiCacheResult> deleteApiCacheAsync(DeleteApiCacheRequest request)
AWSAppSyncAsync
Deletes an ApiCache
object.
deleteApiCacheAsync
in interface AWSAppSyncAsync
request
- Represents the input of a DeleteApiCache
operation.public Future<DeleteApiCacheResult> deleteApiCacheAsync(DeleteApiCacheRequest request, AsyncHandler<DeleteApiCacheRequest,DeleteApiCacheResult> asyncHandler)
AWSAppSyncAsync
Deletes an ApiCache
object.
deleteApiCacheAsync
in interface AWSAppSyncAsync
request
- Represents the input of a DeleteApiCache
operation.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<DeleteDomainNameResult> deleteDomainNameAsync(DeleteDomainNameRequest request)
AWSAppSyncAsync
Deletes a custom DomainName
object.
deleteDomainNameAsync
in interface AWSAppSyncAsync
public Future<DeleteDomainNameResult> deleteDomainNameAsync(DeleteDomainNameRequest request, AsyncHandler<DeleteDomainNameRequest,DeleteDomainNameResult> asyncHandler)
AWSAppSyncAsync
Deletes a custom DomainName
object.
deleteDomainNameAsync
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<DisassociateApiResult> disassociateApiAsync(DisassociateApiRequest request)
AWSAppSyncAsync
Removes an ApiAssociation
object from a custom domain.
disassociateApiAsync
in interface AWSAppSyncAsync
public Future<DisassociateApiResult> disassociateApiAsync(DisassociateApiRequest request, AsyncHandler<DisassociateApiRequest,DisassociateApiResult> asyncHandler)
AWSAppSyncAsync
Removes an ApiAssociation
object from a custom domain.
disassociateApiAsync
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<DisassociateMergedGraphqlApiResult> disassociateMergedGraphqlApiAsync(DisassociateMergedGraphqlApiRequest request)
AWSAppSyncAsync
Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
disassociateMergedGraphqlApiAsync
in interface AWSAppSyncAsync
public Future<DisassociateMergedGraphqlApiResult> disassociateMergedGraphqlApiAsync(DisassociateMergedGraphqlApiRequest request, AsyncHandler<DisassociateMergedGraphqlApiRequest,DisassociateMergedGraphqlApiResult> asyncHandler)
AWSAppSyncAsync
Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
disassociateMergedGraphqlApiAsync
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<DisassociateSourceGraphqlApiResult> disassociateSourceGraphqlApiAsync(DisassociateSourceGraphqlApiRequest request)
AWSAppSyncAsync
Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
disassociateSourceGraphqlApiAsync
in interface AWSAppSyncAsync
public Future<DisassociateSourceGraphqlApiResult> disassociateSourceGraphqlApiAsync(DisassociateSourceGraphqlApiRequest request, AsyncHandler<DisassociateSourceGraphqlApiRequest,DisassociateSourceGraphqlApiResult> asyncHandler)
AWSAppSyncAsync
Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
disassociateSourceGraphqlApiAsync
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<EvaluateCodeResult> evaluateCodeAsync(EvaluateCodeRequest request)
AWSAppSyncAsync
Evaluates the given code and returns the response. The code definition requirements depend on the specified
runtime. For APPSYNC_JS
runtimes, the code defines the request and response functions. The request
function takes the incoming request after a GraphQL operation is parsed and converts it into a request
configuration for the selected data source operation. The response function interprets responses from the data
source and maps it to the shape of the GraphQL field output type.
evaluateCodeAsync
in interface AWSAppSyncAsync
public Future<EvaluateCodeResult> evaluateCodeAsync(EvaluateCodeRequest request, AsyncHandler<EvaluateCodeRequest,EvaluateCodeResult> asyncHandler)
AWSAppSyncAsync
Evaluates the given code and returns the response. The code definition requirements depend on the specified
runtime. For APPSYNC_JS
runtimes, the code defines the request and response functions. The request
function takes the incoming request after a GraphQL operation is parsed and converts it into a request
configuration for the selected data source operation. The response function interprets responses from the data
source and maps it to the shape of the GraphQL field output type.
evaluateCodeAsync
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<EvaluateMappingTemplateResult> evaluateMappingTemplateAsync(EvaluateMappingTemplateRequest request)
AWSAppSyncAsync
Evaluates a given template and returns the response. The mapping template can be a request or response template.
Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.
Mapping templates are written in the Apache Velocity Template Language (VTL).
evaluateMappingTemplateAsync
in interface AWSAppSyncAsync
public Future<EvaluateMappingTemplateResult> evaluateMappingTemplateAsync(EvaluateMappingTemplateRequest request, AsyncHandler<EvaluateMappingTemplateRequest,EvaluateMappingTemplateResult> asyncHandler)
AWSAppSyncAsync
Evaluates a given template and returns the response. The mapping template can be a request or response template.
Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.
Mapping templates are written in the Apache Velocity Template Language (VTL).
evaluateMappingTemplateAsync
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<FlushApiCacheResult> flushApiCacheAsync(FlushApiCacheRequest request)
AWSAppSyncAsync
Flushes an ApiCache
object.
flushApiCacheAsync
in interface AWSAppSyncAsync
request
- Represents the input of a FlushApiCache
operation.public Future<FlushApiCacheResult> flushApiCacheAsync(FlushApiCacheRequest request, AsyncHandler<FlushApiCacheRequest,FlushApiCacheResult> asyncHandler)
AWSAppSyncAsync
Flushes an ApiCache
object.
flushApiCacheAsync
in interface AWSAppSyncAsync
request
- Represents the input of a FlushApiCache
operation.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<GetApiAssociationResult> getApiAssociationAsync(GetApiAssociationRequest request)
AWSAppSyncAsync
Retrieves an ApiAssociation
object.
getApiAssociationAsync
in interface AWSAppSyncAsync
public Future<GetApiAssociationResult> getApiAssociationAsync(GetApiAssociationRequest request, AsyncHandler<GetApiAssociationRequest,GetApiAssociationResult> asyncHandler)
AWSAppSyncAsync
Retrieves an ApiAssociation
object.
getApiAssociationAsync
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<GetApiCacheResult> getApiCacheAsync(GetApiCacheRequest request)
AWSAppSyncAsync
Retrieves an ApiCache
object.
getApiCacheAsync
in interface AWSAppSyncAsync
request
- Represents the input of a GetApiCache
operation.public Future<GetApiCacheResult> getApiCacheAsync(GetApiCacheRequest request, AsyncHandler<GetApiCacheRequest,GetApiCacheResult> asyncHandler)
AWSAppSyncAsync
Retrieves an ApiCache
object.
getApiCacheAsync
in interface AWSAppSyncAsync
request
- Represents the input of a GetApiCache
operation.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<GetDataSourceIntrospectionResult> getDataSourceIntrospectionAsync(GetDataSourceIntrospectionRequest request)
AWSAppSyncAsync
Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
getDataSourceIntrospectionAsync
in interface AWSAppSyncAsync
public Future<GetDataSourceIntrospectionResult> getDataSourceIntrospectionAsync(GetDataSourceIntrospectionRequest request, AsyncHandler<GetDataSourceIntrospectionRequest,GetDataSourceIntrospectionResult> asyncHandler)
AWSAppSyncAsync
Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
getDataSourceIntrospectionAsync
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<GetDomainNameResult> getDomainNameAsync(GetDomainNameRequest request)
AWSAppSyncAsync
Retrieves a custom DomainName
object.
getDomainNameAsync
in interface AWSAppSyncAsync
public Future<GetDomainNameResult> getDomainNameAsync(GetDomainNameRequest request, AsyncHandler<GetDomainNameRequest,GetDomainNameResult> asyncHandler)
AWSAppSyncAsync
Retrieves a custom DomainName
object.
getDomainNameAsync
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<GetGraphqlApiEnvironmentVariablesResult> getGraphqlApiEnvironmentVariablesAsync(GetGraphqlApiEnvironmentVariablesRequest request)
AWSAppSyncAsync
Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.
getGraphqlApiEnvironmentVariablesAsync
in interface AWSAppSyncAsync
public Future<GetGraphqlApiEnvironmentVariablesResult> getGraphqlApiEnvironmentVariablesAsync(GetGraphqlApiEnvironmentVariablesRequest request, AsyncHandler<GetGraphqlApiEnvironmentVariablesRequest,GetGraphqlApiEnvironmentVariablesResult> asyncHandler)
AWSAppSyncAsync
Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.
getGraphqlApiEnvironmentVariablesAsync
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<GetSourceApiAssociationResult> getSourceApiAssociationAsync(GetSourceApiAssociationRequest request)
AWSAppSyncAsync
Retrieves a SourceApiAssociation
object.
getSourceApiAssociationAsync
in interface AWSAppSyncAsync
public Future<GetSourceApiAssociationResult> getSourceApiAssociationAsync(GetSourceApiAssociationRequest request, AsyncHandler<GetSourceApiAssociationRequest,GetSourceApiAssociationResult> asyncHandler)
AWSAppSyncAsync
Retrieves a SourceApiAssociation
object.
getSourceApiAssociationAsync
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 60 days 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 60 days 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<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest request)
AWSAppSyncAsync
Lists multiple custom domain names.
listDomainNamesAsync
in interface AWSAppSyncAsync
public Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest request, AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
AWSAppSyncAsync
Lists multiple custom domain names.
listDomainNamesAsync
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<ListSourceApiAssociationsResult> listSourceApiAssociationsAsync(ListSourceApiAssociationsRequest request)
AWSAppSyncAsync
Lists the SourceApiAssociationSummary
data.
listSourceApiAssociationsAsync
in interface AWSAppSyncAsync
public Future<ListSourceApiAssociationsResult> listSourceApiAssociationsAsync(ListSourceApiAssociationsRequest request, AsyncHandler<ListSourceApiAssociationsRequest,ListSourceApiAssociationsResult> asyncHandler)
AWSAppSyncAsync
Lists the SourceApiAssociationSummary
data.
listSourceApiAssociationsAsync
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<ListTypesByAssociationResult> listTypesByAssociationAsync(ListTypesByAssociationRequest request)
AWSAppSyncAsync
Lists Type
objects by the source API association ID.
listTypesByAssociationAsync
in interface AWSAppSyncAsync
public Future<ListTypesByAssociationResult> listTypesByAssociationAsync(ListTypesByAssociationRequest request, AsyncHandler<ListTypesByAssociationRequest,ListTypesByAssociationResult> asyncHandler)
AWSAppSyncAsync
Lists Type
objects by the source API association ID.
listTypesByAssociationAsync
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<PutGraphqlApiEnvironmentVariablesResult> putGraphqlApiEnvironmentVariablesAsync(PutGraphqlApiEnvironmentVariablesRequest request)
AWSAppSyncAsync
Creates a list of environmental variables in an API by its ID value.
When creating an environmental variable, it must follow the constraints below:
Both JavaScript and VTL templates support environmental variables.
Environmental variables are not evaluated before function invocation.
Environmental variables only support string values.
Any defined value in an environmental variable is considered a string literal and not expanded.
Variable evaluations should ideally be performed in the function code.
When creating an environmental variable key-value pair, it must follow the additional constraints below:
Keys must begin with a letter.
Keys must be at least two characters long.
Keys can only contain letters, numbers, and the underscore character (_).
Values can be up to 512 characters long.
You can configure up to 50 key-value pairs in a GraphQL API.
You can create a list of environmental variables by adding it to the environmentVariables
payload as
a list in the format {"key1":"value1","key2":"value2", …}
. Note that each call of the
PutGraphqlApiEnvironmentVariables
action will result in the overwriting of the existing
environmental variable list of that API. This means the existing environmental variables will be lost. To avoid
this, you must include all existing and new environmental variables in the list each time you call this action.
putGraphqlApiEnvironmentVariablesAsync
in interface AWSAppSyncAsync
public Future<PutGraphqlApiEnvironmentVariablesResult> putGraphqlApiEnvironmentVariablesAsync(PutGraphqlApiEnvironmentVariablesRequest request, AsyncHandler<PutGraphqlApiEnvironmentVariablesRequest,PutGraphqlApiEnvironmentVariablesResult> asyncHandler)
AWSAppSyncAsync
Creates a list of environmental variables in an API by its ID value.
When creating an environmental variable, it must follow the constraints below:
Both JavaScript and VTL templates support environmental variables.
Environmental variables are not evaluated before function invocation.
Environmental variables only support string values.
Any defined value in an environmental variable is considered a string literal and not expanded.
Variable evaluations should ideally be performed in the function code.
When creating an environmental variable key-value pair, it must follow the additional constraints below:
Keys must begin with a letter.
Keys must be at least two characters long.
Keys can only contain letters, numbers, and the underscore character (_).
Values can be up to 512 characters long.
You can configure up to 50 key-value pairs in a GraphQL API.
You can create a list of environmental variables by adding it to the environmentVariables
payload as
a list in the format {"key1":"value1","key2":"value2", …}
. Note that each call of the
PutGraphqlApiEnvironmentVariables
action will result in the overwriting of the existing
environmental variable list of that API. This means the existing environmental variables will be lost. To avoid
this, you must include all existing and new environmental variables in the list each time you call this action.
putGraphqlApiEnvironmentVariablesAsync
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<StartDataSourceIntrospectionResult> startDataSourceIntrospectionAsync(StartDataSourceIntrospectionRequest request)
AWSAppSyncAsync
Creates a new introspection. Returns the introspectionId
of the new introspection after its
creation.
startDataSourceIntrospectionAsync
in interface AWSAppSyncAsync
public Future<StartDataSourceIntrospectionResult> startDataSourceIntrospectionAsync(StartDataSourceIntrospectionRequest request, AsyncHandler<StartDataSourceIntrospectionRequest,StartDataSourceIntrospectionResult> asyncHandler)
AWSAppSyncAsync
Creates a new introspection. Returns the introspectionId
of the new introspection after its
creation.
startDataSourceIntrospectionAsync
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<StartSchemaMergeResult> startSchemaMergeAsync(StartSchemaMergeRequest request)
AWSAppSyncAsync
Initiates a merge operation. Returns a status that shows the result of the merge operation.
startSchemaMergeAsync
in interface AWSAppSyncAsync
public Future<StartSchemaMergeResult> startSchemaMergeAsync(StartSchemaMergeRequest request, AsyncHandler<StartSchemaMergeRequest,StartSchemaMergeResult> asyncHandler)
AWSAppSyncAsync
Initiates a merge operation. Returns a status that shows the result of the merge operation.
startSchemaMergeAsync
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<UpdateApiCacheResult> updateApiCacheAsync(UpdateApiCacheRequest request)
AWSAppSyncAsync
Updates the cache for the GraphQL API.
updateApiCacheAsync
in interface AWSAppSyncAsync
request
- Represents the input of a UpdateApiCache
operation.public Future<UpdateApiCacheResult> updateApiCacheAsync(UpdateApiCacheRequest request, AsyncHandler<UpdateApiCacheRequest,UpdateApiCacheResult> asyncHandler)
AWSAppSyncAsync
Updates the cache for the GraphQL API.
updateApiCacheAsync
in interface AWSAppSyncAsync
request
- Represents the input of a UpdateApiCache
operation.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. You can update the key as long as it's not deleted.
updateApiKeyAsync
in interface AWSAppSyncAsync
public Future<UpdateApiKeyResult> updateApiKeyAsync(UpdateApiKeyRequest request, AsyncHandler<UpdateApiKeyRequest,UpdateApiKeyResult> asyncHandler)
AWSAppSyncAsync
Updates an API key. You can update the key as long as it's not deleted.
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<UpdateDomainNameResult> updateDomainNameAsync(UpdateDomainNameRequest request)
AWSAppSyncAsync
Updates a custom DomainName
object.
updateDomainNameAsync
in interface AWSAppSyncAsync
public Future<UpdateDomainNameResult> updateDomainNameAsync(UpdateDomainNameRequest request, AsyncHandler<UpdateDomainNameRequest,UpdateDomainNameResult> asyncHandler)
AWSAppSyncAsync
Updates a custom DomainName
object.
updateDomainNameAsync
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<UpdateSourceApiAssociationResult> updateSourceApiAssociationAsync(UpdateSourceApiAssociationRequest request)
AWSAppSyncAsync
Updates some of the configuration choices of a particular source API association.
updateSourceApiAssociationAsync
in interface AWSAppSyncAsync
public Future<UpdateSourceApiAssociationResult> updateSourceApiAssociationAsync(UpdateSourceApiAssociationRequest request, AsyncHandler<UpdateSourceApiAssociationRequest,UpdateSourceApiAssociationResult> asyncHandler)
AWSAppSyncAsync
Updates some of the configuration choices of a particular source API association.
updateSourceApiAssociationAsync
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 AWSAppSyncClient