Skip to content

Route53ResolverClient

Index > Route53Resolver > Route53ResolverClient

Auto-generated documentation for Route53Resolver type annotations stubs module mypy-boto3-route53resolver.

Route53ResolverClient

Type annotations and code completion for boto3.client("route53resolver"). boto3 documentation

Usage example
from boto3.session import Session
from mypy_boto3_route53resolver.client import Route53ResolverClient

def get_route53resolver_client() -> Route53ResolverClient:
    return Session().client("route53resolver")

Exceptions

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("route53resolver").exceptions structure.

Usage example
client = boto3.client("route53resolver")

try:
    do_something(client)
except (
    client.AccessDeniedException,
    client.ClientError,
    client.ConflictException,
    client.InternalServiceErrorException,
    client.InvalidNextTokenException,
    client.InvalidParameterException,
    client.InvalidPolicyDocument,
    client.InvalidRequestException,
    client.InvalidTagException,
    client.LimitExceededException,
    client.ResourceExistsException,
    client.ResourceInUseException,
    client.ResourceNotFoundException,
    client.ResourceUnavailableException,
    client.ThrottlingException,
    client.UnknownResourceException,
    client.ValidationException,
) as e:
    print(e)
Type checking example
from mypy_boto3_route53resolver.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods

associate_firewall_rule_group

Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.

Type annotations and code completion for boto3.client("route53resolver").associate_firewall_rule_group method. boto3 documentation

