Skip to content

Route53ResolverClient#

Index > Route53Resolver > Route53ResolverClient

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

Route53ResolverClient#

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

# Route53ResolverClient usage example

from boto3.session import Session
from types_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.

# Exceptions.exceptions usage example

client = boto3.client("route53resolver")

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

from types_boto3_route53resolver.client import Exceptions

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

Methods#

can_paginate#

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

# can_paginate method definition

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

generate_presigned_url#

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

# generate_presigned_url method definition

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

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

# associate_firewall_rule_group 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
# associate_firewall_rule_group method usage example with argument unpacking

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

# associate_resolver_endpoint_ip_address method definition

def associate_resolver_endpoint_ip_address(
    self,
    *,
    ResolverEndpointId: str,
    IpAddress: IpAddressUpdateTypeDef,  # (1)
) -> AssociateResolverEndpointIpAddressResponseTypeDef:  # (2)
    ...
  1. See IpAddressUpdateTypeDef
  2. See AssociateResolverEndpointIpAddressResponseTypeDef
# associate_resolver_endpoint_ip_address method usage example with argument unpacking

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

# associate_resolver_query_log_config method definition

def associate_resolver_query_log_config(
    self,
    *,
    ResolverQueryLogConfigId: str,
    ResourceId: str,
) -> AssociateResolverQueryLogConfigResponseTypeDef:  # (1)
    ...
  1. See AssociateResolverQueryLogConfigResponseTypeDef
# associate_resolver_query_log_config method usage example with argument unpacking

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

# associate_resolver_rule method definition

def associate_resolver_rule(
    self,
    *,
    ResolverRuleId: str,
    VPCId: str,
    Name: str = ...,
) -> AssociateResolverRuleResponseTypeDef:  # (1)
    ...
  1. See AssociateResolverRuleResponseTypeDef
# associate_resolver_rule method usage example with argument unpacking

kwargs: AssociateResolverRuleRequestRequestTypeDef = {  # (1)
    "ResolverRuleId": ...,
    "VPCId": ...,
}

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

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

# create_firewall_domain_list method definition

