Route 53 Resolver

Implementation details for API route53resolver

Coverage Overview

Route 53 Resolver is supported by LocalStack in the community image.

AvailabilityTesting*
OperationImplementedImageInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
AssociateFirewallRuleGroup✔️community✔️✔️
AssociateResolverEndpointIpAddress✔️community✔️
AssociateResolverQueryLogConfig✔️community✔️✔️
AssociateResolverRule✔️community✔️✔️✔️✔️✔️Show Tests
CreateFirewallDomainList✔️community✔️✔️✔️✔️✔️Show Tests
CreateFirewallRule✔️community✔️✔️
CreateFirewallRuleGroup✔️community✔️✔️
CreateOutpostResolver
CreateResolverEndpoint✔️community✔️✔️✔️✔️Show Tests
CreateResolverQueryLogConfig✔️community✔️✔️✔️✔️✔️Show Tests
CreateResolverRule✔️community✔️✔️✔️✔️✔️Show Tests
DeleteFirewallDomainList✔️community✔️✔️✔️✔️✔️Show Tests
DeleteFirewallRule✔️community✔️✔️
DeleteFirewallRuleGroup✔️community✔️✔️
DeleteOutpostResolver
DeleteResolverEndpoint✔️community✔️✔️✔️✔️Show Tests
DeleteResolverQueryLogConfig✔️community✔️✔️✔️✔️✔️Show Tests
DeleteResolverRule✔️community✔️✔️✔️✔️✔️Show Tests
DisassociateFirewallRuleGroup✔️community✔️✔️
DisassociateResolverEndpointIpAddress✔️community✔️
DisassociateResolverQueryLogConfig✔️community✔️✔️
DisassociateResolverRule✔️community✔️✔️✔️✔️✔️Show Tests
GetFirewallConfig✔️community✔️✔️
GetFirewallDomainList✔️community✔️✔️
GetFirewallRuleGroup✔️community✔️✔️
GetFirewallRuleGroupAssociation✔️community✔️✔️
GetFirewallRuleGroupPolicy
GetOutpostResolver
GetResolverConfig
GetResolverDnssecConfig
GetResolverEndpoint✔️community✔️✔️✔️✔️Show Tests
GetResolverQueryLogConfig✔️community✔️✔️
GetResolverQueryLogConfigAssociation✔️community✔️✔️
GetResolverQueryLogConfigPolicy
GetResolverRule✔️community✔️✔️
GetResolverRuleAssociation✔️community✔️✔️✔️✔️✔️Show Tests
GetResolverRulePolicy
ImportFirewallDomains
ListFirewallConfigs✔️community✔️✔️
ListFirewallDomainLists✔️community✔️✔️✔️Show Tests
ListFirewallDomains✔️community✔️✔️
ListFirewallRuleGroupAssociations
ListFirewallRuleGroups✔️community
ListFirewallRules✔️community✔️✔️
ListOutpostResolvers
ListResolverConfigs
ListResolverDnssecConfigs
ListResolverEndpointIpAddresses✔️community✔️
ListResolverEndpoints✔️community✔️✔️✔️✔️✔️Show Tests
ListResolverQueryLogConfigAssociations✔️community
ListResolverQueryLogConfigs✔️community✔️✔️✔️✔️✔️Show Tests
ListResolverRuleAssociations✔️community✔️✔️✔️✔️Show Tests
ListResolverRules✔️community✔️✔️
ListTagsForResource✔️community✔️✔️✔️✔️✔️Show Tests
PutFirewallRuleGroupPolicy
PutResolverQueryLogConfigPolicy
PutResolverRulePolicy
TagResource✔️community✔️✔️
UntagResource✔️community✔️✔️
UpdateFirewallConfig✔️community✔️✔️
UpdateFirewallDomains✔️community✔️✔️
UpdateFirewallRule✔️community
UpdateFirewallRuleGroupAssociation✔️community✔️✔️
UpdateOutpostResolver
UpdateResolverConfig
UpdateResolverDnssecConfig
UpdateResolverEndpoint✔️community✔️✔️✔️✔️Show Tests
UpdateResolverRule

