@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface AppSyncClient extends AwsClient
builder() method.
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_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AssociateApiResponse |
associateApi(AssociateApiRequest associateApiRequest)
Maps an endpoint to your custom domain.
|
default AssociateApiResponse |
associateApi(Consumer<AssociateApiRequest.Builder> associateApiRequest)
Maps an endpoint to your custom domain.
|
default AssociateMergedGraphqlApiResponse |
associateMergedGraphqlApi(AssociateMergedGraphqlApiRequest associateMergedGraphqlApiRequest)
Creates an association between a Merged API and source API using the source API's identifier.
|
default AssociateMergedGraphqlApiResponse |
associateMergedGraphqlApi(Consumer<AssociateMergedGraphqlApiRequest.Builder> associateMergedGraphqlApiRequest)
Creates an association between a Merged API and source API using the source API's identifier.
|
default AssociateSourceGraphqlApiResponse |
associateSourceGraphqlApi(AssociateSourceGraphqlApiRequest associateSourceGraphqlApiRequest)
Creates an association between a Merged API and source API using the Merged API's identifier.
|
default AssociateSourceGraphqlApiResponse |
associateSourceGraphqlApi(Consumer<AssociateSourceGraphqlApiRequest.Builder> associateSourceGraphqlApiRequest)
Creates an association between a Merged API and source API using the Merged API's identifier.
|
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 CreateApiCacheResponse |
createApiCache(Consumer<CreateApiCacheRequest.Builder> createApiCacheRequest)
Creates a cache for the GraphQL API.
|
default CreateApiCacheResponse |
createApiCache(CreateApiCacheRequest createApiCacheRequest)
Creates a cache for the GraphQL API.
|
default CreateApiKeyResponse |
createApiKey(Consumer<CreateApiKeyRequest.Builder> createApiKeyRequest)
Creates a unique key that you can distribute to clients who invoke your API.
|
default CreateApiKeyResponse |
createApiKey(CreateApiKeyRequest createApiKeyRequest)
Creates a unique key that you can distribute to clients who invoke your API.
|
default CreateDataSourceResponse |
createDataSource(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest)
Creates a
DataSource object. |
default CreateDataSourceResponse |
createDataSource(CreateDataSourceRequest createDataSourceRequest)
Creates a
DataSource object. |
default CreateDomainNameResponse |
createDomainName(Consumer<CreateDomainNameRequest.Builder> createDomainNameRequest)
Creates a custom
DomainName object. |
default CreateDomainNameResponse |
createDomainName(CreateDomainNameRequest createDomainNameRequest)
Creates a custom
DomainName object. |
default CreateFunctionResponse |
createFunction(Consumer<CreateFunctionRequest.Builder> createFunctionRequest)
Creates a
Function object. |
default CreateFunctionResponse |
createFunction(CreateFunctionRequest createFunctionRequest)
Creates a
Function 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 DeleteApiCacheResponse |
deleteApiCache(Consumer<DeleteApiCacheRequest.Builder> deleteApiCacheRequest)
Deletes an
ApiCache object. |
default DeleteApiCacheResponse |
deleteApiCache(DeleteApiCacheRequest deleteApiCacheRequest)
Deletes an
ApiCache 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 DeleteDomainNameResponse |
deleteDomainName(Consumer<DeleteDomainNameRequest.Builder> deleteDomainNameRequest)
Deletes a custom
DomainName object. |
default DeleteDomainNameResponse |
deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest)
Deletes a custom
DomainName object. |
default DeleteFunctionResponse |
deleteFunction(Consumer<DeleteFunctionRequest.Builder> deleteFunctionRequest)
Deletes a
Function. |
default DeleteFunctionResponse |
deleteFunction(DeleteFunctionRequest deleteFunctionRequest)
Deletes a
Function. |
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 DisassociateApiResponse |
disassociateApi(Consumer<DisassociateApiRequest.Builder> disassociateApiRequest)
Removes an
ApiAssociation object from a custom domain. |
default DisassociateApiResponse |
disassociateApi(DisassociateApiRequest disassociateApiRequest)
Removes an
ApiAssociation object from a custom domain. |
default DisassociateMergedGraphqlApiResponse |
disassociateMergedGraphqlApi(Consumer<DisassociateMergedGraphqlApiRequest.Builder> disassociateMergedGraphqlApiRequest)
Deletes an association between a Merged API and source API using the source API's identifier and the association
ID.
|
default DisassociateMergedGraphqlApiResponse |
disassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest disassociateMergedGraphqlApiRequest)
Deletes an association between a Merged API and source API using the source API's identifier and the association
ID.
|
default DisassociateSourceGraphqlApiResponse |
disassociateSourceGraphqlApi(Consumer<DisassociateSourceGraphqlApiRequest.Builder> disassociateSourceGraphqlApiRequest)
Deletes an association between a Merged API and source API using the Merged API's identifier and the association
ID.
|
default DisassociateSourceGraphqlApiResponse |
disassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest disassociateSourceGraphqlApiRequest)
Deletes an association between a Merged API and source API using the Merged API's identifier and the association
ID.
|
default EvaluateCodeResponse |
evaluateCode(Consumer<EvaluateCodeRequest.Builder> evaluateCodeRequest)
Evaluates the given code and returns the response.
|
default EvaluateCodeResponse |
evaluateCode(EvaluateCodeRequest evaluateCodeRequest)
Evaluates the given code and returns the response.
|
default EvaluateMappingTemplateResponse |
evaluateMappingTemplate(Consumer<EvaluateMappingTemplateRequest.Builder> evaluateMappingTemplateRequest)
Evaluates a given template and returns the response.
|
default EvaluateMappingTemplateResponse |
evaluateMappingTemplate(EvaluateMappingTemplateRequest evaluateMappingTemplateRequest)
Evaluates a given template and returns the response.
|
default FlushApiCacheResponse |
flushApiCache(Consumer<FlushApiCacheRequest.Builder> flushApiCacheRequest)
Flushes an
ApiCache object. |
default FlushApiCacheResponse |
flushApiCache(FlushApiCacheRequest flushApiCacheRequest)
Flushes an
ApiCache object. |
default GetApiAssociationResponse |
getApiAssociation(Consumer<GetApiAssociationRequest.Builder> getApiAssociationRequest)
Retrieves an
ApiAssociation object. |
default GetApiAssociationResponse |
getApiAssociation(GetApiAssociationRequest getApiAssociationRequest)
Retrieves an
ApiAssociation object. |
default GetApiCacheResponse |
getApiCache(Consumer<GetApiCacheRequest.Builder> getApiCacheRequest)
Retrieves an
ApiCache object. |
default GetApiCacheResponse |
getApiCache(GetApiCacheRequest getApiCacheRequest)
Retrieves an
ApiCache object. |
default GetDataSourceResponse |
getDataSource(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest)
Retrieves a
DataSource object. |
default GetDataSourceResponse |
getDataSource(GetDataSourceRequest getDataSourceRequest)
Retrieves a
DataSource object. |
default GetDomainNameResponse |
getDomainName(Consumer<GetDomainNameRequest.Builder> getDomainNameRequest)
Retrieves a custom
DomainName object. |
default GetDomainNameResponse |
getDomainName(GetDomainNameRequest getDomainNameRequest)
Retrieves a custom
DomainName object. |
default GetFunctionResponse |
getFunction(Consumer<GetFunctionRequest.Builder> getFunctionRequest)
Get a
Function. |
default GetFunctionResponse |
getFunction(GetFunctionRequest getFunctionRequest)
Get a
Function. |
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 GetSourceApiAssociationResponse |
getSourceApiAssociation(Consumer<GetSourceApiAssociationRequest.Builder> getSourceApiAssociationRequest)
Retrieves a
SourceApiAssociation object. |
default GetSourceApiAssociationResponse |
getSourceApiAssociation(GetSourceApiAssociationRequest getSourceApiAssociationRequest)
Retrieves a
SourceApiAssociation object. |
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 ListDomainNamesResponse |
listDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest)
Lists multiple custom domain names.
|
default ListDomainNamesResponse |
listDomainNames(ListDomainNamesRequest listDomainNamesRequest)
Lists multiple custom domain names.
|
default ListFunctionsResponse |
listFunctions(Consumer<ListFunctionsRequest.Builder> listFunctionsRequest)
List multiple functions.
|
default ListFunctionsResponse |
listFunctions(ListFunctionsRequest listFunctionsRequest)
List multiple functions.
|
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 ListResolversByFunctionResponse |
listResolversByFunction(Consumer<ListResolversByFunctionRequest.Builder> listResolversByFunctionRequest)
List the resolvers that are associated with a specific function.
|
default ListResolversByFunctionResponse |
listResolversByFunction(ListResolversByFunctionRequest listResolversByFunctionRequest)
List the resolvers that are associated with a specific function.
|
default ListSourceApiAssociationsResponse |
listSourceApiAssociations(Consumer<ListSourceApiAssociationsRequest.Builder> listSourceApiAssociationsRequest)
Lists the
SourceApiAssociationSummary data. |
default ListSourceApiAssociationsResponse |
listSourceApiAssociations(ListSourceApiAssociationsRequest listSourceApiAssociationsRequest)
Lists the
SourceApiAssociationSummary data. |
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for a resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for a resource.
|
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.
|
default ListTypesByAssociationResponse |
listTypesByAssociation(Consumer<ListTypesByAssociationRequest.Builder> listTypesByAssociationRequest)
Lists
Type objects by the source API association ID. |
default ListTypesByAssociationResponse |
listTypesByAssociation(ListTypesByAssociationRequest listTypesByAssociationRequest)
Lists
Type objects by the source API association ID. |
default AppSyncServiceClientConfiguration |
serviceClientConfiguration() |
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 StartSchemaMergeResponse |
startSchemaMerge(Consumer<StartSchemaMergeRequest.Builder> startSchemaMergeRequest)
Initiates a merge operation.
|
default StartSchemaMergeResponse |
startSchemaMerge(StartSchemaMergeRequest startSchemaMergeRequest)
Initiates a merge operation.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Tags a resource with user-supplied tags.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Tags a resource with user-supplied tags.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Untags a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Untags a resource.
|
default UpdateApiCacheResponse |
updateApiCache(Consumer<UpdateApiCacheRequest.Builder> updateApiCacheRequest)
Updates the cache for the GraphQL API.
|
default UpdateApiCacheResponse |
updateApiCache(UpdateApiCacheRequest updateApiCacheRequest)
Updates the cache for the GraphQL API.
|
default UpdateApiKeyResponse |
updateApiKey(Consumer<UpdateApiKeyRequest.Builder> updateApiKeyRequest)
Updates an API key.
|
default UpdateApiKeyResponse |
updateApiKey(UpdateApiKeyRequest updateApiKeyRequest)
Updates an API key.
|
default UpdateDataSourceResponse |
updateDataSource(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest)
Updates a
DataSource object. |
default UpdateDataSourceResponse |
updateDataSource(UpdateDataSourceRequest updateDataSourceRequest)
Updates a
DataSource object. |
default UpdateDomainNameResponse |
updateDomainName(Consumer<UpdateDomainNameRequest.Builder> updateDomainNameRequest)
Updates a custom
DomainName object. |
default UpdateDomainNameResponse |
updateDomainName(UpdateDomainNameRequest updateDomainNameRequest)
Updates a custom
DomainName object. |
default UpdateFunctionResponse |
updateFunction(Consumer<UpdateFunctionRequest.Builder> updateFunctionRequest)
Updates a
Function object. |
default UpdateFunctionResponse |
updateFunction(UpdateFunctionRequest updateFunctionRequest)
Updates a
Function 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 UpdateSourceApiAssociationResponse |
updateSourceApiAssociation(Consumer<UpdateSourceApiAssociationRequest.Builder> updateSourceApiAssociationRequest)
Updates some of the configuration choices of a particular source API association.
|
default UpdateSourceApiAssociationResponse |
updateSourceApiAssociation(UpdateSourceApiAssociationRequest updateSourceApiAssociationRequest)
Updates some of the configuration choices of a particular source API association.
|
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 final String SERVICE_METADATA_ID
ServiceMetadataProvider.default AssociateApiResponse associateApi(AssociateApiRequest associateApiRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Maps an endpoint to your custom domain.
associateApiRequest - AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 AssociateApiResponse associateApi(Consumer<AssociateApiRequest.Builder> associateApiRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Maps an endpoint to your custom domain.
This is a convenience which creates an instance of the AssociateApiRequest.Builder avoiding the need to
create one manually via AssociateApiRequest.builder()
associateApiRequest - A Consumer that will call methods on AssociateApiRequest.Builder to create a request.AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 AssociateMergedGraphqlApiResponse associateMergedGraphqlApi(AssociateMergedGraphqlApiRequest associateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Creates an association between a Merged API and source API using the source API's identifier.
associateMergedGraphqlApiRequest - UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 AssociateMergedGraphqlApiResponse associateMergedGraphqlApi(Consumer<AssociateMergedGraphqlApiRequest.Builder> associateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Creates an association between a Merged API and source API using the source API's identifier.
This is a convenience which creates an instance of the AssociateMergedGraphqlApiRequest.Builder avoiding
the need to create one manually via AssociateMergedGraphqlApiRequest.builder()
associateMergedGraphqlApiRequest - A Consumer that will call methods on AssociateMergedGraphqlApiRequest.Builder to create a
request.UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 AssociateSourceGraphqlApiResponse associateSourceGraphqlApi(AssociateSourceGraphqlApiRequest associateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Creates an association between a Merged API and source API using the Merged API's identifier.
associateSourceGraphqlApiRequest - UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 AssociateSourceGraphqlApiResponse associateSourceGraphqlApi(Consumer<AssociateSourceGraphqlApiRequest.Builder> associateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Creates an association between a Merged API and source API using the Merged API's identifier.
This is a convenience which creates an instance of the AssociateSourceGraphqlApiRequest.Builder avoiding
the need to create one manually via AssociateSourceGraphqlApiRequest.builder()
associateSourceGraphqlApiRequest - A Consumer that will call methods on AssociateSourceGraphqlApiRequest.Builder to create a
request.UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 CreateApiCacheResponse createApiCache(CreateApiCacheRequest createApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a cache for the GraphQL API.
createApiCacheRequest - Represents the input of a CreateApiCache operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 CreateApiCacheResponse createApiCache(Consumer<CreateApiCacheRequest.Builder> createApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a cache for the GraphQL API.
This is a convenience which creates an instance of the CreateApiCacheRequest.Builder avoiding the need to
create one manually via CreateApiCacheRequest.builder()
createApiCacheRequest - A Consumer that will call methods on CreateApiCacheRequest.Builder to create a request.
Represents the input of a CreateApiCache operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 CreateApiKeyResponse createApiKey(CreateApiKeyRequest createApiKeyRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, ApiKeyLimitExceededException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException
Creates a unique key that you can distribute to clients who invoke 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.UnauthorizedException - You aren't authorized to perform this operation.LimitExceededException - The request exceeded a limit. Try your request again.InternalFailureException - An internal AppSync error occurred. Try your request again.ApiKeyLimitExceededException - The API key exceeded a limit. Try your request again.ApiKeyValidityOutOfBoundsException - The API key expiration must be set to a value between 1 and 365 days from creation (for
CreateApiKey) or from update (for UpdateApiKey).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, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException
Creates a unique key that you can distribute to clients who invoke 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.UnauthorizedException - You aren't authorized to perform this operation.LimitExceededException - The request exceeded a limit. Try your request again.InternalFailureException - An internal AppSync error occurred. Try your request again.ApiKeyLimitExceededException - The API key exceeded a limit. Try your request again.ApiKeyValidityOutOfBoundsException - The API key expiration must be set to a value between 1 and 365 days from creation (for
CreateApiKey) or from update (for UpdateApiKey).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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 CreateDomainNameResponse createDomainName(CreateDomainNameRequest createDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a custom DomainName object.
createDomainNameRequest - AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal 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 CreateDomainNameResponse createDomainName(Consumer<CreateDomainNameRequest.Builder> createDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a custom DomainName object.
This is a convenience which creates an instance of the CreateDomainNameRequest.Builder avoiding the need
to create one manually via CreateDomainNameRequest.builder()
createDomainNameRequest - A Consumer that will call methods on CreateDomainNameRequest.Builder to create a request.AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal 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 CreateFunctionResponse createFunction(CreateFunctionRequest createFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a Function object.
A function is a reusable entity. You can use multiple functions to compose the resolver logic.
createFunctionRequest - ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 CreateFunctionResponse createFunction(Consumer<CreateFunctionRequest.Builder> createFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a Function object.
A function is a reusable entity. You can use multiple functions 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.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.LimitExceededException - The request exceeded a limit. Try your request again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. 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 then try again.LimitExceededException - The request exceeded a limit. Try your request again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. 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, BadRequestException, 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 in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try 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, BadRequestException, 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 in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 DeleteApiCacheResponse deleteApiCache(DeleteApiCacheRequest deleteApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes an ApiCache object.
deleteApiCacheRequest - Represents the input of a DeleteApiCache operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 DeleteApiCacheResponse deleteApiCache(Consumer<DeleteApiCacheRequest.Builder> deleteApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes an ApiCache object.
This is a convenience which creates an instance of the DeleteApiCacheRequest.Builder avoiding the need to
create one manually via DeleteApiCacheRequest.builder()
deleteApiCacheRequest - A Consumer that will call methods on DeleteApiCacheRequest.Builder to create a request.
Represents the input of a DeleteApiCache operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 DeleteDomainNameResponse deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Deletes a custom DomainName object.
deleteDomainNameRequest - AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 DeleteDomainNameResponse deleteDomainName(Consumer<DeleteDomainNameRequest.Builder> deleteDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Deletes a custom DomainName object.
This is a convenience which creates an instance of the DeleteDomainNameRequest.Builder avoiding the need
to create one manually via DeleteDomainNameRequest.builder()
deleteDomainNameRequest - A Consumer that will call methods on DeleteDomainNameRequest.Builder to create a request.AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 DeleteFunctionResponse deleteFunction(DeleteFunctionRequest deleteFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes a Function.
deleteFunctionRequest - ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 DeleteFunctionResponse deleteFunction(Consumer<DeleteFunctionRequest.Builder> deleteFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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, AccessDeniedException, 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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, AccessDeniedException, 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Deletes a Resolver object.
deleteResolverRequest - ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try 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, BadRequestException, 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 in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 DisassociateApiResponse disassociateApi(DisassociateApiRequest disassociateApiRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Removes an ApiAssociation object from a custom domain.
disassociateApiRequest - AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 DisassociateApiResponse disassociateApi(Consumer<DisassociateApiRequest.Builder> disassociateApiRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Removes an ApiAssociation object from a custom domain.
This is a convenience which creates an instance of the DisassociateApiRequest.Builder avoiding the need
to create one manually via DisassociateApiRequest.builder()
disassociateApiRequest - A Consumer that will call methods on DisassociateApiRequest.Builder to create a request.AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 DisassociateMergedGraphqlApiResponse disassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest disassociateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
disassociateMergedGraphqlApiRequest - UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 DisassociateMergedGraphqlApiResponse disassociateMergedGraphqlApi(Consumer<DisassociateMergedGraphqlApiRequest.Builder> disassociateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
This is a convenience which creates an instance of the DisassociateMergedGraphqlApiRequest.Builder
avoiding the need to create one manually via DisassociateMergedGraphqlApiRequest.builder()
disassociateMergedGraphqlApiRequest - A Consumer that will call methods on DisassociateMergedGraphqlApiRequest.Builder to create
a request.UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 DisassociateSourceGraphqlApiResponse disassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest disassociateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
disassociateSourceGraphqlApiRequest - UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 DisassociateSourceGraphqlApiResponse disassociateSourceGraphqlApi(Consumer<DisassociateSourceGraphqlApiRequest.Builder> disassociateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
This is a convenience which creates an instance of the DisassociateSourceGraphqlApiRequest.Builder
avoiding the need to create one manually via DisassociateSourceGraphqlApiRequest.builder()
disassociateSourceGraphqlApiRequest - A Consumer that will call methods on DisassociateSourceGraphqlApiRequest.Builder to create
a request.UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 EvaluateCodeResponse evaluateCode(EvaluateCodeRequest evaluateCodeRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Evaluates the given code and returns the response. The code definition requirements depend on the specified
runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request
function takes the incoming request after a GraphQL operation is parsed and converts it into a request
configuration for the selected data source operation. The response function interprets responses from the data
source and maps it to the shape of the GraphQL field output type.
evaluateCodeRequest - AccessDeniedException - You don't have access to perform this operation on this resource.InternalFailureException - An internal AppSync error occurred. Try your request again.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try 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 EvaluateCodeResponse evaluateCode(Consumer<EvaluateCodeRequest.Builder> evaluateCodeRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Evaluates the given code and returns the response. The code definition requirements depend on the specified
runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request
function takes the incoming request after a GraphQL operation is parsed and converts it into a request
configuration for the selected data source operation. The response function interprets responses from the data
source and maps it to the shape of the GraphQL field output type.
This is a convenience which creates an instance of the EvaluateCodeRequest.Builder avoiding the need to
create one manually via EvaluateCodeRequest.builder()
evaluateCodeRequest - A Consumer that will call methods on EvaluateCodeRequest.Builder to create a request.AccessDeniedException - You don't have access to perform this operation on this resource.InternalFailureException - An internal AppSync error occurred. Try your request again.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try 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 EvaluateMappingTemplateResponse evaluateMappingTemplate(EvaluateMappingTemplateRequest evaluateMappingTemplateRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Evaluates a given template and returns the response. The mapping template can be a request or response template.
Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.
Mapping templates are written in the Apache Velocity Template Language (VTL).
evaluateMappingTemplateRequest - AccessDeniedException - You don't have access to perform this operation on this resource.InternalFailureException - An internal AppSync error occurred. Try your request again.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try 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 EvaluateMappingTemplateResponse evaluateMappingTemplate(Consumer<EvaluateMappingTemplateRequest.Builder> evaluateMappingTemplateRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Evaluates a given template and returns the response. The mapping template can be a request or response template.
Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.
Mapping templates are written in the Apache Velocity Template Language (VTL).
This is a convenience which creates an instance of the EvaluateMappingTemplateRequest.Builder avoiding
the need to create one manually via EvaluateMappingTemplateRequest.builder()
evaluateMappingTemplateRequest - A Consumer that will call methods on EvaluateMappingTemplateRequest.Builder to create a
request.AccessDeniedException - You don't have access to perform this operation on this resource.InternalFailureException - An internal AppSync error occurred. Try your request again.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try 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 FlushApiCacheResponse flushApiCache(FlushApiCacheRequest flushApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Flushes an ApiCache object.
flushApiCacheRequest - Represents the input of a FlushApiCache operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 FlushApiCacheResponse flushApiCache(Consumer<FlushApiCacheRequest.Builder> flushApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Flushes an ApiCache object.
This is a convenience which creates an instance of the FlushApiCacheRequest.Builder avoiding the need to
create one manually via FlushApiCacheRequest.builder()
flushApiCacheRequest - A Consumer that will call methods on FlushApiCacheRequest.Builder to create a request.
Represents the input of a FlushApiCache operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 GetApiAssociationResponse getApiAssociation(GetApiAssociationRequest getApiAssociationRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Retrieves an ApiAssociation object.
getApiAssociationRequest - AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 GetApiAssociationResponse getApiAssociation(Consumer<GetApiAssociationRequest.Builder> getApiAssociationRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Retrieves an ApiAssociation object.
This is a convenience which creates an instance of the GetApiAssociationRequest.Builder avoiding the need
to create one manually via GetApiAssociationRequest.builder()
getApiAssociationRequest - A Consumer that will call methods on GetApiAssociationRequest.Builder to create a request.AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 GetApiCacheResponse getApiCache(GetApiCacheRequest getApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves an ApiCache object.
getApiCacheRequest - Represents the input of a GetApiCache operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 GetApiCacheResponse getApiCache(Consumer<GetApiCacheRequest.Builder> getApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves an ApiCache object.
This is a convenience which creates an instance of the GetApiCacheRequest.Builder avoiding the need to
create one manually via GetApiCacheRequest.builder()
getApiCacheRequest - A Consumer that will call methods on GetApiCacheRequest.Builder to create a request.
Represents the input of a GetApiCache operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 GetDomainNameResponse getDomainName(GetDomainNameRequest getDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a custom DomainName object.
getDomainNameRequest - AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 GetDomainNameResponse getDomainName(Consumer<GetDomainNameRequest.Builder> getDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a custom DomainName object.
This is a convenience which creates an instance of the GetDomainNameRequest.Builder avoiding the need to
create one manually via GetDomainNameRequest.builder()
getDomainNameRequest - A Consumer that will call methods on GetDomainNameRequest.Builder to create a request.AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 GetFunctionResponse getFunction(GetFunctionRequest getFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException
Get a Function.
getFunctionRequest - ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't 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 GetFunctionResponse getFunction(Consumer<GetFunctionRequest.Builder> getFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException
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.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't 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 GetGraphqlApiResponse getGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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, AccessDeniedException, 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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 then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't 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 in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 GetSourceApiAssociationResponse getSourceApiAssociation(GetSourceApiAssociationRequest getSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a SourceApiAssociation object.
getSourceApiAssociationRequest - UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 GetSourceApiAssociationResponse getSourceApiAssociation(Consumer<GetSourceApiAssociationRequest.Builder> getSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a SourceApiAssociation object.
This is a convenience which creates an instance of the GetSourceApiAssociationRequest.Builder avoiding
the need to create one manually via GetSourceApiAssociationRequest.builder()
getSourceApiAssociationRequest - A Consumer that will call methods on GetSourceApiAssociationRequest.Builder to create a
request.UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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.
API keys are deleted automatically 60 days after they expire. However, they may still be included in the response
until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key
before it's automatically deleted.
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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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.
API keys are deleted automatically 60 days after they expire. However, they may still be included in the response
until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key
before it's automatically deleted.
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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 ListDomainNamesResponse listDomainNames(ListDomainNamesRequest listDomainNamesRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists multiple custom domain names.
listDomainNamesRequest - AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal 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 ListDomainNamesResponse listDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists multiple custom domain names.
This is a convenience which creates an instance of the ListDomainNamesRequest.Builder avoiding the need
to create one manually via ListDomainNamesRequest.builder()
listDomainNamesRequest - A Consumer that will call methods on ListDomainNamesRequest.Builder to create a request.AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal 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 ListFunctionsResponse listFunctions(ListFunctionsRequest listFunctionsRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
List multiple functions.
listFunctionsRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 ListFunctionsResponse listFunctions(Consumer<ListFunctionsRequest.Builder> listFunctionsRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 ListResolversByFunctionResponse listResolversByFunction(ListResolversByFunctionRequest listResolversByFunctionRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
List the resolvers that are associated with a specific function.
listResolversByFunctionRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 ListResolversByFunctionResponse listResolversByFunction(Consumer<ListResolversByFunctionRequest.Builder> listResolversByFunctionRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 ListSourceApiAssociationsResponse listSourceApiAssociations(ListSourceApiAssociationsRequest listSourceApiAssociationsRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Lists the SourceApiAssociationSummary data.
listSourceApiAssociationsRequest - UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 ListSourceApiAssociationsResponse listSourceApiAssociations(Consumer<ListSourceApiAssociationsRequest.Builder> listSourceApiAssociationsRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Lists the SourceApiAssociationSummary data.
This is a convenience which creates an instance of the ListSourceApiAssociationsRequest.Builder avoiding
the need to create one manually via ListSourceApiAssociationsRequest.builder()
listSourceApiAssociationsRequest - A Consumer that will call methods on ListSourceApiAssociationsRequest.Builder to create a
request.UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Lists the tags for a resource.
listTagsForResourceRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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 ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Lists the tags for a resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 ListTypesByAssociationResponse listTypesByAssociation(ListTypesByAssociationRequest listTypesByAssociationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists Type objects by the source API association ID.
listTypesByAssociationRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 ListTypesByAssociationResponse listTypesByAssociation(Consumer<ListTypesByAssociationRequest.Builder> listTypesByAssociationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists Type objects by the source API association ID.
This is a convenience which creates an instance of the ListTypesByAssociationRequest.Builder avoiding the
need to create one manually via ListTypesByAssociationRequest.builder()
listTypesByAssociationRequest - A Consumer that will call methods on ListTypesByAssociationRequest.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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 StartSchemaMergeResponse startSchemaMerge(StartSchemaMergeRequest startSchemaMergeRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Initiates a merge operation. Returns a status that shows the result of the merge operation.
startSchemaMergeRequest - UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 StartSchemaMergeResponse startSchemaMerge(Consumer<StartSchemaMergeRequest.Builder> startSchemaMergeRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Initiates a merge operation. Returns a status that shows the result of the merge operation.
This is a convenience which creates an instance of the StartSchemaMergeRequest.Builder avoiding the need
to create one manually via StartSchemaMergeRequest.builder()
startSchemaMergeRequest - A Consumer that will call methods on StartSchemaMergeRequest.Builder to create a request.UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Tags a resource with user-supplied tags.
tagResourceRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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 TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Tags a resource with user-supplied tags.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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 UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Untags a resource.
untagResourceRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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 UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Untags a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.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 then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException - The request exceeded a limit. Try your request again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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 UpdateApiCacheResponse updateApiCache(UpdateApiCacheRequest updateApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates the cache for the GraphQL API.
updateApiCacheRequest - Represents the input of a UpdateApiCache operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 UpdateApiCacheResponse updateApiCache(Consumer<UpdateApiCacheRequest.Builder> updateApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates the cache for the GraphQL API.
This is a convenience which creates an instance of the UpdateApiCacheRequest.Builder avoiding the need to
create one manually via UpdateApiCacheRequest.builder()
updateApiCacheRequest - A Consumer that will call methods on UpdateApiCacheRequest.Builder to create a request.
Represents the input of a UpdateApiCache operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 UpdateApiKeyResponse updateApiKey(UpdateApiKeyRequest updateApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, LimitExceededException, InternalFailureException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException
Updates an API key. You can update the key as long as it's not deleted.
updateApiKeyRequest - BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.LimitExceededException - The request exceeded a limit. Try your request again.InternalFailureException - An internal AppSync error occurred. Try your request again.ApiKeyValidityOutOfBoundsException - The API key expiration must be set to a value between 1 and 365 days from creation (for
CreateApiKey) or from update (for UpdateApiKey).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 UpdateApiKeyResponse updateApiKey(Consumer<UpdateApiKeyRequest.Builder> updateApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, LimitExceededException, InternalFailureException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException
Updates an API key. You can update the key as long as it's not deleted.
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.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.LimitExceededException - The request exceeded a limit. Try your request again.InternalFailureException - An internal AppSync error occurred. Try your request again.ApiKeyValidityOutOfBoundsException - The API key expiration must be set to a value between 1 and 365 days from creation (for
CreateApiKey) or from update (for UpdateApiKey).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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 UpdateDomainNameResponse updateDomainName(UpdateDomainNameRequest updateDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Updates a custom DomainName object.
updateDomainNameRequest - AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 UpdateDomainNameResponse updateDomainName(Consumer<UpdateDomainNameRequest.Builder> updateDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Updates a custom DomainName object.
This is a convenience which creates an instance of the UpdateDomainNameRequest.Builder avoiding the need
to create one manually via UpdateDomainNameRequest.builder()
updateDomainNameRequest - A Consumer that will call methods on UpdateDomainNameRequest.Builder to create a request.AccessDeniedException - You don't have access to perform this operation on this resource.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try 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 UpdateFunctionResponse updateFunction(UpdateFunctionRequest updateFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates a Function object.
updateFunctionRequest - ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 UpdateFunctionResponse updateFunction(Consumer<UpdateFunctionRequest.Builder> updateFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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, AccessDeniedException, 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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, AccessDeniedException, 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.AccessDeniedException - You don't have access to perform this operation on this resource.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, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Updates a Resolver object.
updateResolverRequest - ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try 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, BadRequestException, 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 in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal AppSync error occurred. Try your request again.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try 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 UpdateSourceApiAssociationResponse updateSourceApiAssociation(UpdateSourceApiAssociationRequest updateSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Updates some of the configuration choices of a particular source API association.
updateSourceApiAssociationRequest - UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 UpdateSourceApiAssociationResponse updateSourceApiAssociation(Consumer<UpdateSourceApiAssociationRequest.Builder> updateSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Updates some of the configuration choices of a particular source API association.
This is a convenience which creates an instance of the UpdateSourceApiAssociationRequest.Builder avoiding
the need to create one manually via UpdateSourceApiAssociationRequest.builder()
updateSourceApiAssociationRequest - A Consumer that will call methods on UpdateSourceApiAssociationRequest.Builder to create a
request.UnauthorizedException - You aren't authorized to perform this operation.BadRequestException - The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.InternalFailureException - An internal AppSync error occurred. Try your request again.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 then try again.ConcurrentModificationException - Another modification is in progress at this time and it must complete before you can make your change.NotFoundException - The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException - You aren't authorized to perform this operation.InternalFailureException - An internal 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 AppSyncClient create()
AppSyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static AppSyncClientBuilder builder()
AppSyncClient.static ServiceMetadata serviceMetadata()
default AppSyncServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.