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

Spend

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

The amount of cost or usage that is measured for a budget.

For example, a Spend for 3 GB of S3 usage would have the following parameters:

  • An Amount of 3
  • A unit of GB
interface Spend {
Amount: string;
Unit: string;
}

§Properties

§
Amount: string
[src]

The cost or usage amount that is associated with a budget forecast, actual spend, or budget threshold.

§
Unit: string
[src]

The unit of measurement that is used for the budget forecast, actual spend, or budget threshold, such as dollars or GB.