Method definition
def associate_firewall_rule_group(
    self,
    *,
    CreatorRequestId: str,
    FirewallRuleGroupId: str,
    VpcId: str,
    Priority: int,
    Name: str,
    MutationProtection: MutationProtectionStatusType = ...,  # (1)
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> AssociateFirewallRuleGroupResponseTypeDef:  # (3)
    ...
  1. See MutationProtectionStatusType
  2. See TagTypeDef
  3. See AssociateFirewallRuleGroupResponseTypeDef
Usage example with kwargs
kwargs: AssociateFirewallRuleGroupRequestRequestTypeDef = {  # (1)
    "CreatorRequestId": ...,
    "FirewallRuleGroupId": ...,
    "VpcId": ...,
    "Priority": ...,
    "Name": ...,
}

parent.associate_firewall_rule_group(**kwargs)
  1. See AssociateFirewallRuleGroupRequestRequestTypeDef

associate_resolver_endpoint_ip_address

Adds IP addresses to an inbound or an outbound Resolver endpoint.

Type annotations and code completion for boto3.client("route53resolver").associate_resolver_endpoint_ip_address method. boto3 documentation

Method definition
def associate_resolver_endpoint_ip_address(
    self,
    *,
    ResolverEndpointId: str,
    IpAddress: IpAddressUpdateTypeDef,  # (1)
) -> AssociateResolverEndpointIpAddressResponseTypeDef:  # (2)
    ...
  1. See IpAddressUpdateTypeDef
  2. See AssociateResolverEndpointIpAddressResponseTypeDef
Usage example with kwargs
kwargs: AssociateResolverEndpointIpAddressRequestRequestTypeDef = {  # (1)
    "ResolverEndpointId": ...,
    "IpAddress": ...,
}

parent.associate_resolver_endpoint_ip_address(**kwargs)
  1. See AssociateResolverEndpointIpAddressRequestRequestTypeDef

associate_resolver_query_log_config

Associates an Amazon VPC with a specified query logging configuration.

Type annotations and code completion for boto3.client("route53resolver").associate_resolver_query_log_config method. boto3 documentation

Method definition
def associate_resolver_query_log_config(
    self,
    *,
    ResolverQueryLogConfigId: str,
    ResourceId: str,
) -> AssociateResolverQueryLogConfigResponseTypeDef:  # (1)
    ...
  1. See AssociateResolverQueryLogConfigResponseTypeDef
Usage example with kwargs
kwargs: AssociateResolverQueryLogConfigRequestRequestTypeDef = {  # (1)
    "ResolverQueryLogConfigId": ...,
    "ResourceId": ...,
}

parent.associate_resolver_query_log_config(**kwargs)
  1. See AssociateResolverQueryLogConfigRequestRequestTypeDef

associate_resolver_rule

Associates a Resolver rule with a VPC.

Type annotations and code completion for boto3.client("route53resolver").associate_resolver_rule method. boto3 documentation

Method definition
def associate_resolver_rule(
    self,
    *,
    ResolverRuleId: str,
    VPCId: str,
    Name: str = ...,
) -> AssociateResolverRuleResponseTypeDef:  # (1)
    ...
  1. See AssociateResolverRuleResponseTypeDef
Usage example with kwargs
kwargs: AssociateResolverRuleRequestRequestTypeDef = {  # (1)
    "ResolverRuleId": ...,
    "VPCId": ...,
}

parent.associate_resolver_rule(**kwargs)
  1. See AssociateResolverRuleRequestRequestTypeDef

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("route53resolver").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("route53resolver").close method. boto3 documentation

Method definition
def close(
    self,
) -> None:
    ...

create_firewall_domain_list

Creates an empty firewall domain list for use in DNS Firewall rules.

Type annotations and code completion for boto3.client("route53resolver").create_firewall_domain_list method. boto3 documentation

Method definition
def create_firewall_domain_list(
    self,
    *,
    CreatorRequestId: str,
    Name: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateFirewallDomainListResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateFirewallDomainListResponseTypeDef
Usage example with kwargs
kwargs: CreateFirewallDomainListRequestRequestTypeDef = {  # (1)
    "CreatorRequestId": ...,
    "Name": ...,
}

parent.create_firewall_domain_list(**kwargs)
  1. See CreateFirewallDomainListRequestRequestTypeDef

create_firewall_rule

Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.

Type annotations and code completion for boto3.client("route53resolver").create_firewall_rule method. boto3 documentation

Method definition
def create_firewall_rule(
    self,
    *,
    CreatorRequestId: str,
    FirewallRuleGroupId: str,
    FirewallDomainListId: str,
    Priority: int,
    Action: ActionType,  # (1)
    Name: str,
    BlockResponse: BlockResponseType = ...,  # (2)
    BlockOverrideDomain: str = ...,
    BlockOverrideDnsType: BlockOverrideDnsTypeType = ...,  # (3)
    BlockOverrideTtl: int = ...,
) -> CreateFirewallRuleResponseTypeDef:  # (4)
    ...
  1. See ActionType
  2. See BlockResponseType
  3. See BlockOverrideDnsTypeType
  4. See CreateFirewallRuleResponseTypeDef
Usage example with kwargs
kwargs: CreateFirewallRuleRequestRequestTypeDef = {  # (1)
    "CreatorRequestId": ...,
    "FirewallRuleGroupId": ...,
    "FirewallDomainListId": ...,
    "Priority": ...,
    "Action": ...,
    "Name": ...,
}

parent.create_firewall_rule(**kwargs)
  1. See CreateFirewallRuleRequestRequestTypeDef

create_firewall_rule_group

Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC.

Type annotations and code completion for boto3.client("route53resolver").create_firewall_rule_group method. boto3 documentation

Method definition
def create_firewall_rule_group(
    self,
    *,
    CreatorRequestId: str,
    Name: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateFirewallRuleGroupResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateFirewallRuleGroupResponseTypeDef
Usage example with kwargs
kwargs: CreateFirewallRuleGroupRequestRequestTypeDef = {  # (1)
    "CreatorRequestId": ...,
    "Name": ...,
}

parent.create_firewall_rule_group(**kwargs)
  1. See CreateFirewallRuleGroupRequestRequestTypeDef

create_resolver_endpoint

Creates a Resolver endpoint.

Type annotations and code completion for boto3.client("route53resolver").create_resolver_endpoint method. boto3 documentation

Method definition
def create_resolver_endpoint(
    self,
    *,
    CreatorRequestId: str,
    SecurityGroupIds: Sequence[str],
    Direction: ResolverEndpointDirectionType,  # (1)
    IpAddresses: Sequence[IpAddressRequestTypeDef],  # (2)
    Name: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (3)
) -> CreateResolverEndpointResponseTypeDef:  # (4)
    ...
  1. See ResolverEndpointDirectionType
  2. See IpAddressRequestTypeDef
  3. See TagTypeDef
  4. See CreateResolverEndpointResponseTypeDef
Usage example with kwargs
kwargs: CreateResolverEndpointRequestRequestTypeDef = {  # (1)
    "CreatorRequestId": ...,
    "SecurityGroupIds": ...,
    "Direction": ...,
    "IpAddresses": ...,
}

parent.create_resolver_endpoint(**kwargs)
  1. See CreateResolverEndpointRequestRequestTypeDef

create_resolver_query_log_config

Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs.

Type annotations and code completion for boto3.client("route53resolver").create_resolver_query_log_config method. boto3 documentation

Method definition
def create_resolver_query_log_config(
    self,
    *,
    Name: str,
    DestinationArn: str,
    CreatorRequestId: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateResolverQueryLogConfigResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateResolverQueryLogConfigResponseTypeDef
Usage example with kwargs
kwargs: CreateResolverQueryLogConfigRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "DestinationArn": ...,
    "CreatorRequestId": ...,
}

parent.create_resolver_query_log_config(**kwargs)
  1. See CreateResolverQueryLogConfigRequestRequestTypeDef

create_resolver_rule

For DNS queries that originate in your VPCs, specifies which Resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.

Type annotations and code completion for boto3.client("route53resolver").create_resolver_rule method. boto3 documentation

Method definition
def create_resolver_rule(
    self,
    *,
    CreatorRequestId: str,
    RuleType: RuleTypeOptionType,  # (1)
    DomainName: str,
    Name: str = ...,
    TargetIps: Sequence[TargetAddressTypeDef] = ...,  # (2)
    ResolverEndpointId: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (3)
) -> CreateResolverRuleResponseTypeDef:  # (4)
    ...
  1. See RuleTypeOptionType
  2. See TargetAddressTypeDef
  3. See TagTypeDef
  4. See CreateResolverRuleResponseTypeDef
Usage example with kwargs
kwargs: CreateResolverRuleRequestRequestTypeDef = {  # (1)
    "CreatorRequestId": ...,
    "RuleType": ...,
    "DomainName": ...,
}

parent.create_resolver_rule(**kwargs)
  1. See CreateResolverRuleRequestRequestTypeDef

delete_firewall_domain_list

Deletes the specified domain list.

Type annotations and code completion for boto3.client("route53resolver").delete_firewall_domain_list method. boto3 documentation

Method definition
def delete_firewall_domain_list(
    self,
    *,
    FirewallDomainListId: str,
) -> DeleteFirewallDomainListResponseTypeDef:  # (1)
    ...
  1. See DeleteFirewallDomainListResponseTypeDef
Usage example with kwargs
kwargs: DeleteFirewallDomainListRequestRequestTypeDef = {  # (1)
    "FirewallDomainListId": ...,
}

parent.delete_firewall_domain_list(**kwargs)
  1. See DeleteFirewallDomainListRequestRequestTypeDef

delete_firewall_rule

Deletes the specified firewall rule.

Type annotations and code completion for boto3.client("route53resolver").delete_firewall_rule method. boto3 documentation

Method definition
def delete_firewall_rule(
    self,
    *,
    FirewallRuleGroupId: str,
    FirewallDomainListId: str,
) -> DeleteFirewallRuleResponseTypeDef:  # (1)
    ...
  1. See DeleteFirewallRuleResponseTypeDef
Usage example with kwargs
kwargs: DeleteFirewallRuleRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupId": ...,
    "FirewallDomainListId": ...,
}

parent.delete_firewall_rule(**kwargs)
  1. See DeleteFirewallRuleRequestRequestTypeDef

delete_firewall_rule_group

Deletes the specified firewall rule group.

Type annotations and code completion for boto3.client("route53resolver").delete_firewall_rule_group method. boto3 documentation

Method definition
def delete_firewall_rule_group(
    self,
    *,
    FirewallRuleGroupId: str,
) -> DeleteFirewallRuleGroupResponseTypeDef:  # (1)
    ...
  1. See DeleteFirewallRuleGroupResponseTypeDef
Usage example with kwargs
kwargs: DeleteFirewallRuleGroupRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupId": ...,
}

parent.delete_firewall_rule_group(**kwargs)
  1. See DeleteFirewallRuleGroupRequestRequestTypeDef

delete_resolver_endpoint

Deletes a Resolver endpoint.

Type annotations and code completion for boto3.client("route53resolver").delete_resolver_endpoint method. boto3 documentation

Method definition
def delete_resolver_endpoint(
    self,
    *,
    ResolverEndpointId: str,
) -> DeleteResolverEndpointResponseTypeDef:  # (1)
    ...
  1. See DeleteResolverEndpointResponseTypeDef
Usage example with kwargs
kwargs: DeleteResolverEndpointRequestRequestTypeDef = {  # (1)
    "ResolverEndpointId": ...,
}

parent.delete_resolver_endpoint(**kwargs)
  1. See DeleteResolverEndpointRequestRequestTypeDef

delete_resolver_query_log_config

Deletes a query logging configuration.

Type annotations and code completion for boto3.client("route53resolver").delete_resolver_query_log_config method. boto3 documentation

Method definition
def delete_resolver_query_log_config(
    self,
    *,
    ResolverQueryLogConfigId: str,
) -> DeleteResolverQueryLogConfigResponseTypeDef:  # (1)
    ...
  1. See DeleteResolverQueryLogConfigResponseTypeDef
Usage example with kwargs
kwargs: DeleteResolverQueryLogConfigRequestRequestTypeDef = {  # (1)
    "ResolverQueryLogConfigId": ...,
}

parent.delete_resolver_query_log_config(**kwargs)
  1. See DeleteResolverQueryLogConfigRequestRequestTypeDef

delete_resolver_rule

Deletes a Resolver rule.

Type annotations and code completion for boto3.client("route53resolver").delete_resolver_rule method. boto3 documentation

Method definition
def delete_resolver_rule(
    self,
    *,
    ResolverRuleId: str,
) -> DeleteResolverRuleResponseTypeDef:  # (1)
    ...
  1. See DeleteResolverRuleResponseTypeDef
Usage example with kwargs
kwargs: DeleteResolverRuleRequestRequestTypeDef = {  # (1)
    "ResolverRuleId": ...,
}

parent.delete_resolver_rule(**kwargs)
  1. See DeleteResolverRuleRequestRequestTypeDef

disassociate_firewall_rule_group

Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.

Type annotations and code completion for boto3.client("route53resolver").disassociate_firewall_rule_group method. boto3 documentation

Method definition
def disassociate_firewall_rule_group(
    self,
    *,
    FirewallRuleGroupAssociationId: str,
) -> DisassociateFirewallRuleGroupResponseTypeDef:  # (1)
    ...
  1. See DisassociateFirewallRuleGroupResponseTypeDef
Usage example with kwargs
kwargs: DisassociateFirewallRuleGroupRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupAssociationId": ...,
}

