Skip to content

GetUsageTotals

Source: src/AWS/Macie2/GetUsageTotals.ts

Runtime binding for macie2:GetUsageTotals.

Retrieves (queries) aggregated usage data for an account. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.Macie2.GetUsageTotalsHttp).

// init — account-level binding, no resource argument
const getUsageTotals = yield* AWS.Macie2.GetUsageTotals();
// runtime
const { usageTotals } = yield* getUsageTotals();