Skip to content

Route53GlobalResolverClient#

Index > Route53GlobalResolver > Route53GlobalResolverClient

Auto-generated documentation for Route53GlobalResolver type annotations stubs module mypy-boto3-route53globalresolver.

Route53GlobalResolverClient#

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

# Route53GlobalResolverClient usage example

from boto3.session import Session
from mypy_boto3_route53globalresolver.client import Route53GlobalResolverClient

def get_route53globalresolver_client() -> Route53GlobalResolverClient:
    return Session().client("route53globalresolver")

Exceptions#

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

# Exceptions.exceptions usage example

client = boto3.client("route53globalresolver")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_route53globalresolver.client import Exceptions

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

Methods#

can_paginate#

Type annotations and code completion for boto3.client("route53globalresolver").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("route53globalresolver").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_hosted_zone#

Associates a Route 53 private hosted zone with a Route 53 Global Resolver resource.

Type annotations and code completion for boto3.client("route53globalresolver").associate_hosted_zone method. boto3 documentation

# associate_hosted_zone method definition

def associate_hosted_zone(
    self,
    *,
    hostedZoneId: str,
    resourceArn: str,
    name: str,
) -> AssociateHostedZoneOutputTypeDef:  # (1)
    ...
  1. See AssociateHostedZoneOutputTypeDef
# associate_hosted_zone method usage example with argument unpacking

kwargs: AssociateHostedZoneInputTypeDef = {  # (1)
    "hostedZoneId": ...,
    "resourceArn": ...,
    "name": ...,
}

parent.associate_hosted_zone(**kwargs)
  1. See AssociateHostedZoneInputTypeDef

batch_create_firewall_rule#

Creates multiple DNS firewall rules in a single operation.

Type annotations and code completion for boto3.client("route53globalresolver").batch_create_firewall_rule method. boto3 documentation

# batch_create_firewall_rule method definition

def batch_create_firewall_rule(
    self,
    *,
    firewallRules: Sequence[BatchCreateFirewallRuleInputItemTypeDef],  # (1)
) -> BatchCreateFirewallRuleOutputTypeDef:  # (2)
    ...
  1. See Sequence[BatchCreateFirewallRuleInputItemTypeDef]
  2. See BatchCreateFirewallRuleOutputTypeDef
# batch_create_firewall_rule method usage example with argument unpacking

kwargs: BatchCreateFirewallRuleInputTypeDef = {  # (1)
    "firewallRules": ...,
}

parent.batch_create_firewall_rule(**kwargs)
  1. See BatchCreateFirewallRuleInputTypeDef

batch_delete_firewall_rule#

Deletes multiple DNS firewall rules in a single operation.

Type annotations and code completion for boto3.client("route53globalresolver").batch_delete_firewall_rule method. boto3 documentation

# batch_delete_firewall_rule method definition

def batch_delete_firewall_rule(
    self,
    *,
    firewallRules: Sequence[BatchDeleteFirewallRuleInputItemTypeDef],  # (1)
) -> BatchDeleteFirewallRuleOutputTypeDef:  # (2)
    ...
  1. See Sequence[BatchDeleteFirewallRuleInputItemTypeDef]
  2. See BatchDeleteFirewallRuleOutputTypeDef
# batch_delete_firewall_rule method usage example with argument unpacking

kwargs: BatchDeleteFirewallRuleInputTypeDef = {  # (1)
    "firewallRules": ...,
}

parent.batch_delete_firewall_rule(**kwargs)
  1. See BatchDeleteFirewallRuleInputTypeDef

batch_update_firewall_rule#

Updates multiple DNS firewall rules in a single operation.

Type annotations and code completion for boto3.client("route53globalresolver").batch_update_firewall_rule method. boto3 documentation

# batch_update_firewall_rule method definition

def batch_update_firewall_rule(
    self,
    *,
    firewallRules: Sequence[BatchUpdateFirewallRuleInputItemTypeDef],  # (1)
) -> BatchUpdateFirewallRuleOutputTypeDef:  # (2)
    ...
  1. See Sequence[BatchUpdateFirewallRuleInputItemTypeDef]
  2. See BatchUpdateFirewallRuleOutputTypeDef
# batch_update_firewall_rule method usage example with argument unpacking

kwargs: BatchUpdateFirewallRuleInputTypeDef = {  # (1)
    "firewallRules": ...,
}