parent.disassociate_firewall_rule_group(**kwargs)
  1. See DisassociateFirewallRuleGroupRequestRequestTypeDef

disassociate_resolver_endpoint_ip_address

Removes IP addresses from an inbound or an outbound Resolver endpoint.

Type annotations and code completion for boto3.client("route53resolver").disassociate_resolver_endpoint_ip_address method. boto3 documentation

Method definition
def disassociate_resolver_endpoint_ip_address(
    self,
    *,
    ResolverEndpointId: str,
    IpAddress: IpAddressUpdateTypeDef,  # (1)
) -> DisassociateResolverEndpointIpAddressResponseTypeDef:  # (2)
    ...
  1. See IpAddressUpdateTypeDef
  2. See DisassociateResolverEndpointIpAddressResponseTypeDef
Usage example with kwargs
kwargs: DisassociateResolverEndpointIpAddressRequestRequestTypeDef = {  # (1)
    "ResolverEndpointId": ...,
    "IpAddress": ...,
}

parent.disassociate_resolver_endpoint_ip_address(**kwargs)
  1. See DisassociateResolverEndpointIpAddressRequestRequestTypeDef

disassociate_resolver_query_log_config

Disassociates a VPC from a query logging configuration.

Type annotations and code completion for boto3.client("route53resolver").disassociate_resolver_query_log_config method. boto3 documentation

