diff --git a/moto/route53resolver/models.py b/moto/route53resolver/models.py index 36254c0f0..c6315b624 100644 --- a/moto/route53resolver/models.py +++ b/moto/route53resolver/models.py @@ -2,6 +2,7 @@ from collections import defaultdict from datetime import datetime, timezone from ipaddress import ip_address, ip_network +import re from boto3 import Session @@ -25,6 +26,8 @@ from moto.route53resolver.validations import validate_args from moto.utilities.paginator import paginate from moto.utilities.tagging_service import TaggingService +CAMEL_TO_SNAKE_PATTERN = re.compile(r"(?