ListAccessPoints
Source:
src/AWS/S3Control/ListAccessPoints.ts
Runtime binding for s3:ListAccessPoints.
Lists the access points in the caller’s account, optionally filtered to a
single bucket — e.g. an inventory Lambda that audits which endpoints
expose a shared dataset. The account id is resolved once via
sts:GetCallerIdentity. Provide the implementation with
Effect.provide(AWS.S3Control.ListAccessPointsHttp).
Listing Access Points
Section titled “Listing Access Points”// init — account-level binding, no resource argumentconst listAccessPoints = yield* AWS.S3Control.ListAccessPoints();
// runtimeconst page = yield* listAccessPoints({ Bucket: bucketName });// page.AccessPointList?.map((ap) => ap.Name)