Method definition
def disassociate_resolver_query_log_config(
    self,
    *,
    ResolverQueryLogConfigId: str,
    ResourceId: str,
) -> DisassociateResolverQueryLogConfigResponseTypeDef:  # (1)
    ...
  1. See DisassociateResolverQueryLogConfigResponseTypeDef
Usage example with kwargs
kwargs: DisassociateResolverQueryLogConfigRequestRequestTypeDef = {  # (1)
    "ResolverQueryLogConfigId": ...,
    "ResourceId": ...,
}

parent.disassociate_resolver_query_log_config(**kwargs)
  1. See DisassociateResolverQueryLogConfigRequestRequestTypeDef

disassociate_resolver_rule

Removes the association between a specified Resolver rule and a specified VPC.

Type annotations and code completion for boto3.client("route53resolver").disassociate_resolver_rule method. boto3 documentation

Method definition
def disassociate_resolver_rule(
    self,
    *,
    VPCId: str,
    ResolverRuleId: str,
) -> DisassociateResolverRuleResponseTypeDef:  # (1)
    ...
  1. See DisassociateResolverRuleResponseTypeDef
Usage example with kwargs
kwargs: DisassociateResolverRuleRequestRequestTypeDef = {  # (1)
    "VPCId": ...,
    "ResolverRuleId": ...,
}

parent.disassociate_resolver_rule(**kwargs)
  1. See DisassociateResolverRuleRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("route53resolver").generate_presigned_url method. boto3 documentation

Method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_firewall_config

Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).

Type annotations and code completion for boto3.client("route53resolver").get_firewall_config method. boto3 documentation

Method definition
def get_firewall_config(
    self,
    *,
    ResourceId: str,
) -> GetFirewallConfigResponseTypeDef:  # (1)
    ...
  1. See GetFirewallConfigResponseTypeDef
Usage example with kwargs
kwargs: GetFirewallConfigRequestRequestTypeDef = {  # (1)
    "ResourceId": ...,
}

parent.get_firewall_config(**kwargs)
  1. See GetFirewallConfigRequestRequestTypeDef

