tools.aws.route53 module

Route53 DNS tool handlers for the AWS tool group.

Defines the async handlers and tool definitions that let the bot read and mutate Amazon Route53 hosted zones and record sets on a per-user AWS account. Each handler resolves credentials through tools.aws.base and runs blocking boto3 calls inside asyncio.to_thread so the event loop stays free.

The handcrafted handlers (_list_hosted_zones, _list_record_sets, _change_record_sets) are collected in the module-level _LEGACY list, and _r53_json() adds generic JSON-passthrough entries for the remaining operations. Their union is exported as TOOLS, which tools/aws_tools.py folds into its aggregated, privilege-gated tool set; the handlers are never called directly in code but are dispatched by the tool runtime.