Interface AppSyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface AppSyncClient extends AwsClient
Service client for accessing AWSAppSync. This can be created using the staticbuilder()method.AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default AssociateApiResponseassociateApi(Consumer<AssociateApiRequest.Builder> associateApiRequest)Maps an endpoint to your custom domain.default AssociateApiResponseassociateApi(AssociateApiRequest associateApiRequest)Maps an endpoint to your custom domain.default AssociateMergedGraphqlApiResponseassociateMergedGraphqlApi(Consumer<AssociateMergedGraphqlApiRequest.Builder> associateMergedGraphqlApiRequest)Creates an association between a Merged API and source API using the source API's identifier.default AssociateMergedGraphqlApiResponseassociateMergedGraphqlApi(AssociateMergedGraphqlApiRequest associateMergedGraphqlApiRequest)Creates an association between a Merged API and source API using the source API's identifier.default AssociateSourceGraphqlApiResponseassociateSourceGraphqlApi(Consumer<AssociateSourceGraphqlApiRequest.Builder> associateSourceGraphqlApiRequest)Creates an association between a Merged API and source API using the Merged API's identifier.default AssociateSourceGraphqlApiResponseassociateSourceGraphqlApi(AssociateSourceGraphqlApiRequest associateSourceGraphqlApiRequest)Creates an association between a Merged API and source API using the Merged API's identifier.static AppSyncClientBuilderbuilder()Create a builder that can be used to configure and create aAppSyncClient.static AppSyncClientcreate()Create aAppSyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateApiCacheResponsecreateApiCache(Consumer<CreateApiCacheRequest.Builder> createApiCacheRequest)Creates a cache for the GraphQL API.default CreateApiCacheResponsecreateApiCache(CreateApiCacheRequest createApiCacheRequest)Creates a cache for the GraphQL API.default CreateApiKeyResponsecreateApiKey(Consumer<CreateApiKeyRequest.Builder> createApiKeyRequest)Creates a unique key that you can distribute to clients who invoke your API.default CreateApiKeyResponsecreateApiKey(CreateApiKeyRequest createApiKeyRequest)Creates a unique key that you can distribute to clients who invoke your API.default CreateDataSourceResponsecreateDataSource(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest)Creates aDataSourceobject.default CreateDataSourceResponsecreateDataSource(CreateDataSourceRequest createDataSourceRequest)Creates aDataSourceobject.default CreateDomainNameResponsecreateDomainName(Consumer<CreateDomainNameRequest.Builder> createDomainNameRequest)Creates a customDomainNameobject.default CreateDomainNameResponsecreateDomainName(CreateDomainNameRequest createDomainNameRequest)Creates a customDomainNameobject.default CreateFunctionResponsecreateFunction(Consumer<CreateFunctionRequest.Builder> createFunctionRequest)Creates aFunctionobject.default CreateFunctionResponsecreateFunction(CreateFunctionRequest createFunctionRequest)Creates aFunctionobject.default CreateGraphqlApiResponsecreateGraphqlApi(Consumer<CreateGraphqlApiRequest.Builder> createGraphqlApiRequest)Creates aGraphqlApiobject.default CreateGraphqlApiResponsecreateGraphqlApi(CreateGraphqlApiRequest createGraphqlApiRequest)Creates aGraphqlApiobject.default CreateResolverResponsecreateResolver(Consumer<CreateResolverRequest.Builder> createResolverRequest)Creates aResolverobject.default CreateResolverResponsecreateResolver(CreateResolverRequest createResolverRequest)Creates aResolverobject.default CreateTypeResponsecreateType(Consumer<CreateTypeRequest.Builder> createTypeRequest)Creates aTypeobject.default CreateTypeResponsecreateType(CreateTypeRequest createTypeRequest)Creates aTypeobject.default DeleteApiCacheResponsedeleteApiCache(Consumer<DeleteApiCacheRequest.Builder> deleteApiCacheRequest)Deletes anApiCacheobject.default DeleteApiCacheResponsedeleteApiCache(DeleteApiCacheRequest deleteApiCacheRequest)Deletes anApiCacheobject.default DeleteApiKeyResponsedeleteApiKey(Consumer<DeleteApiKeyRequest.Builder> deleteApiKeyRequest)Deletes an API key.default DeleteApiKeyResponsedeleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest)Deletes an API key.default DeleteDataSourceResponsedeleteDataSource(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest)Deletes aDataSourceobject.default DeleteDataSourceResponsedeleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest)Deletes aDataSourceobject.default DeleteDomainNameResponsedeleteDomainName(Consumer<DeleteDomainNameRequest.Builder> deleteDomainNameRequest)Deletes a customDomainNameobject.default DeleteDomainNameResponsedeleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest)Deletes a customDomainNameobject.default DeleteFunctionResponsedeleteFunction(Consumer<DeleteFunctionRequest.Builder> deleteFunctionRequest)Deletes aFunction.default DeleteFunctionResponsedeleteFunction(DeleteFunctionRequest deleteFunctionRequest)Deletes aFunction.default DeleteGraphqlApiResponsedeleteGraphqlApi(Consumer<DeleteGraphqlApiRequest.Builder> deleteGraphqlApiRequest)Deletes aGraphqlApiobject.default DeleteGraphqlApiResponsedeleteGraphqlApi(DeleteGraphqlApiRequest deleteGraphqlApiRequest)Deletes aGraphqlApiobject.default DeleteResolverResponsedeleteResolver(Consumer<DeleteResolverRequest.Builder> deleteResolverRequest)Deletes aResolverobject.default DeleteResolverResponsedeleteResolver(DeleteResolverRequest deleteResolverRequest)Deletes aResolverobject.default DeleteTypeResponsedeleteType(Consumer<DeleteTypeRequest.Builder> deleteTypeRequest)Deletes aTypeobject.default DeleteTypeResponsedeleteType(DeleteTypeRequest deleteTypeRequest)Deletes aTypeobject.default DisassociateApiResponsedisassociateApi(Consumer<DisassociateApiRequest.Builder> disassociateApiRequest)Removes anApiAssociationobject from a custom domain.default DisassociateApiResponsedisassociateApi(DisassociateApiRequest disassociateApiRequest)Removes anApiAssociationobject from a custom domain.default DisassociateMergedGraphqlApiResponsedisassociateMergedGraphqlApi(Consumer<DisassociateMergedGraphqlApiRequest.Builder> disassociateMergedGraphqlApiRequest)Deletes an association between a Merged API and source API using the source API's identifier and the association ID.default DisassociateMergedGraphqlApiResponsedisassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest disassociateMergedGraphqlApiRequest)Deletes an association between a Merged API and source API using the source API's identifier and the association ID.default DisassociateSourceGraphqlApiResponsedisassociateSourceGraphqlApi(Consumer<DisassociateSourceGraphqlApiRequest.Builder> disassociateSourceGraphqlApiRequest)Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.default DisassociateSourceGraphqlApiResponsedisassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest disassociateSourceGraphqlApiRequest)Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.default EvaluateCodeResponseevaluateCode(Consumer<EvaluateCodeRequest.Builder> evaluateCodeRequest)Evaluates the given code and returns the response.default EvaluateCodeResponseevaluateCode(EvaluateCodeRequest evaluateCodeRequest)Evaluates the given code and returns the response.default EvaluateMappingTemplateResponseevaluateMappingTemplate(Consumer<EvaluateMappingTemplateRequest.Builder> evaluateMappingTemplateRequest)Evaluates a given template and returns the response.default EvaluateMappingTemplateResponseevaluateMappingTemplate(EvaluateMappingTemplateRequest evaluateMappingTemplateRequest)Evaluates a given template and returns the response.default FlushApiCacheResponseflushApiCache(Consumer<FlushApiCacheRequest.Builder> flushApiCacheRequest)Flushes anApiCacheobject.default FlushApiCacheResponseflushApiCache(FlushApiCacheRequest flushApiCacheRequest)Flushes anApiCacheobject.default GetApiAssociationResponsegetApiAssociation(Consumer<GetApiAssociationRequest.Builder> getApiAssociationRequest)Retrieves anApiAssociationobject.default GetApiAssociationResponsegetApiAssociation(GetApiAssociationRequest getApiAssociationRequest)Retrieves anApiAssociationobject.default GetApiCacheResponsegetApiCache(Consumer<GetApiCacheRequest.Builder> getApiCacheRequest)Retrieves anApiCacheobject.default GetApiCacheResponsegetApiCache(GetApiCacheRequest getApiCacheRequest)Retrieves anApiCacheobject.default GetDataSourceResponsegetDataSource(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest)Retrieves aDataSourceobject.default GetDataSourceResponsegetDataSource(GetDataSourceRequest getDataSourceRequest)Retrieves aDataSourceobject.default GetDomainNameResponsegetDomainName(Consumer<GetDomainNameRequest.Builder> getDomainNameRequest)Retrieves a customDomainNameobject.default GetDomainNameResponsegetDomainName(GetDomainNameRequest getDomainNameRequest)Retrieves a customDomainNameobject.default GetFunctionResponsegetFunction(Consumer<GetFunctionRequest.Builder> getFunctionRequest)Get aFunction.default GetFunctionResponsegetFunction(GetFunctionRequest getFunctionRequest)Get aFunction.default GetGraphqlApiResponsegetGraphqlApi(Consumer<GetGraphqlApiRequest.Builder> getGraphqlApiRequest)Retrieves aGraphqlApiobject.default GetGraphqlApiResponsegetGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest)Retrieves aGraphqlApiobject.default GetIntrospectionSchemaResponsegetIntrospectionSchema(Consumer<GetIntrospectionSchemaRequest.Builder> getIntrospectionSchemaRequest)Retrieves the introspection schema for a GraphQL API.default GetIntrospectionSchemaResponsegetIntrospectionSchema(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest)Retrieves the introspection schema for a GraphQL API.default GetResolverResponsegetResolver(Consumer<GetResolverRequest.Builder> getResolverRequest)Retrieves aResolverobject.default GetResolverResponsegetResolver(GetResolverRequest getResolverRequest)Retrieves aResolverobject.default GetSchemaCreationStatusResponsegetSchemaCreationStatus(Consumer<GetSchemaCreationStatusRequest.Builder> getSchemaCreationStatusRequest)Retrieves the current status of a schema creation operation.default GetSchemaCreationStatusResponsegetSchemaCreationStatus(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest)Retrieves the current status of a schema creation operation.default GetSourceApiAssociationResponsegetSourceApiAssociation(Consumer<GetSourceApiAssociationRequest.Builder> getSourceApiAssociationRequest)Retrieves aSourceApiAssociationobject.default GetSourceApiAssociationResponsegetSourceApiAssociation(GetSourceApiAssociationRequest getSourceApiAssociationRequest)Retrieves aSourceApiAssociationobject.default GetTypeResponsegetType(Consumer<GetTypeRequest.Builder> getTypeRequest)Retrieves aTypeobject.default GetTypeResponsegetType(GetTypeRequest getTypeRequest)Retrieves aTypeobject.default ListApiKeysResponselistApiKeys(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest)Lists the API keys for a given API.default ListApiKeysResponselistApiKeys(ListApiKeysRequest listApiKeysRequest)Lists the API keys for a given API.default ListDataSourcesResponselistDataSources(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest)Lists the data sources for a given API.default ListDataSourcesResponselistDataSources(ListDataSourcesRequest listDataSourcesRequest)Lists the data sources for a given API.default ListDomainNamesResponselistDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest)Lists multiple custom domain names.default ListDomainNamesResponselistDomainNames(ListDomainNamesRequest listDomainNamesRequest)Lists multiple custom domain names.default ListFunctionsResponselistFunctions(Consumer<ListFunctionsRequest.Builder> listFunctionsRequest)List multiple functions.default ListFunctionsResponselistFunctions(ListFunctionsRequest listFunctionsRequest)List multiple functions.default ListGraphqlApisResponselistGraphqlApis()Lists your GraphQL APIs.default ListGraphqlApisResponselistGraphqlApis(Consumer<ListGraphqlApisRequest.Builder> listGraphqlApisRequest)Lists your GraphQL APIs.default ListGraphqlApisResponselistGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest)Lists your GraphQL APIs.default ListResolversResponselistResolvers(Consumer<ListResolversRequest.Builder> listResolversRequest)Lists the resolvers for a given API and type.default ListResolversResponselistResolvers(ListResolversRequest listResolversRequest)Lists the resolvers for a given API and type.default ListResolversByFunctionResponselistResolversByFunction(Consumer<ListResolversByFunctionRequest.Builder> listResolversByFunctionRequest)List the resolvers that are associated with a specific function.default ListResolversByFunctionResponselistResolversByFunction(ListResolversByFunctionRequest listResolversByFunctionRequest)List the resolvers that are associated with a specific function.default ListSourceApiAssociationsResponselistSourceApiAssociations(Consumer<ListSourceApiAssociationsRequest.Builder> listSourceApiAssociationsRequest)Lists theSourceApiAssociationSummarydata.default ListSourceApiAssociationsResponselistSourceApiAssociations(ListSourceApiAssociationsRequest listSourceApiAssociationsRequest)Lists theSourceApiAssociationSummarydata.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Lists the tags for a resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Lists the tags for a resource.default ListTypesResponselistTypes(Consumer<ListTypesRequest.Builder> listTypesRequest)Lists the types for a given API.default ListTypesResponselistTypes(ListTypesRequest listTypesRequest)Lists the types for a given API.default ListTypesByAssociationResponselistTypesByAssociation(Consumer<ListTypesByAssociationRequest.Builder> listTypesByAssociationRequest)ListsTypeobjects by the source API association ID.default ListTypesByAssociationResponselistTypesByAssociation(ListTypesByAssociationRequest listTypesByAssociationRequest)ListsTypeobjects by the source API association ID.default AppSyncServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default StartSchemaCreationResponsestartSchemaCreation(Consumer<StartSchemaCreationRequest.Builder> startSchemaCreationRequest)Adds a new schema to your GraphQL API.default StartSchemaCreationResponsestartSchemaCreation(StartSchemaCreationRequest startSchemaCreationRequest)Adds a new schema to your GraphQL API.default StartSchemaMergeResponsestartSchemaMerge(Consumer<StartSchemaMergeRequest.Builder> startSchemaMergeRequest)Initiates a merge operation.default StartSchemaMergeResponsestartSchemaMerge(StartSchemaMergeRequest startSchemaMergeRequest)Initiates a merge operation.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Tags a resource with user-supplied tags.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Tags a resource with user-supplied tags.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Untags a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Untags a resource.default UpdateApiCacheResponseupdateApiCache(Consumer<UpdateApiCacheRequest.Builder> updateApiCacheRequest)Updates the cache for the GraphQL API.default UpdateApiCacheResponseupdateApiCache(UpdateApiCacheRequest updateApiCacheRequest)Updates the cache for the GraphQL API.default UpdateApiKeyResponseupdateApiKey(Consumer<UpdateApiKeyRequest.Builder> updateApiKeyRequest)Updates an API key.default UpdateApiKeyResponseupdateApiKey(UpdateApiKeyRequest updateApiKeyRequest)Updates an API key.default UpdateDataSourceResponseupdateDataSource(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest)Updates aDataSourceobject.default UpdateDataSourceResponseupdateDataSource(UpdateDataSourceRequest updateDataSourceRequest)Updates aDataSourceobject.default UpdateDomainNameResponseupdateDomainName(Consumer<UpdateDomainNameRequest.Builder> updateDomainNameRequest)Updates a customDomainNameobject.default UpdateDomainNameResponseupdateDomainName(UpdateDomainNameRequest updateDomainNameRequest)Updates a customDomainNameobject.default UpdateFunctionResponseupdateFunction(Consumer<UpdateFunctionRequest.Builder> updateFunctionRequest)Updates aFunctionobject.default UpdateFunctionResponseupdateFunction(UpdateFunctionRequest updateFunctionRequest)Updates aFunctionobject.default UpdateGraphqlApiResponseupdateGraphqlApi(Consumer<UpdateGraphqlApiRequest.Builder> updateGraphqlApiRequest)Updates aGraphqlApiobject.default UpdateGraphqlApiResponseupdateGraphqlApi(UpdateGraphqlApiRequest updateGraphqlApiRequest)Updates aGraphqlApiobject.default UpdateResolverResponseupdateResolver(Consumer<UpdateResolverRequest.Builder> updateResolverRequest)Updates aResolverobject.default UpdateResolverResponseupdateResolver(UpdateResolverRequest updateResolverRequest)Updates aResolverobject.default UpdateSourceApiAssociationResponseupdateSourceApiAssociation(Consumer<UpdateSourceApiAssociationRequest.Builder> updateSourceApiAssociationRequest)Updates some of the configuration choices of a particular source API association.default UpdateSourceApiAssociationResponseupdateSourceApiAssociation(UpdateSourceApiAssociationRequest updateSourceApiAssociationRequest)Updates some of the configuration choices of a particular source API association.default UpdateTypeResponseupdateType(Consumer<UpdateTypeRequest.Builder> updateTypeRequest)Updates aTypeobject.default UpdateTypeResponseupdateType(UpdateTypeRequest updateTypeRequest)Updates aTypeobject.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateApi
default AssociateApiResponse associateApi(AssociateApiRequest associateApiRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Maps an endpoint to your custom domain.
- Parameters:
associateApiRequest-- Returns:
- Result of the AssociateApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
associateApi
default AssociateApiResponse associateApi(Consumer<AssociateApiRequest.Builder> associateApiRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Maps an endpoint to your custom domain.
This is a convenience which creates an instance of the
AssociateApiRequest.Builderavoiding the need to create one manually viaAssociateApiRequest.builder()- Parameters:
associateApiRequest- AConsumerthat will call methods onAssociateApiRequest.Builderto create a request.- Returns:
- Result of the AssociateApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
associateMergedGraphqlApi
default AssociateMergedGraphqlApiResponse associateMergedGraphqlApi(AssociateMergedGraphqlApiRequest associateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Creates an association between a Merged API and source API using the source API's identifier.
- Parameters:
associateMergedGraphqlApiRequest-- Returns:
- Result of the AssociateMergedGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
associateMergedGraphqlApi
default AssociateMergedGraphqlApiResponse associateMergedGraphqlApi(Consumer<AssociateMergedGraphqlApiRequest.Builder> associateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Creates an association between a Merged API and source API using the source API's identifier.
This is a convenience which creates an instance of the
AssociateMergedGraphqlApiRequest.Builderavoiding the need to create one manually viaAssociateMergedGraphqlApiRequest.builder()- Parameters:
associateMergedGraphqlApiRequest- AConsumerthat will call methods onAssociateMergedGraphqlApiRequest.Builderto create a request.- Returns:
- Result of the AssociateMergedGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
associateSourceGraphqlApi
default AssociateSourceGraphqlApiResponse associateSourceGraphqlApi(AssociateSourceGraphqlApiRequest associateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Creates an association between a Merged API and source API using the Merged API's identifier.
- Parameters:
associateSourceGraphqlApiRequest-- Returns:
- Result of the AssociateSourceGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
associateSourceGraphqlApi
default AssociateSourceGraphqlApiResponse associateSourceGraphqlApi(Consumer<AssociateSourceGraphqlApiRequest.Builder> associateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Creates an association between a Merged API and source API using the Merged API's identifier.
This is a convenience which creates an instance of the
AssociateSourceGraphqlApiRequest.Builderavoiding the need to create one manually viaAssociateSourceGraphqlApiRequest.builder()- Parameters:
associateSourceGraphqlApiRequest- AConsumerthat will call methods onAssociateSourceGraphqlApiRequest.Builderto create a request.- Returns:
- Result of the AssociateSourceGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createApiCache
default CreateApiCacheResponse createApiCache(CreateApiCacheRequest createApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a cache for the GraphQL API.
- Parameters:
createApiCacheRequest- Represents the input of aCreateApiCacheoperation.- Returns:
- Result of the CreateApiCache operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createApiCache
default CreateApiCacheResponse createApiCache(Consumer<CreateApiCacheRequest.Builder> createApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a cache for the GraphQL API.
This is a convenience which creates an instance of the
CreateApiCacheRequest.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:
- Result of the CreateApiCache operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createApiKey
default CreateApiKeyResponse createApiKey(CreateApiKeyRequest createApiKeyRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, ApiKeyLimitExceededException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException
Creates a unique key that you can distribute to clients who invoke your API.
- Parameters:
createApiKeyRequest-- Returns:
- Result of the CreateApiKey operation returned by the service.
- Throws:
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 (forCreateApiKey) 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.AwsServiceException- See Also:
- AWS API Documentation
-
createApiKey
default CreateApiKeyResponse createApiKey(Consumer<CreateApiKeyRequest.Builder> createApiKeyRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, ApiKeyLimitExceededException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException
Creates a unique key that you can distribute to clients who invoke your API.
This is a convenience which creates an instance of the
CreateApiKeyRequest.Builderavoiding the need to create one manually viaCreateApiKeyRequest.builder()- Parameters:
createApiKeyRequest- AConsumerthat will call methods onCreateApiKeyRequest.Builderto create a request.- Returns:
- Result of the CreateApiKey operation returned by the service.
- Throws:
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 (forCreateApiKey) 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.AwsServiceException- See Also:
- AWS API Documentation
-
createDataSource
default CreateDataSourceResponse createDataSource(CreateDataSourceRequest createDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a
DataSourceobject.- Parameters:
createDataSourceRequest-- Returns:
- Result of the CreateDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createDataSource
default CreateDataSourceResponse createDataSource(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the CreateDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createDomainName
default CreateDomainNameResponse createDomainName(CreateDomainNameRequest createDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a custom
DomainNameobject.- Parameters:
createDomainNameRequest-- Returns:
- Result of the CreateDomainName operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createDomainName
default CreateDomainNameResponse createDomainName(Consumer<CreateDomainNameRequest.Builder> createDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the CreateDomainName operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createFunction
default CreateFunctionResponse createFunction(CreateFunctionRequest createFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a
Functionobject.A function is a reusable entity. You can use multiple functions to compose the resolver logic.
- Parameters:
createFunctionRequest-- Returns:
- Result of the CreateFunction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createFunction
default CreateFunctionResponse createFunction(Consumer<CreateFunctionRequest.Builder> createFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the CreateFunction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createGraphqlApi
default CreateGraphqlApiResponse createGraphqlApi(CreateGraphqlApiRequest createGraphqlApiRequest) throws BadRequestException, LimitExceededException, ConcurrentModificationException, UnauthorizedException, InternalFailureException, ApiLimitExceededException, AwsServiceException, SdkClientException, AppSyncException
Creates a
GraphqlApiobject.- Parameters:
createGraphqlApiRequest-- Returns:
- Result of the CreateGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createGraphqlApi
default CreateGraphqlApiResponse createGraphqlApi(Consumer<CreateGraphqlApiRequest.Builder> createGraphqlApiRequest) throws BadRequestException, LimitExceededException, ConcurrentModificationException, UnauthorizedException, InternalFailureException, ApiLimitExceededException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the CreateGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createResolver
default CreateResolverResponse createResolver(CreateResolverRequest createResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the CreateResolver operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createResolver
default CreateResolverResponse createResolver(Consumer<CreateResolverRequest.Builder> createResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the CreateResolver operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createType
default CreateTypeResponse createType(CreateTypeRequest createTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Creates a
Typeobject.- Parameters:
createTypeRequest-- Returns:
- Result of the CreateType operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createType
default CreateTypeResponse createType(Consumer<CreateTypeRequest.Builder> createTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the CreateType operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApiCache
default DeleteApiCacheResponse deleteApiCache(DeleteApiCacheRequest deleteApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes an
ApiCacheobject.- Parameters:
deleteApiCacheRequest- Represents the input of aDeleteApiCacheoperation.- Returns:
- Result of the DeleteApiCache operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApiCache
default DeleteApiCacheResponse deleteApiCache(Consumer<DeleteApiCacheRequest.Builder> deleteApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the DeleteApiCache operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApiKey
default DeleteApiKeyResponse deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes an API key.
- Parameters:
deleteApiKeyRequest-- Returns:
- Result of the DeleteApiKey operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApiKey
default DeleteApiKeyResponse deleteApiKey(Consumer<DeleteApiKeyRequest.Builder> deleteApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes an API key.
This is a convenience which creates an instance of the
DeleteApiKeyRequest.Builderavoiding the need to create one manually viaDeleteApiKeyRequest.builder()- Parameters:
deleteApiKeyRequest- AConsumerthat will call methods onDeleteApiKeyRequest.Builderto create a request.- Returns:
- Result of the DeleteApiKey operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDataSource
default DeleteDataSourceResponse deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes a
DataSourceobject.- Parameters:
deleteDataSourceRequest-- Returns:
- Result of the DeleteDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDataSource
default DeleteDataSourceResponse deleteDataSource(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the DeleteDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDomainName
default DeleteDomainNameResponse deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Deletes a custom
DomainNameobject.- Parameters:
deleteDomainNameRequest-- Returns:
- Result of the DeleteDomainName operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDomainName
default DeleteDomainNameResponse deleteDomainName(Consumer<DeleteDomainNameRequest.Builder> deleteDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the DeleteDomainName operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteFunction
default DeleteFunctionResponse deleteFunction(DeleteFunctionRequest deleteFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes a
Function.- Parameters:
deleteFunctionRequest-- Returns:
- Result of the DeleteFunction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteFunction
default DeleteFunctionResponse deleteFunction(Consumer<DeleteFunctionRequest.Builder> deleteFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes a
Function.
This is a convenience which creates an instance of the
DeleteFunctionRequest.Builderavoiding the need to create one manually viaDeleteFunctionRequest.builder()- Parameters:
deleteFunctionRequest- AConsumerthat will call methods onDeleteFunctionRequest.Builderto create a request.- Returns:
- Result of the DeleteFunction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteGraphqlApi
default DeleteGraphqlApiResponse deleteGraphqlApi(DeleteGraphqlApiRequest deleteGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Deletes a
GraphqlApiobject.- Parameters:
deleteGraphqlApiRequest-- Returns:
- Result of the DeleteGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteGraphqlApi
default DeleteGraphqlApiResponse deleteGraphqlApi(Consumer<DeleteGraphqlApiRequest.Builder> deleteGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the DeleteGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteResolver
default DeleteResolverResponse deleteResolver(DeleteResolverRequest deleteResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Deletes a
Resolverobject.- Parameters:
deleteResolverRequest-- Returns:
- Result of the DeleteResolver operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteResolver
default DeleteResolverResponse deleteResolver(Consumer<DeleteResolverRequest.Builder> deleteResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the DeleteResolver operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteType
default DeleteTypeResponse deleteType(DeleteTypeRequest deleteTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Deletes a
Typeobject.- Parameters:
deleteTypeRequest-- Returns:
- Result of the DeleteType operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteType
default DeleteTypeResponse deleteType(Consumer<DeleteTypeRequest.Builder> deleteTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the DeleteType operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateApi
default DisassociateApiResponse disassociateApi(DisassociateApiRequest disassociateApiRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Removes an
ApiAssociationobject from a custom domain.- Parameters:
disassociateApiRequest-- Returns:
- Result of the DisassociateApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateApi
default DisassociateApiResponse disassociateApi(Consumer<DisassociateApiRequest.Builder> disassociateApiRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the DisassociateApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateMergedGraphqlApi
default DisassociateMergedGraphqlApiResponse disassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest disassociateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
- Parameters:
disassociateMergedGraphqlApiRequest-- Returns:
- Result of the DisassociateMergedGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateMergedGraphqlApi
default DisassociateMergedGraphqlApiResponse disassociateMergedGraphqlApi(Consumer<DisassociateMergedGraphqlApiRequest.Builder> disassociateMergedGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
This is a convenience which creates an instance of the
DisassociateMergedGraphqlApiRequest.Builderavoiding the need to create one manually viaDisassociateMergedGraphqlApiRequest.builder()- Parameters:
disassociateMergedGraphqlApiRequest- AConsumerthat will call methods onDisassociateMergedGraphqlApiRequest.Builderto create a request.- Returns:
- Result of the DisassociateMergedGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateSourceGraphqlApi
default DisassociateSourceGraphqlApiResponse disassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest disassociateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
- Parameters:
disassociateSourceGraphqlApiRequest-- Returns:
- Result of the DisassociateSourceGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateSourceGraphqlApi
default DisassociateSourceGraphqlApiResponse disassociateSourceGraphqlApi(Consumer<DisassociateSourceGraphqlApiRequest.Builder> disassociateSourceGraphqlApiRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
This is a convenience which creates an instance of the
DisassociateSourceGraphqlApiRequest.Builderavoiding the need to create one manually viaDisassociateSourceGraphqlApiRequest.builder()- Parameters:
disassociateSourceGraphqlApiRequest- AConsumerthat will call methods onDisassociateSourceGraphqlApiRequest.Builderto create a request.- Returns:
- Result of the DisassociateSourceGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
evaluateCode
default EvaluateCodeResponse evaluateCode(EvaluateCodeRequest evaluateCodeRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Evaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For
APPSYNC_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:
- Result of the EvaluateCode operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
evaluateCode
default EvaluateCodeResponse evaluateCode(Consumer<EvaluateCodeRequest.Builder> evaluateCodeRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Evaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For
APPSYNC_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:
- Result of the EvaluateCode operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
evaluateMappingTemplate
default EvaluateMappingTemplateResponse evaluateMappingTemplate(EvaluateMappingTemplateRequest evaluateMappingTemplateRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Evaluates a given template and returns the response. The mapping template can be a request or response template.
Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.
Mapping templates are written in the Apache Velocity Template Language (VTL).
- Parameters:
evaluateMappingTemplateRequest-- Returns:
- Result of the EvaluateMappingTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
evaluateMappingTemplate
default EvaluateMappingTemplateResponse evaluateMappingTemplate(Consumer<EvaluateMappingTemplateRequest.Builder> evaluateMappingTemplateRequest) throws AccessDeniedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Evaluates a given template and returns the response. The mapping template can be a request or response template.
Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.
Mapping templates are written in the Apache Velocity Template Language (VTL).
This is a convenience which creates an instance of the
EvaluateMappingTemplateRequest.Builderavoiding the need to create one manually viaEvaluateMappingTemplateRequest.builder()- Parameters:
evaluateMappingTemplateRequest- AConsumerthat will call methods onEvaluateMappingTemplateRequest.Builderto create a request.- Returns:
- Result of the EvaluateMappingTemplate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
flushApiCache
default FlushApiCacheResponse flushApiCache(FlushApiCacheRequest flushApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Flushes an
ApiCacheobject.- Parameters:
flushApiCacheRequest- Represents the input of aFlushApiCacheoperation.- Returns:
- Result of the FlushApiCache operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
flushApiCache
default FlushApiCacheResponse flushApiCache(Consumer<FlushApiCacheRequest.Builder> flushApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the FlushApiCache operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getApiAssociation
default GetApiAssociationResponse getApiAssociation(GetApiAssociationRequest getApiAssociationRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Retrieves an
ApiAssociationobject.- Parameters:
getApiAssociationRequest-- Returns:
- Result of the GetApiAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getApiAssociation
default GetApiAssociationResponse getApiAssociation(Consumer<GetApiAssociationRequest.Builder> getApiAssociationRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the GetApiAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getApiCache
default GetApiCacheResponse getApiCache(GetApiCacheRequest getApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves an
ApiCacheobject.- Parameters:
getApiCacheRequest- Represents the input of aGetApiCacheoperation.- Returns:
- Result of the GetApiCache operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getApiCache
default GetApiCacheResponse getApiCache(Consumer<GetApiCacheRequest.Builder> getApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the GetApiCache operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDataSource
default GetDataSourceResponse getDataSource(GetDataSourceRequest getDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a
DataSourceobject.- Parameters:
getDataSourceRequest-- Returns:
- Result of the GetDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDataSource
default GetDataSourceResponse getDataSource(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the GetDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDomainName
default GetDomainNameResponse getDomainName(GetDomainNameRequest getDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a custom
DomainNameobject.- Parameters:
getDomainNameRequest-- Returns:
- Result of the GetDomainName operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDomainName
default GetDomainNameResponse getDomainName(Consumer<GetDomainNameRequest.Builder> getDomainNameRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the GetDomainName operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getFunction
default GetFunctionResponse getFunction(GetFunctionRequest getFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException
Get a
Function.- Parameters:
getFunctionRequest-- Returns:
- Result of the GetFunction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getFunction
default GetFunctionResponse getFunction(Consumer<GetFunctionRequest.Builder> getFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException
Get a
Function.
This is a convenience which creates an instance of the
GetFunctionRequest.Builderavoiding the need to create one manually viaGetFunctionRequest.builder()- Parameters:
getFunctionRequest- AConsumerthat will call methods onGetFunctionRequest.Builderto create a request.- Returns:
- Result of the GetFunction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getGraphqlApi
default GetGraphqlApiResponse getGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a
GraphqlApiobject.- Parameters:
getGraphqlApiRequest-- Returns:
- Result of the GetGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getGraphqlApi
default GetGraphqlApiResponse getGraphqlApi(Consumer<GetGraphqlApiRequest.Builder> getGraphqlApiRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the GetGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getIntrospectionSchema
default GetIntrospectionSchemaResponse getIntrospectionSchema(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest) throws GraphQlSchemaException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves the introspection schema for a GraphQL API.
- Parameters:
getIntrospectionSchemaRequest-- Returns:
- Result of the GetIntrospectionSchema operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getIntrospectionSchema
default GetIntrospectionSchemaResponse getIntrospectionSchema(Consumer<GetIntrospectionSchemaRequest.Builder> getIntrospectionSchemaRequest) throws GraphQlSchemaException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves the introspection schema for a GraphQL API.
This is a convenience which creates an instance of the
GetIntrospectionSchemaRequest.Builderavoiding the need to create one manually viaGetIntrospectionSchemaRequest.builder()- Parameters:
getIntrospectionSchemaRequest- AConsumerthat will call methods onGetIntrospectionSchemaRequest.Builderto create a request.- Returns:
- Result of the GetIntrospectionSchema operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getResolver
default GetResolverResponse getResolver(GetResolverRequest getResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a
Resolverobject.- Parameters:
getResolverRequest-- Returns:
- Result of the GetResolver operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getResolver
default GetResolverResponse getResolver(Consumer<GetResolverRequest.Builder> getResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the GetResolver operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getSchemaCreationStatus
default GetSchemaCreationStatusResponse getSchemaCreationStatus(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves the current status of a schema creation operation.
- Parameters:
getSchemaCreationStatusRequest-- Returns:
- Result of the GetSchemaCreationStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getSchemaCreationStatus
default GetSchemaCreationStatusResponse getSchemaCreationStatus(Consumer<GetSchemaCreationStatusRequest.Builder> getSchemaCreationStatusRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves the current status of a schema creation operation.
This is a convenience which creates an instance of the
GetSchemaCreationStatusRequest.Builderavoiding the need to create one manually viaGetSchemaCreationStatusRequest.builder()- Parameters:
getSchemaCreationStatusRequest- AConsumerthat will call methods onGetSchemaCreationStatusRequest.Builderto create a request.- Returns:
- Result of the GetSchemaCreationStatus operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getSourceApiAssociation
default GetSourceApiAssociationResponse getSourceApiAssociation(GetSourceApiAssociationRequest getSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a
SourceApiAssociationobject.- Parameters:
getSourceApiAssociationRequest-- Returns:
- Result of the GetSourceApiAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getSourceApiAssociation
default GetSourceApiAssociationResponse getSourceApiAssociation(Consumer<GetSourceApiAssociationRequest.Builder> getSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the GetSourceApiAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getType
default GetTypeResponse getType(GetTypeRequest getTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Retrieves a
Typeobject.- Parameters:
getTypeRequest-- Returns:
- Result of the GetType operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getType
default GetTypeResponse getType(Consumer<GetTypeRequest.Builder> getTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the GetType operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listApiKeys
default ListApiKeysResponse listApiKeys(ListApiKeysRequest listApiKeysRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the API keys for a given API.
API keys are deleted automatically 60 days after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call
DeleteApiKeyto manually delete a key before it's automatically deleted.- Parameters:
listApiKeysRequest-- Returns:
- Result of the ListApiKeys operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listApiKeys
default ListApiKeysResponse listApiKeys(Consumer<ListApiKeysRequest.Builder> listApiKeysRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the API keys for a given API.
API keys are deleted automatically 60 days after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call
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:
- Result of the ListApiKeys operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDataSources
default ListDataSourcesResponse listDataSources(ListDataSourcesRequest listDataSourcesRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the data sources for a given API.
- Parameters:
listDataSourcesRequest-- Returns:
- Result of the ListDataSources operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDataSources
default ListDataSourcesResponse listDataSources(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the data sources for a given API.
This is a convenience which creates an instance of the
ListDataSourcesRequest.Builderavoiding the need to create one manually viaListDataSourcesRequest.builder()- Parameters:
listDataSourcesRequest- AConsumerthat will call methods onListDataSourcesRequest.Builderto create a request.- Returns:
- Result of the ListDataSources operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDomainNames
default ListDomainNamesResponse listDomainNames(ListDomainNamesRequest listDomainNamesRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists multiple custom domain names.
- Parameters:
listDomainNamesRequest-- Returns:
- Result of the ListDomainNames operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDomainNames
default ListDomainNamesResponse listDomainNames(Consumer<ListDomainNamesRequest.Builder> listDomainNamesRequest) throws AccessDeniedException, BadRequestException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists multiple custom domain names.
This is a convenience which creates an instance of the
ListDomainNamesRequest.Builderavoiding the need to create one manually viaListDomainNamesRequest.builder()- Parameters:
listDomainNamesRequest- AConsumerthat will call methods onListDomainNamesRequest.Builderto create a request.- Returns:
- Result of the ListDomainNames operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listFunctions
default ListFunctionsResponse listFunctions(ListFunctionsRequest listFunctionsRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
List multiple functions.
- Parameters:
listFunctionsRequest-- Returns:
- Result of the ListFunctions operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listFunctions
default ListFunctionsResponse listFunctions(Consumer<ListFunctionsRequest.Builder> listFunctionsRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
List multiple functions.
This is a convenience which creates an instance of the
ListFunctionsRequest.Builderavoiding the need to create one manually viaListFunctionsRequest.builder()- Parameters:
listFunctionsRequest- AConsumerthat will call methods onListFunctionsRequest.Builderto create a request.- Returns:
- Result of the ListFunctions operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listGraphqlApis
default ListGraphqlApisResponse listGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest) throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists your GraphQL APIs.
- Parameters:
listGraphqlApisRequest-- Returns:
- Result of the ListGraphqlApis operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listGraphqlApis
default ListGraphqlApisResponse listGraphqlApis(Consumer<ListGraphqlApisRequest.Builder> listGraphqlApisRequest) throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists your GraphQL APIs.
This is a convenience which creates an instance of the
ListGraphqlApisRequest.Builderavoiding the need to create one manually viaListGraphqlApisRequest.builder()- Parameters:
listGraphqlApisRequest- AConsumerthat will call methods onListGraphqlApisRequest.Builderto create a request.- Returns:
- Result of the ListGraphqlApis operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listGraphqlApis
default ListGraphqlApisResponse listGraphqlApis() throws BadRequestException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists your GraphQL APIs.
- Returns:
- Result of the ListGraphqlApis operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
listGraphqlApis(ListGraphqlApisRequest), AWS API Documentation
-
listResolvers
default ListResolversResponse listResolvers(ListResolversRequest listResolversRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the resolvers for a given API and type.
- Parameters:
listResolversRequest-- Returns:
- Result of the ListResolvers operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResolvers
default ListResolversResponse listResolvers(Consumer<ListResolversRequest.Builder> listResolversRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the resolvers for a given API and type.
This is a convenience which creates an instance of the
ListResolversRequest.Builderavoiding the need to create one manually viaListResolversRequest.builder()- Parameters:
listResolversRequest- AConsumerthat will call methods onListResolversRequest.Builderto create a request.- Returns:
- Result of the ListResolvers operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResolversByFunction
default ListResolversByFunctionResponse listResolversByFunction(ListResolversByFunctionRequest listResolversByFunctionRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
List the resolvers that are associated with a specific function.
- Parameters:
listResolversByFunctionRequest-- Returns:
- Result of the ListResolversByFunction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResolversByFunction
default ListResolversByFunctionResponse listResolversByFunction(Consumer<ListResolversByFunctionRequest.Builder> listResolversByFunctionRequest) throws BadRequestException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
List the resolvers that are associated with a specific function.
This is a convenience which creates an instance of the
ListResolversByFunctionRequest.Builderavoiding the need to create one manually viaListResolversByFunctionRequest.builder()- Parameters:
listResolversByFunctionRequest- AConsumerthat will call methods onListResolversByFunctionRequest.Builderto create a request.- Returns:
- Result of the ListResolversByFunction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listSourceApiAssociations
default ListSourceApiAssociationsResponse listSourceApiAssociations(ListSourceApiAssociationsRequest listSourceApiAssociationsRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Lists the
SourceApiAssociationSummarydata.- Parameters:
listSourceApiAssociationsRequest-- Returns:
- Result of the ListSourceApiAssociations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listSourceApiAssociations
default ListSourceApiAssociationsResponse listSourceApiAssociations(Consumer<ListSourceApiAssociationsRequest.Builder> listSourceApiAssociationsRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the ListSourceApiAssociations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Lists the tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Lists the tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTypes
default ListTypesResponse listTypes(ListTypesRequest listTypesRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the types for a given API.
- Parameters:
listTypesRequest-- Returns:
- Result of the ListTypes operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTypes
default ListTypesResponse listTypes(Consumer<ListTypesRequest.Builder> listTypesRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists the types for a given API.
This is a convenience which creates an instance of the
ListTypesRequest.Builderavoiding the need to create one manually viaListTypesRequest.builder()- Parameters:
listTypesRequest- AConsumerthat will call methods onListTypesRequest.Builderto create a request.- Returns:
- Result of the ListTypes operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTypesByAssociation
default ListTypesByAssociationResponse listTypesByAssociation(ListTypesByAssociationRequest listTypesByAssociationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Lists
Typeobjects by the source API association ID.- Parameters:
listTypesByAssociationRequest-- Returns:
- Result of the ListTypesByAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTypesByAssociation
default ListTypesByAssociationResponse listTypesByAssociation(Consumer<ListTypesByAssociationRequest.Builder> listTypesByAssociationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the ListTypesByAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startSchemaCreation
default StartSchemaCreationResponse startSchemaCreation(StartSchemaCreationRequest startSchemaCreationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
- Parameters:
startSchemaCreationRequest-- Returns:
- Result of the StartSchemaCreation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startSchemaCreation
default StartSchemaCreationResponse startSchemaCreation(Consumer<StartSchemaCreationRequest.Builder> startSchemaCreationRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
This is a convenience which creates an instance of the
StartSchemaCreationRequest.Builderavoiding the need to create one manually viaStartSchemaCreationRequest.builder()- Parameters:
startSchemaCreationRequest- AConsumerthat will call methods onStartSchemaCreationRequest.Builderto create a request.- Returns:
- Result of the StartSchemaCreation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startSchemaMerge
default StartSchemaMergeResponse startSchemaMerge(StartSchemaMergeRequest startSchemaMergeRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Initiates a merge operation. Returns a status that shows the result of the merge operation.
- Parameters:
startSchemaMergeRequest-- Returns:
- Result of the StartSchemaMerge operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startSchemaMerge
default StartSchemaMergeResponse startSchemaMerge(Consumer<StartSchemaMergeRequest.Builder> startSchemaMergeRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Initiates a merge operation. Returns a status that shows the result of the merge operation.
This is a convenience which creates an instance of the
StartSchemaMergeRequest.Builderavoiding the need to create one manually viaStartSchemaMergeRequest.builder()- Parameters:
startSchemaMergeRequest- AConsumerthat will call methods onStartSchemaMergeRequest.Builderto create a request.- Returns:
- Result of the StartSchemaMerge operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Tags a resource with user-supplied tags.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Tags a resource with user-supplied tags.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Untags a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws BadRequestException, NotFoundException, LimitExceededException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Untags a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateApiCache
default UpdateApiCacheResponse updateApiCache(UpdateApiCacheRequest updateApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates the cache for the GraphQL API.
- Parameters:
updateApiCacheRequest- Represents the input of aUpdateApiCacheoperation.- Returns:
- Result of the UpdateApiCache operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateApiCache
default UpdateApiCacheResponse updateApiCache(Consumer<UpdateApiCacheRequest.Builder> updateApiCacheRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates the cache for the GraphQL API.
This is a convenience which creates an instance of the
UpdateApiCacheRequest.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:
- Result of the UpdateApiCache operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateApiKey
default UpdateApiKeyResponse updateApiKey(UpdateApiKeyRequest updateApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, LimitExceededException, InternalFailureException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException
Updates an API key. You can update the key as long as it's not deleted.
- Parameters:
updateApiKeyRequest-- Returns:
- Result of the UpdateApiKey operation returned by the service.
- Throws:
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 (forCreateApiKey) 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.AwsServiceException- See Also:
- AWS API Documentation
-
updateApiKey
default UpdateApiKeyResponse updateApiKey(Consumer<UpdateApiKeyRequest.Builder> updateApiKeyRequest) throws BadRequestException, NotFoundException, UnauthorizedException, LimitExceededException, InternalFailureException, ApiKeyValidityOutOfBoundsException, AwsServiceException, SdkClientException, AppSyncException
Updates an API key. You can update the key as long as it's not deleted.
This is a convenience which creates an instance of the
UpdateApiKeyRequest.Builderavoiding the need to create one manually viaUpdateApiKeyRequest.builder()- Parameters:
updateApiKeyRequest- AConsumerthat will call methods onUpdateApiKeyRequest.Builderto create a request.- Returns:
- Result of the UpdateApiKey operation returned by the service.
- Throws:
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 (forCreateApiKey) 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.AwsServiceException- See Also:
- AWS API Documentation
-
updateDataSource
default UpdateDataSourceResponse updateDataSource(UpdateDataSourceRequest updateDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates a
DataSourceobject.- Parameters:
updateDataSourceRequest-- Returns:
- Result of the UpdateDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateDataSource
default UpdateDataSourceResponse updateDataSource(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the UpdateDataSource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateDomainName
default UpdateDomainNameResponse updateDomainName(UpdateDomainNameRequest updateDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
Updates a custom
DomainNameobject.- Parameters:
updateDomainNameRequest-- Returns:
- Result of the UpdateDomainName operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateDomainName
default UpdateDomainNameResponse updateDomainName(Consumer<UpdateDomainNameRequest.Builder> updateDomainNameRequest) throws AccessDeniedException, BadRequestException, ConcurrentModificationException, InternalFailureException, NotFoundException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the UpdateDomainName operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateFunction
default UpdateFunctionResponse updateFunction(UpdateFunctionRequest updateFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates a
Functionobject.- Parameters:
updateFunctionRequest-- Returns:
- Result of the UpdateFunction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateFunction
default UpdateFunctionResponse updateFunction(Consumer<UpdateFunctionRequest.Builder> updateFunctionRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the UpdateFunction operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateGraphqlApi
default UpdateGraphqlApiResponse updateGraphqlApi(UpdateGraphqlApiRequest updateGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
Updates a
GraphqlApiobject.- Parameters:
updateGraphqlApiRequest-- Returns:
- Result of the UpdateGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateGraphqlApi
default UpdateGraphqlApiResponse updateGraphqlApi(Consumer<UpdateGraphqlApiRequest.Builder> updateGraphqlApiRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AccessDeniedException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the UpdateGraphqlApi operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateResolver
default UpdateResolverResponse updateResolver(UpdateResolverRequest updateResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
Updates a
Resolverobject.- Parameters:
updateResolverRequest-- Returns:
- Result of the UpdateResolver operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateResolver
default UpdateResolverResponse updateResolver(Consumer<UpdateResolverRequest.Builder> updateResolverRequest) throws ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, BadRequestException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the UpdateResolver operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateSourceApiAssociation
default UpdateSourceApiAssociationResponse updateSourceApiAssociation(UpdateSourceApiAssociationRequest updateSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Updates some of the configuration choices of a particular source API association.
- Parameters:
updateSourceApiAssociationRequest-- Returns:
- Result of the UpdateSourceApiAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateSourceApiAssociation
default UpdateSourceApiAssociationResponse updateSourceApiAssociation(Consumer<UpdateSourceApiAssociationRequest.Builder> updateSourceApiAssociationRequest) throws UnauthorizedException, BadRequestException, InternalFailureException, NotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppSyncException
Updates some of the configuration choices of a particular source API association.
This is a convenience which creates an instance of the
UpdateSourceApiAssociationRequest.Builderavoiding the need to create one manually viaUpdateSourceApiAssociationRequest.builder()- Parameters:
updateSourceApiAssociationRequest- AConsumerthat will call methods onUpdateSourceApiAssociationRequest.Builderto create a request.- Returns:
- Result of the UpdateSourceApiAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateType
default UpdateTypeResponse updateType(UpdateTypeRequest updateTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
Updates a
Typeobject.- Parameters:
updateTypeRequest-- Returns:
- Result of the UpdateType operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateType
default UpdateTypeResponse updateType(Consumer<UpdateTypeRequest.Builder> updateTypeRequest) throws BadRequestException, ConcurrentModificationException, NotFoundException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, AppSyncException
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:
- Result of the UpdateType operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static AppSyncClient create()
Create aAppSyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static AppSyncClientBuilder builder()
Create a builder that can be used to configure and create aAppSyncClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default AppSyncServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-