get_firewall_domain_list

Retrieves the specified firewall domain list.

Type annotations and code completion for boto3.client("route53resolver").get_firewall_domain_list method. boto3 documentation

Method definition
def get_firewall_domain_list(
    self,
    *,
    FirewallDomainListId: str,
) -> GetFirewallDomainListResponseTypeDef:  # (1)
    ...
  1. See GetFirewallDomainListResponseTypeDef
Usage example with kwargs
kwargs: GetFirewallDomainListRequestRequestTypeDef = {  # (1)
    "FirewallDomainListId": ...,
}

parent.get_firewall_domain_list(**kwargs)
  1. See GetFirewallDomainListRequestRequestTypeDef

get_firewall_rule_group

Retrieves the specified firewall rule group.

Type annotations and code completion for boto3.client("route53resolver").get_firewall_rule_group method. boto3 documentation

Method definition
def get_firewall_rule_group(
    self,
    *,
    FirewallRuleGroupId: str,
) -> GetFirewallRuleGroupResponseTypeDef:  # (1)
    ...
  1. See GetFirewallRuleGroupResponseTypeDef
Usage example with kwargs
kwargs: GetFirewallRuleGroupRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupId": ...,
}

parent.get_firewall_rule_group(**kwargs)
  1. See GetFirewallRuleGroupRequestRequestTypeDef

get_firewall_rule_group_association

Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group.

Type annotations and code completion for boto3.client("route53resolver").get_firewall_rule_group_association method. boto3 documentation

Method definition
def get_firewall_rule_group_association(
    self,
    *,
    FirewallRuleGroupAssociationId: str,
) -> GetFirewallRuleGroupAssociationResponseTypeDef:  # (1)
    ...
  1. See GetFirewallRuleGroupAssociationResponseTypeDef
Usage example with kwargs
kwargs: GetFirewallRuleGroupAssociationRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupAssociationId": ...,
}

parent.get_firewall_rule_group_association(**kwargs)
  1. See GetFirewallRuleGroupAssociationRequestRequestTypeDef

get_firewall_rule_group_policy

Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group.

Type annotations and code completion for boto3.client("route53resolver").get_firewall_rule_group_policy method. boto3 documentation

Method definition
def get_firewall_rule_group_policy(
    self,
    *,
    Arn: str,
) -> GetFirewallRuleGroupPolicyResponseTypeDef:  # (1)
    ...
  1. See GetFirewallRuleGroupPolicyResponseTypeDef
Usage example with kwargs
kwargs: GetFirewallRuleGroupPolicyRequestRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.get_firewall_rule_group_policy(**kwargs)
  1. See GetFirewallRuleGroupPolicyRequestRequestTypeDef

get_resolver_config

Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.

Type annotations and code completion for boto3.client("route53resolver").get_resolver_config method. boto3 documentation

Method definition
def get_resolver_config(
    self,
    *,
    ResourceId: str,
) -> GetResolverConfigResponseTypeDef:  # (1)
    ...
  1. See GetResolverConfigResponseTypeDef
Usage example with kwargs
kwargs: GetResolverConfigRequestRequestTypeDef = {  # (1)
    "ResourceId": ...,
}

parent.get_resolver_config(**kwargs)
  1. See GetResolverConfigRequestRequestTypeDef

get_resolver_dnssec_config

Gets DNSSEC validation information for a specified resource.

Type annotations and code completion for boto3.client("route53resolver").get_resolver_dnssec_config method. boto3 documentation

Method definition
def get_resolver_dnssec_config(
    self,
    *,
    ResourceId: str,
) -> GetResolverDnssecConfigResponseTypeDef:  # (1)
    ...
  1. See GetResolverDnssecConfigResponseTypeDef
Usage example with kwargs
kwargs: GetResolverDnssecConfigRequestRequestTypeDef = {  # (1)
    "ResourceId": ...,
}

parent.get_resolver_dnssec_config(**kwargs)
  1. See GetResolverDnssecConfigRequestRequestTypeDef

get_resolver_endpoint

Gets information about a specified Resolver endpoint, such as whether it's an inbound or an outbound Resolver endpoint, and the current status of the endpoint.

Type annotations and code completion for boto3.client("route53resolver").get_resolver_endpoint method. boto3 documentation

Method definition
def get_resolver_endpoint(
    self,
    *,
    ResolverEndpointId: str,
) -> GetResolverEndpointResponseTypeDef:  # (1)
    ...
  1. See GetResolverEndpointResponseTypeDef
Usage example with kwargs
kwargs: GetResolverEndpointRequestRequestTypeDef = {  # (1)
    "ResolverEndpointId": ...,
}

