@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSAppSync
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSAppSync
instead.
AWS AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateApiCacheResult |
createApiCache(CreateApiCacheRequest createApiCacheRequest)
Creates a cache for the GraphQL API.
|
CreateApiKeyResult |
createApiKey(CreateApiKeyRequest createApiKeyRequest)
Creates a unique key that you can distribute to clients who are executing your API.
|
CreateDataSourceResult |
createDataSource(CreateDataSourceRequest createDataSourceRequest)
Creates a
DataSource object. |
CreateFunctionResult |
createFunction(CreateFunctionRequest createFunctionRequest)
Creates a
Function object. |
CreateGraphqlApiResult |
createGraphqlApi(CreateGraphqlApiRequest createGraphqlApiRequest)
Creates a
GraphqlApi object. |
CreateResolverResult |
createResolver(CreateResolverRequest createResolverRequest)
Creates a
Resolver object. |
CreateTypeResult |
createType(CreateTypeRequest createTypeRequest)
Creates a
Type object. |
DeleteApiCacheResult |
deleteApiCache(DeleteApiCacheRequest deleteApiCacheRequest)
Deletes an
ApiCache object. |
DeleteApiKeyResult |
deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest)
Deletes an API key.
|
DeleteDataSourceResult |
deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest)
Deletes a
DataSource object. |
DeleteFunctionResult |
deleteFunction(DeleteFunctionRequest deleteFunctionRequest)
Deletes a
Function . |
DeleteGraphqlApiResult |
deleteGraphqlApi(DeleteGraphqlApiRequest deleteGraphqlApiRequest)
Deletes a
GraphqlApi object. |
DeleteResolverResult |
deleteResolver(DeleteResolverRequest deleteResolverRequest)
Deletes a
Resolver object. |
DeleteTypeResult |
deleteType(DeleteTypeRequest deleteTypeRequest)
Deletes a
Type object. |
FlushApiCacheResult |
flushApiCache(FlushApiCacheRequest flushApiCacheRequest)
Flushes an
ApiCache object. |
GetApiCacheResult |
getApiCache(GetApiCacheRequest getApiCacheRequest)
Retrieves an
ApiCache object. |
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDataSourceResult |
getDataSource(GetDataSourceRequest getDataSourceRequest)
Retrieves a
DataSource object. |
GetFunctionResult |
getFunction(GetFunctionRequest getFunctionRequest)
Get a
Function . |
GetGraphqlApiResult |
getGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest)
Retrieves a
GraphqlApi object. |
GetIntrospectionSchemaResult |
getIntrospectionSchema(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest)
Retrieves the introspection schema for a GraphQL API.
|
GetResolverResult |
getResolver(GetResolverRequest getResolverRequest)
Retrieves a
Resolver object. |
GetSchemaCreationStatusResult |
getSchemaCreationStatus(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest)
Retrieves the current status of a schema creation operation.
|
GetTypeResult |
getType(GetTypeRequest getTypeRequest)
Retrieves a
Type object. |
ListApiKeysResult |
listApiKeys(ListApiKeysRequest listApiKeysRequest)
Lists the API keys for a given API.
|
ListDataSourcesResult |
listDataSources(ListDataSourcesRequest listDataSourcesRequest)
Lists the data sources for a given API.
|
ListFunctionsResult |
listFunctions(ListFunctionsRequest listFunctionsRequest)
List multiple functions.
|
ListGraphqlApisResult |
listGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest)
Lists your GraphQL APIs.
|
ListResolversResult |
listResolvers(ListResolversRequest listResolversRequest)
Lists the resolvers for a given API and type.
|
ListResolversByFunctionResult |
listResolversByFunction(ListResolversByFunctionRequest listResolversByFunctionRequest)
List the resolvers that are associated with a specific function.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for a resource.
|
ListTypesResult |
listTypes(ListTypesRequest listTypesRequest)
Lists the types for a given API.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartSchemaCreationResult |
startSchemaCreation(StartSchemaCreationRequest startSchemaCreationRequest)
Adds a new schema to your GraphQL API.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Tags a resource with user-supplied tags.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Untags a resource.
|
UpdateApiCacheResult |
updateApiCache(UpdateApiCacheRequest updateApiCacheRequest)
Updates the cache for the GraphQL API.
|
UpdateApiKeyResult |
updateApiKey(UpdateApiKeyRequest updateApiKeyRequest)
Updates an API key.
|
UpdateDataSourceResult |
updateDataSource(UpdateDataSourceRequest updateDataSourceRequest)
Updates a
DataSource object. |
UpdateFunctionResult |
updateFunction(UpdateFunctionRequest updateFunctionRequest)
Updates a
Function object. |
UpdateGraphqlApiResult |
updateGraphqlApi(UpdateGraphqlApiRequest updateGraphqlApiRequest)
Updates a
GraphqlApi object. |
UpdateResolverResult |
updateResolver(UpdateResolverRequest updateResolverRequest)
Updates a
Resolver object. |
UpdateTypeResult |
updateType(UpdateTypeRequest updateTypeRequest)
Updates a
Type object. |
static final String ENDPOINT_PREFIX
CreateApiCacheResult createApiCache(CreateApiCacheRequest createApiCacheRequest)
Creates a cache for the GraphQL API.
createApiCacheRequest
- Represents the input of a CreateApiCache
operation.BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.CreateApiKeyResult createApiKey(CreateApiKeyRequest createApiKeyRequest)
Creates a unique key that you can distribute to clients who are executing your API.
createApiKeyRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and 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 are not authorized to perform this operation.LimitExceededException
- The request exceeded a limit. Try your request again.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.ApiKeyLimitExceededException
- The API key exceeded a limit. Try your request again.ApiKeyValidityOutOfBoundsException
- The API key expiration must be set to a value between 1 and 365 days from creation (for
CreateApiKey
) or from update (for UpdateApiKey
).CreateDataSourceResult createDataSource(CreateDataSourceRequest createDataSourceRequest)
Creates a DataSource
object.
createDataSourceRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.CreateFunctionResult createFunction(CreateFunctionRequest createFunctionRequest)
Creates a Function
object.
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
createFunctionRequest
- ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.CreateGraphqlApiResult createGraphqlApi(CreateGraphqlApiRequest createGraphqlApiRequest)
Creates a GraphqlApi
object.
createGraphqlApiRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.LimitExceededException
- The request exceeded a limit. Try your request again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.ApiLimitExceededException
- The GraphQL API exceeded a limit. Try your request again.CreateResolverResult createResolver(CreateResolverRequest createResolverRequest)
Creates a Resolver
object.
A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.
createResolverRequest
- 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 are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.CreateTypeResult createType(CreateTypeRequest createTypeRequest)
Creates a Type
object.
createTypeRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.DeleteApiCacheResult deleteApiCache(DeleteApiCacheRequest deleteApiCacheRequest)
Deletes an ApiCache
object.
deleteApiCacheRequest
- Represents the input of a DeleteApiCache
operation.BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.DeleteApiKeyResult deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest)
Deletes an API key.
deleteApiKeyRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.DeleteDataSourceResult deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest)
Deletes a DataSource
object.
deleteDataSourceRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.DeleteFunctionResult deleteFunction(DeleteFunctionRequest deleteFunctionRequest)
Deletes a Function
.
deleteFunctionRequest
- ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.DeleteGraphqlApiResult deleteGraphqlApi(DeleteGraphqlApiRequest deleteGraphqlApiRequest)
Deletes a GraphqlApi
object.
deleteGraphqlApiRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.AccessDeniedException
- You do not have access to perform this operation on this resource.DeleteResolverResult deleteResolver(DeleteResolverRequest deleteResolverRequest)
Deletes a Resolver
object.
deleteResolverRequest
- ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.DeleteTypeResult deleteType(DeleteTypeRequest deleteTypeRequest)
Deletes a Type
object.
deleteTypeRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.FlushApiCacheResult flushApiCache(FlushApiCacheRequest flushApiCacheRequest)
Flushes an ApiCache
object.
flushApiCacheRequest
- Represents the input of a FlushApiCache
operation.BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.GetApiCacheResult getApiCache(GetApiCacheRequest getApiCacheRequest)
Retrieves an ApiCache
object.
getApiCacheRequest
- Represents the input of a GetApiCache
operation.BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.GetDataSourceResult getDataSource(GetDataSourceRequest getDataSourceRequest)
Retrieves a DataSource
object.
getDataSourceRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.GetFunctionResult getFunction(GetFunctionRequest getFunctionRequest)
Get a Function
.
getFunctionRequest
- ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.GetGraphqlApiResult getGraphqlApi(GetGraphqlApiRequest getGraphqlApiRequest)
Retrieves a GraphqlApi
object.
getGraphqlApiRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.AccessDeniedException
- You do not have access to perform this operation on this resource.GetIntrospectionSchemaResult getIntrospectionSchema(GetIntrospectionSchemaRequest getIntrospectionSchemaRequest)
Retrieves the introspection schema for a GraphQL API.
getIntrospectionSchemaRequest
- GraphQLSchemaException
- The GraphQL schema is not valid.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.GetResolverResult getResolver(GetResolverRequest getResolverRequest)
Retrieves a Resolver
object.
getResolverRequest
- ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.GetSchemaCreationStatusResult getSchemaCreationStatus(GetSchemaCreationStatusRequest getSchemaCreationStatusRequest)
Retrieves the current status of a schema creation operation.
getSchemaCreationStatusRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.GetTypeResult getType(GetTypeRequest getTypeRequest)
Retrieves a Type
object.
getTypeRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.ListApiKeysResult listApiKeys(ListApiKeysRequest listApiKeysRequest)
Lists the API keys for a given API.
API keys are deleted automatically 60 days after they expire. However, they may still be included in the response
until they have actually been deleted. You can safely call DeleteApiKey
to manually delete a key
before it's automatically deleted.
listApiKeysRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.ListDataSourcesResult listDataSources(ListDataSourcesRequest listDataSourcesRequest)
Lists the data sources for a given API.
listDataSourcesRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.ListFunctionsResult listFunctions(ListFunctionsRequest listFunctionsRequest)
List multiple functions.
listFunctionsRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.ListGraphqlApisResult listGraphqlApis(ListGraphqlApisRequest listGraphqlApisRequest)
Lists your GraphQL APIs.
listGraphqlApisRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.ListResolversResult listResolvers(ListResolversRequest listResolversRequest)
Lists the resolvers for a given API and type.
listResolversRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.ListResolversByFunctionResult listResolversByFunction(ListResolversByFunctionRequest listResolversByFunctionRequest)
List the resolvers that are associated with a specific function.
listResolversByFunctionRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for a resource.
listTagsForResourceRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException
- The request exceeded a limit. Try your request again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.AccessDeniedException
- You do not have access to perform this operation on this resource.ListTypesResult listTypes(ListTypesRequest listTypesRequest)
Lists the types for a given API.
listTypesRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.StartSchemaCreationResult startSchemaCreation(StartSchemaCreationRequest startSchemaCreationRequest)
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
startSchemaCreationRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Tags a resource with user-supplied tags.
tagResourceRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException
- The request exceeded a limit. Try your request again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.AccessDeniedException
- You do not have access to perform this operation on this resource.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Untags a resource.
untagResourceRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.LimitExceededException
- The request exceeded a limit. Try your request again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.AccessDeniedException
- You do not have access to perform this operation on this resource.UpdateApiCacheResult updateApiCache(UpdateApiCacheRequest updateApiCacheRequest)
Updates the cache for the GraphQL API.
updateApiCacheRequest
- Represents the input of a UpdateApiCache
operation.BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.UpdateApiKeyResult updateApiKey(UpdateApiKeyRequest updateApiKeyRequest)
Updates an API key. The key can be updated while it is not deleted.
updateApiKeyRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.LimitExceededException
- The request exceeded a limit. Try your request again.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.ApiKeyValidityOutOfBoundsException
- The API key expiration must be set to a value between 1 and 365 days from creation (for
CreateApiKey
) or from update (for UpdateApiKey
).UpdateDataSourceResult updateDataSource(UpdateDataSourceRequest updateDataSourceRequest)
Updates a DataSource
object.
updateDataSourceRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.UpdateFunctionResult updateFunction(UpdateFunctionRequest updateFunctionRequest)
Updates a Function
object.
updateFunctionRequest
- ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.UpdateGraphqlApiResult updateGraphqlApi(UpdateGraphqlApiRequest updateGraphqlApiRequest)
Updates a GraphqlApi
object.
updateGraphqlApiRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.AccessDeniedException
- You do not have access to perform this operation on this resource.UpdateResolverResult updateResolver(UpdateResolverRequest updateResolverRequest)
Updates a Resolver
object.
updateResolverRequest
- ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.UpdateTypeResult updateType(UpdateTypeRequest updateTypeRequest)
Updates a Type
object.
updateTypeRequest
- BadRequestException
- The request is not well formed. For example, a value is invalid or a required field is missing. Check the
field values, and then try again.ConcurrentModificationException
- Another modification is in progress at this time and it must complete before you can make your change.NotFoundException
- The resource specified in the request was not found. Check the resource, and then try again.UnauthorizedException
- You are not authorized to perform this operation.InternalFailureException
- An internal AWS AppSync error occurred. Try your request again.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.