Skip to content

ListOperations

Source: src/AWS/Route53Domains/ListOperations.ts

Runtime binding for route53domains:ListOperations — list the asynchronous Route 53 Domains operations (registrations, renewals, transfers, nameserver updates) performed on domains registered by the current AWS account, optionally filtered by status, type, or submission date.

Route 53 Domains is a global registration API with no resource-level IAM: the binding takes no arguments and grants the function route53domains:ListOperations 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.ListOperationsHttp).

// init
const listOperations = yield* AWS.Route53Domains.ListOperations();
// runtime
const result = yield* listOperations({
Status: ["IN_PROGRESS"],
MaxItems: 20,
});
const ids = (result.Operations ?? []).map((op) => op.OperationId);