Interface AppSyncAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture<AssociateApiResponse> associateApi(Consumer<AssociateApiRequest.Builder> associateApiRequest) Maps an endpoint to your custom domain.default CompletableFuture<AssociateApiResponse> associateApi(AssociateApiRequest associateApiRequest) Maps an endpoint to your custom domain.associateMergedGraphqlApi(Consumer<AssociateMergedGraphqlApiRequest.Builder> associateMergedGraphqlApiRequest) Creates an association between a Merged API and source API using the source API's identifier.associateMergedGraphqlApi(AssociateMergedGraphqlApiRequest associateMergedGraphqlApiRequest) Creates an association between a Merged API and source API using the source API's identifier.associateSourceGraphqlApi(Consumer<AssociateSourceGraphqlApiRequest.Builder> associateSourceGraphqlApiRequest) Creates an association between a Merged API and source API using the Merged API's identifier.associateSourceGraphqlApi(AssociateSourceGraphqlApiRequest associateSourceGraphqlApiRequest) Creates an association between a Merged API and source API using the Merged API's identifier.static AppSyncAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aAppSyncAsyncClient.static AppSyncAsyncClientcreate()Create aAppSyncAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateApiCacheResponse> createApiCache(Consumer<CreateApiCacheRequest.Builder> createApiCacheRequest) Creates a cache for the GraphQL API.default CompletableFuture<CreateApiCacheResponse> createApiCache(CreateApiCacheRequest createApiCacheRequest) Creates a cache for the GraphQL API.default CompletableFuture<CreateApiKeyResponse> createApiKey(Consumer<CreateApiKeyRequest.Builder> createApiKeyRequest) Creates a unique key that you can distribute to clients who invoke your API.default CompletableFuture<CreateApiKeyResponse> createApiKey(CreateApiKeyRequest createApiKeyRequest) Creates a unique key that you can distribute to clients who invoke your API.createDataSource(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest) Creates aDataSourceobject.createDataSource(CreateDataSourceRequest createDataSourceRequest) Creates aDataSourceobject.createDomainName(Consumer<CreateDomainNameRequest.Builder> createDomainNameRequest) Creates a customDomainNameobject.createDomainName(CreateDomainNameRequest createDomainNameRequest) Creates a customDomainNameobject.default CompletableFuture<CreateFunctionResponse> createFunction(Consumer<CreateFunctionRequest.Builder> createFunctionRequest) Creates aFunctionobject.default CompletableFuture<CreateFunctionResponse> createFunction(CreateFunctionRequest createFunctionRequest) Creates aFunctionobject.createGraphqlApi(Consumer<CreateGraphqlApiRequest.Builder> createGraphqlApiRequest) Creates aGraphqlApiobject.createGraphqlApi(CreateGraphqlApiRequest createGraphqlApiRequest) Creates aGraphqlApiobject.default CompletableFuture<CreateResolverResponse> createResolver(Consumer<CreateResolverRequest.Builder> createResolverRequest) Creates aResolverobject.default CompletableFuture<CreateResolverResponse> createResolver(CreateResolverRequest createResolverRequest) Creates aResolverobject.default CompletableFuture<CreateTypeResponse> createType(Consumer<CreateTypeRequest.Builder> createTypeRequest) Creates aTypeobject.default CompletableFuture<CreateTypeResponse> createType(CreateTypeRequest createTypeRequest) Creates aTypeobject.default CompletableFuture<DeleteApiCacheResponse> deleteApiCache(Consumer<DeleteApiCacheRequest.Builder> deleteApiCacheRequest) Deletes anApiCacheobject.default CompletableFuture<DeleteApiCacheResponse> deleteApiCache(DeleteApiCacheRequest deleteApiCacheRequest) Deletes anApiCacheobject.default CompletableFuture<DeleteApiKeyResponse> deleteApiKey(Consumer<DeleteApiKeyRequest.Builder> deleteApiKeyRequest) Deletes an API key.default CompletableFuture<DeleteApiKeyResponse> deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest) Deletes an API key.deleteDataSource(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest) Deletes aDataSourceobject.deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest) Deletes aDataSourceobject.deleteDomainName(Consumer<DeleteDomainNameRequest.Builder> deleteDomainNameRequest) Deletes a customDomainNameobject.deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) Deletes a customDomainNameobject.default CompletableFuture<DeleteFunctionResponse> deleteFunction(Consumer<DeleteFunctionRequest.Builder> deleteFunctionRequest) Deletes aFunction.default CompletableFuture<DeleteFunctionResponse> deleteFunction(DeleteFunctionRequest deleteFunctionRequest) Deletes aFunction.deleteGraphqlApi(Consumer<DeleteGraphqlApiRequest.Builder> deleteGraphqlApiRequest) Deletes aGraphqlApiobject.deleteGraphqlApi(DeleteGraphqlApiRequest deleteGraphqlApiRequest) Deletes aGraphqlApiobject.default CompletableFuture<DeleteResolverResponse> deleteResolver(Consumer<DeleteResolverRequest.Builder> deleteResolverRequest) Deletes aResolverobject.default CompletableFuture<DeleteResolverResponse> deleteResolver(DeleteResolverRequest deleteResolverRequest) Deletes aResolverobject.default CompletableFuture<DeleteTypeResponse> deleteType(Consumer<DeleteTypeRequest.Builder> deleteTypeRequest) Deletes aTypeobject.default CompletableFuture<DeleteTypeResponse> deleteType(DeleteTypeRequest deleteTypeRequest) Deletes aTypeobject.default CompletableFuture<DisassociateApiResponse> disassociateApi(Consumer<DisassociateApiRequest.Builder> disassociateApiRequest) Removes anApiAssociationobject from a custom domain.default CompletableFuture<DisassociateApiResponse> disassociateApi(DisassociateApiRequest disassociateApiRequest) Removes anApiAssociationobject from a custom domain.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.disassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest disassociateMergedGraphqlApiRequest) Deletes an association between a Merged API and source API using the source API's identifier and the association ID.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.disassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest disassociateSourceGraphqlApiRequest) Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.default CompletableFuture<EvaluateCodeResponse> evaluateCode(Consumer<EvaluateCodeRequest.Builder> evaluateCodeRequest) Evaluates the given code and returns the response.default CompletableFuture<EvaluateCodeResponse> evaluateCode(EvaluateCodeRequest evaluateCodeRequest) Evaluates the given code and returns the response.evaluateMappingTemplate(Consumer<EvaluateMappingTemplateRequest.Builder> evaluateMappingTemplateRequest) Evaluates a given template and returns the response.evaluateMappingTemplate(EvaluateMappingTemplateRequest evaluateMappingTemplateRequest) Evaluates a given template and returns the response.default CompletableFuture<FlushApiCacheResponse> flushApiCache(Consumer<FlushApiCacheRequest.Builder> flushApiCacheRequest) Flushes anApiCacheobject.default CompletableFuture<FlushApiCacheResponse> flushApiCache(FlushApiCacheRequest flushApiCacheRequest) Flushes anApiCacheobject.getApiAssociation(Consumer<GetApiAssociationRequest.Builder> getApiAssociationRequest) Retrieves anApiAssociationobject.getApiAssociation(GetApiAssociationRequest getApiAssociationRequest) Retrieves anApiAssociationobject.default CompletableFuture<GetApiCacheResponse> getApiCache(Consumer<GetApiCacheRequest.Builder> getApiCacheRequest) Retrieves anApiCacheobject.default CompletableFuture<GetApiCacheResponse> getApiCache(GetApiCacheRequest getApiCacheRequest) Retrieves anApiCacheobject.default CompletableFuture<GetDataSourceResponse> getDataSource(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest) Retrieves aDataSourceobject.default CompletableFuture<GetDataSourceResponse> getDataSource(GetDataSourceRequest getDataSourceRequest) Retrieves aDataSourceobject.getDataSourceIntrospection(Consumer<GetDataSourceIntrospectionRequest.Builder> getDataSourceIntrospectionRequest) Retrieves the record of an existing introspection.getDataSourceIntrospection(GetDataSourceIntrospectionRequest getDataSourceIntrospectionRequest) Retrieves the record of an existing introspection.default CompletableFuture<GetDomainNameResponse> getDomainName(Consumer<GetDomainNameRequest.Builder> getDomainNameRequest) Retrieves a customDomainNameobject.default CompletableFuture<GetDomainNameResponse> getDomainName(GetDomainNameRequest getDomainNameRequest) Retrieves a customDomainNameobject.default CompletableFuture<GetFunctionResponse> getFunction(Consumer<GetFunctionRequest.Builder> getFunctionRequest) Get aFunction.default CompletableFuture<GetFunctionResponse> getFunction(GetFunctionRequest getFunctionRequest) Get aFunction.default CompletableFuture<GetGraphqlApiResponse> getGraphqlApi(Consumer<GetGraphqlApiRequest.Builder> getGraphqlApiRequest) Retrieves aGraphqlApiobject.default CompletableFuture<GetGraphqlApiResponse> getGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest) Retrieves aGraphqlApiobject.getGraphqlApiEnvironmentVariables(Consumer<GetGraphqlApiEnvironmentVariablesRequest.Builder> getGraphqlApiEnvironmentVariablesRequest) Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.getGraphqlApiEnvironmentVariables(GetGraphqlApiEnvironmentVariablesRequest getGraphqlApiEnvironmentVariablesRequest) Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.getIntrospectionSchema(Consumer<GetIntrospectionSchemaRequest.Builder> getIntrospectionSchemaRequest) Retrieves the introspection schema for a GraphQL API.getIntrospectionSchema(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest) Retrieves the introspection schema for a GraphQL API.default CompletableFuture<GetResolverResponse> getResolver(Consumer<GetResolverRequest.Builder> getResolverRequest) Retrieves aResolverobject.default CompletableFuture<GetResolverResponse> getResolver(GetResolverRequest getResolverRequest) Retrieves aResolverobject.getSchemaCreationStatus(Consumer<GetSchemaCreationStatusRequest.Builder> getSchemaCreationStatusRequest) Retrieves the current status of a schema creation operation.getSchemaCreationStatus(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest) Retrieves the current status of a schema creation operation.getSourceApiAssociation(Consumer<GetSourceApiAssociationRequest.Builder> getSourceApiAssociationRequest) Retrieves aSourceApiAssociationobject.getSourceApiAssociation(GetSourceApiAssociationRequest getSourceApiAssociationRequest) Retrieves aSourceApiAssociationobject.default CompletableFuture<GetTypeResponse> getType(Consumer<GetTypeRequest.Builder> getTypeRequest) Retrieves aTypeobject.default CompletableFuture<GetTypeResponse> getType(GetTypeRequest getTypeRequest) Retrieves aTypeobject.default CompletableFuture<ListApiKeysResponse> listApiKeys(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest) Lists the API keys for a given API.default CompletableFuture<ListApiKeysResponse> listApiKeys(ListApiKeysRequest listApiKeysRequest) Lists the API keys for a given API.default ListApiKeysPublisherlistApiKeysPaginator(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest) This is a variant oflistApiKeys(software.amazon.awssdk.services.appsync.model.ListApiKeysRequest)operation.default ListApiKeysPublisherlistApiKeysPaginator(ListApiKeysRequest listApiKeysRequest) This is a variant oflistApiKeys(software.amazon.awssdk.services.appsync.model.ListApiKeysRequest)operation.default CompletableFuture<ListDataSourcesResponse> listDataSources(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) Lists the data sources for a given API.default CompletableFuture<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest listDataSourcesRequest) Lists the data sources for a given API.default ListDataSourcesPublisherlistDataSourcesPaginator(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) This is a variant oflistDataSources(software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest)operation.default ListDataSourcesPublisherlistDataSourcesPaginator(ListDataSourcesRequest listDataSourcesRequest) This is a variant oflistDataSources(software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest)operation.default CompletableFuture<ListDomainNamesResponse> listDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest) Lists multiple custom domain names.default CompletableFuture<ListDomainNamesResponse> listDomainNames(ListDomainNamesRequest listDomainNamesRequest) Lists multiple custom domain names.default ListDomainNamesPublisherlistDomainNamesPaginator(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest) This is a variant oflistDomainNames(software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest)operation.default ListDomainNamesPublisherlistDomainNamesPaginator(ListDomainNamesRequest listDomainNamesRequest) This is a variant oflistDomainNames(software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest)operation.default CompletableFuture<ListFunctionsResponse> listFunctions(Consumer<ListFunctionsRequest.Builder> listFunctionsRequest) List multiple functions.default CompletableFuture<ListFunctionsResponse> listFunctions(ListFunctionsRequest listFunctionsRequest) List multiple functions.default ListFunctionsPublisherlistFunctionsPaginator(Consumer<ListFunctionsRequest.Builder> listFunctionsRequest) This is a variant oflistFunctions(software.amazon.awssdk.services.appsync.model.ListFunctionsRequest)operation.default ListFunctionsPublisherlistFunctionsPaginator(ListFunctionsRequest listFunctionsRequest) This is a variant oflistFunctions(software.amazon.awssdk.services.appsync.model.ListFunctionsRequest)operation.default CompletableFuture<ListGraphqlApisResponse> Lists your GraphQL APIs.default CompletableFuture<ListGraphqlApisResponse> listGraphqlApis(Consumer<ListGraphqlApisRequest.Builder> listGraphqlApisRequest) Lists your GraphQL APIs.default CompletableFuture<ListGraphqlApisResponse> listGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest) Lists your GraphQL APIs.default ListGraphqlApisPublisherThis is a variant oflistGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)operation.default ListGraphqlApisPublisherlistGraphqlApisPaginator(Consumer<ListGraphqlApisRequest.Builder> listGraphqlApisRequest) This is a variant oflistGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)operation.default ListGraphqlApisPublisherlistGraphqlApisPaginator(ListGraphqlApisRequest listGraphqlApisRequest) This is a variant oflistGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)operation.default CompletableFuture<ListResolversResponse> listResolvers(Consumer<ListResolversRequest.Builder> listResolversRequest) Lists the resolvers for a given API and type.default CompletableFuture<ListResolversResponse> listResolvers(ListResolversRequest listResolversRequest) Lists the resolvers for a given API and type.listResolversByFunction(Consumer<ListResolversByFunctionRequest.Builder> listResolversByFunctionRequest) List the resolvers that are associated with a specific function.listResolversByFunction(ListResolversByFunctionRequest listResolversByFunctionRequest) List the resolvers that are associated with a specific function.default ListResolversByFunctionPublisherlistResolversByFunctionPaginator(Consumer<ListResolversByFunctionRequest.Builder> listResolversByFunctionRequest) This is a variant oflistResolversByFunction(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest)operation.default ListResolversByFunctionPublisherlistResolversByFunctionPaginator(ListResolversByFunctionRequest listResolversByFunctionRequest) This is a variant oflistResolversByFunction(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest)operation.default ListResolversPublisherlistResolversPaginator(Consumer<ListResolversRequest.Builder> listResolversRequest) This is a variant oflistResolvers(software.amazon.awssdk.services.appsync.model.ListResolversRequest)operation.default ListResolversPublisherlistResolversPaginator(ListResolversRequest listResolversRequest) This is a variant oflistResolvers(software.amazon.awssdk.services.appsync.model.ListResolversRequest)operation.listSourceApiAssociations(Consumer<ListSourceApiAssociationsRequest.Builder> listSourceApiAssociationsRequest) Lists theSourceApiAssociationSummarydata.listSourceApiAssociations(ListSourceApiAssociationsRequest listSourceApiAssociationsRequest) Lists theSourceApiAssociationSummarydata.listSourceApiAssociationsPaginator(Consumer<ListSourceApiAssociationsRequest.Builder> listSourceApiAssociationsRequest) This is a variant oflistSourceApiAssociations(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest)operation.listSourceApiAssociationsPaginator(ListSourceApiAssociationsRequest listSourceApiAssociationsRequest) This is a variant oflistSourceApiAssociations(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a resource.default CompletableFuture<ListTypesResponse> listTypes(Consumer<ListTypesRequest.Builder> listTypesRequest) Lists the types for a given API.default CompletableFuture<ListTypesResponse> listTypes(ListTypesRequest listTypesRequest) Lists the types for a given API.listTypesByAssociation(Consumer<ListTypesByAssociationRequest.Builder> listTypesByAssociationRequest) ListsTypeobjects by the source API association ID.listTypesByAssociation(ListTypesByAssociationRequest listTypesByAssociationRequest) ListsTypeobjects by the source API association ID.default ListTypesByAssociationPublisherlistTypesByAssociationPaginator(Consumer<ListTypesByAssociationRequest.Builder> listTypesByAssociationRequest) This is a variant oflistTypesByAssociation(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest)operation.default ListTypesByAssociationPublisherlistTypesByAssociationPaginator(ListTypesByAssociationRequest listTypesByAssociationRequest) This is a variant oflistTypesByAssociation(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest)operation.default ListTypesPublisherlistTypesPaginator(Consumer<ListTypesRequest.Builder> listTypesRequest) This is a variant oflistTypes(software.amazon.awssdk.services.appsync.model.ListTypesRequest)operation.default ListTypesPublisherlistTypesPaginator(ListTypesRequest listTypesRequest) This is a variant oflistTypes(software.amazon.awssdk.services.appsync.model.ListTypesRequest)operation.putGraphqlApiEnvironmentVariables(Consumer<PutGraphqlApiEnvironmentVariablesRequest.Builder> putGraphqlApiEnvironmentVariablesRequest) Creates a list of environmental variables in an API by its ID value.putGraphqlApiEnvironmentVariables(PutGraphqlApiEnvironmentVariablesRequest putGraphqlApiEnvironmentVariablesRequest) Creates a list of environmental variables in an API by its ID value.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartDataSourceIntrospection(Consumer<StartDataSourceIntrospectionRequest.Builder> startDataSourceIntrospectionRequest) Creates a new introspection.startDataSourceIntrospection(StartDataSourceIntrospectionRequest startDataSourceIntrospectionRequest) Creates a new introspection.startSchemaCreation(Consumer<StartSchemaCreationRequest.Builder> startSchemaCreationRequest) Adds a new schema to your GraphQL API.startSchemaCreation(StartSchemaCreationRequest startSchemaCreationRequest) Adds a new schema to your GraphQL API.startSchemaMerge(Consumer<StartSchemaMergeRequest.Builder> startSchemaMergeRequest) Initiates a merge operation.startSchemaMerge(StartSchemaMergeRequest startSchemaMergeRequest) Initiates a merge operation.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a resource with user-supplied tags.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Tags a resource with user-supplied tags.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Untags a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Untags a resource.default CompletableFuture<UpdateApiCacheResponse> updateApiCache(Consumer<UpdateApiCacheRequest.Builder> updateApiCacheRequest) Updates the cache for the GraphQL API.default CompletableFuture<UpdateApiCacheResponse> updateApiCache(UpdateApiCacheRequest updateApiCacheRequest) Updates the cache for the GraphQL API.default CompletableFuture<UpdateApiKeyResponse> updateApiKey(Consumer<UpdateApiKeyRequest.Builder> updateApiKeyRequest) Updates an API key.default CompletableFuture<UpdateApiKeyResponse> updateApiKey(UpdateApiKeyRequest updateApiKeyRequest) Updates an API key.updateDataSource(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest) Updates aDataSourceobject.updateDataSource(UpdateDataSourceRequest updateDataSourceRequest) Updates aDataSourceobject.updateDomainName(Consumer<UpdateDomainNameRequest.Builder> updateDomainNameRequest) Updates a customDomainNameobject.updateDomainName(UpdateDomainNameRequest updateDomainNameRequest) Updates a customDomainNameobject.default CompletableFuture<UpdateFunctionResponse> updateFunction(Consumer<UpdateFunctionRequest.Builder> updateFunctionRequest) Updates aFunctionobject.default CompletableFuture<UpdateFunctionResponse> updateFunction(UpdateFunctionRequest updateFunctionRequest) Updates aFunctionobject.updateGraphqlApi(Consumer<UpdateGraphqlApiRequest.Builder> updateGraphqlApiRequest) Updates aGraphqlApiobject.updateGraphqlApi(UpdateGraphqlApiRequest updateGraphqlApiRequest) Updates aGraphqlApiobject.default CompletableFuture<UpdateResolverResponse> updateResolver(Consumer<UpdateResolverRequest.Builder> updateResolverRequest) Updates aResolverobject.default CompletableFuture<UpdateResolverResponse> updateResolver(UpdateResolverRequest updateResolverRequest) Updates aResolverobject.updateSourceApiAssociation(Consumer<UpdateSourceApiAssociationRequest.Builder> updateSourceApiAssociationRequest) Updates some of the configuration choices of a particular source API association.updateSourceApiAssociation(UpdateSourceApiAssociationRequest updateSourceApiAssociationRequest) Updates some of the configuration choices of a particular source API association.default CompletableFuture<UpdateTypeResponse> updateType(Consumer<UpdateTypeRequest.Builder> updateTypeRequest) Updates aTypeobject.default CompletableFuture<UpdateTypeResponse> updateType(UpdateTypeRequest updateTypeRequest) Updates aTypeobject.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateApi
default CompletableFuture<AssociateApiResponse> associateApi(AssociateApiRequest associateApiRequest) Maps an endpoint to your custom domain.
- Parameters:
associateApiRequest-- Returns:
- A Java Future containing the result of the AssociateApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
associateApi
default CompletableFuture<AssociateApiResponse> associateApi(Consumer<AssociateApiRequest.Builder> associateApiRequest) Maps an endpoint to your custom domain.
This is a convenience which creates an instance of the
AssociateApiRequest.Builderavoiding the need to create one manually viaAssociateApiRequest.builder()- Parameters:
associateApiRequest- AConsumerthat will call methods onAssociateApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
associateMergedGraphqlApi
default CompletableFuture<AssociateMergedGraphqlApiResponse> associateMergedGraphqlApi(AssociateMergedGraphqlApiRequest associateMergedGraphqlApiRequest) Creates an association between a Merged API and source API using the source API's identifier.
- Parameters:
associateMergedGraphqlApiRequest-- Returns:
- A Java Future containing the result of the AssociateMergedGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
associateMergedGraphqlApi
default CompletableFuture<AssociateMergedGraphqlApiResponse> associateMergedGraphqlApi(Consumer<AssociateMergedGraphqlApiRequest.Builder> associateMergedGraphqlApiRequest) 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.Builderavoiding the need to create one manually viaAssociateMergedGraphqlApiRequest.builder()- Parameters:
associateMergedGraphqlApiRequest- AConsumerthat will call methods onAssociateMergedGraphqlApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateMergedGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
associateSourceGraphqlApi
default CompletableFuture<AssociateSourceGraphqlApiResponse> associateSourceGraphqlApi(AssociateSourceGraphqlApiRequest associateSourceGraphqlApiRequest) Creates an association between a Merged API and source API using the Merged API's identifier.
- Parameters:
associateSourceGraphqlApiRequest-- Returns:
- A Java Future containing the result of the AssociateSourceGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
associateSourceGraphqlApi
default CompletableFuture<AssociateSourceGraphqlApiResponse> associateSourceGraphqlApi(Consumer<AssociateSourceGraphqlApiRequest.Builder> associateSourceGraphqlApiRequest) 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.Builderavoiding the need to create one manually viaAssociateSourceGraphqlApiRequest.builder()- Parameters:
associateSourceGraphqlApiRequest- AConsumerthat will call methods onAssociateSourceGraphqlApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateSourceGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createApiCache
default CompletableFuture<CreateApiCacheResponse> createApiCache(CreateApiCacheRequest createApiCacheRequest) Creates a cache for the GraphQL API.
- Parameters:
createApiCacheRequest- Represents the input of aCreateApiCacheoperation.- Returns:
- A Java Future containing the result of the CreateApiCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createApiCache
default CompletableFuture<CreateApiCacheResponse> createApiCache(Consumer<CreateApiCacheRequest.Builder> createApiCacheRequest) Creates a cache for the GraphQL API.
This is a convenience which creates an instance of the
CreateApiCacheRequest.Builderavoiding the need to create one manually viaCreateApiCacheRequest.builder()- Parameters:
createApiCacheRequest- AConsumerthat will call methods onCreateApiCacheRequest.Builderto create a request. Represents the input of aCreateApiCacheoperation.- Returns:
- A Java Future containing the result of the CreateApiCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createApiKey
default CompletableFuture<CreateApiKeyResponse> createApiKey(CreateApiKeyRequest createApiKeyRequest) Creates a unique key that you can distribute to clients who invoke your API.
- Parameters:
createApiKeyRequest-- Returns:
- A Java Future containing the result of the CreateApiKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 (forUpdateApiKey). - 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.
- See Also:
-
createApiKey
default CompletableFuture<CreateApiKeyResponse> createApiKey(Consumer<CreateApiKeyRequest.Builder> createApiKeyRequest) 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.Builderavoiding the need to create one manually viaCreateApiKeyRequest.builder()- Parameters:
createApiKeyRequest- AConsumerthat will call methods onCreateApiKeyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateApiKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 (forUpdateApiKey). - 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.
- See Also:
-
createDataSource
default CompletableFuture<CreateDataSourceResponse> createDataSource(CreateDataSourceRequest createDataSourceRequest) Creates a
DataSourceobject.- Parameters:
createDataSourceRequest-- Returns:
- A Java Future containing the result of the CreateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createDataSource
default CompletableFuture<CreateDataSourceResponse> createDataSource(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest) Creates a
DataSourceobject.
This is a convenience which creates an instance of the
CreateDataSourceRequest.Builderavoiding the need to create one manually viaCreateDataSourceRequest.builder()- Parameters:
createDataSourceRequest- AConsumerthat will call methods onCreateDataSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createDomainName
default CompletableFuture<CreateDomainNameResponse> createDomainName(CreateDomainNameRequest createDomainNameRequest) Creates a custom
DomainNameobject.- Parameters:
createDomainNameRequest-- Returns:
- A Java Future containing the result of the CreateDomainName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createDomainName
default CompletableFuture<CreateDomainNameResponse> createDomainName(Consumer<CreateDomainNameRequest.Builder> createDomainNameRequest) Creates a custom
DomainNameobject.
This is a convenience which creates an instance of the
CreateDomainNameRequest.Builderavoiding the need to create one manually viaCreateDomainNameRequest.builder()- Parameters:
createDomainNameRequest- AConsumerthat will call methods onCreateDomainNameRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateDomainName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createFunction
default CompletableFuture<CreateFunctionResponse> createFunction(CreateFunctionRequest createFunctionRequest) Creates a
Functionobject.A function is a reusable entity. You can use multiple functions to compose the resolver logic.
- Parameters:
createFunctionRequest-- Returns:
- A Java Future containing the result of the CreateFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createFunction
default CompletableFuture<CreateFunctionResponse> createFunction(Consumer<CreateFunctionRequest.Builder> createFunctionRequest) Creates a
Functionobject.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.Builderavoiding the need to create one manually viaCreateFunctionRequest.builder()- Parameters:
createFunctionRequest- AConsumerthat will call methods onCreateFunctionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createGraphqlApi
default CompletableFuture<CreateGraphqlApiResponse> createGraphqlApi(CreateGraphqlApiRequest createGraphqlApiRequest) Creates a
GraphqlApiobject.- Parameters:
createGraphqlApiRequest-- Returns:
- A Java Future containing the result of the CreateGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createGraphqlApi
default CompletableFuture<CreateGraphqlApiResponse> createGraphqlApi(Consumer<CreateGraphqlApiRequest.Builder> createGraphqlApiRequest) Creates a
GraphqlApiobject.
This is a convenience which creates an instance of the
CreateGraphqlApiRequest.Builderavoiding the need to create one manually viaCreateGraphqlApiRequest.builder()- Parameters:
createGraphqlApiRequest- AConsumerthat will call methods onCreateGraphqlApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createResolver
default CompletableFuture<CreateResolverResponse> createResolver(CreateResolverRequest createResolverRequest) Creates a
Resolverobject.A resolver converts incoming requests into a format that a data source can understand, and converts the data source's responses into GraphQL.
- Parameters:
createResolverRequest-- Returns:
- A Java Future containing the result of the CreateResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createResolver
default CompletableFuture<CreateResolverResponse> createResolver(Consumer<CreateResolverRequest.Builder> createResolverRequest) Creates a
Resolverobject.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.Builderavoiding the need to create one manually viaCreateResolverRequest.builder()- Parameters:
createResolverRequest- AConsumerthat will call methods onCreateResolverRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createType
Creates a
Typeobject.- Parameters:
createTypeRequest-- Returns:
- A Java Future containing the result of the CreateType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
createType
default CompletableFuture<CreateTypeResponse> createType(Consumer<CreateTypeRequest.Builder> createTypeRequest) Creates a
Typeobject.
This is a convenience which creates an instance of the
CreateTypeRequest.Builderavoiding the need to create one manually viaCreateTypeRequest.builder()- Parameters:
createTypeRequest- AConsumerthat will call methods onCreateTypeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteApiCache
default CompletableFuture<DeleteApiCacheResponse> deleteApiCache(DeleteApiCacheRequest deleteApiCacheRequest) Deletes an
ApiCacheobject.- Parameters:
deleteApiCacheRequest- Represents the input of aDeleteApiCacheoperation.- Returns:
- A Java Future containing the result of the DeleteApiCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteApiCache
default CompletableFuture<DeleteApiCacheResponse> deleteApiCache(Consumer<DeleteApiCacheRequest.Builder> deleteApiCacheRequest) Deletes an
ApiCacheobject.
This is a convenience which creates an instance of the
DeleteApiCacheRequest.Builderavoiding the need to create one manually viaDeleteApiCacheRequest.builder()- Parameters:
deleteApiCacheRequest- AConsumerthat will call methods onDeleteApiCacheRequest.Builderto create a request. Represents the input of aDeleteApiCacheoperation.- Returns:
- A Java Future containing the result of the DeleteApiCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteApiKey
default CompletableFuture<DeleteApiKeyResponse> deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest) Deletes an API key.
- Parameters:
deleteApiKeyRequest-- Returns:
- A Java Future containing the result of the DeleteApiKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteApiKey
default CompletableFuture<DeleteApiKeyResponse> deleteApiKey(Consumer<DeleteApiKeyRequest.Builder> deleteApiKeyRequest) Deletes an API key.
This is a convenience which creates an instance of the
DeleteApiKeyRequest.Builderavoiding the need to create one manually viaDeleteApiKeyRequest.builder()- Parameters:
deleteApiKeyRequest- AConsumerthat will call methods onDeleteApiKeyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteApiKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteDataSource
default CompletableFuture<DeleteDataSourceResponse> deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest) Deletes a
DataSourceobject.- Parameters:
deleteDataSourceRequest-- Returns:
- A Java Future containing the result of the DeleteDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteDataSource
default CompletableFuture<DeleteDataSourceResponse> deleteDataSource(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest) Deletes a
DataSourceobject.
This is a convenience which creates an instance of the
DeleteDataSourceRequest.Builderavoiding the need to create one manually viaDeleteDataSourceRequest.builder()- Parameters:
deleteDataSourceRequest- AConsumerthat will call methods onDeleteDataSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteDomainName
default CompletableFuture<DeleteDomainNameResponse> deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) Deletes a custom
DomainNameobject.- Parameters:
deleteDomainNameRequest-- Returns:
- A Java Future containing the result of the DeleteDomainName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteDomainName
default CompletableFuture<DeleteDomainNameResponse> deleteDomainName(Consumer<DeleteDomainNameRequest.Builder> deleteDomainNameRequest) Deletes a custom
DomainNameobject.
This is a convenience which creates an instance of the
DeleteDomainNameRequest.Builderavoiding the need to create one manually viaDeleteDomainNameRequest.builder()- Parameters:
deleteDomainNameRequest- AConsumerthat will call methods onDeleteDomainNameRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDomainName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteFunction
default CompletableFuture<DeleteFunctionResponse> deleteFunction(DeleteFunctionRequest deleteFunctionRequest) Deletes a
Function.- Parameters:
deleteFunctionRequest-- Returns:
- A Java Future containing the result of the DeleteFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteFunction
default CompletableFuture<DeleteFunctionResponse> deleteFunction(Consumer<DeleteFunctionRequest.Builder> deleteFunctionRequest) Deletes a
Function.
This is a convenience which creates an instance of the
DeleteFunctionRequest.Builderavoiding the need to create one manually viaDeleteFunctionRequest.builder()- Parameters:
deleteFunctionRequest- AConsumerthat will call methods onDeleteFunctionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteGraphqlApi
default CompletableFuture<DeleteGraphqlApiResponse> deleteGraphqlApi(DeleteGraphqlApiRequest deleteGraphqlApiRequest) Deletes a
GraphqlApiobject.- Parameters:
deleteGraphqlApiRequest-- Returns:
- A Java Future containing the result of the DeleteGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteGraphqlApi
default CompletableFuture<DeleteGraphqlApiResponse> deleteGraphqlApi(Consumer<DeleteGraphqlApiRequest.Builder> deleteGraphqlApiRequest) Deletes a
GraphqlApiobject.
This is a convenience which creates an instance of the
DeleteGraphqlApiRequest.Builderavoiding the need to create one manually viaDeleteGraphqlApiRequest.builder()- Parameters:
deleteGraphqlApiRequest- AConsumerthat will call methods onDeleteGraphqlApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteResolver
default CompletableFuture<DeleteResolverResponse> deleteResolver(DeleteResolverRequest deleteResolverRequest) Deletes a
Resolverobject.- Parameters:
deleteResolverRequest-- Returns:
- A Java Future containing the result of the DeleteResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteResolver
default CompletableFuture<DeleteResolverResponse> deleteResolver(Consumer<DeleteResolverRequest.Builder> deleteResolverRequest) Deletes a
Resolverobject.
This is a convenience which creates an instance of the
DeleteResolverRequest.Builderavoiding the need to create one manually viaDeleteResolverRequest.builder()- Parameters:
deleteResolverRequest- AConsumerthat will call methods onDeleteResolverRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteType
Deletes a
Typeobject.- Parameters:
deleteTypeRequest-- Returns:
- A Java Future containing the result of the DeleteType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
deleteType
default CompletableFuture<DeleteTypeResponse> deleteType(Consumer<DeleteTypeRequest.Builder> deleteTypeRequest) Deletes a
Typeobject.
This is a convenience which creates an instance of the
DeleteTypeRequest.Builderavoiding the need to create one manually viaDeleteTypeRequest.builder()- Parameters:
deleteTypeRequest- AConsumerthat will call methods onDeleteTypeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
disassociateApi
default CompletableFuture<DisassociateApiResponse> disassociateApi(DisassociateApiRequest disassociateApiRequest) Removes an
ApiAssociationobject from a custom domain.- Parameters:
disassociateApiRequest-- Returns:
- A Java Future containing the result of the DisassociateApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
disassociateApi
default CompletableFuture<DisassociateApiResponse> disassociateApi(Consumer<DisassociateApiRequest.Builder> disassociateApiRequest) Removes an
ApiAssociationobject from a custom domain.
This is a convenience which creates an instance of the
DisassociateApiRequest.Builderavoiding the need to create one manually viaDisassociateApiRequest.builder()- Parameters:
disassociateApiRequest- AConsumerthat will call methods onDisassociateApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
disassociateMergedGraphqlApi
default CompletableFuture<DisassociateMergedGraphqlApiResponse> disassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest disassociateMergedGraphqlApiRequest) Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
- Parameters:
disassociateMergedGraphqlApiRequest-- Returns:
- A Java Future containing the result of the DisassociateMergedGraphqlApi operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
disassociateMergedGraphqlApi
default CompletableFuture<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.
This is a convenience which creates an instance of the
DisassociateMergedGraphqlApiRequest.Builderavoiding the need to create one manually viaDisassociateMergedGraphqlApiRequest.builder()- Parameters:
disassociateMergedGraphqlApiRequest- AConsumerthat will call methods onDisassociateMergedGraphqlApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateMergedGraphqlApi operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
disassociateSourceGraphqlApi
default CompletableFuture<DisassociateSourceGraphqlApiResponse> disassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest disassociateSourceGraphqlApiRequest) Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
- Parameters:
disassociateSourceGraphqlApiRequest-- Returns:
- A Java Future containing the result of the DisassociateSourceGraphqlApi operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
disassociateSourceGraphqlApi
default CompletableFuture<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.
This is a convenience which creates an instance of the
DisassociateSourceGraphqlApiRequest.Builderavoiding the need to create one manually viaDisassociateSourceGraphqlApiRequest.builder()- Parameters:
disassociateSourceGraphqlApiRequest- AConsumerthat will call methods onDisassociateSourceGraphqlApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateSourceGraphqlApi operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
evaluateCode
default CompletableFuture<EvaluateCodeResponse> evaluateCode(EvaluateCodeRequest evaluateCodeRequest) Evaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For
APPSYNC_JSruntimes, 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.- Parameters:
evaluateCodeRequest-- Returns:
- A Java Future containing the result of the EvaluateCode operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
evaluateCode
default CompletableFuture<EvaluateCodeResponse> evaluateCode(Consumer<EvaluateCodeRequest.Builder> evaluateCodeRequest) Evaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For
APPSYNC_JSruntimes, 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.Builderavoiding the need to create one manually viaEvaluateCodeRequest.builder()- Parameters:
evaluateCodeRequest- AConsumerthat will call methods onEvaluateCodeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the EvaluateCode operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
evaluateMappingTemplate
default CompletableFuture<EvaluateMappingTemplateResponse> evaluateMappingTemplate(EvaluateMappingTemplateRequest evaluateMappingTemplateRequest) 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).
- Parameters:
evaluateMappingTemplateRequest-- Returns:
- A Java Future containing the result of the EvaluateMappingTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
evaluateMappingTemplate
default CompletableFuture<EvaluateMappingTemplateResponse> evaluateMappingTemplate(Consumer<EvaluateMappingTemplateRequest.Builder> evaluateMappingTemplateRequest) 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.Builderavoiding the need to create one manually viaEvaluateMappingTemplateRequest.builder()- Parameters:
evaluateMappingTemplateRequest- AConsumerthat will call methods onEvaluateMappingTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the EvaluateMappingTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
flushApiCache
default CompletableFuture<FlushApiCacheResponse> flushApiCache(FlushApiCacheRequest flushApiCacheRequest) Flushes an
ApiCacheobject.- Parameters:
flushApiCacheRequest- Represents the input of aFlushApiCacheoperation.- Returns:
- A Java Future containing the result of the FlushApiCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
flushApiCache
default CompletableFuture<FlushApiCacheResponse> flushApiCache(Consumer<FlushApiCacheRequest.Builder> flushApiCacheRequest) Flushes an
ApiCacheobject.
This is a convenience which creates an instance of the
FlushApiCacheRequest.Builderavoiding the need to create one manually viaFlushApiCacheRequest.builder()- Parameters:
flushApiCacheRequest- AConsumerthat will call methods onFlushApiCacheRequest.Builderto create a request. Represents the input of aFlushApiCacheoperation.- Returns:
- A Java Future containing the result of the FlushApiCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getApiAssociation
default CompletableFuture<GetApiAssociationResponse> getApiAssociation(GetApiAssociationRequest getApiAssociationRequest) Retrieves an
ApiAssociationobject.- Parameters:
getApiAssociationRequest-- Returns:
- A Java Future containing the result of the GetApiAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getApiAssociation
default CompletableFuture<GetApiAssociationResponse> getApiAssociation(Consumer<GetApiAssociationRequest.Builder> getApiAssociationRequest) Retrieves an
ApiAssociationobject.
This is a convenience which creates an instance of the
GetApiAssociationRequest.Builderavoiding the need to create one manually viaGetApiAssociationRequest.builder()- Parameters:
getApiAssociationRequest- AConsumerthat will call methods onGetApiAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetApiAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getApiCache
Retrieves an
ApiCacheobject.- Parameters:
getApiCacheRequest- Represents the input of aGetApiCacheoperation.- Returns:
- A Java Future containing the result of the GetApiCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getApiCache
default CompletableFuture<GetApiCacheResponse> getApiCache(Consumer<GetApiCacheRequest.Builder> getApiCacheRequest) Retrieves an
ApiCacheobject.
This is a convenience which creates an instance of the
GetApiCacheRequest.Builderavoiding the need to create one manually viaGetApiCacheRequest.builder()- Parameters:
getApiCacheRequest- AConsumerthat will call methods onGetApiCacheRequest.Builderto create a request. Represents the input of aGetApiCacheoperation.- Returns:
- A Java Future containing the result of the GetApiCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getDataSource
default CompletableFuture<GetDataSourceResponse> getDataSource(GetDataSourceRequest getDataSourceRequest) Retrieves a
DataSourceobject.- Parameters:
getDataSourceRequest-- Returns:
- A Java Future containing the result of the GetDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getDataSource
default CompletableFuture<GetDataSourceResponse> getDataSource(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest) Retrieves a
DataSourceobject.
This is a convenience which creates an instance of the
GetDataSourceRequest.Builderavoiding the need to create one manually viaGetDataSourceRequest.builder()- Parameters:
getDataSourceRequest- AConsumerthat will call methods onGetDataSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getDataSourceIntrospection
default CompletableFuture<GetDataSourceIntrospectionResponse> getDataSourceIntrospection(GetDataSourceIntrospectionRequest getDataSourceIntrospectionRequest) Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
- Parameters:
getDataSourceIntrospectionRequest-- Returns:
- A Java Future containing the result of the GetDataSourceIntrospection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- 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.
- See Also:
-
getDataSourceIntrospection
default CompletableFuture<GetDataSourceIntrospectionResponse> getDataSourceIntrospection(Consumer<GetDataSourceIntrospectionRequest.Builder> getDataSourceIntrospectionRequest) Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
This is a convenience which creates an instance of the
GetDataSourceIntrospectionRequest.Builderavoiding the need to create one manually viaGetDataSourceIntrospectionRequest.builder()- Parameters:
getDataSourceIntrospectionRequest- AConsumerthat will call methods onGetDataSourceIntrospectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDataSourceIntrospection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- 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.
- See Also:
-
getDomainName
default CompletableFuture<GetDomainNameResponse> getDomainName(GetDomainNameRequest getDomainNameRequest) Retrieves a custom
DomainNameobject.- Parameters:
getDomainNameRequest-- Returns:
- A Java Future containing the result of the GetDomainName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getDomainName
default CompletableFuture<GetDomainNameResponse> getDomainName(Consumer<GetDomainNameRequest.Builder> getDomainNameRequest) Retrieves a custom
DomainNameobject.
This is a convenience which creates an instance of the
GetDomainNameRequest.Builderavoiding the need to create one manually viaGetDomainNameRequest.builder()- Parameters:
getDomainNameRequest- AConsumerthat will call methods onGetDomainNameRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDomainName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getFunction
Get a
Function.- Parameters:
getFunctionRequest-- Returns:
- A Java Future containing the result of the GetFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getFunction
default CompletableFuture<GetFunctionResponse> getFunction(Consumer<GetFunctionRequest.Builder> getFunctionRequest) Get a
Function.
This is a convenience which creates an instance of the
GetFunctionRequest.Builderavoiding the need to create one manually viaGetFunctionRequest.builder()- Parameters:
getFunctionRequest- AConsumerthat will call methods onGetFunctionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getGraphqlApi
default CompletableFuture<GetGraphqlApiResponse> getGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest) Retrieves a
GraphqlApiobject.- Parameters:
getGraphqlApiRequest-- Returns:
- A Java Future containing the result of the GetGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getGraphqlApi
default CompletableFuture<GetGraphqlApiResponse> getGraphqlApi(Consumer<GetGraphqlApiRequest.Builder> getGraphqlApiRequest) Retrieves a
GraphqlApiobject.
This is a convenience which creates an instance of the
GetGraphqlApiRequest.Builderavoiding the need to create one manually viaGetGraphqlApiRequest.builder()- Parameters:
getGraphqlApiRequest- AConsumerthat will call methods onGetGraphqlApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getGraphqlApiEnvironmentVariables
default CompletableFuture<GetGraphqlApiEnvironmentVariablesResponse> getGraphqlApiEnvironmentVariables(GetGraphqlApiEnvironmentVariablesRequest getGraphqlApiEnvironmentVariablesRequest) Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.
- Parameters:
getGraphqlApiEnvironmentVariablesRequest-- Returns:
- A Java Future containing the result of the GetGraphqlApiEnvironmentVariables operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getGraphqlApiEnvironmentVariables
default CompletableFuture<GetGraphqlApiEnvironmentVariablesResponse> getGraphqlApiEnvironmentVariables(Consumer<GetGraphqlApiEnvironmentVariablesRequest.Builder> getGraphqlApiEnvironmentVariablesRequest) Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.
This is a convenience which creates an instance of the
GetGraphqlApiEnvironmentVariablesRequest.Builderavoiding the need to create one manually viaGetGraphqlApiEnvironmentVariablesRequest.builder()- Parameters:
getGraphqlApiEnvironmentVariablesRequest- AConsumerthat will call methods onGetGraphqlApiEnvironmentVariablesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetGraphqlApiEnvironmentVariables operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getIntrospectionSchema
default CompletableFuture<GetIntrospectionSchemaResponse> getIntrospectionSchema(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest) Retrieves the introspection schema for a GraphQL API.
- Parameters:
getIntrospectionSchemaRequest-- Returns:
- A Java Future containing the result of the GetIntrospectionSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getIntrospectionSchema
default CompletableFuture<GetIntrospectionSchemaResponse> getIntrospectionSchema(Consumer<GetIntrospectionSchemaRequest.Builder> getIntrospectionSchemaRequest) Retrieves the introspection schema for a GraphQL API.
This is a convenience which creates an instance of the
GetIntrospectionSchemaRequest.Builderavoiding the need to create one manually viaGetIntrospectionSchemaRequest.builder()- Parameters:
getIntrospectionSchemaRequest- AConsumerthat will call methods onGetIntrospectionSchemaRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetIntrospectionSchema operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getResolver
Retrieves a
Resolverobject.- Parameters:
getResolverRequest-- Returns:
- A Java Future containing the result of the GetResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getResolver
default CompletableFuture<GetResolverResponse> getResolver(Consumer<GetResolverRequest.Builder> getResolverRequest) Retrieves a
Resolverobject.
This is a convenience which creates an instance of the
GetResolverRequest.Builderavoiding the need to create one manually viaGetResolverRequest.builder()- Parameters:
getResolverRequest- AConsumerthat will call methods onGetResolverRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getSchemaCreationStatus
default CompletableFuture<GetSchemaCreationStatusResponse> getSchemaCreationStatus(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest) Retrieves the current status of a schema creation operation.
- Parameters:
getSchemaCreationStatusRequest-- Returns:
- A Java Future containing the result of the GetSchemaCreationStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getSchemaCreationStatus
default CompletableFuture<GetSchemaCreationStatusResponse> getSchemaCreationStatus(Consumer<GetSchemaCreationStatusRequest.Builder> getSchemaCreationStatusRequest) Retrieves the current status of a schema creation operation.
This is a convenience which creates an instance of the
GetSchemaCreationStatusRequest.Builderavoiding the need to create one manually viaGetSchemaCreationStatusRequest.builder()- Parameters:
getSchemaCreationStatusRequest- AConsumerthat will call methods onGetSchemaCreationStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSchemaCreationStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getSourceApiAssociation
default CompletableFuture<GetSourceApiAssociationResponse> getSourceApiAssociation(GetSourceApiAssociationRequest getSourceApiAssociationRequest) Retrieves a
SourceApiAssociationobject.- Parameters:
getSourceApiAssociationRequest-- Returns:
- A Java Future containing the result of the GetSourceApiAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getSourceApiAssociation
default CompletableFuture<GetSourceApiAssociationResponse> getSourceApiAssociation(Consumer<GetSourceApiAssociationRequest.Builder> getSourceApiAssociationRequest) Retrieves a
SourceApiAssociationobject.
This is a convenience which creates an instance of the
GetSourceApiAssociationRequest.Builderavoiding the need to create one manually viaGetSourceApiAssociationRequest.builder()- Parameters:
getSourceApiAssociationRequest- AConsumerthat will call methods onGetSourceApiAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSourceApiAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getType
Retrieves a
Typeobject.- Parameters:
getTypeRequest-- Returns:
- A Java Future containing the result of the GetType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
getType
Retrieves a
Typeobject.
This is a convenience which creates an instance of the
GetTypeRequest.Builderavoiding the need to create one manually viaGetTypeRequest.builder()- Parameters:
getTypeRequest- AConsumerthat will call methods onGetTypeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listApiKeys
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
DeleteApiKeyto manually delete a key before it's automatically deleted.- Parameters:
listApiKeysRequest-- Returns:
- A Java Future containing the result of the ListApiKeys operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listApiKeys
default CompletableFuture<ListApiKeysResponse> listApiKeys(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest) 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
DeleteApiKeyto manually delete a key before it's automatically deleted.
This is a convenience which creates an instance of the
ListApiKeysRequest.Builderavoiding the need to create one manually viaListApiKeysRequest.builder()- Parameters:
listApiKeysRequest- AConsumerthat will call methods onListApiKeysRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListApiKeys operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listApiKeysPaginator
This is a variant of
listApiKeys(software.amazon.awssdk.services.appsync.model.ListApiKeysRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListApiKeysPublisher publisher = client.listApiKeysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListApiKeysPublisher publisher = client.listApiKeysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListApiKeysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListApiKeysResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApiKeys(software.amazon.awssdk.services.appsync.model.ListApiKeysRequest)operation.- Parameters:
listApiKeysRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listApiKeysPaginator
default ListApiKeysPublisher listApiKeysPaginator(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest) This is a variant of
listApiKeys(software.amazon.awssdk.services.appsync.model.ListApiKeysRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListApiKeysPublisher publisher = client.listApiKeysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListApiKeysPublisher publisher = client.listApiKeysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListApiKeysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListApiKeysResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApiKeys(software.amazon.awssdk.services.appsync.model.ListApiKeysRequest)operation.
This is a convenience which creates an instance of the
ListApiKeysRequest.Builderavoiding the need to create one manually viaListApiKeysRequest.builder()- Parameters:
listApiKeysRequest- AConsumerthat will call methods onListApiKeysRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listDataSources
default CompletableFuture<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest listDataSourcesRequest) Lists the data sources for a given API.
- Parameters:
listDataSourcesRequest-- Returns:
- A Java Future containing the result of the ListDataSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listDataSources
default CompletableFuture<ListDataSourcesResponse> listDataSources(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) Lists the data sources for a given API.
This is a convenience which creates an instance of the
ListDataSourcesRequest.Builderavoiding the need to create one manually viaListDataSourcesRequest.builder()- Parameters:
listDataSourcesRequest- AConsumerthat will call methods onListDataSourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDataSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listDataSourcesPaginator
default ListDataSourcesPublisher listDataSourcesPaginator(ListDataSourcesRequest listDataSourcesRequest) This is a variant of
listDataSources(software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListDataSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListDataSourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataSources(software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest)operation.- Parameters:
listDataSourcesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listDataSourcesPaginator
default ListDataSourcesPublisher listDataSourcesPaginator(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) This is a variant of
listDataSources(software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListDataSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListDataSourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataSources(software.amazon.awssdk.services.appsync.model.ListDataSourcesRequest)operation.
This is a convenience which creates an instance of the
ListDataSourcesRequest.Builderavoiding the need to create one manually viaListDataSourcesRequest.builder()- Parameters:
listDataSourcesRequest- AConsumerthat will call methods onListDataSourcesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listDomainNames
default CompletableFuture<ListDomainNamesResponse> listDomainNames(ListDomainNamesRequest listDomainNamesRequest) Lists multiple custom domain names.
- Parameters:
listDomainNamesRequest-- Returns:
- A Java Future containing the result of the ListDomainNames operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listDomainNames
default CompletableFuture<ListDomainNamesResponse> listDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest) Lists multiple custom domain names.
This is a convenience which creates an instance of the
ListDomainNamesRequest.Builderavoiding the need to create one manually viaListDomainNamesRequest.builder()- Parameters:
listDomainNamesRequest- AConsumerthat will call methods onListDomainNamesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDomainNames operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listDomainNamesPaginator
default ListDomainNamesPublisher listDomainNamesPaginator(ListDomainNamesRequest listDomainNamesRequest) This is a variant of
listDomainNames(software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListDomainNamesPublisher publisher = client.listDomainNamesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListDomainNamesPublisher publisher = client.listDomainNamesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListDomainNamesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListDomainNamesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainNames(software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest)operation.- Parameters:
listDomainNamesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listDomainNamesPaginator
default ListDomainNamesPublisher listDomainNamesPaginator(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest) This is a variant of
listDomainNames(software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListDomainNamesPublisher publisher = client.listDomainNamesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListDomainNamesPublisher publisher = client.listDomainNamesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListDomainNamesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListDomainNamesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainNames(software.amazon.awssdk.services.appsync.model.ListDomainNamesRequest)operation.
This is a convenience which creates an instance of the
ListDomainNamesRequest.Builderavoiding the need to create one manually viaListDomainNamesRequest.builder()- Parameters:
listDomainNamesRequest- AConsumerthat will call methods onListDomainNamesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listFunctions
default CompletableFuture<ListFunctionsResponse> listFunctions(ListFunctionsRequest listFunctionsRequest) List multiple functions.
- Parameters:
listFunctionsRequest-- Returns:
- A Java Future containing the result of the ListFunctions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listFunctions
default CompletableFuture<ListFunctionsResponse> listFunctions(Consumer<ListFunctionsRequest.Builder> listFunctionsRequest) List multiple functions.
This is a convenience which creates an instance of the
ListFunctionsRequest.Builderavoiding the need to create one manually viaListFunctionsRequest.builder()- Parameters:
listFunctionsRequest- AConsumerthat will call methods onListFunctionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFunctions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listFunctionsPaginator
This is a variant of
listFunctions(software.amazon.awssdk.services.appsync.model.ListFunctionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListFunctionsPublisher publisher = client.listFunctionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListFunctionsPublisher publisher = client.listFunctionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListFunctionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListFunctionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFunctions(software.amazon.awssdk.services.appsync.model.ListFunctionsRequest)operation.- Parameters:
listFunctionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listFunctionsPaginator
default ListFunctionsPublisher listFunctionsPaginator(Consumer<ListFunctionsRequest.Builder> listFunctionsRequest) This is a variant of
listFunctions(software.amazon.awssdk.services.appsync.model.ListFunctionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListFunctionsPublisher publisher = client.listFunctionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListFunctionsPublisher publisher = client.listFunctionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListFunctionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListFunctionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFunctions(software.amazon.awssdk.services.appsync.model.ListFunctionsRequest)operation.
This is a convenience which creates an instance of the
ListFunctionsRequest.Builderavoiding the need to create one manually viaListFunctionsRequest.builder()- Parameters:
listFunctionsRequest- AConsumerthat will call methods onListFunctionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listGraphqlApis
default CompletableFuture<ListGraphqlApisResponse> listGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest) Lists your GraphQL APIs.
- Parameters:
listGraphqlApisRequest-- Returns:
- A Java Future containing the result of the ListGraphqlApis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listGraphqlApis
default CompletableFuture<ListGraphqlApisResponse> listGraphqlApis(Consumer<ListGraphqlApisRequest.Builder> listGraphqlApisRequest) Lists your GraphQL APIs.
This is a convenience which creates an instance of the
ListGraphqlApisRequest.Builderavoiding the need to create one manually viaListGraphqlApisRequest.builder()- Parameters:
listGraphqlApisRequest- AConsumerthat will call methods onListGraphqlApisRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListGraphqlApis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listGraphqlApis
Lists your GraphQL APIs.
- Returns:
- A Java Future containing the result of the ListGraphqlApis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listGraphqlApisPaginator
This is a variant of
listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListGraphqlApisPublisher publisher = client.listGraphqlApisPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisPublisher publisher = client.listGraphqlApisPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListGraphqlApisResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListGraphqlApisResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listGraphqlApisPaginator
default ListGraphqlApisPublisher listGraphqlApisPaginator(ListGraphqlApisRequest listGraphqlApisRequest) This is a variant of
listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListGraphqlApisPublisher publisher = client.listGraphqlApisPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisPublisher publisher = client.listGraphqlApisPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListGraphqlApisResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListGraphqlApisResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)operation.- Parameters:
listGraphqlApisRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listGraphqlApisPaginator
default ListGraphqlApisPublisher listGraphqlApisPaginator(Consumer<ListGraphqlApisRequest.Builder> listGraphqlApisRequest) This is a variant of
listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListGraphqlApisPublisher publisher = client.listGraphqlApisPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListGraphqlApisPublisher publisher = client.listGraphqlApisPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListGraphqlApisResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListGraphqlApisResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGraphqlApis(software.amazon.awssdk.services.appsync.model.ListGraphqlApisRequest)operation.
This is a convenience which creates an instance of the
ListGraphqlApisRequest.Builderavoiding the need to create one manually viaListGraphqlApisRequest.builder()- Parameters:
listGraphqlApisRequest- AConsumerthat will call methods onListGraphqlApisRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listResolvers
default CompletableFuture<ListResolversResponse> listResolvers(ListResolversRequest listResolversRequest) Lists the resolvers for a given API and type.
- Parameters:
listResolversRequest-- Returns:
- A Java Future containing the result of the ListResolvers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listResolvers
default CompletableFuture<ListResolversResponse> listResolvers(Consumer<ListResolversRequest.Builder> listResolversRequest) Lists the resolvers for a given API and type.
This is a convenience which creates an instance of the
ListResolversRequest.Builderavoiding the need to create one manually viaListResolversRequest.builder()- Parameters:
listResolversRequest- AConsumerthat will call methods onListResolversRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResolvers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listResolversByFunction
default CompletableFuture<ListResolversByFunctionResponse> listResolversByFunction(ListResolversByFunctionRequest listResolversByFunctionRequest) List the resolvers that are associated with a specific function.
- Parameters:
listResolversByFunctionRequest-- Returns:
- A Java Future containing the result of the ListResolversByFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listResolversByFunction
default CompletableFuture<ListResolversByFunctionResponse> listResolversByFunction(Consumer<ListResolversByFunctionRequest.Builder> listResolversByFunctionRequest) List the resolvers that are associated with a specific function.
This is a convenience which creates an instance of the
ListResolversByFunctionRequest.Builderavoiding the need to create one manually viaListResolversByFunctionRequest.builder()- Parameters:
listResolversByFunctionRequest- AConsumerthat will call methods onListResolversByFunctionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResolversByFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listResolversByFunctionPaginator
default ListResolversByFunctionPublisher listResolversByFunctionPaginator(ListResolversByFunctionRequest listResolversByFunctionRequest) This is a variant of
listResolversByFunction(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionPublisher publisher = client.listResolversByFunctionPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionPublisher publisher = client.listResolversByFunctionPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListResolversByFunctionResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResolversByFunction(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest)operation.- Parameters:
listResolversByFunctionRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listResolversByFunctionPaginator
default ListResolversByFunctionPublisher listResolversByFunctionPaginator(Consumer<ListResolversByFunctionRequest.Builder> listResolversByFunctionRequest) This is a variant of
listResolversByFunction(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionPublisher publisher = client.listResolversByFunctionPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListResolversByFunctionPublisher publisher = client.listResolversByFunctionPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListResolversByFunctionResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResolversByFunction(software.amazon.awssdk.services.appsync.model.ListResolversByFunctionRequest)operation.
This is a convenience which creates an instance of the
ListResolversByFunctionRequest.Builderavoiding the need to create one manually viaListResolversByFunctionRequest.builder()- Parameters:
listResolversByFunctionRequest- AConsumerthat will call methods onListResolversByFunctionRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listResolversPaginator
This is a variant of
listResolvers(software.amazon.awssdk.services.appsync.model.ListResolversRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListResolversPublisher publisher = client.listResolversPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListResolversPublisher publisher = client.listResolversPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListResolversResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListResolversResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResolvers(software.amazon.awssdk.services.appsync.model.ListResolversRequest)operation.- Parameters:
listResolversRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listResolversPaginator
default ListResolversPublisher listResolversPaginator(Consumer<ListResolversRequest.Builder> listResolversRequest) This is a variant of
listResolvers(software.amazon.awssdk.services.appsync.model.ListResolversRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListResolversPublisher publisher = client.listResolversPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListResolversPublisher publisher = client.listResolversPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListResolversResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListResolversResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResolvers(software.amazon.awssdk.services.appsync.model.ListResolversRequest)operation.
This is a convenience which creates an instance of the
ListResolversRequest.Builderavoiding the need to create one manually viaListResolversRequest.builder()- Parameters:
listResolversRequest- AConsumerthat will call methods onListResolversRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listSourceApiAssociations
default CompletableFuture<ListSourceApiAssociationsResponse> listSourceApiAssociations(ListSourceApiAssociationsRequest listSourceApiAssociationsRequest) Lists the
SourceApiAssociationSummarydata.- Parameters:
listSourceApiAssociationsRequest-- Returns:
- A Java Future containing the result of the ListSourceApiAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listSourceApiAssociations
default CompletableFuture<ListSourceApiAssociationsResponse> listSourceApiAssociations(Consumer<ListSourceApiAssociationsRequest.Builder> listSourceApiAssociationsRequest) Lists the
SourceApiAssociationSummarydata.
This is a convenience which creates an instance of the
ListSourceApiAssociationsRequest.Builderavoiding the need to create one manually viaListSourceApiAssociationsRequest.builder()- Parameters:
listSourceApiAssociationsRequest- AConsumerthat will call methods onListSourceApiAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSourceApiAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listSourceApiAssociationsPaginator
default ListSourceApiAssociationsPublisher listSourceApiAssociationsPaginator(ListSourceApiAssociationsRequest listSourceApiAssociationsRequest) This is a variant of
listSourceApiAssociations(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsPublisher publisher = client.listSourceApiAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsPublisher publisher = client.listSourceApiAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSourceApiAssociations(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest)operation.- Parameters:
listSourceApiAssociationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listSourceApiAssociationsPaginator
default ListSourceApiAssociationsPublisher listSourceApiAssociationsPaginator(Consumer<ListSourceApiAssociationsRequest.Builder> listSourceApiAssociationsRequest) This is a variant of
listSourceApiAssociations(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsPublisher publisher = client.listSourceApiAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListSourceApiAssociationsPublisher publisher = client.listSourceApiAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSourceApiAssociations(software.amazon.awssdk.services.appsync.model.ListSourceApiAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListSourceApiAssociationsRequest.Builderavoiding the need to create one manually viaListSourceApiAssociationsRequest.builder()- Parameters:
listSourceApiAssociationsRequest- AConsumerthat will call methods onListSourceApiAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listTypes
Lists the types for a given API.
- Parameters:
listTypesRequest-- Returns:
- A Java Future containing the result of the ListTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listTypes
default CompletableFuture<ListTypesResponse> listTypes(Consumer<ListTypesRequest.Builder> listTypesRequest) Lists the types for a given API.
This is a convenience which creates an instance of the
ListTypesRequest.Builderavoiding the need to create one manually viaListTypesRequest.builder()- Parameters:
listTypesRequest- AConsumerthat will call methods onListTypesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listTypesByAssociation
default CompletableFuture<ListTypesByAssociationResponse> listTypesByAssociation(ListTypesByAssociationRequest listTypesByAssociationRequest) Lists
Typeobjects by the source API association ID.- Parameters:
listTypesByAssociationRequest-- Returns:
- A Java Future containing the result of the ListTypesByAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listTypesByAssociation
default CompletableFuture<ListTypesByAssociationResponse> listTypesByAssociation(Consumer<ListTypesByAssociationRequest.Builder> listTypesByAssociationRequest) Lists
Typeobjects by the source API association ID.
This is a convenience which creates an instance of the
ListTypesByAssociationRequest.Builderavoiding the need to create one manually viaListTypesByAssociationRequest.builder()- Parameters:
listTypesByAssociationRequest- AConsumerthat will call methods onListTypesByAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTypesByAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listTypesByAssociationPaginator
default ListTypesByAssociationPublisher listTypesByAssociationPaginator(ListTypesByAssociationRequest listTypesByAssociationRequest) This is a variant of
listTypesByAssociation(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationPublisher publisher = client.listTypesByAssociationPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationPublisher publisher = client.listTypesByAssociationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListTypesByAssociationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTypesByAssociation(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest)operation.- Parameters:
listTypesByAssociationRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listTypesByAssociationPaginator
default ListTypesByAssociationPublisher listTypesByAssociationPaginator(Consumer<ListTypesByAssociationRequest.Builder> listTypesByAssociationRequest) This is a variant of
listTypesByAssociation(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationPublisher publisher = client.listTypesByAssociationPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListTypesByAssociationPublisher publisher = client.listTypesByAssociationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListTypesByAssociationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTypesByAssociation(software.amazon.awssdk.services.appsync.model.ListTypesByAssociationRequest)operation.
This is a convenience which creates an instance of the
ListTypesByAssociationRequest.Builderavoiding the need to create one manually viaListTypesByAssociationRequest.builder()- Parameters:
listTypesByAssociationRequest- AConsumerthat will call methods onListTypesByAssociationRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listTypesPaginator
This is a variant of
listTypes(software.amazon.awssdk.services.appsync.model.ListTypesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListTypesPublisher publisher = client.listTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListTypesPublisher publisher = client.listTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListTypesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTypes(software.amazon.awssdk.services.appsync.model.ListTypesRequest)operation.- Parameters:
listTypesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
listTypesPaginator
This is a variant of
listTypes(software.amazon.awssdk.services.appsync.model.ListTypesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.appsync.paginators.ListTypesPublisher publisher = client.listTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.appsync.paginators.ListTypesPublisher publisher = client.listTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.appsync.model.ListTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.appsync.model.ListTypesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTypes(software.amazon.awssdk.services.appsync.model.ListTypesRequest)operation.
This is a convenience which creates an instance of the
ListTypesRequest.Builderavoiding the need to create one manually viaListTypesRequest.builder()- Parameters:
listTypesRequest- AConsumerthat will call methods onListTypesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
putGraphqlApiEnvironmentVariables
default CompletableFuture<PutGraphqlApiEnvironmentVariablesResponse> putGraphqlApiEnvironmentVariables(PutGraphqlApiEnvironmentVariablesRequest putGraphqlApiEnvironmentVariablesRequest) Creates a list of environmental variables in an API by its ID value.
When creating an environmental variable, it must follow the constraints below:
-
Both JavaScript and VTL templates support environmental variables.
-
Environmental variables are not evaluated before function invocation.
-
Environmental variables only support string values.
-
Any defined value in an environmental variable is considered a string literal and not expanded.
-
Variable evaluations should ideally be performed in the function code.
When creating an environmental variable key-value pair, it must follow the additional constraints below:
-
Keys must begin with a letter.
-
Keys must be at least two characters long.
-
Keys can only contain letters, numbers, and the underscore character (_).
-
Values can be up to 512 characters long.
-
You can configure up to 50 key-value pairs in a GraphQL API.
You can create a list of environmental variables by adding it to the
environmentVariablespayload as a list in the format{"key1":"value1","key2":"value2", …}. Note that each call of thePutGraphqlApiEnvironmentVariablesaction will result in the overwriting of the existing environmental variable list of that API. This means the existing environmental variables will be lost. To avoid this, you must include all existing and new environmental variables in the list each time you call this action.- Parameters:
putGraphqlApiEnvironmentVariablesRequest-- Returns:
- A Java Future containing the result of the PutGraphqlApiEnvironmentVariables operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
-
putGraphqlApiEnvironmentVariables
default CompletableFuture<PutGraphqlApiEnvironmentVariablesResponse> putGraphqlApiEnvironmentVariables(Consumer<PutGraphqlApiEnvironmentVariablesRequest.Builder> putGraphqlApiEnvironmentVariablesRequest) Creates a list of environmental variables in an API by its ID value.
When creating an environmental variable, it must follow the constraints below:
-
Both JavaScript and VTL templates support environmental variables.
-
Environmental variables are not evaluated before function invocation.
-
Environmental variables only support string values.
-
Any defined value in an environmental variable is considered a string literal and not expanded.
-
Variable evaluations should ideally be performed in the function code.
When creating an environmental variable key-value pair, it must follow the additional constraints below:
-
Keys must begin with a letter.
-
Keys must be at least two characters long.
-
Keys can only contain letters, numbers, and the underscore character (_).
-
Values can be up to 512 characters long.
-
You can configure up to 50 key-value pairs in a GraphQL API.
You can create a list of environmental variables by adding it to the
environmentVariablespayload as a list in the format{"key1":"value1","key2":"value2", …}. Note that each call of thePutGraphqlApiEnvironmentVariablesaction will result in the overwriting of the existing environmental variable list of that API. This means the existing environmental variables will be lost. To avoid this, you must include all existing and new environmental variables in the list each time you call this action.
This is a convenience which creates an instance of the
PutGraphqlApiEnvironmentVariablesRequest.Builderavoiding the need to create one manually viaPutGraphqlApiEnvironmentVariablesRequest.builder()- Parameters:
putGraphqlApiEnvironmentVariablesRequest- AConsumerthat will call methods onPutGraphqlApiEnvironmentVariablesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutGraphqlApiEnvironmentVariables operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
-
startDataSourceIntrospection
default CompletableFuture<StartDataSourceIntrospectionResponse> startDataSourceIntrospection(StartDataSourceIntrospectionRequest startDataSourceIntrospectionRequest) Creates a new introspection. Returns the
introspectionIdof the new introspection after its creation.- Parameters:
startDataSourceIntrospectionRequest-- Returns:
- A Java Future containing the result of the StartDataSourceIntrospection operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
startDataSourceIntrospection
default CompletableFuture<StartDataSourceIntrospectionResponse> startDataSourceIntrospection(Consumer<StartDataSourceIntrospectionRequest.Builder> startDataSourceIntrospectionRequest) Creates a new introspection. Returns the
introspectionIdof the new introspection after its creation.
This is a convenience which creates an instance of the
StartDataSourceIntrospectionRequest.Builderavoiding the need to create one manually viaStartDataSourceIntrospectionRequest.builder()- Parameters:
startDataSourceIntrospectionRequest- AConsumerthat will call methods onStartDataSourceIntrospectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartDataSourceIntrospection operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
startSchemaCreation
default CompletableFuture<StartSchemaCreationResponse> startSchemaCreation(StartSchemaCreationRequest startSchemaCreationRequest) Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
- Parameters:
startSchemaCreationRequest-- Returns:
- A Java Future containing the result of the StartSchemaCreation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
startSchemaCreation
default CompletableFuture<StartSchemaCreationResponse> startSchemaCreation(Consumer<StartSchemaCreationRequest.Builder> startSchemaCreationRequest) Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
This is a convenience which creates an instance of the
StartSchemaCreationRequest.Builderavoiding the need to create one manually viaStartSchemaCreationRequest.builder()- Parameters:
startSchemaCreationRequest- AConsumerthat will call methods onStartSchemaCreationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartSchemaCreation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
startSchemaMerge
default CompletableFuture<StartSchemaMergeResponse> startSchemaMerge(StartSchemaMergeRequest startSchemaMergeRequest) Initiates a merge operation. Returns a status that shows the result of the merge operation.
- Parameters:
startSchemaMergeRequest-- Returns:
- A Java Future containing the result of the StartSchemaMerge operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
startSchemaMerge
default CompletableFuture<StartSchemaMergeResponse> startSchemaMerge(Consumer<StartSchemaMergeRequest.Builder> startSchemaMergeRequest) 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.Builderavoiding the need to create one manually viaStartSchemaMergeRequest.builder()- Parameters:
startSchemaMergeRequest- AConsumerthat will call methods onStartSchemaMergeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartSchemaMerge operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
tagResource
Tags a resource with user-supplied tags.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a resource with user-supplied tags.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Untags a resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Untags a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateApiCache
default CompletableFuture<UpdateApiCacheResponse> updateApiCache(UpdateApiCacheRequest updateApiCacheRequest) Updates the cache for the GraphQL API.
- Parameters:
updateApiCacheRequest- Represents the input of aUpdateApiCacheoperation.- Returns:
- A Java Future containing the result of the UpdateApiCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateApiCache
default CompletableFuture<UpdateApiCacheResponse> updateApiCache(Consumer<UpdateApiCacheRequest.Builder> updateApiCacheRequest) Updates the cache for the GraphQL API.
This is a convenience which creates an instance of the
UpdateApiCacheRequest.Builderavoiding the need to create one manually viaUpdateApiCacheRequest.builder()- Parameters:
updateApiCacheRequest- AConsumerthat will call methods onUpdateApiCacheRequest.Builderto create a request. Represents the input of aUpdateApiCacheoperation.- Returns:
- A Java Future containing the result of the UpdateApiCache operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateApiKey
default CompletableFuture<UpdateApiKeyResponse> updateApiKey(UpdateApiKeyRequest updateApiKeyRequest) Updates an API key. You can update the key as long as it's not deleted.
- Parameters:
updateApiKeyRequest-- Returns:
- A Java Future containing the result of the UpdateApiKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 (forUpdateApiKey). - 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.
- See Also:
-
updateApiKey
default CompletableFuture<UpdateApiKeyResponse> updateApiKey(Consumer<UpdateApiKeyRequest.Builder> updateApiKeyRequest) 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.Builderavoiding the need to create one manually viaUpdateApiKeyRequest.builder()- Parameters:
updateApiKeyRequest- AConsumerthat will call methods onUpdateApiKeyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateApiKey operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 (forUpdateApiKey). - 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.
- See Also:
-
updateDataSource
default CompletableFuture<UpdateDataSourceResponse> updateDataSource(UpdateDataSourceRequest updateDataSourceRequest) Updates a
DataSourceobject.- Parameters:
updateDataSourceRequest-- Returns:
- A Java Future containing the result of the UpdateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateDataSource
default CompletableFuture<UpdateDataSourceResponse> updateDataSource(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest) Updates a
DataSourceobject.
This is a convenience which creates an instance of the
UpdateDataSourceRequest.Builderavoiding the need to create one manually viaUpdateDataSourceRequest.builder()- Parameters:
updateDataSourceRequest- AConsumerthat will call methods onUpdateDataSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateDomainName
default CompletableFuture<UpdateDomainNameResponse> updateDomainName(UpdateDomainNameRequest updateDomainNameRequest) Updates a custom
DomainNameobject.- Parameters:
updateDomainNameRequest-- Returns:
- A Java Future containing the result of the UpdateDomainName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateDomainName
default CompletableFuture<UpdateDomainNameResponse> updateDomainName(Consumer<UpdateDomainNameRequest.Builder> updateDomainNameRequest) Updates a custom
DomainNameobject.
This is a convenience which creates an instance of the
UpdateDomainNameRequest.Builderavoiding the need to create one manually viaUpdateDomainNameRequest.builder()- Parameters:
updateDomainNameRequest- AConsumerthat will call methods onUpdateDomainNameRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDomainName operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateFunction
default CompletableFuture<UpdateFunctionResponse> updateFunction(UpdateFunctionRequest updateFunctionRequest) Updates a
Functionobject.- Parameters:
updateFunctionRequest-- Returns:
- A Java Future containing the result of the UpdateFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateFunction
default CompletableFuture<UpdateFunctionResponse> updateFunction(Consumer<UpdateFunctionRequest.Builder> updateFunctionRequest) Updates a
Functionobject.
This is a convenience which creates an instance of the
UpdateFunctionRequest.Builderavoiding the need to create one manually viaUpdateFunctionRequest.builder()- Parameters:
updateFunctionRequest- AConsumerthat will call methods onUpdateFunctionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateGraphqlApi
default CompletableFuture<UpdateGraphqlApiResponse> updateGraphqlApi(UpdateGraphqlApiRequest updateGraphqlApiRequest) Updates a
GraphqlApiobject.- Parameters:
updateGraphqlApiRequest-- Returns:
- A Java Future containing the result of the UpdateGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateGraphqlApi
default CompletableFuture<UpdateGraphqlApiResponse> updateGraphqlApi(Consumer<UpdateGraphqlApiRequest.Builder> updateGraphqlApiRequest) Updates a
GraphqlApiobject.
This is a convenience which creates an instance of the
UpdateGraphqlApiRequest.Builderavoiding the need to create one manually viaUpdateGraphqlApiRequest.builder()- Parameters:
updateGraphqlApiRequest- AConsumerthat will call methods onUpdateGraphqlApiRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateGraphqlApi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateResolver
default CompletableFuture<UpdateResolverResponse> updateResolver(UpdateResolverRequest updateResolverRequest) Updates a
Resolverobject.- Parameters:
updateResolverRequest-- Returns:
- A Java Future containing the result of the UpdateResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateResolver
default CompletableFuture<UpdateResolverResponse> updateResolver(Consumer<UpdateResolverRequest.Builder> updateResolverRequest) Updates a
Resolverobject.
This is a convenience which creates an instance of the
UpdateResolverRequest.Builderavoiding the need to create one manually viaUpdateResolverRequest.builder()- Parameters:
updateResolverRequest- AConsumerthat will call methods onUpdateResolverRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateResolver operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateSourceApiAssociation
default CompletableFuture<UpdateSourceApiAssociationResponse> updateSourceApiAssociation(UpdateSourceApiAssociationRequest updateSourceApiAssociationRequest) Updates some of the configuration choices of a particular source API association.
- Parameters:
updateSourceApiAssociationRequest-- Returns:
- A Java Future containing the result of the UpdateSourceApiAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateSourceApiAssociation
default CompletableFuture<UpdateSourceApiAssociationResponse> updateSourceApiAssociation(Consumer<UpdateSourceApiAssociationRequest.Builder> updateSourceApiAssociationRequest) Updates some of the configuration choices of a particular source API association.
This is a convenience which creates an instance of the
UpdateSourceApiAssociationRequest.Builderavoiding the need to create one manually viaUpdateSourceApiAssociationRequest.builder()- Parameters:
updateSourceApiAssociationRequest- AConsumerthat will call methods onUpdateSourceApiAssociationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateSourceApiAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateType
Updates a
Typeobject.- Parameters:
updateTypeRequest-- Returns:
- A Java Future containing the result of the UpdateType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
updateType
default CompletableFuture<UpdateTypeResponse> updateType(Consumer<UpdateTypeRequest.Builder> updateTypeRequest) Updates a
Typeobject.
This is a convenience which creates an instance of the
UpdateTypeRequest.Builderavoiding the need to create one manually viaUpdateTypeRequest.builder()- Parameters:
updateTypeRequest- AConsumerthat will call methods onUpdateTypeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aAppSyncAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aAppSyncAsyncClient.
-