Skip to content

ListResourceRecordSets

Source: src/AWS/Route53/ListResourceRecordSets.ts

Runtime binding for the ListResourceRecordSets operation (IAM action route53:ListResourceRecordSets on the hosted zone ARN).

Pages through the bound HostedZone’s record sets — read the current DNS state before computing a change batch, or audit what a dynamic-DNS workflow has written. Provide the implementation with Effect.provide(AWS.Route53.ListResourceRecordSetsHttp).

const listRecordSets = yield* AWS.Route53.ListResourceRecordSets(zone);
const { ResourceRecordSets } = yield* listRecordSets({
StartRecordName: "www.example.com.",
MaxItems: 10,
});