parent.get_resolver_endpoint(**kwargs)
  1. See GetResolverEndpointRequestRequestTypeDef

get_resolver_query_log_config

Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to.

Type annotations and code completion for boto3.client("route53resolver").get_resolver_query_log_config method. boto3 documentation

Method definition
def get_resolver_query_log_config(
    self,
    *,
    ResolverQueryLogConfigId: str,
) -> GetResolverQueryLogConfigResponseTypeDef:  # (1)
    ...
  1. See GetResolverQueryLogConfigResponseTypeDef
Usage example with kwargs
kwargs: GetResolverQueryLogConfigRequestRequestTypeDef = {  # (1)
    "ResolverQueryLogConfigId": ...,
}

parent.get_resolver_query_log_config(**kwargs)
  1. See GetResolverQueryLogConfigRequestRequestTypeDef

get_resolver_query_log_config_association

Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC.

Type annotations and code completion for boto3.client("route53resolver").get_resolver_query_log_config_association method. boto3 documentation

Method definition
def get_resolver_query_log_config_association(
    self,
    *,
    ResolverQueryLogConfigAssociationId: str,
) -> GetResolverQueryLogConfigAssociationResponseTypeDef:  # (1)
    ...
  1. See GetResolverQueryLogConfigAssociationResponseTypeDef
Usage example with kwargs
kwargs: GetResolverQueryLogConfigAssociationRequestRequestTypeDef = {  # (1)
    "ResolverQueryLogConfigAssociationId": ...,
}

parent.get_resolver_query_log_config_association(**kwargs)
  1. See GetResolverQueryLogConfigAssociationRequestRequestTypeDef

get_resolver_query_log_config_policy

Gets information about a query logging policy.

Type annotations and code completion for boto3.client("route53resolver").get_resolver_query_log_config_policy method. boto3 documentation

Method definition
def get_resolver_query_log_config_policy(
    self,
    *,
    Arn: str,
) -> GetResolverQueryLogConfigPolicyResponseTypeDef:  # (1)
    ...
  1. See GetResolverQueryLogConfigPolicyResponseTypeDef
Usage example with kwargs
kwargs: GetResolverQueryLogConfigPolicyRequestRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.get_resolver_query_log_config_policy(**kwargs)
  1. See GetResolverQueryLogConfigPolicyRequestRequestTypeDef

get_resolver_rule

Gets information about a specified Resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound Resolver endpoint that the rule is associated with.

Type annotations and code completion for boto3.client("route53resolver").get_resolver_rule method. boto3 documentation

Method definition
def get_resolver_rule(
    self,
    *,
    ResolverRuleId: str,
) -> GetResolverRuleResponseTypeDef:  # (1)
    ...
  1. See GetResolverRuleResponseTypeDef
Usage example with kwargs
kwargs: GetResolverRuleRequestRequestTypeDef = {  # (1)
    "ResolverRuleId": ...,
}

parent.get_resolver_rule(**kwargs)
  1. See GetResolverRuleRequestRequestTypeDef

get_resolver_rule_association

Gets information about an association between a specified Resolver rule and a VPC.

Type annotations and code completion for boto3.client("route53resolver").get_resolver_rule_association method. boto3 documentation

Method definition
def get_resolver_rule_association(
    self,
    *,
    ResolverRuleAssociationId: str,
) -> GetResolverRuleAssociationResponseTypeDef:  # (1)
    ...
  1. See GetResolverRuleAssociationResponseTypeDef
Usage example with kwargs
kwargs: GetResolverRuleAssociationRequestRequestTypeDef = {  # (1)
    "ResolverRuleAssociationId": ...,
}

parent.get_resolver_rule_association(**kwargs)
  1. See GetResolverRuleAssociationRequestRequestTypeDef

get_resolver_rule_policy

Gets information about the Resolver rule policy for a specified rule.

Type annotations and code completion for boto3.client("route53resolver").get_resolver_rule_policy method. boto3 documentation

Method definition
def get_resolver_rule_policy(
    self,
    *,
    Arn: str,
) -> GetResolverRulePolicyResponseTypeDef:  # (1)
    ...
  1. See GetResolverRulePolicyResponseTypeDef
Usage example with kwargs
kwargs: GetResolverRulePolicyRequestRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.get_resolver_rule_policy(**kwargs)
  1. See GetResolverRulePolicyRequestRequestTypeDef

import_firewall_domains

Imports domain names from a file into a domain list, for use in a DNS firewall rule group.

Type annotations and code completion for boto3.client("route53resolver").import_firewall_domains method. boto3 documentation

