ListPrices
Source:
src/AWS/Route53Domains/ListPrices.ts
Runtime binding for route53domains:ListPrices — list registration,
transfer, renewal, restoration, and owner-change prices for the TLDs
supported by Route 53, or for one specific TLD.
Route 53 Domains is a global registration API with no resource-level IAM:
the binding takes no arguments and grants the function
route53domains:ListPrices on *. Calls are pinned to us-east-1, the
only region that serves the Route 53 Domains API, regardless of where the
function runs.
Provide the implementation with
Effect.provide(AWS.Route53Domains.ListPricesHttp).
Looking Up Prices
Section titled “Looking Up Prices”// initconst listPrices = yield* AWS.Route53Domains.ListPrices();
// runtimeconst result = yield* listPrices({ Tld: "com" });const price = result.Prices?.[0]?.RegistrationPrice?.Price;