Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import type { Usage } from "https://aws-api.deno.dev/v0.3/services/apigateway.ts?docs=full";

Represents the usage data of a usage plan.

See also: Create and Use Usage Plans, Manage Usage in a Usage Plan

interface Usage {
endDate?: string | null;
items?: {
[key: string]: number[][] | null | undefined;
}
| null;
position?: string | null;
startDate?: string | null;
usagePlanId?: string | null;
}

§Properties

§
endDate?: string | null
[src]

The ending date of the usage data.

§
items?: {
[key: string]: number[][] | null | undefined;
}
| null
[src]

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].

§
position?: string | null
[src]
§
startDate?: string | null
[src]

The starting date of the usage data.

§
usagePlanId?: string | null
[src]

The plan Id associated with this usage data.