UpdateApiKey
Source:
src/AWS/ApiGateway/UpdateApiKey.ts
Runtime binding for patching an API Gateway API key
(apigateway:PATCH on /apikeys/{id}). Account-scoped — takes no
resource.
Provide ApiGateway.UpdateApiKeyHttp on the Function effect to
implement the binding.
Managing API keys
Section titled “Managing API keys”// initconst updateApiKey = yield* ApiGateway.UpdateApiKey();
// runtimeyield* updateApiKey({ apiKey: keyId, patchOperations: [{ op: "replace", path: "/enabled", value: "false" }],});