FlushStageCache
Source:
src/AWS/ApiGateway/FlushStageCache.ts
Runtime binding for flushing a stage’s response cache
(apigateway:DELETE on /restapis/{id}/stages/{name}/cache/data).
Bind a Stage inside a function runtime to invalidate cached
responses after a content update. Provide
ApiGateway.FlushStageCacheHttp on the Function effect to implement the
binding.
Flushing caches
Section titled “Flushing caches”// initconst flushStageCache = yield* ApiGateway.FlushStageCache(stage);
// runtimeyield* flushStageCache();