Terminology

  • Internal Test Suite: tested by LocalStack's internal integration test suite
  • External Test Suite: covered by an external integration test suite, that runs against LocalStack
  • Terraform Validated: operation tested with Terraform
  • AWS Validated: the integration test that includes this operation call was validated against AWS
  • Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same

Testing Details

This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.

How to read the test details?

For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the execution of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.

  • Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
  • Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
    • test name
    • status code returned (which is the expected one for the test case)
    • information about validation:
      • AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
      • Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS


AssociateResolverRule

Parameters: Name, ResolverRuleId, VPCId
  • LocalStack Community
    • test_associate_and_disassociate_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_associate_and_disassociate_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested

CreateFirewallDomainList

Parameters: CreatorRequestId, Name, Tags
  • LocalStack Community
    • test_list_firewall_domain_lists LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_list_firewall_domain_lists HTTP Status Code: 200 AWS validated Snapshot Tested

CreateResolverEndpoint

Parameters: CreatorRequestId, Direction, IpAddresses, Name, SecurityGroupIds
  • LocalStack Community
    • test_associate_and_disassociate_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_associate_and_disassociate_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_endpoint[INBOUND-5] LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_endpoint[INBOUND-5] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_endpoint[OUTBOUND-10] LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_endpoint[OUTBOUND-10] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_rule_with_invalid_direction LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule_with_invalid_direction HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multipe_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multipe_create_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multiple_create_resolver_endpoint_with_same_req_id LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multiple_create_resolver_endpoint_with_same_req_id HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multiple_create_resolver_endpoint_with_same_req_id LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multiple_create_resolver_endpoint_with_same_req_id HTTP Status Code: 400 (ResourceExistsException) AWS validated Snapshot Tested
    • test_route53resolver_bad_create_endpoint_security_groups LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_route53resolver_bad_create_endpoint_security_groups HTTP Status Code: 400 (InvalidParameterException) AWS validated Snapshot Tested
Parameters: CreatorRequestId, Direction, IpAddresses, SecurityGroupIds
  • LocalStack Community
    • test_delete_resolver_endpoint LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_delete_resolver_endpoint HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_resolver_endpoint LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_update_resolver_endpoint HTTP Status Code: 200 AWS validated Snapshot Tested

CreateResolverQueryLogConfig

Parameters: CreatorRequestId, DestinationArn, Name
  • LocalStack Community
    • test_create_resolver_query_log_config LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_query_log_config HTTP Status Code: 200 AWS validated Snapshot Tested

CreateResolverRule

Parameters: CreatorRequestId, DomainName, ResolverEndpointId, RuleType, TargetIps
  • LocalStack Community
    • test_associate_and_disassociate_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_associate_and_disassociate_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multipe_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multipe_create_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_rule_with_invalid_direction LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule_with_invalid_direction HTTP Status Code: 400 (InvalidRequestException) AWS validated Snapshot Tested

DeleteFirewallDomainList

Parameters: FirewallDomainListId
  • LocalStack Community
    • test_list_firewall_domain_lists LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_list_firewall_domain_lists HTTP Status Code: 200 AWS validated Snapshot Tested

DeleteResolverEndpoint

Parameters: ResolverEndpointId
  • LocalStack Community
    • test_associate_and_disassociate_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_associate_and_disassociate_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_endpoint[INBOUND-5] LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_endpoint[INBOUND-5] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_endpoint[OUTBOUND-10] LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_endpoint[OUTBOUND-10] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_rule_with_invalid_direction LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule_with_invalid_direction HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_delete_resolver_endpoint LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_delete_resolver_endpoint HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multipe_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multipe_create_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multiple_create_resolver_endpoint_with_same_req_id LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multiple_create_resolver_endpoint_with_same_req_id HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_resolver_endpoint LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_update_resolver_endpoint HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_delete_non_existent_resolver_endpoint LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_delete_non_existent_resolver_endpoint HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_delete_resolver_endpoint LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_delete_resolver_endpoint HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

