Skip to content

GetAccessPoint

Source: src/AWS/S3Control/GetAccessPoint.ts

Runtime binding for s3:GetAccessPoint.

Reads the bound AccessPoint’s live configuration — bucket, network origin, public-access-block flags, alias and endpoints — e.g. an operational dashboard or a controller that verifies the access point is still wired to the expected bucket. The access point name and owning account are injected from the binding. Provide the implementation with Effect.provide(AWS.S3Control.GetAccessPointHttp).

// init — bind the operation to the access point
const getAccessPoint = yield* AWS.S3Control.GetAccessPoint(accessPoint);
// runtime
const live = yield* getAccessPoint();
// live.Bucket, live.NetworkOrigin, live.Endpoints