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

UsageLimit

import type { UsageLimit } from "https://aws-api.deno.dev/v0.4/services/redshiftserverless.ts?docs=full";

The usage limit object.

interface UsageLimit {
amount?: number | null;
breachAction?: UsageLimitBreachAction | null;
period?: UsageLimitPeriod | null;
resourceArn?: string | null;
usageLimitArn?: string | null;
usageLimitId?: string | null;
usageType?: UsageLimitUsageType | null;
}

§Properties

§
amount?: number | null
[src]

The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.

§
breachAction?: UsageLimitBreachAction | null
[src]

The action that Amazon Redshift Serverless takes when the limit is reached.

§
period?: UsageLimitPeriod | null
[src]

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

§
resourceArn?: string | null
[src]

The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

§
usageLimitArn?: string | null
[src]

The Amazon Resource Name (ARN) of the resource associated with the usage limit.

§
usageLimitId?: string | null
[src]

The identifier of the usage limit.

§
usageType?: UsageLimitUsageType | null
[src]

The Amazon Redshift Serverless feature to limit.