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