ListDomains
Source:
src/AWS/Route53Domains/ListDomains.ts
Runtime binding for route53domains:ListDomains — list all domain names
registered with Route 53 for the current AWS account.
Route 53 Domains is a global registration API with no resource-level IAM:
the binding takes no arguments and grants the function
route53domains:ListDomains on *. Calls are pinned to us-east-1, the
only region that serves the Route 53 Domains API, regardless of where the
function runs.
Pass Marker from a previous response’s NextPageMarker to paginate.
Provide the implementation with
Effect.provide(AWS.Route53Domains.ListDomainsHttp).
Listing Registered Domains
Section titled “Listing Registered Domains”// initconst listDomains = yield* AWS.Route53Domains.ListDomains();
// runtimeconst result = yield* listDomains({ MaxItems: 100 });const names = (result.Domains ?? []).map((domain) => domain.DomainName);