FlushStageAuthorizersCache
Source:
src/AWS/ApiGateway/FlushStageAuthorizersCache.ts
Runtime binding for flushing a stage’s authorizer result cache
(apigateway:DELETE on /restapis/{id}/stages/{name}/cache/authorizers).
Bind a Stage inside a function runtime to drop cached authorizer
verdicts — e.g. immediately revoking access after a permission change,
without waiting out authorizerResultTtl. Provide
ApiGateway.FlushStageAuthorizersCacheHttp on the Function effect to
implement the binding.
Flushing caches
Section titled “Flushing caches”// initconst flushAuthorizers = yield* ApiGateway.FlushStageAuthorizersCache(stage);
// runtimeyield* flushAuthorizers();