@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSAppSync extends Object implements AWSAppSync
AWSAppSync. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIXpublic AssociateApiResult associateApi(AssociateApiRequest request)
AWSAppSyncMaps an endpoint to your custom domain.
associateApi in interface AWSAppSyncpublic AssociateMergedGraphqlApiResult associateMergedGraphqlApi(AssociateMergedGraphqlApiRequest request)
AWSAppSyncCreates an association between a Merged API and source API using the source API's identifier.
associateMergedGraphqlApi in interface AWSAppSyncpublic AssociateSourceGraphqlApiResult associateSourceGraphqlApi(AssociateSourceGraphqlApiRequest request)
AWSAppSyncCreates an association between a Merged API and source API using the Merged API's identifier.
associateSourceGraphqlApi in interface AWSAppSyncpublic CreateApiCacheResult createApiCache(CreateApiCacheRequest request)
AWSAppSyncCreates a cache for the GraphQL API.
createApiCache in interface AWSAppSyncrequest - Represents the input of a CreateApiCache operation.public CreateApiKeyResult createApiKey(CreateApiKeyRequest request)
AWSAppSyncCreates a unique key that you can distribute to clients who invoke your API.
createApiKey in interface AWSAppSyncpublic CreateDataSourceResult createDataSource(CreateDataSourceRequest request)
AWSAppSync
Creates a DataSource object.
createDataSource in interface AWSAppSyncpublic CreateDomainNameResult createDomainName(CreateDomainNameRequest request)
AWSAppSync
Creates a custom DomainName object.
createDomainName in interface AWSAppSyncpublic CreateFunctionResult createFunction(CreateFunctionRequest request)
AWSAppSync
Creates a Function object.
A function is a reusable entity. You can use multiple functions to compose the resolver logic.
createFunction in interface AWSAppSyncpublic CreateGraphqlApiResult createGraphqlApi(CreateGraphqlApiRequest request)
AWSAppSync
Creates a GraphqlApi object.
createGraphqlApi in interface AWSAppSyncpublic CreateResolverResult createResolver(CreateResolverRequest request)
AWSAppSync
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.
createResolver in interface AWSAppSyncpublic CreateTypeResult createType(CreateTypeRequest request)
AWSAppSync
Creates a Type object.
createType in interface AWSAppSyncpublic DeleteApiCacheResult deleteApiCache(DeleteApiCacheRequest request)
AWSAppSync
Deletes an ApiCache object.
deleteApiCache in interface AWSAppSyncrequest - Represents the input of a DeleteApiCache operation.public DeleteApiKeyResult deleteApiKey(DeleteApiKeyRequest request)
AWSAppSyncDeletes an API key.
deleteApiKey in interface AWSAppSyncpublic DeleteDataSourceResult deleteDataSource(DeleteDataSourceRequest request)
AWSAppSync
Deletes a DataSource object.
deleteDataSource in interface AWSAppSyncpublic DeleteDomainNameResult deleteDomainName(DeleteDomainNameRequest request)
AWSAppSync
Deletes a custom DomainName object.
deleteDomainName in interface AWSAppSyncpublic DeleteFunctionResult deleteFunction(DeleteFunctionRequest request)
AWSAppSync
Deletes a Function.
deleteFunction in interface AWSAppSyncpublic DeleteGraphqlApiResult deleteGraphqlApi(DeleteGraphqlApiRequest request)
AWSAppSync
Deletes a GraphqlApi object.
deleteGraphqlApi in interface AWSAppSyncpublic DeleteResolverResult deleteResolver(DeleteResolverRequest request)
AWSAppSync
Deletes a Resolver object.
deleteResolver in interface AWSAppSyncpublic DeleteTypeResult deleteType(DeleteTypeRequest request)
AWSAppSync
Deletes a Type object.
deleteType in interface AWSAppSyncpublic DisassociateApiResult disassociateApi(DisassociateApiRequest request)
AWSAppSync
Removes an ApiAssociation object from a custom domain.
disassociateApi in interface AWSAppSyncpublic DisassociateMergedGraphqlApiResult disassociateMergedGraphqlApi(DisassociateMergedGraphqlApiRequest request)
AWSAppSyncDeletes an association between a Merged API and source API using the source API's identifier and the association ID.
disassociateMergedGraphqlApi in interface AWSAppSyncpublic DisassociateSourceGraphqlApiResult disassociateSourceGraphqlApi(DisassociateSourceGraphqlApiRequest request)
AWSAppSyncDeletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
disassociateSourceGraphqlApi in interface AWSAppSyncpublic EvaluateCodeResult evaluateCode(EvaluateCodeRequest request)
AWSAppSync
Evaluates the given code and returns the response. The code definition requirements depend on the specified
runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request
function takes the incoming request after a GraphQL operation is parsed and converts it into a request
configuration for the selected data source operation. The response function interprets responses from the data
source and maps it to the shape of the GraphQL field output type.
evaluateCode in interface AWSAppSyncpublic EvaluateMappingTemplateResult evaluateMappingTemplate(EvaluateMappingTemplateRequest request)
AWSAppSyncEvaluates 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).
evaluateMappingTemplate in interface AWSAppSyncpublic FlushApiCacheResult flushApiCache(FlushApiCacheRequest request)
AWSAppSync
Flushes an ApiCache object.
flushApiCache in interface AWSAppSyncrequest - Represents the input of a FlushApiCache operation.public GetApiAssociationResult getApiAssociation(GetApiAssociationRequest request)
AWSAppSync
Retrieves an ApiAssociation object.
getApiAssociation in interface AWSAppSyncpublic GetApiCacheResult getApiCache(GetApiCacheRequest request)
AWSAppSync
Retrieves an ApiCache object.
getApiCache in interface AWSAppSyncrequest - Represents the input of a GetApiCache operation.public GetDataSourceResult getDataSource(GetDataSourceRequest request)
AWSAppSync
Retrieves a DataSource object.
getDataSource in interface AWSAppSyncpublic GetDataSourceIntrospectionResult getDataSourceIntrospection(GetDataSourceIntrospectionRequest request)
AWSAppSyncRetrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
getDataSourceIntrospection in interface AWSAppSyncpublic GetDomainNameResult getDomainName(GetDomainNameRequest request)
AWSAppSync
Retrieves a custom DomainName object.
getDomainName in interface AWSAppSyncpublic GetFunctionResult getFunction(GetFunctionRequest request)
AWSAppSync
Get a Function.
getFunction in interface AWSAppSyncpublic GetGraphqlApiResult getGraphqlApi(GetGraphqlApiRequest request)
AWSAppSync
Retrieves a GraphqlApi object.
getGraphqlApi in interface AWSAppSyncpublic GetGraphqlApiEnvironmentVariablesResult getGraphqlApiEnvironmentVariables(GetGraphqlApiEnvironmentVariablesRequest request)
AWSAppSyncRetrieves the list of environmental variable key-value pairs associated with an API by its ID value.
getGraphqlApiEnvironmentVariables in interface AWSAppSyncpublic GetIntrospectionSchemaResult getIntrospectionSchema(GetIntrospectionSchemaRequest request)
AWSAppSyncRetrieves the introspection schema for a GraphQL API.
getIntrospectionSchema in interface AWSAppSyncpublic GetResolverResult getResolver(GetResolverRequest request)
AWSAppSync
Retrieves a Resolver object.
getResolver in interface AWSAppSyncpublic GetSchemaCreationStatusResult getSchemaCreationStatus(GetSchemaCreationStatusRequest request)
AWSAppSyncRetrieves the current status of a schema creation operation.
getSchemaCreationStatus in interface AWSAppSyncpublic GetSourceApiAssociationResult getSourceApiAssociation(GetSourceApiAssociationRequest request)
AWSAppSync
Retrieves a SourceApiAssociation object.
getSourceApiAssociation in interface AWSAppSyncpublic GetTypeResult getType(GetTypeRequest request)
AWSAppSync
Retrieves a Type object.
getType in interface AWSAppSyncpublic ListApiKeysResult listApiKeys(ListApiKeysRequest request)
AWSAppSyncLists 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.
listApiKeys in interface AWSAppSyncpublic ListDataSourcesResult listDataSources(ListDataSourcesRequest request)
AWSAppSyncLists the data sources for a given API.
listDataSources in interface AWSAppSyncpublic ListDomainNamesResult listDomainNames(ListDomainNamesRequest request)
AWSAppSyncLists multiple custom domain names.
listDomainNames in interface AWSAppSyncpublic ListFunctionsResult listFunctions(ListFunctionsRequest request)
AWSAppSyncList multiple functions.
listFunctions in interface AWSAppSyncpublic ListGraphqlApisResult listGraphqlApis(ListGraphqlApisRequest request)
AWSAppSyncLists your GraphQL APIs.
listGraphqlApis in interface AWSAppSyncpublic ListResolversResult listResolvers(ListResolversRequest request)
AWSAppSyncLists the resolvers for a given API and type.
listResolvers in interface AWSAppSyncpublic ListResolversByFunctionResult listResolversByFunction(ListResolversByFunctionRequest request)
AWSAppSyncList the resolvers that are associated with a specific function.
listResolversByFunction in interface AWSAppSyncpublic ListSourceApiAssociationsResult listSourceApiAssociations(ListSourceApiAssociationsRequest request)
AWSAppSync
Lists the SourceApiAssociationSummary data.
listSourceApiAssociations in interface AWSAppSyncpublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSAppSyncLists the tags for a resource.
listTagsForResource in interface AWSAppSyncpublic ListTypesResult listTypes(ListTypesRequest request)
AWSAppSyncLists the types for a given API.
listTypes in interface AWSAppSyncpublic ListTypesByAssociationResult listTypesByAssociation(ListTypesByAssociationRequest request)
AWSAppSync
Lists Type objects by the source API association ID.
listTypesByAssociation in interface AWSAppSyncpublic PutGraphqlApiEnvironmentVariablesResult putGraphqlApiEnvironmentVariables(PutGraphqlApiEnvironmentVariablesRequest request)
AWSAppSyncCreates a list of environmental variables in an API by its ID value.
When creating an environmental variable, it must follow the constraints below:
Both JavaScript and VTL templates support environmental variables.
Environmental variables are not evaluated before function invocation.
Environmental variables only support string values.
Any defined value in an environmental variable is considered a string literal and not expanded.
Variable evaluations should ideally be performed in the function code.
When creating an environmental variable key-value pair, it must follow the additional constraints below:
Keys must begin with a letter.
Keys must be at least two characters long.
Keys can only contain letters, numbers, and the underscore character (_).
Values can be up to 512 characters long.
You can configure up to 50 key-value pairs in a GraphQL API.
You can create a list of environmental variables by adding it to the environmentVariables payload as
a list in the format {"key1":"value1","key2":"value2", …}. Note that each call of the
PutGraphqlApiEnvironmentVariables action will result in the overwriting of the existing
environmental variable list of that API. This means the existing environmental variables will be lost. To avoid
this, you must include all existing and new environmental variables in the list each time you call this action.
putGraphqlApiEnvironmentVariables in interface AWSAppSyncpublic StartDataSourceIntrospectionResult startDataSourceIntrospection(StartDataSourceIntrospectionRequest request)
AWSAppSync
Creates a new introspection. Returns the introspectionId of the new introspection after its
creation.
startDataSourceIntrospection in interface AWSAppSyncpublic StartSchemaCreationResult startSchemaCreation(StartSchemaCreationRequest request)
AWSAppSyncAdds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
startSchemaCreation in interface AWSAppSyncpublic StartSchemaMergeResult startSchemaMerge(StartSchemaMergeRequest request)
AWSAppSyncInitiates a merge operation. Returns a status that shows the result of the merge operation.
startSchemaMerge in interface AWSAppSyncpublic TagResourceResult tagResource(TagResourceRequest request)
AWSAppSyncTags a resource with user-supplied tags.
tagResource in interface AWSAppSyncpublic UntagResourceResult untagResource(UntagResourceRequest request)
AWSAppSyncUntags a resource.
untagResource in interface AWSAppSyncpublic UpdateApiCacheResult updateApiCache(UpdateApiCacheRequest request)
AWSAppSyncUpdates the cache for the GraphQL API.
updateApiCache in interface AWSAppSyncrequest - Represents the input of a UpdateApiCache operation.public UpdateApiKeyResult updateApiKey(UpdateApiKeyRequest request)
AWSAppSyncUpdates an API key. You can update the key as long as it's not deleted.
updateApiKey in interface AWSAppSyncpublic UpdateDataSourceResult updateDataSource(UpdateDataSourceRequest request)
AWSAppSync
Updates a DataSource object.
updateDataSource in interface AWSAppSyncpublic UpdateDomainNameResult updateDomainName(UpdateDomainNameRequest request)
AWSAppSync
Updates a custom DomainName object.
updateDomainName in interface AWSAppSyncpublic UpdateFunctionResult updateFunction(UpdateFunctionRequest request)
AWSAppSync
Updates a Function object.
updateFunction in interface AWSAppSyncpublic UpdateGraphqlApiResult updateGraphqlApi(UpdateGraphqlApiRequest request)
AWSAppSync
Updates a GraphqlApi object.
updateGraphqlApi in interface AWSAppSyncpublic UpdateResolverResult updateResolver(UpdateResolverRequest request)
AWSAppSync
Updates a Resolver object.
updateResolver in interface AWSAppSyncpublic UpdateSourceApiAssociationResult updateSourceApiAssociation(UpdateSourceApiAssociationRequest request)
AWSAppSyncUpdates some of the configuration choices of a particular source API association.
updateSourceApiAssociation in interface AWSAppSyncpublic UpdateTypeResult updateType(UpdateTypeRequest request)
AWSAppSync
Updates a Type object.
updateType in interface AWSAppSyncpublic void shutdown()
AWSAppSyncshutdown in interface AWSAppSyncpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSAppSyncResponse 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.
getCachedResponseMetadata in interface AWSAppSyncrequest - The originally executed request.