DeleteResolverQueryLogConfig

Parameters: ResolverQueryLogConfigId
  • LocalStack Community
    • test_create_resolver_query_log_config LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_query_log_config HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_query_log_config LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_query_log_config HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_delete_non_existent_resolver_query_log_config LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_delete_non_existent_resolver_query_log_config HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

DeleteResolverRule

Parameters: ResolverRuleId
  • LocalStack Community
    • test_associate_and_disassociate_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_associate_and_disassociate_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multipe_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multipe_create_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_delete_non_existent_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_delete_non_existent_resolver_rule HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

DisassociateResolverRule

Parameters: ResolverRuleId, VPCId
  • LocalStack Community
    • test_associate_and_disassociate_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_associate_and_disassociate_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_disassociate_non_existent_association LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_disassociate_non_existent_association HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

GetResolverEndpoint

Parameters: ResolverEndpointId
  • LocalStack Community
    • test_associate_and_disassociate_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_associate_and_disassociate_resolver_rule HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_create_resolver_endpoint[INBOUND-5] LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_endpoint[INBOUND-5] HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_create_resolver_endpoint[OUTBOUND-10] LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_endpoint[OUTBOUND-10] HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_create_resolver_rule_with_invalid_direction LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule_with_invalid_direction HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_multipe_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multipe_create_resolver_rule HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_multiple_create_resolver_endpoint_with_same_req_id LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multiple_create_resolver_endpoint_with_same_req_id HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_update_resolver_endpoint LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_update_resolver_endpoint HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

GetResolverRuleAssociation

Parameters: ResolverRuleAssociationId
  • LocalStack Community
    • test_associate_and_disassociate_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_associate_and_disassociate_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested

ListFirewallDomainLists

Parameters: - (without any parameters)
  • LocalStack Community
    • test_list_firewall_domain_lists LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_list_firewall_domain_lists HTTP Status Code: 200 AWS validated Snapshot Tested

ListResolverEndpoints

Parameters: - (without any parameters)
  • LocalStack Community
    • test_associate_and_disassociate_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_associate_and_disassociate_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_endpoint[INBOUND-5] LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_endpoint[INBOUND-5] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_endpoint[OUTBOUND-10] LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_endpoint[OUTBOUND-10] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_resolver_rule_with_invalid_direction LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_rule_with_invalid_direction HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_delete_resolver_endpoint LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_delete_resolver_endpoint HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multipe_create_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multipe_create_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multiple_create_resolver_endpoint_with_same_req_id LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_multiple_create_resolver_endpoint_with_same_req_id HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_update_resolver_endpoint LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_update_resolver_endpoint HTTP Status Code: 200 AWS validated Snapshot Tested

ListResolverQueryLogConfigs

Parameters: - (without any parameters)
  • LocalStack Community
    • test_create_resolver_query_log_config LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_create_resolver_query_log_config HTTP Status Code: 200 AWS validated Snapshot Tested

ListResolverRuleAssociations

Parameters: - (without any parameters)
  • LocalStack Community
    • test_associate_and_disassociate_resolver_rule LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_associate_and_disassociate_resolver_rule HTTP Status Code: 200 AWS validated Snapshot Tested

ListTagsForResource

Parameters: ResourceArn
  • LocalStack Community
    • test_list_firewall_domain_lists LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_list_firewall_domain_lists HTTP Status Code: 200 AWS validated Snapshot Tested

UpdateResolverEndpoint

Parameters: Name, ResolverEndpointId
  • LocalStack Community
    • test_update_resolver_endpoint LocalStack Community: tests/aws/services/route53resolver/test_route53resolver.py::TestRoute53Resolver::test_update_resolver_endpoint HTTP Status Code: 200 AWS validated Snapshot Tested