Usage
import type { Usage } from "https://aws-api.deno.dev/v0.4/services/apigateway.ts?docs=full";
Represents the usage data of a usage plan.
interface Usage {
endDate?: string | null;
items?: {} | null;
[key: string]: number[][] | null | undefined;
position?: string | null;
startDate?: string | null;
usagePlanId?: string | null;
}§Properties
§
items?: {} | null
[src][key: string]: number[][] | null | undefined;
The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan.
For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}
, where {api_key}
stands for an API key value and the daily log entry is of the format [used quota, remaining quota]
.