@Generated(value="software.amazon.awssdk:codegen") public interface AppSyncAsyncClient extends SdkClient
builder()
method.
AWS AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
serviceName
close
static final String SERVICE_NAME
static AppSyncAsyncClient create()
AppSyncAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static AppSyncAsyncClientBuilder builder()
AppSyncAsyncClient
.default CompletableFuture<CreateApiKeyResponse> createApiKey(CreateApiKeyRequest createApiKeyRequest)
Creates a unique key that you can distribute to clients who are executing your API.
createApiKeyRequest
- CreateApiKey
) or from update (for UpdateApiKey
).default CompletableFuture<CreateApiKeyResponse> createApiKey(Consumer<CreateApiKeyRequest.Builder> createApiKeyRequest)
Creates a unique key that you can distribute to clients who are executing your API.
This is a convenience which creates an instance of the CreateApiKeyRequest.Builder
avoiding the need to
create one manually via CreateApiKeyRequest.builder()
createApiKeyRequest
- A Consumer
that will call methods on CreateApiKeyRequest.Builder
to create a request.CreateApiKey
) or from update (for UpdateApiKey
).default CompletableFuture<CreateDataSourceResponse> createDataSource(CreateDataSourceRequest createDataSourceRequest)
Creates a DataSource
object.
createDataSourceRequest
- default CompletableFuture<CreateDataSourceResponse> createDataSource(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest)
Creates a DataSource
object.
This is a convenience which creates an instance of the CreateDataSourceRequest.Builder
avoiding the need
to create one manually via CreateDataSourceRequest.builder()
createDataSourceRequest
- A Consumer
that will call methods on CreateDataSourceRequest.Builder
to create a request.default CompletableFuture<CreateFunctionResponse> createFunction(CreateFunctionRequest createFunctionRequest)
Creates a Function
object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
createFunctionRequest
- default CompletableFuture<CreateFunctionResponse> createFunction(Consumer<CreateFunctionRequest.Builder> createFunctionRequest)
Creates a Function
object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
This is a convenience which creates an instance of the CreateFunctionRequest.Builder
avoiding the need to
create one manually via CreateFunctionRequest.builder()
createFunctionRequest
- A Consumer
that will call methods on CreateFunctionRequest.Builder
to create a request.default CompletableFuture<CreateGraphqlApiResponse> createGraphqlApi(CreateGraphqlApiRequest createGraphqlApiRequest)
Creates a GraphqlApi
object.
createGraphqlApiRequest
- default CompletableFuture<CreateGraphqlApiResponse> createGraphqlApi(Consumer<CreateGraphqlApiRequest.Builder> createGraphqlApiRequest)
Creates a GraphqlApi
object.
This is a convenience which creates an instance of the CreateGraphqlApiRequest.Builder
avoiding the need
to create one manually via CreateGraphqlApiRequest.builder()
createGraphqlApiRequest
- A Consumer
that will call methods on CreateGraphqlApiRequest.Builder
to create a request.default CompletableFuture<CreateResolverResponse> createResolver(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
- default CompletableFuture<CreateResolverResponse> createResolver(Consumer<CreateResolverRequest.Builder> 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.
This is a convenience which creates an instance of the CreateResolverRequest.Builder
avoiding the need to
create one manually via CreateResolverRequest.builder()
createResolverRequest
- A Consumer
that will call methods on CreateResolverRequest.Builder
to create a request.default CompletableFuture<CreateTypeResponse> createType(CreateTypeRequest createTypeRequest)
Creates a Type
object.
createTypeRequest
- default CompletableFuture<CreateTypeResponse> createType(Consumer<CreateTypeRequest.Builder> createTypeRequest)
Creates a Type
object.
This is a convenience which creates an instance of the CreateTypeRequest.Builder
avoiding the need to
create one manually via CreateTypeRequest.builder()
createTypeRequest
- A Consumer
that will call methods on CreateTypeRequest.Builder
to create a request.default CompletableFuture<DeleteApiKeyResponse> deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest)
Deletes an API key.
deleteApiKeyRequest
- default CompletableFuture<DeleteApiKeyResponse> deleteApiKey(Consumer<DeleteApiKeyRequest.Builder> deleteApiKeyRequest)
Deletes an API key.
This is a convenience which creates an instance of the DeleteApiKeyRequest.Builder
avoiding the need to
create one manually via DeleteApiKeyRequest.builder()
deleteApiKeyRequest
- A Consumer
that will call methods on DeleteApiKeyRequest.Builder
to create a request.default CompletableFuture<DeleteDataSourceResponse> deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest)
Deletes a DataSource
object.
deleteDataSourceRequest
- default CompletableFuture<DeleteDataSourceResponse> deleteDataSource(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest)
Deletes a DataSource
object.
This is a convenience which creates an instance of the DeleteDataSourceRequest.Builder
avoiding the need
to create one manually via DeleteDataSourceRequest.builder()
deleteDataSourceRequest
- A Consumer
that will call methods on DeleteDataSourceRequest.Builder
to create a request.default CompletableFuture<DeleteFunctionResponse> deleteFunction(DeleteFunctionRequest deleteFunctionRequest)
Deletes a Function
.
deleteFunctionRequest
- default CompletableFuture<DeleteFunctionResponse> deleteFunction(Consumer<DeleteFunctionRequest.Builder> deleteFunctionRequest)
Deletes a Function
.
This is a convenience which creates an instance of the DeleteFunctionRequest.Builder
avoiding the need to
create one manually via DeleteFunctionRequest.builder()
deleteFunctionRequest
- A Consumer
that will call methods on DeleteFunctionRequest.Builder
to create a request.default CompletableFuture<DeleteGraphqlApiResponse> deleteGraphqlApi(DeleteGraphqlApiRequest deleteGraphqlApiRequest)
Deletes a GraphqlApi
object.
deleteGraphqlApiRequest
- default CompletableFuture<DeleteGraphqlApiResponse> deleteGraphqlApi(Consumer<DeleteGraphqlApiRequest.Builder> deleteGraphqlApiRequest)
Deletes a GraphqlApi
object.
This is a convenience which creates an instance of the DeleteGraphqlApiRequest.Builder
avoiding the need
to create one manually via DeleteGraphqlApiRequest.builder()
deleteGraphqlApiRequest
- A Consumer
that will call methods on DeleteGraphqlApiRequest.Builder
to create a request.default CompletableFuture<DeleteResolverResponse> deleteResolver(DeleteResolverRequest deleteResolverRequest)
Deletes a Resolver
object.
deleteResolverRequest
- default CompletableFuture<DeleteResolverResponse> deleteResolver(Consumer<DeleteResolverRequest.Builder> deleteResolverRequest)
Deletes a Resolver
object.
This is a convenience which creates an instance of the DeleteResolverRequest.Builder
avoiding the need to
create one manually via DeleteResolverRequest.builder()
deleteResolverRequest
- A Consumer
that will call methods on DeleteResolverRequest.Builder
to create a request.default CompletableFuture<DeleteTypeResponse> deleteType(DeleteTypeRequest deleteTypeRequest)
Deletes a Type
object.
deleteTypeRequest
- default CompletableFuture<DeleteTypeResponse> deleteType(Consumer<DeleteTypeRequest.Builder> deleteTypeRequest)
Deletes a Type
object.
This is a convenience which creates an instance of the DeleteTypeRequest.Builder
avoiding the need to
create one manually via DeleteTypeRequest.builder()
deleteTypeRequest
- A Consumer
that will call methods on DeleteTypeRequest.Builder
to create a request.default CompletableFuture<GetDataSourceResponse> getDataSource(GetDataSourceRequest getDataSourceRequest)
Retrieves a DataSource
object.
getDataSourceRequest
- default CompletableFuture<GetDataSourceResponse> getDataSource(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest)
Retrieves a DataSource
object.
This is a convenience which creates an instance of the GetDataSourceRequest.Builder
avoiding the need to
create one manually via GetDataSourceRequest.builder()
getDataSourceRequest
- A Consumer
that will call methods on GetDataSourceRequest.Builder
to create a request.default CompletableFuture<GetFunctionResponse> getFunction(GetFunctionRequest getFunctionRequest)
Get a Function
.
getFunctionRequest
- default CompletableFuture<GetFunctionResponse> getFunction(Consumer<GetFunctionRequest.Builder> getFunctionRequest)
Get a Function
.
This is a convenience which creates an instance of the GetFunctionRequest.Builder
avoiding the need to
create one manually via GetFunctionRequest.builder()
getFunctionRequest
- A Consumer
that will call methods on GetFunctionRequest.Builder
to create a request.default CompletableFuture<GetGraphqlApiResponse> getGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest)
Retrieves a GraphqlApi
object.
getGraphqlApiRequest
- default CompletableFuture<GetGraphqlApiResponse> getGraphqlApi(Consumer<GetGraphqlApiRequest.Builder> getGraphqlApiRequest)
Retrieves a GraphqlApi
object.
This is a convenience which creates an instance of the GetGraphqlApiRequest.Builder
avoiding the need to
create one manually via GetGraphqlApiRequest.builder()
getGraphqlApiRequest
- A Consumer
that will call methods on GetGraphqlApiRequest.Builder
to create a request.default CompletableFuture<GetIntrospectionSchemaResponse> getIntrospectionSchema(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest)
Retrieves the introspection schema for a GraphQL API.
getIntrospectionSchemaRequest
- default CompletableFuture<GetIntrospectionSchemaResponse> getIntrospectionSchema(Consumer<GetIntrospectionSchemaRequest.Builder> getIntrospectionSchemaRequest)
Retrieves the introspection schema for a GraphQL API.
This is a convenience which creates an instance of the GetIntrospectionSchemaRequest.Builder
avoiding the
need to create one manually via GetIntrospectionSchemaRequest.builder()
getIntrospectionSchemaRequest
- A Consumer
that will call methods on GetIntrospectionSchemaRequest.Builder
to create a
request.default CompletableFuture<GetResolverResponse> getResolver(GetResolverRequest getResolverRequest)
Retrieves a Resolver
object.
getResolverRequest
- default CompletableFuture<GetResolverResponse> getResolver(Consumer<GetResolverRequest.Builder> getResolverRequest)
Retrieves a Resolver
object.
This is a convenience which creates an instance of the GetResolverRequest.Builder
avoiding the need to
create one manually via GetResolverRequest.builder()
getResolverRequest
- A Consumer
that will call methods on GetResolverRequest.Builder
to create a request.default CompletableFuture<GetSchemaCreationStatusResponse> getSchemaCreationStatus(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest)
Retrieves the current status of a schema creation operation.
getSchemaCreationStatusRequest
- default CompletableFuture<GetSchemaCreationStatusResponse> getSchemaCreationStatus(Consumer<GetSchemaCreationStatusRequest.Builder> getSchemaCreationStatusRequest)
Retrieves the current status of a schema creation operation.
This is a convenience which creates an instance of the GetSchemaCreationStatusRequest.Builder
avoiding
the need to create one manually via GetSchemaCreationStatusRequest.builder()
getSchemaCreationStatusRequest
- A Consumer
that will call methods on GetSchemaCreationStatusRequest.Builder
to create a
request.default CompletableFuture<GetTypeResponse> getType(GetTypeRequest getTypeRequest)
Retrieves a Type
object.
getTypeRequest
- default CompletableFuture<GetTypeResponse> getType(Consumer<GetTypeRequest.Builder> getTypeRequest)
Retrieves a Type
object.
This is a convenience which creates an instance of the GetTypeRequest.Builder
avoiding the need to create
one manually via GetTypeRequest.builder()
getTypeRequest
- A Consumer
that will call methods on GetTypeRequest.Builder
to create a request.default CompletableFuture<ListApiKeysResponse> listApiKeys(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
- default CompletableFuture<ListApiKeysResponse> listApiKeys(Consumer<ListApiKeysRequest.Builder> 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.
This is a convenience which creates an instance of the ListApiKeysRequest.Builder
avoiding the need to
create one manually via ListApiKeysRequest.builder()
listApiKeysRequest
- A Consumer
that will call methods on ListApiKeysRequest.Builder
to create a request.default CompletableFuture<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest listDataSourcesRequest)
Lists the data sources for a given API.
listDataSourcesRequest
- default CompletableFuture<ListDataSourcesResponse> listDataSources(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest)
Lists the data sources for a given API.
This is a convenience which creates an instance of the ListDataSourcesRequest.Builder
avoiding the need
to create one manually via ListDataSourcesRequest.builder()
listDataSourcesRequest
- A Consumer
that will call methods on ListDataSourcesRequest.Builder
to create a request.default CompletableFuture<ListFunctionsResponse> listFunctions(ListFunctionsRequest listFunctionsRequest)
List multiple functions.
listFunctionsRequest
- default CompletableFuture<ListFunctionsResponse> listFunctions(Consumer<ListFunctionsRequest.Builder> listFunctionsRequest)
List multiple functions.
This is a convenience which creates an instance of the ListFunctionsRequest.Builder
avoiding the need to
create one manually via ListFunctionsRequest.builder()
listFunctionsRequest
- A Consumer
that will call methods on ListFunctionsRequest.Builder
to create a request.default CompletableFuture<ListGraphqlApisResponse> listGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest)
Lists your GraphQL APIs.
listGraphqlApisRequest
- default CompletableFuture<ListGraphqlApisResponse> listGraphqlApis(Consumer<ListGraphqlApisRequest.Builder> listGraphqlApisRequest)
Lists your GraphQL APIs.
This is a convenience which creates an instance of the ListGraphqlApisRequest.Builder
avoiding the need
to create one manually via ListGraphqlApisRequest.builder()
listGraphqlApisRequest
- A Consumer
that will call methods on ListGraphqlApisRequest.Builder
to create a request.default CompletableFuture<ListGraphqlApisResponse> listGraphqlApis()
Lists your GraphQL APIs.
default CompletableFuture<ListResolversResponse> listResolvers(ListResolversRequest listResolversRequest)
Lists the resolvers for a given API and type.
listResolversRequest
- default CompletableFuture<ListResolversResponse> listResolvers(Consumer<ListResolversRequest.Builder> listResolversRequest)
Lists the resolvers for a given API and type.
This is a convenience which creates an instance of the ListResolversRequest.Builder
avoiding the need to
create one manually via ListResolversRequest.builder()
listResolversRequest
- A Consumer
that will call methods on ListResolversRequest.Builder
to create a request.default CompletableFuture<ListResolversByFunctionResponse> listResolversByFunction(ListResolversByFunctionRequest listResolversByFunctionRequest)
List the resolvers that are associated with a specific function.
listResolversByFunctionRequest
- default CompletableFuture<ListResolversByFunctionResponse> listResolversByFunction(Consumer<ListResolversByFunctionRequest.Builder> listResolversByFunctionRequest)
List the resolvers that are associated with a specific function.
This is a convenience which creates an instance of the ListResolversByFunctionRequest.Builder
avoiding
the need to create one manually via ListResolversByFunctionRequest.builder()
listResolversByFunctionRequest
- A Consumer
that will call methods on ListResolversByFunctionRequest.Builder
to create a
request.default CompletableFuture<ListTypesResponse> listTypes(ListTypesRequest listTypesRequest)
Lists the types for a given API.
listTypesRequest
- default CompletableFuture<ListTypesResponse> listTypes(Consumer<ListTypesRequest.Builder> listTypesRequest)
Lists the types for a given API.
This is a convenience which creates an instance of the ListTypesRequest.Builder
avoiding the need to
create one manually via ListTypesRequest.builder()
listTypesRequest
- A Consumer
that will call methods on ListTypesRequest.Builder
to create a request.default CompletableFuture<StartSchemaCreationResponse> startSchemaCreation(StartSchemaCreationRequest startSchemaCreationRequest)
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
startSchemaCreationRequest
- default CompletableFuture<StartSchemaCreationResponse> startSchemaCreation(Consumer<StartSchemaCreationRequest.Builder> startSchemaCreationRequest)
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
This is a convenience which creates an instance of the StartSchemaCreationRequest.Builder
avoiding the
need to create one manually via StartSchemaCreationRequest.builder()
startSchemaCreationRequest
- A Consumer
that will call methods on StartSchemaCreationRequest.Builder
to create a
request.default CompletableFuture<UpdateApiKeyResponse> updateApiKey(UpdateApiKeyRequest updateApiKeyRequest)
Updates an API key.
updateApiKeyRequest
- CreateApiKey
) or from update (for UpdateApiKey
).default CompletableFuture<UpdateApiKeyResponse> updateApiKey(Consumer<UpdateApiKeyRequest.Builder> updateApiKeyRequest)
Updates an API key.
This is a convenience which creates an instance of the UpdateApiKeyRequest.Builder
avoiding the need to
create one manually via UpdateApiKeyRequest.builder()
updateApiKeyRequest
- A Consumer
that will call methods on UpdateApiKeyRequest.Builder
to create a request.CreateApiKey
) or from update (for UpdateApiKey
).default CompletableFuture<UpdateDataSourceResponse> updateDataSource(UpdateDataSourceRequest updateDataSourceRequest)
Updates a DataSource
object.
updateDataSourceRequest
- default CompletableFuture<UpdateDataSourceResponse> updateDataSource(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest)
Updates a DataSource
object.
This is a convenience which creates an instance of the UpdateDataSourceRequest.Builder
avoiding the need
to create one manually via UpdateDataSourceRequest.builder()
updateDataSourceRequest
- A Consumer
that will call methods on UpdateDataSourceRequest.Builder
to create a request.default CompletableFuture<UpdateFunctionResponse> updateFunction(UpdateFunctionRequest updateFunctionRequest)
Updates a Function
object.
updateFunctionRequest
- default CompletableFuture<UpdateFunctionResponse> updateFunction(Consumer<UpdateFunctionRequest.Builder> updateFunctionRequest)
Updates a Function
object.
This is a convenience which creates an instance of the UpdateFunctionRequest.Builder
avoiding the need to
create one manually via UpdateFunctionRequest.builder()
updateFunctionRequest
- A Consumer
that will call methods on UpdateFunctionRequest.Builder
to create a request.default CompletableFuture<UpdateGraphqlApiResponse> updateGraphqlApi(UpdateGraphqlApiRequest updateGraphqlApiRequest)
Updates a GraphqlApi
object.
updateGraphqlApiRequest
- default CompletableFuture<UpdateGraphqlApiResponse> updateGraphqlApi(Consumer<UpdateGraphqlApiRequest.Builder> updateGraphqlApiRequest)
Updates a GraphqlApi
object.
This is a convenience which creates an instance of the UpdateGraphqlApiRequest.Builder
avoiding the need
to create one manually via UpdateGraphqlApiRequest.builder()
updateGraphqlApiRequest
- A Consumer
that will call methods on UpdateGraphqlApiRequest.Builder
to create a request.default CompletableFuture<UpdateResolverResponse> updateResolver(UpdateResolverRequest updateResolverRequest)
Updates a Resolver
object.
updateResolverRequest
- default CompletableFuture<UpdateResolverResponse> updateResolver(Consumer<UpdateResolverRequest.Builder> updateResolverRequest)
Updates a Resolver
object.
This is a convenience which creates an instance of the UpdateResolverRequest.Builder
avoiding the need to
create one manually via UpdateResolverRequest.builder()
updateResolverRequest
- A Consumer
that will call methods on UpdateResolverRequest.Builder
to create a request.default CompletableFuture<UpdateTypeResponse> updateType(UpdateTypeRequest updateTypeRequest)
Updates a Type
object.
updateTypeRequest
- default CompletableFuture<UpdateTypeResponse> updateType(Consumer<UpdateTypeRequest.Builder> updateTypeRequest)
Updates a Type
object.
This is a convenience which creates an instance of the UpdateTypeRequest.Builder
avoiding the need to
create one manually via UpdateTypeRequest.builder()
updateTypeRequest
- A Consumer
that will call methods on UpdateTypeRequest.Builder
to create a request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.