CheckDomainTransferability
Source:
src/AWS/Route53Domains/CheckDomainTransferability.ts
Runtime binding for route53domains:CheckDomainTransferability — check
whether a domain can be transferred to Amazon Route 53 from another
registrar.
Route 53 Domains is a global registration API with no resource-level IAM:
the binding takes no arguments and grants the function
route53domains:CheckDomainTransferability 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.CheckDomainTransferabilityHttp).
Checking Domain Transferability
Section titled “Checking Domain Transferability”// initconst checkDomainTransferability = yield* AWS.Route53Domains.CheckDomainTransferability();
// runtimeconst result = yield* checkDomainTransferability({ DomainName: "example.com",});if (result.Transferability?.Transferable === "TRANSFERABLE") { // domain can be transferred to Route 53}