Skip to content

GetUsagePlanKeys

Source: src/AWS/ApiGateway/GetUsagePlanKeys.ts

Runtime binding for listing the API keys enrolled in a UsagePlan (apigateway:GET on /usageplans/{id}/keys).

Provide ApiGateway.GetUsagePlanKeysHttp on the Function effect to implement the binding.

// init
const getUsagePlanKeys = yield* ApiGateway.GetUsagePlanKeys(plan);
// runtime
const page = yield* getUsagePlanKeys({ limit: 100 });