Creates a cache for the GraphQL API.
Use a bare-bones client and the command you need to make an API call.
import { AppSyncClient, CreateApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import // const { AppSyncClient, CreateApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import const client = new AppSyncClient(config); const command = new CreateApiCacheCommand(input); const response = await client.send(command);
CreateApiCacheCommandInput for command's input shape.
input
CreateApiCacheCommandOutput for command's response shape.
response
config for AppSyncClient's config shape.
config
Creates a cache for the GraphQL API.
Use a bare-bones client and the command you need to make an API call.
import { AppSyncClient, CreateApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import // const { AppSyncClient, CreateApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import const client = new AppSyncClient(config); const command = new CreateApiCacheCommand(input); const response = await client.send(command);
CreateApiCacheCommandInput for command's
input
shape.CreateApiCacheCommandOutput for command's
response
shape.config for AppSyncClient's
config
shape.