GetMultiRegionAccessPointRoutes
Source:
src/AWS/S3Control/GetMultiRegionAccessPointRoutes.ts
Runtime binding for s3:GetMultiRegionAccessPointRoutes.
Reads the bound MultiRegionAccessPoint’s per-region routing
configuration (each region’s TrafficDialPercentage) — the observe half
of an active/passive failover controller. Requests are routed to the
us-west-2 MRAP control plane. Provide the implementation with
Effect.provide(AWS.S3Control.GetMultiRegionAccessPointRoutesHttp).
Controlling Multi-Region Failover
Section titled “Controlling Multi-Region Failover”// init — bind the operation to the Multi-Region Access Pointconst getRoutes = yield* AWS.S3Control.GetMultiRegionAccessPointRoutes(mrap);
// runtimeconst { Routes } = yield* getRoutes();// Routes?.map((r) => `${r.Region}: ${r.TrafficDialPercentage}%`)