Skip to content

DescribeBuckets

Source: src/AWS/Macie2/DescribeBuckets.ts

Runtime binding for macie2:DescribeBuckets.

Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.Macie2.DescribeBucketsHttp).

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