parent.batch_update_firewall_rule(**kwargs)
  1. See BatchUpdateFirewallRuleInputTypeDef

create_access_source#

Creates an access source for a DNS view.

Type annotations and code completion for boto3.client("route53globalresolver").create_access_source method. boto3 documentation

# create_access_source method definition

def create_access_source(
    self,
    *,
    cidr: str,
    dnsViewId: str,
    protocol: DnsProtocolType,  # (1)
    clientToken: str = ...,
    ipAddressType: IpAddressTypeType = ...,  # (2)
    name: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateAccessSourceOutputTypeDef:  # (3)
    ...
  1. See DnsProtocolType
  2. See IpAddressTypeType
  3. See CreateAccessSourceOutputTypeDef
# create_access_source method usage example with argument unpacking

kwargs: CreateAccessSourceInputTypeDef = {  # (1)
    "cidr": ...,
    "dnsViewId": ...,
    "protocol": ...,
}

parent.create_access_source(**kwargs)
  1. See CreateAccessSourceInputTypeDef

create_access_token#

Creates an access token for a DNS view.

Type annotations and code completion for boto3.client("route53globalresolver").create_access_token method. boto3 documentation

# create_access_token method definition

def create_access_token(
    self,
    *,
    dnsViewId: str,
    clientToken: str = ...,
    expiresAt: TimestampTypeDef = ...,
    name: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateAccessTokenOutputTypeDef:  # (1)
    ...
  1. See CreateAccessTokenOutputTypeDef
# create_access_token method usage example with argument unpacking

kwargs: CreateAccessTokenInputTypeDef = {  # (1)
    "dnsViewId": ...,
}

parent.create_access_token(**kwargs)
  1. See CreateAccessTokenInputTypeDef

create_dns_view#

Creates a DNS view within a Route 53 Global Resolver.

Type annotations and code completion for boto3.client("route53globalresolver").create_dns_view method. boto3 documentation

# create_dns_view method definition

def create_dns_view(
    self,
    *,
    globalResolverId: str,
    name: str,
    clientToken: str = ...,
    dnssecValidation: DnsSecValidationTypeType = ...,  # (1)
    ednsClientSubnet: EdnsClientSubnetTypeType = ...,  # (2)
    firewallRulesFailOpen: FirewallRulesFailOpenTypeType = ...,  # (3)
    description: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateDNSViewOutputTypeDef:  # (4)
    ...
  1. See DnsSecValidationTypeType
  2. See EdnsClientSubnetTypeType
  3. See FirewallRulesFailOpenTypeType
  4. See CreateDNSViewOutputTypeDef
# create_dns_view method usage example with argument unpacking

kwargs: CreateDNSViewInputTypeDef = {  # (1)
    "globalResolverId": ...,
    "name": ...,
}

parent.create_dns_view(**kwargs)
  1. See CreateDNSViewInputTypeDef

create_firewall_domain_list#

Creates a firewall domain list.

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

# create_firewall_domain_list method definition

def create_firewall_domain_list(
    self,
    *,
    globalResolverId: str,
    name: str,
    clientToken: str = ...,
    description: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateFirewallDomainListOutputTypeDef:  # (1)
    ...
  1. See CreateFirewallDomainListOutputTypeDef
# create_firewall_domain_list method usage example with argument unpacking

kwargs: CreateFirewallDomainListInputTypeDef = {  # (1)
    "globalResolverId": ...,
    "name": ...,
}

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

create_firewall_rule#

Creates a DNS firewall rule.

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

# create_firewall_rule method definition

def create_firewall_rule(
    self,
    *,
    action: FirewallRuleActionType,  # (1)
    name: str,
    dnsViewId: str,
    blockOverrideDnsType: BlockOverrideDnsQueryTypeType = ...,  # (2)
    blockOverrideDomain: str = ...,
    blockOverrideTtl: int = ...,
    blockResponse: FirewallBlockResponseType = ...,  # (3)
    clientToken: str = ...,
    confidenceThreshold: ConfidenceThresholdType = ...,  # (4)
    description: str = ...,
    dnsAdvancedProtection: DnsAdvancedProtectionType = ...,  # (5)
    firewallDomainListId: str = ...,
    priority: int = ...,
    qType: str = ...,
) -> CreateFirewallRuleOutputTypeDef:  # (6)
    ...
  1. See FirewallRuleActionType
  2. See BlockOverrideDnsQueryTypeType
  3. See FirewallBlockResponseType
  4. See ConfidenceThresholdType
  5. See DnsAdvancedProtectionType
  6. See CreateFirewallRuleOutputTypeDef
# create_firewall_rule method usage example with argument unpacking

kwargs: CreateFirewallRuleInputTypeDef = {  # (1)
    "action": ...,
    "name": ...,
    "dnsViewId": ...,
}

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

create_global_resolver#

Creates a new Route 53 Global Resolver instance.

Type annotations and code completion for boto3.client("route53globalresolver").create_global_resolver method. boto3 documentation

# create_global_resolver method definition

def create_global_resolver(
    self,
    *,
    name: str,
    regions: Sequence[str],
    clientToken: str = ...,
    description: str = ...,
    ipAddressType: GlobalResolverIpAddressTypeType = ...,  # (1)
    observabilityRegion: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateGlobalResolverOutputTypeDef:  # (2)
    ...
  1. See GlobalResolverIpAddressTypeType
  2. See CreateGlobalResolverOutputTypeDef
# create_global_resolver method usage example with argument unpacking

kwargs: CreateGlobalResolverInputTypeDef = {  # (1)
    "name": ...,
    "regions": ...,
}

parent.create_global_resolver(**kwargs)
  1. See CreateGlobalResolverInputTypeDef

delete_access_source#

Deletes an access source.

Type annotations and code completion for boto3.client("route53globalresolver").delete_access_source method. boto3 documentation

# delete_access_source method definition

def delete_access_source(
    self,
    *,
    accessSourceId: str,
) -> DeleteAccessSourceOutputTypeDef:  # (1)
    ...
  1. See DeleteAccessSourceOutputTypeDef
# delete_access_source method usage example with argument unpacking

kwargs: DeleteAccessSourceInputTypeDef = {  # (1)
    "accessSourceId": ...,
}

parent.delete_access_source(**kwargs)
  1. See DeleteAccessSourceInputTypeDef

delete_access_token#

Deletes an access token.

Type annotations and code completion for boto3.client("route53globalresolver").delete_access_token method. boto3 documentation

# delete_access_token method definition

def delete_access_token(
    self,
    *,
    accessTokenId: str,
) -> DeleteAccessTokenOutputTypeDef:  # (1)
    ...
  1. See DeleteAccessTokenOutputTypeDef
# delete_access_token method usage example with argument unpacking

kwargs: DeleteAccessTokenInputTypeDef = {  # (1)
    "accessTokenId": ...,
}

parent.delete_access_token(**kwargs)
  1. See DeleteAccessTokenInputTypeDef

delete_dns_view#

Deletes a DNS view.

Type annotations and code completion for boto3.client("route53globalresolver").delete_dns_view method. boto3 documentation

# delete_dns_view method definition

def delete_dns_view(
    self,
    *,
    dnsViewId: str,
) -> DeleteDNSViewOutputTypeDef:  # (1)
    ...
  1. See DeleteDNSViewOutputTypeDef
# delete_dns_view method usage example with argument unpacking

kwargs: DeleteDNSViewInputTypeDef = {  # (1)
    "dnsViewId": ...,
}

parent.delete_dns_view(**kwargs)
  1. See DeleteDNSViewInputTypeDef

delete_firewall_domain_list#

Deletes a firewall domain list.

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

# delete_firewall_domain_list method definition

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

kwargs: DeleteFirewallDomainListInputTypeDef = {  # (1)
    "firewallDomainListId": ...,
}

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

delete_firewall_rule#

Deletes a DNS firewall rule.

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

# delete_firewall_rule method definition

def delete_firewall_rule(
    self,
    *,
    firewallRuleId: str,
) -> DeleteFirewallRuleOutputTypeDef:  # (1)
    ...
  1. See DeleteFirewallRuleOutputTypeDef
# delete_firewall_rule method usage example with argument unpacking

kwargs: DeleteFirewallRuleInputTypeDef = {  # (1)
    "firewallRuleId": ...,
}

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

delete_global_resolver#

Deletes a Route 53 Global Resolver instance.

Type annotations and code completion for boto3.client("route53globalresolver").delete_global_resolver method. boto3 documentation

# delete_global_resolver method definition

def delete_global_resolver(
    self,
    *,
    globalResolverId: str,
) -> DeleteGlobalResolverOutputTypeDef:  # (1)
    ...
  1. See DeleteGlobalResolverOutputTypeDef
# delete_global_resolver method usage example with argument unpacking

kwargs: DeleteGlobalResolverInputTypeDef = {  # (1)
    "globalResolverId": ...,
}

parent.delete_global_resolver(**kwargs)
  1. See DeleteGlobalResolverInputTypeDef

disable_dns_view#

Disables a DNS view, preventing it from serving DNS queries.

Type annotations and code completion for boto3.client("route53globalresolver").disable_dns_view method. boto3 documentation

# disable_dns_view method definition

def disable_dns_view(
    self,
    *,
    dnsViewId: str,
) -> DisableDNSViewOutputTypeDef:  # (1)
    ...
  1. See DisableDNSViewOutputTypeDef
# disable_dns_view method usage example with argument unpacking

kwargs: DisableDNSViewInputTypeDef = {  # (1)
    "dnsViewId": ...,
}

parent.disable_dns_view(**kwargs)
  1. See DisableDNSViewInputTypeDef

disassociate_hosted_zone#

Disassociates a Route 53 private hosted zone from a Route 53 Global Resolver resource.

Type annotations and code completion for boto3.client("route53globalresolver").disassociate_hosted_zone method. boto3 documentation

# disassociate_hosted_zone method definition

def disassociate_hosted_zone(
    self,
    *,
    hostedZoneId: str,
    resourceArn: str,
) -> DisassociateHostedZoneOutputTypeDef:  # (1)
    ...
  1. See DisassociateHostedZoneOutputTypeDef
# disassociate_hosted_zone method usage example with argument unpacking

kwargs: DisassociateHostedZoneInputTypeDef = {  # (1)
    "hostedZoneId": ...,
    "resourceArn": ...,
}

parent.disassociate_hosted_zone(**kwargs)
  1. See DisassociateHostedZoneInputTypeDef

enable_dns_view#

Enables a disabled DNS view, allowing it to serve DNS queries again.

Type annotations and code completion for boto3.client("route53globalresolver").enable_dns_view method. boto3 documentation

# enable_dns_view method definition

def enable_dns_view(
    self,
    *,
    dnsViewId: str,
) -> EnableDNSViewOutputTypeDef:  # (1)
    ...
  1. See EnableDNSViewOutputTypeDef
# enable_dns_view method usage example with argument unpacking

kwargs: EnableDNSViewInputTypeDef = {  # (1)
    "dnsViewId": ...,
}

parent.enable_dns_view(**kwargs)
  1. See EnableDNSViewInputTypeDef

get_access_source#

Retrieves information about an access source.

Type annotations and code completion for boto3.client("route53globalresolver").get_access_source method. boto3 documentation

# get_access_source method definition

def get_access_source(
    self,
    *,
    accessSourceId: str,
) -> GetAccessSourceOutputTypeDef:  # (1)
    ...
  1. See GetAccessSourceOutputTypeDef
# get_access_source method usage example with argument unpacking

kwargs: GetAccessSourceInputTypeDef = {  # (1)
    "accessSourceId": ...,
}

parent.get_access_source(**kwargs)
  1. See GetAccessSourceInputTypeDef

get_access_token#

Retrieves information about an access token.

Type annotations and code completion for boto3.client("route53globalresolver").get_access_token method. boto3 documentation

# get_access_token method definition

def get_access_token(
    self,
    *,
    accessTokenId: str,
) -> GetAccessTokenOutputTypeDef:  # (1)
    ...
  1. See GetAccessTokenOutputTypeDef
# get_access_token method usage example with argument unpacking

kwargs: GetAccessTokenInputTypeDef = {  # (1)
    "accessTokenId": ...,
}

parent.get_access_token(**kwargs)
  1. See GetAccessTokenInputTypeDef

get_dns_view#

Retrieves information about a DNS view.

Type annotations and code completion for boto3.client("route53globalresolver").get_dns_view method. boto3 documentation

# get_dns_view method definition

def get_dns_view(
    self,
    *,
    dnsViewId: str,
) -> GetDNSViewOutputTypeDef:  # (1)
    ...
  1. See GetDNSViewOutputTypeDef
# get_dns_view method usage example with argument unpacking

kwargs: GetDNSViewInputTypeDef = {  # (1)
    "dnsViewId": ...,
}

parent.get_dns_view(**kwargs)
  1. See GetDNSViewInputTypeDef

get_firewall_domain_list#

Retrieves information about a firewall domain list.

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

# get_firewall_domain_list method definition

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

kwargs: GetFirewallDomainListInputTypeDef = {  # (1)
    "firewallDomainListId": ...,
}

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

get_firewall_rule#

Retrieves information about a DNS firewall rule.

Type annotations and code completion for boto3.client("route53globalresolver").get_firewall_rule method. boto3 documentation

# get_firewall_rule method definition

def get_firewall_rule(
    self,
    *,
    firewallRuleId: str,
) -> GetFirewallRuleOutputTypeDef:  # (1)
    ...
  1. See GetFirewallRuleOutputTypeDef
# get_firewall_rule method usage example with argument unpacking

kwargs: GetFirewallRuleInputTypeDef = {  # (1)
    "firewallRuleId": ...,
}

parent.get_firewall_rule(**kwargs)
  1. See GetFirewallRuleInputTypeDef

get_global_resolver#

Retrieves information about a Route 53 Global Resolver instance.

Type annotations and code completion for boto3.client("route53globalresolver").get_global_resolver method. boto3 documentation

# get_global_resolver method definition

def get_global_resolver(
    self,
    *,
    globalResolverId: str,
) -> GetGlobalResolverOutputTypeDef:  # (1)
    ...
  1. See GetGlobalResolverOutputTypeDef
# get_global_resolver method usage example with argument unpacking

kwargs: GetGlobalResolverInputTypeDef = {  # (1)
    "globalResolverId": ...,
}

parent.get_global_resolver(**kwargs)
  1. See GetGlobalResolverInputTypeDef

get_hosted_zone_association#

Retrieves information about a hosted zone association.

Type annotations and code completion for boto3.client("route53globalresolver").get_hosted_zone_association method. boto3 documentation

# get_hosted_zone_association method definition

def get_hosted_zone_association(
    self,
    *,
    hostedZoneAssociationId: str,
) -> GetHostedZoneAssociationOutputTypeDef:  # (1)
    ...
  1. See GetHostedZoneAssociationOutputTypeDef
# get_hosted_zone_association method usage example with argument unpacking

kwargs: GetHostedZoneAssociationInputTypeDef = {  # (1)
    "hostedZoneAssociationId": ...,
}

parent.get_hosted_zone_association(**kwargs)
  1. See GetHostedZoneAssociationInputTypeDef

get_managed_firewall_domain_list#

Retrieves information about an Amazon Web Services-managed firewall domain list.

Type annotations and code completion for boto3.client("route53globalresolver").get_managed_firewall_domain_list method. boto3 documentation

# get_managed_firewall_domain_list method definition

def get_managed_firewall_domain_list(
    self,
    *,
    managedFirewallDomainListId: str,
) -> GetManagedFirewallDomainListOutputTypeDef:  # (1)
    ...
  1. See GetManagedFirewallDomainListOutputTypeDef
# get_managed_firewall_domain_list method usage example with argument unpacking

kwargs: GetManagedFirewallDomainListInputTypeDef = {  # (1)
    "managedFirewallDomainListId": ...,
}

parent.get_managed_firewall_domain_list(**kwargs)
  1. See GetManagedFirewallDomainListInputTypeDef

import_firewall_domains#

Imports a list of domains from an Amazon S3 file into a firewall domain list.

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

# import_firewall_domains method definition

def import_firewall_domains(
    self,
    *,
    domainFileUrl: str,
    firewallDomainListId: str,
    operation: str,
) -> ImportFirewallDomainsOutputTypeDef:  # (1)
    ...
  1. See ImportFirewallDomainsOutputTypeDef
# import_firewall_domains method usage example with argument unpacking

kwargs: ImportFirewallDomainsInputTypeDef = {  # (1)
    "domainFileUrl": ...,
    "firewallDomainListId": ...,
    "operation": ...,
}

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

list_access_sources#

Lists all access sources with pagination support.

Type annotations and code completion for boto3.client("route53globalresolver").list_access_sources method. boto3 documentation

# list_access_sources method definition

def list_access_sources(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
    filters: Mapping[str, Sequence[str]] = ...,
) -> ListAccessSourcesOutputTypeDef:  # (1)
    ...
  1. See ListAccessSourcesOutputTypeDef
# list_access_sources method usage example with argument unpacking

kwargs: ListAccessSourcesInputTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_access_sources(**kwargs)
  1. See ListAccessSourcesInputTypeDef

list_access_tokens#

Lists all access tokens for a DNS view with pagination support.

Type annotations and code completion for boto3.client("route53globalresolver").list_access_tokens method. boto3 documentation

# list_access_tokens method definition

def list_access_tokens(
    self,
    *,
    dnsViewId: str,
    maxResults: int = ...,
    nextToken: str = ...,
    filters: Mapping[str, Sequence[str]] = ...,
) -> ListAccessTokensOutputTypeDef:  # (1)
    ...
  1. See ListAccessTokensOutputTypeDef
# list_access_tokens method usage example with argument unpacking

kwargs: ListAccessTokensInputTypeDef = {  # (1)
    "dnsViewId": ...,
}

parent.list_access_tokens(**kwargs)
  1. See ListAccessTokensInputTypeDef

list_dns_views#

Lists all DNS views for a Route 53 Global Resolver with pagination support.

Type annotations and code completion for boto3.client("route53globalresolver").list_dns_views method. boto3 documentation

# list_dns_views method definition

def list_dns_views(
    self,
    *,
    globalResolverId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListDNSViewsOutputTypeDef:  # (1)
    ...
  1. See ListDNSViewsOutputTypeDef
# list_dns_views method usage example with argument unpacking

kwargs: ListDNSViewsInputTypeDef = {  # (1)
    "globalResolverId": ...,
}

parent.list_dns_views(**kwargs)
  1. See ListDNSViewsInputTypeDef

list_firewall_domain_lists#

Lists all firewall domain lists for a Route 53 Global Resolver with pagination support.

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

# list_firewall_domain_lists method definition

def list_firewall_domain_lists(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
    globalResolverId: str = ...,
) -> ListFirewallDomainListsOutputTypeDef:  # (1)
    ...
  1. See ListFirewallDomainListsOutputTypeDef
# list_firewall_domain_lists method usage example with argument unpacking

kwargs: ListFirewallDomainListsInputTypeDef = {  # (1)
    "maxResults": ...,
}

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

list_firewall_domains#

Lists all the domains in DNS Firewall domain list you have created.

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

# list_firewall_domains method definition

def list_firewall_domains(
    self,
    *,
    firewallDomainListId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListFirewallDomainsOutputTypeDef:  # (1)
    ...
  1. See ListFirewallDomainsOutputTypeDef
# list_firewall_domains method usage example with argument unpacking

kwargs: ListFirewallDomainsInputTypeDef = {  # (1)
    "firewallDomainListId": ...,
}

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

list_firewall_rules#

Lists all DNS firewall rules for a DNS view with pagination support.

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

# list_firewall_rules method definition

def list_firewall_rules(
    self,
    *,
    dnsViewId: str,
    maxResults: int = ...,
    nextToken: str = ...,
    filters: Mapping[str, Sequence[str]] = ...,
) -> ListFirewallRulesOutputTypeDef:  # (1)
    ...
  1. See ListFirewallRulesOutputTypeDef
# list_firewall_rules method usage example with argument unpacking

kwargs: ListFirewallRulesInputTypeDef = {  # (1)
    "dnsViewId": ...,
}

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

list_global_resolvers#

Lists all Route 53 Global Resolver instances in your account with pagination support.

Type annotations and code completion for boto3.client("route53globalresolver").list_global_resolvers method. boto3 documentation

# list_global_resolvers method definition

def list_global_resolvers(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListGlobalResolversOutputTypeDef:  # (1)
    ...
  1. See ListGlobalResolversOutputTypeDef
# list_global_resolvers method usage example with argument unpacking

kwargs: ListGlobalResolversInputTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_global_resolvers(**kwargs)
  1. See ListGlobalResolversInputTypeDef

list_hosted_zone_associations#

Lists hosted zone associations with pagination support.

Type annotations and code completion for boto3.client("route53globalresolver").list_hosted_zone_associations method. boto3 documentation

# list_hosted_zone_associations method definition

def list_hosted_zone_associations(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
    resourceArn: str = ...,
) -> ListHostedZoneAssociationsOutputTypeDef:  # (1)
    ...
  1. See ListHostedZoneAssociationsOutputTypeDef
# list_hosted_zone_associations method usage example with argument unpacking

kwargs: ListHostedZoneAssociationsInputTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_hosted_zone_associations(**kwargs)
  1. See ListHostedZoneAssociationsInputTypeDef

list_managed_firewall_domain_lists#

Returns a paginated list of the Amazon Web Services Managed DNS Lists and the categories for DNS Firewall.

Type annotations and code completion for boto3.client("route53globalresolver").list_managed_firewall_domain_lists method. boto3 documentation

# list_managed_firewall_domain_lists method definition

def list_managed_firewall_domain_lists(
    self,
    *,
    managedFirewallDomainListType: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListManagedFirewallDomainListsOutputTypeDef:  # (1)
    ...
  1. See ListManagedFirewallDomainListsOutputTypeDef
# list_managed_firewall_domain_lists method usage example with argument unpacking

kwargs: ListManagedFirewallDomainListsInputTypeDef = {  # (1)
    "managedFirewallDomainListType": ...,
}

parent.list_managed_firewall_domain_lists(**kwargs)
  1. See ListManagedFirewallDomainListsInputTypeDef

list_shared_dns_views#

Lists the DNS views that have been shared with your Amazon Web Services account through Amazon Web Services Resource Access Manager (Amazon Web Services RAM), with pagination support.

Type annotations and code completion for boto3.client("route53globalresolver").list_shared_dns_views method. boto3 documentation

# list_shared_dns_views method definition

def list_shared_dns_views(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListSharedDNSViewsOutputTypeDef:  # (1)
    ...
  1. See ListSharedDNSViewsOutputTypeDef
# list_shared_dns_views method usage example with argument unpacking

kwargs: ListSharedDNSViewsInputTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_shared_dns_views(**kwargs)
  1. See ListSharedDNSViewsInputTypeDef

list_tags_for_resource#

Lists the tags associated with a Route 53 Global Resolver resource.

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

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

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

tag_resource#

Adds or updates tags for a Route 53 Global Resolver resource.

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

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> dict[str, Any]:
    ...
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

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

untag_resource#

Removes tags from a Route 53 Global Resolver resource.

Type annotations and code completion for boto3.client("route53globalresolver").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: UntagResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

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

update_access_source#

Updates the configuration of an access source.

Type annotations and code completion for boto3.client("route53globalresolver").update_access_source method. boto3 documentation

# update_access_source method definition

def update_access_source(
    self,
    *,
    accessSourceId: str,
    cidr: str = ...,
    ipAddressType: IpAddressTypeType = ...,  # (1)
    name: str = ...,
    protocol: DnsProtocolType = ...,  # (2)
) -> UpdateAccessSourceOutputTypeDef:  # (3)
    ...
  1. See IpAddressTypeType
  2. See DnsProtocolType
  3. See UpdateAccessSourceOutputTypeDef
# update_access_source method usage example with argument unpacking

kwargs: UpdateAccessSourceInputTypeDef = {  # (1)
    "accessSourceId": ...,
}

parent.update_access_source(**kwargs)
  1. See UpdateAccessSourceInputTypeDef

update_access_token#

Updates the configuration of an access token.

Type annotations and code completion for boto3.client("route53globalresolver").update_access_token method. boto3 documentation

# update_access_token method definition

def update_access_token(
    self,
    *,
    accessTokenId: str,
    name: str,
) -> UpdateAccessTokenOutputTypeDef:  # (1)
    ...
  1. See UpdateAccessTokenOutputTypeDef
# update_access_token method usage example with argument unpacking

kwargs: UpdateAccessTokenInputTypeDef = {  # (1)
    "accessTokenId": ...,
    "name": ...,
}

parent.update_access_token(**kwargs)
  1. See UpdateAccessTokenInputTypeDef

update_dns_view#

Updates the configuration of a DNS view.

Type annotations and code completion for boto3.client("route53globalresolver").update_dns_view method. boto3 documentation

# update_dns_view method definition

def update_dns_view(
    self,
    *,
    dnsViewId: str,
    name: str = ...,
    description: str = ...,
    dnssecValidation: DnsSecValidationTypeType = ...,  # (1)
    ednsClientSubnet: EdnsClientSubnetTypeType = ...,  # (2)
    firewallRulesFailOpen: FirewallRulesFailOpenTypeType = ...,  # (3)
) -> UpdateDNSViewOutputTypeDef:  # (4)
    ...
  1. See DnsSecValidationTypeType
  2. See EdnsClientSubnetTypeType
  3. See FirewallRulesFailOpenTypeType
  4. See UpdateDNSViewOutputTypeDef
# update_dns_view method usage example with argument unpacking

kwargs: UpdateDNSViewInputTypeDef = {  # (1)
    "dnsViewId": ...,
}

parent.update_dns_view(**kwargs)
  1. See UpdateDNSViewInputTypeDef

update_firewall_domains#

Updates a DNS Firewall domain list from an array of specified domains.

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

# update_firewall_domains method definition

def update_firewall_domains(
    self,
    *,
    domains: Sequence[str],
    firewallDomainListId: str,
    operation: str,
) -> UpdateFirewallDomainsOutputTypeDef:  # (1)
    ...
  1. See UpdateFirewallDomainsOutputTypeDef
# update_firewall_domains method usage example with argument unpacking

kwargs: UpdateFirewallDomainsInputTypeDef = {  # (1)
    "domains": ...,
    "firewallDomainListId": ...,
    "operation": ...,
}

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

update_firewall_rule#

Updates the configuration of a DNS firewall rule.

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

# update_firewall_rule method definition

def update_firewall_rule(
    self,
    *,
    clientToken: str,
    firewallRuleId: str,
    action: FirewallRuleActionType = ...,  # (1)
    blockOverrideDnsType: BlockOverrideDnsQueryTypeType = ...,  # (2)
    blockOverrideDomain: str = ...,
    blockOverrideTtl: int = ...,
    blockResponse: FirewallBlockResponseType = ...,  # (3)
    confidenceThreshold: ConfidenceThresholdType = ...,  # (4)
    description: str = ...,
    dnsAdvancedProtection: DnsAdvancedProtectionType = ...,  # (5)
    name: str = ...,
    priority: int = ...,
) -> UpdateFirewallRuleOutputTypeDef:  # (6)
    ...
  1. See FirewallRuleActionType
  2. See BlockOverrideDnsQueryTypeType
  3. See FirewallBlockResponseType
  4. See ConfidenceThresholdType
  5. See DnsAdvancedProtectionType
  6. See UpdateFirewallRuleOutputTypeDef
# update_firewall_rule method usage example with argument unpacking

kwargs: UpdateFirewallRuleInputTypeDef = {  # (1)
    "clientToken": ...,
    "firewallRuleId": ...,
}

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

update_global_resolver#

Updates the configuration of a Route 53 Global Resolver instance.

Type annotations and code completion for boto3.client("route53globalresolver").update_global_resolver method. boto3 documentation

# update_global_resolver method definition

def update_global_resolver(
    self,
    *,
    globalResolverId: str,
    name: str = ...,
    observabilityRegion: str = ...,
    description: str = ...,
    ipAddressType: GlobalResolverIpAddressTypeType = ...,  # (1)
    regions: Sequence[str] = ...,
) -> UpdateGlobalResolverOutputTypeDef:  # (2)
    ...
  1. See GlobalResolverIpAddressTypeType
  2. See UpdateGlobalResolverOutputTypeDef
# update_global_resolver method usage example with argument unpacking

kwargs: UpdateGlobalResolverInputTypeDef = {  # (1)
    "globalResolverId": ...,
}

parent.update_global_resolver(**kwargs)
  1. See UpdateGlobalResolverInputTypeDef

update_hosted_zone_association#

Updates the configuration of a hosted zone association.

Type annotations and code completion for boto3.client("route53globalresolver").update_hosted_zone_association method. boto3 documentation

# update_hosted_zone_association method definition

def update_hosted_zone_association(
    self,
    *,
    hostedZoneAssociationId: str,
    name: str = ...,
) -> UpdateHostedZoneAssociationOutputTypeDef:  # (1)
    ...
  1. See UpdateHostedZoneAssociationOutputTypeDef
# update_hosted_zone_association method usage example with argument unpacking

kwargs: UpdateHostedZoneAssociationInputTypeDef = {  # (1)
    "hostedZoneAssociationId": ...,
}

parent.update_hosted_zone_association(**kwargs)
  1. See UpdateHostedZoneAssociationInputTypeDef

get_paginator#

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