Method definition
def import_firewall_domains(
    self,
    *,
    FirewallDomainListId: str,
    Operation: FirewallDomainImportOperationType,  # (1)
    DomainFileUrl: str,
) -> ImportFirewallDomainsResponseTypeDef:  # (2)
    ...
  1. See FirewallDomainImportOperationType
  2. See ImportFirewallDomainsResponseTypeDef
Usage example with kwargs
kwargs: ImportFirewallDomainsRequestRequestTypeDef = {  # (1)
    "FirewallDomainListId": ...,
    "Operation": ...,
    "DomainFileUrl": ...,
}

parent.import_firewall_domains(**kwargs)
  1. See ImportFirewallDomainsRequestRequestTypeDef

list_firewall_configs

Retrieves the firewall configurations that you have defined.

Type annotations and code completion for boto3.client("route53resolver").list_firewall_configs method. boto3 documentation

Method definition
def list_firewall_configs(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFirewallConfigsResponseTypeDef:  # (1)
    ...
  1. See ListFirewallConfigsResponseTypeDef
Usage example with kwargs
kwargs: ListFirewallConfigsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_firewall_configs(**kwargs)
  1. See ListFirewallConfigsRequestRequestTypeDef

list_firewall_domain_lists

Retrieves the firewall domain lists that you have defined.

Type annotations and code completion for boto3.client("route53resolver").list_firewall_domain_lists method. boto3 documentation

Method definition
def list_firewall_domain_lists(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFirewallDomainListsResponseTypeDef:  # (1)
    ...
  1. See ListFirewallDomainListsResponseTypeDef
Usage example with kwargs
kwargs: ListFirewallDomainListsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_firewall_domain_lists(**kwargs)
  1. See ListFirewallDomainListsRequestRequestTypeDef

list_firewall_domains

Retrieves the domains that you have defined for the specified firewall domain list.

Type annotations and code completion for boto3.client("route53resolver").list_firewall_domains method. boto3 documentation

Method definition
def list_firewall_domains(
    self,
    *,
    FirewallDomainListId: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFirewallDomainsResponseTypeDef:  # (1)
    ...
  1. See ListFirewallDomainsResponseTypeDef
Usage example with kwargs
kwargs: ListFirewallDomainsRequestRequestTypeDef = {  # (1)
    "FirewallDomainListId": ...,
}

parent.list_firewall_domains(**kwargs)
  1. See ListFirewallDomainsRequestRequestTypeDef

list_firewall_rule_group_associations

Retrieves the firewall rule group associations that you have defined.

Type annotations and code completion for boto3.client("route53resolver").list_firewall_rule_group_associations method. boto3 documentation

Method definition
def list_firewall_rule_group_associations(
    self,
    *,
    FirewallRuleGroupId: str = ...,
    VpcId: str = ...,
    Priority: int = ...,
    Status: FirewallRuleGroupAssociationStatusType = ...,  # (1)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFirewallRuleGroupAssociationsResponseTypeDef:  # (2)
    ...
  1. See FirewallRuleGroupAssociationStatusType
  2. See ListFirewallRuleGroupAssociationsResponseTypeDef
Usage example with kwargs
kwargs: ListFirewallRuleGroupAssociationsRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupId": ...,
}

parent.list_firewall_rule_group_associations(**kwargs)
  1. See ListFirewallRuleGroupAssociationsRequestRequestTypeDef

list_firewall_rule_groups

Retrieves the minimal high-level information for the rule groups that you have defined.

Type annotations and code completion for boto3.client("route53resolver").list_firewall_rule_groups method. boto3 documentation

Method definition
def list_firewall_rule_groups(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFirewallRuleGroupsResponseTypeDef:  # (1)
    ...
  1. See ListFirewallRuleGroupsResponseTypeDef
Usage example with kwargs
kwargs: ListFirewallRuleGroupsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_firewall_rule_groups(**kwargs)
  1. See ListFirewallRuleGroupsRequestRequestTypeDef

list_firewall_rules

Retrieves the firewall rules that you have defined for the specified firewall rule group.

Type annotations and code completion for boto3.client("route53resolver").list_firewall_rules method. boto3 documentation

Method definition
def list_firewall_rules(
    self,
    *,
    FirewallRuleGroupId: str,
    Priority: int = ...,
    Action: ActionType = ...,  # (1)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFirewallRulesResponseTypeDef:  # (2)
    ...
  1. See ActionType
  2. See ListFirewallRulesResponseTypeDef
Usage example with kwargs
kwargs: ListFirewallRulesRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupId": ...,
}

parent.list_firewall_rules(**kwargs)
  1. See ListFirewallRulesRequestRequestTypeDef

list_resolver_configs

Retrieves the Resolver configurations that you have defined.

Type annotations and code completion for boto3.client("route53resolver").list_resolver_configs method. boto3 documentation

Method definition
def list_resolver_configs(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListResolverConfigsResponseTypeDef:  # (1)
    ...
  1. See ListResolverConfigsResponseTypeDef
Usage example with kwargs
kwargs: ListResolverConfigsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_resolver_configs(**kwargs)
  1. See ListResolverConfigsRequestRequestTypeDef

list_resolver_dnssec_configs

Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53resolver").list_resolver_dnssec_configs method. boto3 documentation

Method definition
def list_resolver_dnssec_configs(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
) -> ListResolverDnssecConfigsResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListResolverDnssecConfigsResponseTypeDef
Usage example with kwargs
kwargs: ListResolverDnssecConfigsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_resolver_dnssec_configs(**kwargs)
  1. See ListResolverDnssecConfigsRequestRequestTypeDef

list_resolver_endpoint_ip_addresses

Gets the IP addresses for a specified Resolver endpoint.

Type annotations and code completion for boto3.client("route53resolver").list_resolver_endpoint_ip_addresses method. boto3 documentation

Method definition
def list_resolver_endpoint_ip_addresses(
    self,
    *,
    ResolverEndpointId: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListResolverEndpointIpAddressesResponseTypeDef:  # (1)
    ...
  1. See ListResolverEndpointIpAddressesResponseTypeDef
Usage example with kwargs
kwargs: ListResolverEndpointIpAddressesRequestRequestTypeDef = {  # (1)
    "ResolverEndpointId": ...,
}

parent.list_resolver_endpoint_ip_addresses(**kwargs)
  1. See ListResolverEndpointIpAddressesRequestRequestTypeDef

list_resolver_endpoints

Lists all the Resolver endpoints that were created using the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53resolver").list_resolver_endpoints method. boto3 documentation

Method definition
def list_resolver_endpoints(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
) -> ListResolverEndpointsResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListResolverEndpointsResponseTypeDef
Usage example with kwargs
kwargs: ListResolverEndpointsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_resolver_endpoints(**kwargs)
  1. See ListResolverEndpointsRequestRequestTypeDef

list_resolver_query_log_config_associations

Lists information about associations between Amazon VPCs and query logging configurations.

Type annotations and code completion for boto3.client("route53resolver").list_resolver_query_log_config_associations method. boto3 documentation

Method definition
def list_resolver_query_log_config_associations(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    SortBy: str = ...,
    SortOrder: SortOrderType = ...,  # (2)
) -> ListResolverQueryLogConfigAssociationsResponseTypeDef:  # (3)
    ...
  1. See FilterTypeDef
  2. See SortOrderType
  3. See ListResolverQueryLogConfigAssociationsResponseTypeDef
Usage example with kwargs
kwargs: ListResolverQueryLogConfigAssociationsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_resolver_query_log_config_associations(**kwargs)
  1. See ListResolverQueryLogConfigAssociationsRequestRequestTypeDef

list_resolver_query_log_configs

Lists information about the specified query logging configurations.

Type annotations and code completion for boto3.client("route53resolver").list_resolver_query_log_configs method. boto3 documentation

Method definition
def list_resolver_query_log_configs(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
    SortBy: str = ...,
    SortOrder: SortOrderType = ...,  # (2)
) -> ListResolverQueryLogConfigsResponseTypeDef:  # (3)
    ...
  1. See FilterTypeDef
  2. See SortOrderType
  3. See ListResolverQueryLogConfigsResponseTypeDef
Usage example with kwargs
kwargs: ListResolverQueryLogConfigsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_resolver_query_log_configs(**kwargs)
  1. See ListResolverQueryLogConfigsRequestRequestTypeDef

list_resolver_rule_associations

Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53resolver").list_resolver_rule_associations method. boto3 documentation

Method definition
def list_resolver_rule_associations(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
) -> ListResolverRuleAssociationsResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListResolverRuleAssociationsResponseTypeDef
Usage example with kwargs
kwargs: ListResolverRuleAssociationsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_resolver_rule_associations(**kwargs)
  1. See ListResolverRuleAssociationsRequestRequestTypeDef

list_resolver_rules

Lists the Resolver rules that were created using the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53resolver").list_resolver_rules method. boto3 documentation

Method definition
def list_resolver_rules(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
) -> ListResolverRulesResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListResolverRulesResponseTypeDef
Usage example with kwargs
kwargs: ListResolverRulesRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_resolver_rules(**kwargs)
  1. See ListResolverRulesRequestRequestTypeDef

list_tags_for_resource

Lists the tags that you associated with the specified resource.

Type annotations and code completion for boto3.client("route53resolver").list_tags_for_resource method.