GetBucketStatistics
Source:
src/AWS/Macie2/GetBucketStatistics.ts
Runtime binding for macie2:GetBucketStatistics.
Retrieves (queries) aggregated statistical data about all the 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.GetBucketStatisticsHttp).
S3 Bucket Inventory
Section titled “S3 Bucket Inventory”// init — account-level binding, no resource argumentconst getBucketStatistics = yield* AWS.Macie2.GetBucketStatistics();
// runtimeconst { bucketCount } = yield* getBucketStatistics({});