Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Quota

Quota policy for a usage plan.

Properties

operationOnBreach

operationOnBreach: OperationOnBreach

What the usage plan will do when a quota is breached: {@code REJECT} will allow no further requests {@code ALLOW} will continue to allow further requests

resetPolicy

resetPolicy: ResetPolicy

The policy that controls when quotas will reset. Example: {@code CALENDAR}

unit

unit: Unit

The unit of time over which quotas are calculated. Example: {@code MINUTE} or {@code MONTH}

value

value: number

The number of requests that can be made per time period. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Quota): object

getJsonObj

  • getJsonObj(obj: Quota): object