def create_firewall_domain_list(
    self,
    *,
    CreatorRequestId: str,
    Name: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateFirewallDomainListResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateFirewallDomainListResponseTypeDef
# create_firewall_domain_list method usage example with argument unpacking

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

# create_firewall_rule method definition

def create_firewall_rule(
    self,
    *,
    CreatorRequestId: str,
    FirewallRuleGroupId: str,
    Priority: int,
    Action: ActionType,  # (1)
    Name: str,
    FirewallDomainListId: str = ...,
    BlockResponse: BlockResponseType = ...,  # (2)
    BlockOverrideDomain: str = ...,
    BlockOverrideDnsType: BlockOverrideDnsTypeType = ...,  # (3)
    BlockOverrideTtl: int = ...,
    FirewallDomainRedirectionAction: FirewallDomainRedirectionActionType = ...,  # (4)
    Qtype: str = ...,
    DnsThreatProtection: DnsThreatProtectionType = ...,  # (5)
    ConfidenceThreshold: ConfidenceThresholdType = ...,  # (6)
) -> CreateFirewallRuleResponseTypeDef:  # (7)
    ...
  1. See ActionType
  2. See BlockResponseType
  3. See BlockOverrideDnsTypeType
  4. See FirewallDomainRedirectionActionType
  5. See DnsThreatProtectionType
  6. See ConfidenceThresholdType
  7. See CreateFirewallRuleResponseTypeDef
# create_firewall_rule method usage example with argument unpacking

kwargs: CreateFirewallRuleRequestRequestTypeDef = {  # (1)
    "CreatorRequestId": ...,
    "FirewallRuleGroupId": ...,
    "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

# create_firewall_rule_group method definition

def create_firewall_rule_group(
    self,
    *,
    CreatorRequestId: str,
    Name: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateFirewallRuleGroupResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateFirewallRuleGroupResponseTypeDef
# create_firewall_rule_group method usage example with argument unpacking

kwargs: CreateFirewallRuleGroupRequestRequestTypeDef = {  # (1)
    "CreatorRequestId": ...,
    "Name": ...,
}

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

create_outpost_resolver#

Creates a Route 53 Resolver on an Outpost.

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

# create_outpost_resolver method definition

def create_outpost_resolver(
    self,
    *,
    CreatorRequestId: str,
    Name: str,
    PreferredInstanceType: str,
    OutpostArn: str,
    InstanceCount: int = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateOutpostResolverResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateOutpostResolverResponseTypeDef
# create_outpost_resolver method usage example with argument unpacking

kwargs: CreateOutpostResolverRequestRequestTypeDef = {  # (1)
    "CreatorRequestId": ...,
    "Name": ...,
    "PreferredInstanceType": ...,
    "OutpostArn": ...,
}

parent.create_outpost_resolver(**kwargs)
  1. See CreateOutpostResolverRequestRequestTypeDef

create_resolver_endpoint#

Creates a Resolver endpoint.

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

# create_resolver_endpoint method definition

def create_resolver_endpoint(
    self,
    *,
    CreatorRequestId: str,
    SecurityGroupIds: Sequence[str],
    Direction: ResolverEndpointDirectionType,  # (1)
    IpAddresses: Sequence[IpAddressRequestTypeDef],  # (2)
    Name: str = ...,
    OutpostArn: str = ...,
    PreferredInstanceType: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (3)
    ResolverEndpointType: ResolverEndpointTypeType = ...,  # (4)
    Protocols: Sequence[ProtocolType] = ...,  # (5)
) -> CreateResolverEndpointResponseTypeDef:  # (6)
    ...
  1. See ResolverEndpointDirectionType
  2. See IpAddressRequestTypeDef
  3. See TagTypeDef
  4. See ResolverEndpointTypeType
  5. See ProtocolType
  6. See CreateResolverEndpointResponseTypeDef
# create_resolver_endpoint method usage example with argument unpacking

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

# create_resolver_query_log_config 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
# create_resolver_query_log_config method usage example with argument unpacking

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

# create_resolver_rule method definition

def create_resolver_rule(
    self,
    *,
    CreatorRequestId: str,
    RuleType: RuleTypeOptionType,  # (1)
    Name: str = ...,
    DomainName: 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
# create_resolver_rule method usage example with argument unpacking

kwargs: CreateResolverRuleRequestRequestTypeDef = {  # (1)
    "CreatorRequestId": ...,
    "RuleType": ...,
}

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

# delete_firewall_domain_list method definition

def delete_firewall_domain_list(
    self,
    *,
    FirewallDomainListId: str,
) -> DeleteFirewallDomainListResponseTypeDef:  # (1)
    ...
  1. See DeleteFirewallDomainListResponseTypeDef
# delete_firewall_domain_list method usage example with argument unpacking

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

# delete_firewall_rule method definition

def delete_firewall_rule(
    self,
    *,
    FirewallRuleGroupId: str,
    FirewallDomainListId: str = ...,
    FirewallThreatProtectionId: str = ...,
    Qtype: str = ...,
) -> DeleteFirewallRuleResponseTypeDef:  # (1)
    ...
  1. See DeleteFirewallRuleResponseTypeDef
# delete_firewall_rule method usage example with argument unpacking

kwargs: DeleteFirewallRuleRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupId": ...,
}

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

# delete_firewall_rule_group method definition

def delete_firewall_rule_group(
    self,
    *,
    FirewallRuleGroupId: str,
) -> DeleteFirewallRuleGroupResponseTypeDef:  # (1)
    ...
  1. See DeleteFirewallRuleGroupResponseTypeDef
# delete_firewall_rule_group method usage example with argument unpacking

kwargs: DeleteFirewallRuleGroupRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupId": ...,
}

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

delete_outpost_resolver#

Deletes a Resolver on the Outpost.

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

# delete_outpost_resolver method definition

def delete_outpost_resolver(
    self,
    *,
    Id: str,
) -> DeleteOutpostResolverResponseTypeDef:  # (1)
    ...
  1. See DeleteOutpostResolverResponseTypeDef
# delete_outpost_resolver method usage example with argument unpacking

kwargs: DeleteOutpostResolverRequestRequestTypeDef = {  # (1)
    "Id": ...,
}

parent.delete_outpost_resolver(**kwargs)
  1. See DeleteOutpostResolverRequestRequestTypeDef

delete_resolver_endpoint#

Deletes a Resolver endpoint.

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

# delete_resolver_endpoint method definition

def delete_resolver_endpoint(
    self,
    *,
    ResolverEndpointId: str,
) -> DeleteResolverEndpointResponseTypeDef:  # (1)
    ...
  1. See DeleteResolverEndpointResponseTypeDef
# delete_resolver_endpoint method usage example with argument unpacking

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

# delete_resolver_query_log_config method definition

def delete_resolver_query_log_config(
    self,
    *,
    ResolverQueryLogConfigId: str,
) -> DeleteResolverQueryLogConfigResponseTypeDef:  # (1)
    ...
  1. See DeleteResolverQueryLogConfigResponseTypeDef
# delete_resolver_query_log_config method usage example with argument unpacking

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

# delete_resolver_rule method definition

def delete_resolver_rule(
    self,
    *,
    ResolverRuleId: str,
) -> DeleteResolverRuleResponseTypeDef:  # (1)
    ...
  1. See DeleteResolverRuleResponseTypeDef
# delete_resolver_rule method usage example with argument unpacking

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

# disassociate_firewall_rule_group method definition

def disassociate_firewall_rule_group(
    self,
    *,
    FirewallRuleGroupAssociationId: str,
) -> DisassociateFirewallRuleGroupResponseTypeDef:  # (1)
    ...
  1. See DisassociateFirewallRuleGroupResponseTypeDef
# disassociate_firewall_rule_group method usage example with argument unpacking

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

# disassociate_resolver_endpoint_ip_address method definition

def disassociate_resolver_endpoint_ip_address(
    self,
    *,
    ResolverEndpointId: str,
    IpAddress: IpAddressUpdateTypeDef,  # (1)
) -> DisassociateResolverEndpointIpAddressResponseTypeDef:  # (2)
    ...
  1. See IpAddressUpdateTypeDef
  2. See DisassociateResolverEndpointIpAddressResponseTypeDef
# disassociate_resolver_endpoint_ip_address method usage example with argument unpacking

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

# disassociate_resolver_query_log_config method definition

def disassociate_resolver_query_log_config(
    self,
    *,
    ResolverQueryLogConfigId: str,
    ResourceId: str,
) -> DisassociateResolverQueryLogConfigResponseTypeDef:  # (1)
    ...
  1. See DisassociateResolverQueryLogConfigResponseTypeDef
# disassociate_resolver_query_log_config method usage example with argument unpacking

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

# disassociate_resolver_rule method definition

def disassociate_resolver_rule(
    self,
    *,
    VPCId: str,
    ResolverRuleId: str,
) -> DisassociateResolverRuleResponseTypeDef:  # (1)
    ...
  1. See DisassociateResolverRuleResponseTypeDef
# disassociate_resolver_rule method usage example with argument unpacking

kwargs: DisassociateResolverRuleRequestRequestTypeDef = {  # (1)
    "VPCId": ...,
    "ResolverRuleId": ...,
}

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

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

# get_firewall_config method definition

def get_firewall_config(
    self,
    *,
    ResourceId: str,
) -> GetFirewallConfigResponseTypeDef:  # (1)
    ...
  1. See GetFirewallConfigResponseTypeDef
# get_firewall_config method usage example with argument unpacking

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

# get_firewall_domain_list method definition

def get_firewall_domain_list(
    self,
    *,
    FirewallDomainListId: str,
) -> GetFirewallDomainListResponseTypeDef:  # (1)
    ...
  1. See GetFirewallDomainListResponseTypeDef
# get_firewall_domain_list method usage example with argument unpacking

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

# get_firewall_rule_group method definition

def get_firewall_rule_group(
    self,
    *,
    FirewallRuleGroupId: str,
) -> GetFirewallRuleGroupResponseTypeDef:  # (1)
    ...
  1. See GetFirewallRuleGroupResponseTypeDef
# get_firewall_rule_group method usage example with argument unpacking

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

# get_firewall_rule_group_association method definition

def get_firewall_rule_group_association(
    self,
    *,
    FirewallRuleGroupAssociationId: str,
) -> GetFirewallRuleGroupAssociationResponseTypeDef:  # (1)
    ...
  1. See GetFirewallRuleGroupAssociationResponseTypeDef
# get_firewall_rule_group_association method usage example with argument unpacking

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

# get_firewall_rule_group_policy method definition

def get_firewall_rule_group_policy(
    self,
    *,
    Arn: str,
) -> GetFirewallRuleGroupPolicyResponseTypeDef:  # (1)
    ...
  1. See GetFirewallRuleGroupPolicyResponseTypeDef
# get_firewall_rule_group_policy method usage example with argument unpacking

kwargs: GetFirewallRuleGroupPolicyRequestRequestTypeDef = {  # (1)
    "Arn": ...,
}

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

get_outpost_resolver#

Gets information about a specified Resolver on the Outpost, such as its instance count and type, name, and the current status of the Resolver.

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

# get_outpost_resolver method definition

def get_outpost_resolver(
    self,
    *,
    Id: str,
) -> GetOutpostResolverResponseTypeDef:  # (1)
    ...
  1. See GetOutpostResolverResponseTypeDef
# get_outpost_resolver method usage example with argument unpacking

kwargs: GetOutpostResolverRequestRequestTypeDef = {  # (1)
    "Id": ...,
}

parent.get_outpost_resolver(**kwargs)
  1. See GetOutpostResolverRequestRequestTypeDef

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

# get_resolver_config method definition

def get_resolver_config(
    self,
    *,
    ResourceId: str,
) -> GetResolverConfigResponseTypeDef:  # (1)
    ...
  1. See GetResolverConfigResponseTypeDef
# get_resolver_config method usage example with argument unpacking

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

# get_resolver_dnssec_config method definition

def get_resolver_dnssec_config(
    self,
    *,
    ResourceId: str,
) -> GetResolverDnssecConfigResponseTypeDef:  # (1)
    ...
  1. See GetResolverDnssecConfigResponseTypeDef
# get_resolver_dnssec_config method usage example with argument unpacking

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

# get_resolver_endpoint method definition

def get_resolver_endpoint(
    self,
    *,
    ResolverEndpointId: str,
) -> GetResolverEndpointResponseTypeDef:  # (1)
    ...
  1. See GetResolverEndpointResponseTypeDef
# get_resolver_endpoint method usage example with argument unpacking

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

# get_resolver_query_log_config method definition

def get_resolver_query_log_config(
    self,
    *,
    ResolverQueryLogConfigId: str,
) -> GetResolverQueryLogConfigResponseTypeDef:  # (1)
    ...
  1. See GetResolverQueryLogConfigResponseTypeDef
# get_resolver_query_log_config method usage example with argument unpacking

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

# get_resolver_query_log_config_association method definition

def get_resolver_query_log_config_association(
    self,
    *,
    ResolverQueryLogConfigAssociationId: str,
) -> GetResolverQueryLogConfigAssociationResponseTypeDef:  # (1)
    ...
  1. See GetResolverQueryLogConfigAssociationResponseTypeDef
# get_resolver_query_log_config_association method usage example with argument unpacking

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

# get_resolver_query_log_config_policy method definition

def get_resolver_query_log_config_policy(
    self,
    *,
    Arn: str,
) -> GetResolverQueryLogConfigPolicyResponseTypeDef:  # (1)
    ...
  1. See GetResolverQueryLogConfigPolicyResponseTypeDef
# get_resolver_query_log_config_policy method usage example with argument unpacking

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

# get_resolver_rule method definition

def get_resolver_rule(
    self,
    *,
    ResolverRuleId: str,
) -> GetResolverRuleResponseTypeDef:  # (1)
    ...
  1. See GetResolverRuleResponseTypeDef
# get_resolver_rule method usage example with argument unpacking

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

# get_resolver_rule_association method definition

def get_resolver_rule_association(
    self,
    *,
    ResolverRuleAssociationId: str,
) -> GetResolverRuleAssociationResponseTypeDef:  # (1)
    ...
  1. See GetResolverRuleAssociationResponseTypeDef
# get_resolver_rule_association method usage example with argument unpacking

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

# get_resolver_rule_policy method definition

def get_resolver_rule_policy(
    self,
    *,
    Arn: str,
) -> GetResolverRulePolicyResponseTypeDef:  # (1)
    ...
  1. See GetResolverRulePolicyResponseTypeDef
# get_resolver_rule_policy method usage example with argument unpacking

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

# import_firewall_domains method definition

def import_firewall_domains(
    self,
    *,
    FirewallDomainListId: str,
    Operation: FirewallDomainImportOperationType,  # (1)
    DomainFileUrl: str,
) -> ImportFirewallDomainsResponseTypeDef:  # (2)
    ...
  1. See FirewallDomainImportOperationType
  2. See ImportFirewallDomainsResponseTypeDef
# import_firewall_domains method usage example with argument unpacking

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

# list_firewall_configs method definition

def list_firewall_configs(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFirewallConfigsResponseTypeDef:  # (1)
    ...
  1. See ListFirewallConfigsResponseTypeDef
# list_firewall_configs method usage example with argument unpacking

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

# list_firewall_domain_lists method definition

def list_firewall_domain_lists(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFirewallDomainListsResponseTypeDef:  # (1)
    ...
  1. See ListFirewallDomainListsResponseTypeDef
# list_firewall_domain_lists method usage example with argument unpacking

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

# list_firewall_domains method definition

def list_firewall_domains(
    self,
    *,
    FirewallDomainListId: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFirewallDomainsResponseTypeDef:  # (1)
    ...
  1. See ListFirewallDomainsResponseTypeDef
# list_firewall_domains method usage example with argument unpacking

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

# list_firewall_rule_group_associations 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
# list_firewall_rule_group_associations method usage example with argument unpacking

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

# list_firewall_rule_groups method definition

def list_firewall_rule_groups(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListFirewallRuleGroupsResponseTypeDef:  # (1)
    ...
  1. See ListFirewallRuleGroupsResponseTypeDef
# list_firewall_rule_groups method usage example with argument unpacking

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

# list_firewall_rules 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
# list_firewall_rules method usage example with argument unpacking

kwargs: ListFirewallRulesRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupId": ...,
}

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

list_outpost_resolvers#

Lists all the Resolvers on Outposts that were created using the current Amazon Web Services account.

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

# list_outpost_resolvers method definition

def list_outpost_resolvers(
    self,
    *,
    OutpostArn: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListOutpostResolversResponseTypeDef:  # (1)
    ...
  1. See ListOutpostResolversResponseTypeDef
# list_outpost_resolvers method usage example with argument unpacking

kwargs: ListOutpostResolversRequestRequestTypeDef = {  # (1)
    "OutpostArn": ...,
}

parent.list_outpost_resolvers(**kwargs)
  1. See ListOutpostResolversRequestRequestTypeDef

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

# list_resolver_configs method definition

def list_resolver_configs(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListResolverConfigsResponseTypeDef:  # (1)
    ...
  1. See ListResolverConfigsResponseTypeDef
# list_resolver_configs method usage example with argument unpacking

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

# list_resolver_dnssec_configs method definition

def list_resolver_dnssec_configs(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
) -> ListResolverDnssecConfigsResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListResolverDnssecConfigsResponseTypeDef
# list_resolver_dnssec_configs method usage example with argument unpacking

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

# list_resolver_endpoint_ip_addresses method definition

def list_resolver_endpoint_ip_addresses(
    self,
    *,
    ResolverEndpointId: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListResolverEndpointIpAddressesResponseTypeDef:  # (1)
    ...
  1. See ListResolverEndpointIpAddressesResponseTypeDef
# list_resolver_endpoint_ip_addresses method usage example with argument unpacking

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

# list_resolver_endpoints method definition

def list_resolver_endpoints(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
) -> ListResolverEndpointsResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListResolverEndpointsResponseTypeDef
# list_resolver_endpoints method usage example with argument unpacking

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

# list_resolver_query_log_config_associations 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
# list_resolver_query_log_config_associations method usage example with argument unpacking

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

# list_resolver_query_log_configs 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
# list_resolver_query_log_configs method usage example with argument unpacking

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

# list_resolver_rule_associations method definition

def list_resolver_rule_associations(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
) -> ListResolverRuleAssociationsResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListResolverRuleAssociationsResponseTypeDef
# list_resolver_rule_associations method usage example with argument unpacking

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

# list_resolver_rules method definition

def list_resolver_rules(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: Sequence[FilterTypeDef] = ...,  # (1)
) -> ListResolverRulesResponseTypeDef:  # (2)
    ...
  1. See FilterTypeDef
  2. See ListResolverRulesResponseTypeDef
# list_resolver_rules method usage example with argument unpacking

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. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

put_firewall_rule_group_policy#

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

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

# put_firewall_rule_group_policy method definition

def put_firewall_rule_group_policy(
    self,
    *,
    Arn: str,
    FirewallRuleGroupPolicy: str,
) -> PutFirewallRuleGroupPolicyResponseTypeDef:  # (1)
    ...
  1. See PutFirewallRuleGroupPolicyResponseTypeDef
# put_firewall_rule_group_policy method usage example with argument unpacking

kwargs: PutFirewallRuleGroupPolicyRequestRequestTypeDef = {  # (1)
    "Arn": ...,
    "FirewallRuleGroupPolicy": ...,
}

parent.put_firewall_rule_group_policy(**kwargs)
  1. See PutFirewallRuleGroupPolicyRequestRequestTypeDef

put_resolver_query_log_config_policy#

Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.

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

# put_resolver_query_log_config_policy method definition

def put_resolver_query_log_config_policy(
    self,
    *,
    Arn: str,
    ResolverQueryLogConfigPolicy: str,
) -> PutResolverQueryLogConfigPolicyResponseTypeDef:  # (1)
    ...
  1. See PutResolverQueryLogConfigPolicyResponseTypeDef
# put_resolver_query_log_config_policy method usage example with argument unpacking

kwargs: PutResolverQueryLogConfigPolicyRequestRequestTypeDef = {  # (1)
    "Arn": ...,
    "ResolverQueryLogConfigPolicy": ...,
}

parent.put_resolver_query_log_config_policy(**kwargs)
  1. See PutResolverQueryLogConfigPolicyRequestRequestTypeDef

put_resolver_rule_policy#

Specifies an Amazon Web Services rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule.

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

# put_resolver_rule_policy method definition

def put_resolver_rule_policy(
    self,
    *,
    Arn: str,
    ResolverRulePolicy: str,
) -> PutResolverRulePolicyResponseTypeDef:  # (1)
    ...
  1. See PutResolverRulePolicyResponseTypeDef
# put_resolver_rule_policy method usage example with argument unpacking

kwargs: PutResolverRulePolicyRequestRequestTypeDef = {  # (1)
    "Arn": ...,
    "ResolverRulePolicy": ...,
}

parent.put_resolver_rule_policy(**kwargs)
  1. See PutResolverRulePolicyRequestRequestTypeDef

tag_resource#

Adds one or more tags to a specified resource.

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

# tag_resource method definition

def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
) -> dict[str, Any]:
    ...
  1. See TagTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Removes one or more tags from a specified resource.

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

# untag_resource method definition

def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_firewall_config#

Updates 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").update_firewall_config method. boto3 documentation

# update_firewall_config method definition

def update_firewall_config(
    self,
    *,
    ResourceId: str,
    FirewallFailOpen: FirewallFailOpenStatusType,  # (1)
) -> UpdateFirewallConfigResponseTypeDef:  # (2)
    ...
  1. See FirewallFailOpenStatusType
  2. See UpdateFirewallConfigResponseTypeDef
# update_firewall_config method usage example with argument unpacking

kwargs: UpdateFirewallConfigRequestRequestTypeDef = {  # (1)
    "ResourceId": ...,
    "FirewallFailOpen": ...,
}

parent.update_firewall_config(**kwargs)
  1. See UpdateFirewallConfigRequestRequestTypeDef

update_firewall_domains#

Updates the firewall domain list from an array of domain specifications.

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

# update_firewall_domains method definition

def update_firewall_domains(
    self,
    *,
    FirewallDomainListId: str,
    Operation: FirewallDomainUpdateOperationType,  # (1)
    Domains: Sequence[str],
) -> UpdateFirewallDomainsResponseTypeDef:  # (2)
    ...
  1. See FirewallDomainUpdateOperationType
  2. See UpdateFirewallDomainsResponseTypeDef
# update_firewall_domains method usage example with argument unpacking

kwargs: UpdateFirewallDomainsRequestRequestTypeDef = {  # (1)
    "FirewallDomainListId": ...,
    "Operation": ...,
    "Domains": ...,
}

parent.update_firewall_domains(**kwargs)
  1. See UpdateFirewallDomainsRequestRequestTypeDef

update_firewall_rule#

Updates the specified firewall rule.

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

# update_firewall_rule method definition

def update_firewall_rule(
    self,
    *,
    FirewallRuleGroupId: str,
    FirewallDomainListId: str = ...,
    FirewallThreatProtectionId: str = ...,
    Priority: int = ...,
    Action: ActionType = ...,  # (1)
    BlockResponse: BlockResponseType = ...,  # (2)
    BlockOverrideDomain: str = ...,
    BlockOverrideDnsType: BlockOverrideDnsTypeType = ...,  # (3)
    BlockOverrideTtl: int = ...,
    Name: str = ...,
    FirewallDomainRedirectionAction: FirewallDomainRedirectionActionType = ...,  # (4)
    Qtype: str = ...,
    DnsThreatProtection: DnsThreatProtectionType = ...,  # (5)
    ConfidenceThreshold: ConfidenceThresholdType = ...,  # (6)
) -> UpdateFirewallRuleResponseTypeDef:  # (7)
    ...
  1. See ActionType
  2. See BlockResponseType
  3. See BlockOverrideDnsTypeType
  4. See FirewallDomainRedirectionActionType
  5. See DnsThreatProtectionType
  6. See ConfidenceThresholdType
  7. See UpdateFirewallRuleResponseTypeDef
# update_firewall_rule method usage example with argument unpacking

kwargs: UpdateFirewallRuleRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupId": ...,
}

parent.update_firewall_rule(**kwargs)
  1. See UpdateFirewallRuleRequestRequestTypeDef

update_firewall_rule_group_association#

Changes the association of a FirewallRuleGroup with a VPC.

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

# update_firewall_rule_group_association method definition

def update_firewall_rule_group_association(
    self,
    *,
    FirewallRuleGroupAssociationId: str,
    Priority: int = ...,
    MutationProtection: MutationProtectionStatusType = ...,  # (1)
    Name: str = ...,
) -> UpdateFirewallRuleGroupAssociationResponseTypeDef:  # (2)
    ...
  1. See MutationProtectionStatusType
  2. See UpdateFirewallRuleGroupAssociationResponseTypeDef
# update_firewall_rule_group_association method usage example with argument unpacking

kwargs: UpdateFirewallRuleGroupAssociationRequestRequestTypeDef = {  # (1)
    "FirewallRuleGroupAssociationId": ...,
}

parent.update_firewall_rule_group_association(**kwargs)
  1. See UpdateFirewallRuleGroupAssociationRequestRequestTypeDef

update_outpost_resolver#

You can use UpdateOutpostResolver to update the instance count, type, or name of a Resolver on an Outpost.

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

# update_outpost_resolver method definition

def update_outpost_resolver(
    self,
    *,
    Id: str,
    Name: str = ...,
    InstanceCount: int = ...,
    PreferredInstanceType: str = ...,
) -> UpdateOutpostResolverResponseTypeDef:  # (1)
    ...
  1. See UpdateOutpostResolverResponseTypeDef
# update_outpost_resolver method usage example with argument unpacking

kwargs: UpdateOutpostResolverRequestRequestTypeDef = {  # (1)
    "Id": ...,
}

parent.update_outpost_resolver(**kwargs)
  1. See UpdateOutpostResolverRequestRequestTypeDef

update_resolver_config#

Updates 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").update_resolver_config method. boto3 documentation

# update_resolver_config method definition

def update_resolver_config(
    self,
    *,
    ResourceId: str,
    AutodefinedReverseFlag: AutodefinedReverseFlagType,  # (1)
) -> UpdateResolverConfigResponseTypeDef:  # (2)
    ...
  1. See AutodefinedReverseFlagType
  2. See UpdateResolverConfigResponseTypeDef
# update_resolver_config method usage example with argument unpacking

kwargs: UpdateResolverConfigRequestRequestTypeDef = {  # (1)
    "ResourceId": ...,
    "AutodefinedReverseFlag": ...,
}

parent.update_resolver_config(**kwargs)
  1. See UpdateResolverConfigRequestRequestTypeDef

update_resolver_dnssec_config#

Updates an existing DNSSEC validation configuration.

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

# update_resolver_dnssec_config method definition

def update_resolver_dnssec_config(
    self,
    *,
    ResourceId: str,
    Validation: ValidationType,  # (1)
) -> UpdateResolverDnssecConfigResponseTypeDef:  # (2)
    ...
  1. See ValidationType
  2. See UpdateResolverDnssecConfigResponseTypeDef
# update_resolver_dnssec_config method usage example with argument unpacking

kwargs: UpdateResolverDnssecConfigRequestRequestTypeDef = {  # (1)
    "ResourceId": ...,
    "Validation": ...,
}

parent.update_resolver_dnssec_config(**kwargs)
  1. See UpdateResolverDnssecConfigRequestRequestTypeDef

update_resolver_endpoint#

Updates the name, or endpoint type for an inbound or an outbound Resolver endpoint.

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

# update_resolver_endpoint method definition

def update_resolver_endpoint(
    self,
    *,
    ResolverEndpointId: str,
    Name: str = ...,
    ResolverEndpointType: ResolverEndpointTypeType = ...,  # (1)
    UpdateIpAddresses: Sequence[UpdateIpAddressTypeDef] = ...,  # (2)
    Protocols: Sequence[ProtocolType] = ...,  # (3)
) -> UpdateResolverEndpointResponseTypeDef:  # (4)
    ...
  1. See ResolverEndpointTypeType
  2. See UpdateIpAddressTypeDef
  3. See ProtocolType
  4. See UpdateResolverEndpointResponseTypeDef
# update_resolver_endpoint method usage example with argument unpacking

kwargs: UpdateResolverEndpointRequestRequestTypeDef = {  # (1)
    "ResolverEndpointId": ...,
}

parent.update_resolver_endpoint(**kwargs)
  1. See UpdateResolverEndpointRequestRequestTypeDef

update_resolver_rule#

Updates settings for a specified Resolver rule.

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

# update_resolver_rule method definition

def update_resolver_rule(
    self,
    *,
    ResolverRuleId: str,
    Config: ResolverRuleConfigTypeDef,  # (1)
) -> UpdateResolverRuleResponseTypeDef:  # (2)
    ...
  1. See ResolverRuleConfigTypeDef
  2. See UpdateResolverRuleResponseTypeDef
# update_resolver_rule method usage example with argument unpacking

kwargs: UpdateResolverRuleRequestRequestTypeDef = {  # (1)
    "ResolverRuleId": ...,
    "Config": ...,
}

parent.update_resolver_rule(**kwargs)
  1. See UpdateResolverRuleRequestRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("route53resolver").get_paginator method with overloads.