Skip to content

GetUsageStatistics

Source: src/AWS/Macie2/GetUsageStatistics.ts

Runtime binding for macie2:GetUsageStatistics.

Retrieves (queries) quotas and aggregated usage data for one or more accounts. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.Macie2.GetUsageStatisticsHttp).

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