@Generated(value="software.amazon.awssdk:codegen") public interface AppSyncClient extends SdkClient, SdkAutoCloseable
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 |
| Modifier and Type | Method and Description |
|---|---|
static AppSyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
AppSyncClient. |
static AppSyncClient |
create()
Create a
AppSyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateApiKeyResponse |
createApiKey(Consumer<CreateApiKeyRequest.Builder> createApiKeyRequest)
Creates a unique key that you can distribute to clients who are executing your API.
|
default CreateApiKeyResponse |
createApiKey(CreateApiKeyRequest createApiKeyRequest)
Creates a unique key that you can distribute to clients who are executing your API.
|
default CreateDataSourceResponse |
createDataSource(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest)
Creates a
DataSource object. |
default CreateDataSourceResponse |
createDataSource(CreateDataSourceRequest createDataSourceRequest)
Creates a
DataSource object. |
default CreateGraphqlApiResponse |
createGraphqlApi(Consumer<CreateGraphqlApiRequest.Builder> createGraphqlApiRequest)
Creates a
GraphqlApi object. |
default CreateGraphqlApiResponse |
createGraphqlApi(CreateGraphqlApiRequest createGraphqlApiRequest)
Creates a
GraphqlApi object. |
default CreateResolverResponse |
createResolver(Consumer<CreateResolverRequest.Builder> createResolverRequest)
Creates a
Resolver object. |
default CreateResolverResponse |
createResolver(CreateResolverRequest createResolverRequest)
Creates a
Resolver object. |
default CreateTypeResponse |
createType(Consumer<CreateTypeRequest.Builder> createTypeRequest)
Creates a
Type object. |
default CreateTypeResponse |
createType(CreateTypeRequest createTypeRequest)
Creates a
Type object. |
default DeleteApiKeyResponse |
deleteApiKey(Consumer<DeleteApiKeyRequest.Builder> deleteApiKeyRequest)
Deletes an API key.
|
default DeleteApiKeyResponse |
deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest)
Deletes an API key.
|
default DeleteDataSourceResponse |
deleteDataSource(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest)
Deletes a
DataSource object. |
default DeleteDataSourceResponse |
deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest)
Deletes a
DataSource object. |
default DeleteGraphqlApiResponse |
deleteGraphqlApi(Consumer<DeleteGraphqlApiRequest.Builder> deleteGraphqlApiRequest)
Deletes a
GraphqlApi object. |
default DeleteGraphqlApiResponse |
deleteGraphqlApi(DeleteGraphqlApiRequest deleteGraphqlApiRequest)
Deletes a
GraphqlApi object. |
default DeleteResolverResponse |
deleteResolver(Consumer<DeleteResolverRequest.Builder> deleteResolverRequest)
Deletes a
Resolver object. |
default DeleteResolverResponse |
deleteResolver(DeleteResolverRequest deleteResolverRequest)
Deletes a
Resolver object. |
default DeleteTypeResponse |
deleteType(Consumer<DeleteTypeRequest.Builder> deleteTypeRequest)
Deletes a
Type object. |
default DeleteTypeResponse |
deleteType(DeleteTypeRequest deleteTypeRequest)
Deletes a
Type object. |
default GetDataSourceResponse |
getDataSource(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest)
Retrieves a
DataSource object. |
default GetDataSourceResponse |
getDataSource(GetDataSourceRequest getDataSourceRequest)
Retrieves a
DataSource object. |
default GetGraphqlApiResponse |
getGraphqlApi(Consumer<GetGraphqlApiRequest.Builder> getGraphqlApiRequest)
Retrieves a
GraphqlApi object. |
default GetGraphqlApiResponse |
getGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest)
Retrieves a
GraphqlApi object. |
default GetIntrospectionSchemaResponse |
getIntrospectionSchema(Consumer<GetIntrospectionSchemaRequest.Builder> getIntrospectionSchemaRequest)
Retrieves the introspection schema for a GraphQL API.
|
default GetIntrospectionSchemaResponse |
getIntrospectionSchema(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest)
Retrieves the introspection schema for a GraphQL API.
|
default GetResolverResponse |
getResolver(Consumer<GetResolverRequest.Builder> getResolverRequest)
Retrieves a
Resolver object. |
default GetResolverResponse |
getResolver(GetResolverRequest getResolverRequest)
Retrieves a
Resolver object. |
default GetSchemaCreationStatusResponse |
getSchemaCreationStatus(Consumer<GetSchemaCreationStatusRequest.Builder> getSchemaCreationStatusRequest)
Retrieves the current status of a schema creation operation.
|
default GetSchemaCreationStatusResponse |
getSchemaCreationStatus(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest)
Retrieves the current status of a schema creation operation.
|
default GetTypeResponse |
getType(Consumer<GetTypeRequest.Builder> getTypeRequest)
Retrieves a
Type object. |
default GetTypeResponse |
getType(GetTypeRequest getTypeRequest)
Retrieves a
Type object. |
default ListApiKeysResponse |
listApiKeys(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest)
Lists the API keys for a given API.
|
default ListApiKeysResponse |
listApiKeys(ListApiKeysRequest listApiKeysRequest)
Lists the API keys for a given API.
|
default ListDataSourcesResponse |
listDataSources(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest)
Lists the data sources for a given API.
|
default ListDataSourcesResponse |
listDataSources(ListDataSourcesRequest listDataSourcesRequest)
Lists the data sources for a given API.
|
default ListGraphqlApisResponse |
listGraphqlApis()
Lists your GraphQL APIs.
|
default ListGraphqlApisResponse |
listGraphqlApis(Consumer<ListGraphqlApisRequest.Builder> listGraphqlApisRequest)
Lists your GraphQL APIs.
|
default ListGraphqlApisResponse |
listGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest)
Lists your GraphQL APIs.
|
default ListResolversResponse |
listResolvers(Consumer<ListResolversRequest.Builder> listResolversRequest)
Lists the resolvers for a given API and type.
|
default ListResolversResponse |
listResolvers(ListResolversRequest listResolversRequest)
Lists the resolvers for a given API and type.
|
default ListTypesResponse |
listTypes(Consumer<ListTypesRequest.Builder> listTypesRequest)
Lists the types for a given API.
|
default ListTypesResponse |
listTypes(ListTypesRequest listTypesRequest)
Lists the types for a given API.
|
static ServiceMetadata |
serviceMetadata() |
default StartSchemaCreationResponse |
startSchemaCreation(Consumer<StartSchemaCreationRequest.Builder> startSchemaCreationRequest)
Adds a new schema to your GraphQL API.
|
default StartSchemaCreationResponse |
startSchemaCreation(StartSchemaCreationRequest startSchemaCreationRequest)
Adds a new schema to your GraphQL API.
|
default UpdateDataSourceResponse |
updateDataSource(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest)
Updates a
DataSource object. |
default UpdateDataSourceResponse |
updateDataSource(UpdateDataSourceRequest updateDataSourceRequest)
Updates a
DataSource object. |
default UpdateGraphqlApiResponse |
updateGraphqlApi(Consumer<UpdateGraphqlApiRequest.Builder> updateGraphqlApiRequest)
Updates a
GraphqlApi object. |
default UpdateGraphqlApiResponse |
updateGraphqlApi(UpdateGraphqlApiRequest updateGraphqlApiRequest)
Updates a
GraphqlApi object. |
default UpdateResolverResponse |
updateResolver(Consumer<UpdateResolverRequest.Builder> updateResolverRequest)
Updates a
Resolver object. |
default UpdateResolverResponse |
updateResolver(UpdateResolverRequest updateResolverRequest)
Updates a
Resolver object. |
default UpdateTypeResponse |
updateType(Consumer<UpdateTypeRequest.Builder> updateTypeRequest)
Updates a
Type object. |
default UpdateTypeResponse |
updateType(UpdateTypeRequest updateTypeRequest)
Updates a
Type object. |
serviceNameclosestatic final String SERVICE_NAME
static AppSyncClient create()
AppSyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static AppSyncClientBuilder builder()
AppSyncClient.default CreateApiKeyResponse createApiKey(CreateApiKeyRequest createApiKeyRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, ApiKeyLimitExceededException, AwsServiceException, SdkClientException, AppSyncException
Creates a unique key that you can distribute to clients who are executing your API.
createApiKeyRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.LimitExceededException - The request exceeded a limit. Try your request again.UnauthorizedException - You are not authorized to perform this operation.LimitExceededException - The request exceeded a limit. Try your request again.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.ApiKeyLimitExceededException - The API key exceeded a limit. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateApiKeyResponse createApiKey(Consumer<CreateApiKeyRequest.Builder> createApiKeyRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, ApiKeyLimitExceededException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.LimitExceededException - The request exceeded a limit. Try your request again.UnauthorizedException - You are not authorized to perform this operation.LimitExceededException - The request exceeded a limit. Try your request again.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.ApiKeyLimitExceededException - The API key exceeded a limit. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDataSourceResponse createDataSource(CreateDataSourceRequest createDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a DataSource object.
createDataSourceRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDataSourceResponse createDataSource(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateGraphqlApiResponse createGraphqlApi(CreateGraphqlApiRequest createGraphqlApiRequest) throws BadRequestException, LimitExceededException, ConcurrentModificationException, UnauthorizedException, InternalFailureException, ApiLimitExceededException, AwsServiceException, SdkClientException, AppSyncException
Creates a GraphqlApi object.
createGraphqlApiRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.LimitExceededException - The request exceeded a limit. Try your request again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.LimitExceededException - The request exceeded a limit. Try your request again.ApiLimitExceededException - The GraphQL API exceeded a limit. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateGraphqlApiResponse createGraphqlApi(Consumer<CreateGraphqlApiRequest.Builder> createGraphqlApiRequest) throws BadRequestException, LimitExceededException, ConcurrentModificationException, UnauthorizedException, InternalFailureException, ApiLimitExceededException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.LimitExceededException - The request exceeded a limit. Try your request again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.LimitExceededException - The request exceeded a limit. Try your request again.ApiLimitExceededException - The GraphQL API exceeded a limit. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResolverResponse createResolver(CreateResolverRequest createResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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 - ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResolverResponse createResolver(Consumer<CreateResolverRequest.Builder> createResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTypeResponse createType(CreateTypeRequest createTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a Type object.
createTypeRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTypeResponse createType(Consumer<CreateTypeRequest.Builder> createTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApiKeyResponse deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes an API key.
deleteApiKeyRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApiKeyResponse deleteApiKey(Consumer<DeleteApiKeyRequest.Builder> deleteApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDataSourceResponse deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes a DataSource object.
deleteDataSourceRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDataSourceResponse deleteDataSource(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteGraphqlApiResponse deleteGraphqlApi(DeleteGraphqlApiRequest deleteGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes a GraphqlApi object.
deleteGraphqlApiRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteGraphqlApiResponse deleteGraphqlApi(Consumer<DeleteGraphqlApiRequest.Builder> deleteGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResolverResponse deleteResolver(DeleteResolverRequest deleteResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes a Resolver object.
deleteResolverRequest - ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResolverResponse deleteResolver(Consumer<DeleteResolverRequest.Builder> deleteResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTypeResponse deleteType(DeleteTypeRequest deleteTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes a Type object.
deleteTypeRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTypeResponse deleteType(Consumer<DeleteTypeRequest.Builder> deleteTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDataSourceResponse getDataSource(GetDataSourceRequest getDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a DataSource object.
getDataSourceRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDataSourceResponse getDataSource(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetGraphqlApiResponse getGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a GraphqlApi object.
getGraphqlApiRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetGraphqlApiResponse getGraphqlApi(Consumer<GetGraphqlApiRequest.Builder> getGraphqlApiRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetIntrospectionSchemaResponse getIntrospectionSchema(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest) throws GraphQLSchemaException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves the introspection schema for a GraphQL API.
getIntrospectionSchemaRequest - GraphQLSchemaException - The GraphQL schema is not valid.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetIntrospectionSchemaResponse getIntrospectionSchema(Consumer<GetIntrospectionSchemaRequest.Builder> getIntrospectionSchemaRequest) throws GraphQLSchemaException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.GraphQLSchemaException - The GraphQL schema is not valid.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResolverResponse getResolver(GetResolverRequest getResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a Resolver object.
getResolverRequest - ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResolverResponse getResolver(Consumer<GetResolverRequest.Builder> getResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException
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.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSchemaCreationStatusResponse getSchemaCreationStatus(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves the current status of a schema creation operation.
getSchemaCreationStatusRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSchemaCreationStatusResponse getSchemaCreationStatus(Consumer<GetSchemaCreationStatusRequest.Builder> getSchemaCreationStatusRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTypeResponse getType(GetTypeRequest getTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a Type object.
getTypeRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTypeResponse getType(Consumer<GetTypeRequest.Builder> getTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApiKeysResponse listApiKeys(ListApiKeysRequest listApiKeysRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the API keys for a given API.
listApiKeysRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApiKeysResponse listApiKeys(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the API keys for a given API.
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDataSourcesResponse listDataSources(ListDataSourcesRequest listDataSourcesRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the data sources for a given API.
listDataSourcesRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDataSourcesResponse listDataSources(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGraphqlApisResponse listGraphqlApis() throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists your GraphQL APIs.
BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistGraphqlApis(ListGraphqlApisRequest),
AWS API
Documentationdefault ListGraphqlApisResponse listGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest) throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists your GraphQL APIs.
listGraphqlApisRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListGraphqlApisResponse listGraphqlApis(Consumer<ListGraphqlApisRequest.Builder> listGraphqlApisRequest) throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolversResponse listResolvers(ListResolversRequest listResolversRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the resolvers for a given API and type.
listResolversRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResolversResponse listResolvers(Consumer<ListResolversRequest.Builder> listResolversRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTypesResponse listTypes(ListTypesRequest listTypesRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the types for a given API.
listTypesRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTypesResponse listTypes(Consumer<ListTypesRequest.Builder> listTypesRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartSchemaCreationResponse startSchemaCreation(StartSchemaCreationRequest startSchemaCreationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
startSchemaCreationRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartSchemaCreationResponse startSchemaCreation(Consumer<StartSchemaCreationRequest.Builder> startSchemaCreationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDataSourceResponse updateDataSource(UpdateDataSourceRequest updateDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates a DataSource object.
updateDataSourceRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDataSourceResponse updateDataSource(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGraphqlApiResponse updateGraphqlApi(UpdateGraphqlApiRequest updateGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates a GraphqlApi object.
updateGraphqlApiRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGraphqlApiResponse updateGraphqlApi(Consumer<UpdateGraphqlApiRequest.Builder> updateGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResolverResponse updateResolver(UpdateResolverRequest updateResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates a Resolver object.
updateResolverRequest - ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResolverResponse updateResolver(Consumer<UpdateResolverRequest.Builder> updateResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTypeResponse updateType(UpdateTypeRequest updateTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates a Type object.
updateTypeRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTypeResponse updateType(Consumer<UpdateTypeRequest.Builder> updateTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and try again.ConcurrentModificationException - Another modification is being made. That modification must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource and try again.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An internal AWS AppSync error occurred. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppSyncException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.