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)
...
# associate_hosted_zone method usage example with argument unpacking
kwargs: AssociateHostedZoneInputTypeDef = { # (1)
"hostedZoneId": ...,
"resourceArn": ...,
"name": ...,
}
parent.associate_hosted_zone(**kwargs)
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)
...
- See
Sequence[BatchCreateFirewallRuleInputItemTypeDef] - See BatchCreateFirewallRuleOutputTypeDef
# batch_create_firewall_rule method usage example with argument unpacking
kwargs: BatchCreateFirewallRuleInputTypeDef = { # (1)
"firewallRules": ...,
}
parent.batch_create_firewall_rule(**kwargs)
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)
...
- See
Sequence[BatchDeleteFirewallRuleInputItemTypeDef] - See BatchDeleteFirewallRuleOutputTypeDef
# batch_delete_firewall_rule method usage example with argument unpacking
kwargs: BatchDeleteFirewallRuleInputTypeDef = { # (1)
"firewallRules": ...,
}
parent.batch_delete_firewall_rule(**kwargs)
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)
...
- See
Sequence[BatchUpdateFirewallRuleInputItemTypeDef] - See BatchUpdateFirewallRuleOutputTypeDef
# batch_update_firewall_rule method usage example with argument unpacking
kwargs: BatchUpdateFirewallRuleInputTypeDef = { # (1)
"firewallRules": ...,
}
parent.batch_update_firewall_rule(**kwargs)
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)
...
# create_access_source method usage example with argument unpacking
kwargs: CreateAccessSourceInputTypeDef = { # (1)
"cidr": ...,
"dnsViewId": ...,
"protocol": ...,
}
parent.create_access_source(**kwargs)
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)
...
# create_access_token method usage example with argument unpacking
kwargs: CreateAccessTokenInputTypeDef = { # (1)
"dnsViewId": ...,
}
parent.create_access_token(**kwargs)
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)
...
- See DnsSecValidationTypeType
- See EdnsClientSubnetTypeType
- See FirewallRulesFailOpenTypeType
- See CreateDNSViewOutputTypeDef
# create_dns_view method usage example with argument unpacking
kwargs: CreateDNSViewInputTypeDef = { # (1)
"globalResolverId": ...,
"name": ...,
}
parent.create_dns_view(**kwargs)
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)
...
# create_firewall_domain_list method usage example with argument unpacking
kwargs: CreateFirewallDomainListInputTypeDef = { # (1)
"globalResolverId": ...,
"name": ...,
}
parent.create_firewall_domain_list(**kwargs)
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)
...
- See FirewallRuleActionType
- See BlockOverrideDnsQueryTypeType
- See FirewallBlockResponseType
- See ConfidenceThresholdType
- See DnsAdvancedProtectionType
- See CreateFirewallRuleOutputTypeDef
# create_firewall_rule method usage example with argument unpacking
kwargs: CreateFirewallRuleInputTypeDef = { # (1)
"action": ...,
"name": ...,
"dnsViewId": ...,
}
parent.create_firewall_rule(**kwargs)
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)
...
# create_global_resolver method usage example with argument unpacking
kwargs: CreateGlobalResolverInputTypeDef = { # (1)
"name": ...,
"regions": ...,
}
parent.create_global_resolver(**kwargs)
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)
...
# delete_access_source method usage example with argument unpacking
kwargs: DeleteAccessSourceInputTypeDef = { # (1)
"accessSourceId": ...,
}
parent.delete_access_source(**kwargs)
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)
...
# delete_access_token method usage example with argument unpacking
kwargs: DeleteAccessTokenInputTypeDef = { # (1)
"accessTokenId": ...,
}
parent.delete_access_token(**kwargs)
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)
...
# delete_dns_view method usage example with argument unpacking
kwargs: DeleteDNSViewInputTypeDef = { # (1)
"dnsViewId": ...,
}
parent.delete_dns_view(**kwargs)
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)
...
# delete_firewall_domain_list method usage example with argument unpacking
kwargs: DeleteFirewallDomainListInputTypeDef = { # (1)
"firewallDomainListId": ...,
}
parent.delete_firewall_domain_list(**kwargs)
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)
...
# delete_firewall_rule method usage example with argument unpacking
kwargs: DeleteFirewallRuleInputTypeDef = { # (1)
"firewallRuleId": ...,
}
parent.delete_firewall_rule(**kwargs)
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)
...
# delete_global_resolver method usage example with argument unpacking
kwargs: DeleteGlobalResolverInputTypeDef = { # (1)
"globalResolverId": ...,
}
parent.delete_global_resolver(**kwargs)
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)
...
# disable_dns_view method usage example with argument unpacking
kwargs: DisableDNSViewInputTypeDef = { # (1)
"dnsViewId": ...,
}
parent.disable_dns_view(**kwargs)
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)
...
# disassociate_hosted_zone method usage example with argument unpacking
kwargs: DisassociateHostedZoneInputTypeDef = { # (1)
"hostedZoneId": ...,
"resourceArn": ...,
}
parent.disassociate_hosted_zone(**kwargs)
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)
...
# enable_dns_view method usage example with argument unpacking
kwargs: EnableDNSViewInputTypeDef = { # (1)
"dnsViewId": ...,
}
parent.enable_dns_view(**kwargs)
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)
...
# get_access_source method usage example with argument unpacking
kwargs: GetAccessSourceInputTypeDef = { # (1)
"accessSourceId": ...,
}
parent.get_access_source(**kwargs)
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)
...
# get_access_token method usage example with argument unpacking
kwargs: GetAccessTokenInputTypeDef = { # (1)
"accessTokenId": ...,
}
parent.get_access_token(**kwargs)
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)
...
# get_dns_view method usage example with argument unpacking
kwargs: GetDNSViewInputTypeDef = { # (1)
"dnsViewId": ...,
}
parent.get_dns_view(**kwargs)
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)
...
# get_firewall_domain_list method usage example with argument unpacking
kwargs: GetFirewallDomainListInputTypeDef = { # (1)
"firewallDomainListId": ...,
}
parent.get_firewall_domain_list(**kwargs)
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)
...
# get_firewall_rule method usage example with argument unpacking
kwargs: GetFirewallRuleInputTypeDef = { # (1)
"firewallRuleId": ...,
}
parent.get_firewall_rule(**kwargs)
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)
...
# get_global_resolver method usage example with argument unpacking
kwargs: GetGlobalResolverInputTypeDef = { # (1)
"globalResolverId": ...,
}
parent.get_global_resolver(**kwargs)
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)
...
# get_hosted_zone_association method usage example with argument unpacking
kwargs: GetHostedZoneAssociationInputTypeDef = { # (1)
"hostedZoneAssociationId": ...,
}
parent.get_hosted_zone_association(**kwargs)
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)
...
# get_managed_firewall_domain_list method usage example with argument unpacking
kwargs: GetManagedFirewallDomainListInputTypeDef = { # (1)
"managedFirewallDomainListId": ...,
}
parent.get_managed_firewall_domain_list(**kwargs)
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)
...
# import_firewall_domains method usage example with argument unpacking
kwargs: ImportFirewallDomainsInputTypeDef = { # (1)
"domainFileUrl": ...,
"firewallDomainListId": ...,
"operation": ...,
}
parent.import_firewall_domains(**kwargs)
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)
...
# list_access_sources method usage example with argument unpacking
kwargs: ListAccessSourcesInputTypeDef = { # (1)
"maxResults": ...,
}
parent.list_access_sources(**kwargs)
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)
...
# list_access_tokens method usage example with argument unpacking
kwargs: ListAccessTokensInputTypeDef = { # (1)
"dnsViewId": ...,
}
parent.list_access_tokens(**kwargs)
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)
...
# list_dns_views method usage example with argument unpacking
kwargs: ListDNSViewsInputTypeDef = { # (1)
"globalResolverId": ...,
}
parent.list_dns_views(**kwargs)
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)
...
# list_firewall_domain_lists method usage example with argument unpacking
kwargs: ListFirewallDomainListsInputTypeDef = { # (1)
"maxResults": ...,
}
parent.list_firewall_domain_lists(**kwargs)
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)
...
# list_firewall_domains method usage example with argument unpacking
kwargs: ListFirewallDomainsInputTypeDef = { # (1)
"firewallDomainListId": ...,
}
parent.list_firewall_domains(**kwargs)
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)
...
# list_firewall_rules method usage example with argument unpacking
kwargs: ListFirewallRulesInputTypeDef = { # (1)
"dnsViewId": ...,
}
parent.list_firewall_rules(**kwargs)
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)
...
# list_global_resolvers method usage example with argument unpacking
kwargs: ListGlobalResolversInputTypeDef = { # (1)
"maxResults": ...,
}
parent.list_global_resolvers(**kwargs)
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)
...
# list_hosted_zone_associations method usage example with argument unpacking
kwargs: ListHostedZoneAssociationsInputTypeDef = { # (1)
"maxResults": ...,
}
parent.list_hosted_zone_associations(**kwargs)
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)
...
# list_managed_firewall_domain_lists method usage example with argument unpacking
kwargs: ListManagedFirewallDomainListsInputTypeDef = { # (1)
"managedFirewallDomainListType": ...,
}
parent.list_managed_firewall_domain_lists(**kwargs)
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)
...
# list_shared_dns_views method usage example with argument unpacking
kwargs: ListSharedDNSViewsInputTypeDef = { # (1)
"maxResults": ...,
}
parent.list_shared_dns_views(**kwargs)
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)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
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)
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)
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)
...
# update_access_source method usage example with argument unpacking
kwargs: UpdateAccessSourceInputTypeDef = { # (1)
"accessSourceId": ...,
}
parent.update_access_source(**kwargs)
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)
...
# update_access_token method usage example with argument unpacking
kwargs: UpdateAccessTokenInputTypeDef = { # (1)
"accessTokenId": ...,
"name": ...,
}
parent.update_access_token(**kwargs)
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)
...
- See DnsSecValidationTypeType
- See EdnsClientSubnetTypeType
- See FirewallRulesFailOpenTypeType
- See UpdateDNSViewOutputTypeDef
# update_dns_view method usage example with argument unpacking
kwargs: UpdateDNSViewInputTypeDef = { # (1)
"dnsViewId": ...,
}
parent.update_dns_view(**kwargs)
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)
...
# update_firewall_domains method usage example with argument unpacking
kwargs: UpdateFirewallDomainsInputTypeDef = { # (1)
"domains": ...,
"firewallDomainListId": ...,
"operation": ...,
}
parent.update_firewall_domains(**kwargs)
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)
...
- See FirewallRuleActionType
- See BlockOverrideDnsQueryTypeType
- See FirewallBlockResponseType
- See ConfidenceThresholdType
- See DnsAdvancedProtectionType
- See UpdateFirewallRuleOutputTypeDef
# update_firewall_rule method usage example with argument unpacking
kwargs: UpdateFirewallRuleInputTypeDef = { # (1)
"clientToken": ...,
"firewallRuleId": ...,
}
parent.update_firewall_rule(**kwargs)
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)
...
# update_global_resolver method usage example with argument unpacking
kwargs: UpdateGlobalResolverInputTypeDef = { # (1)
"globalResolverId": ...,
}
parent.update_global_resolver(**kwargs)
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)
...
# update_hosted_zone_association method usage example with argument unpacking
kwargs: UpdateHostedZoneAssociationInputTypeDef = { # (1)
"hostedZoneAssociationId": ...,
}
parent.update_hosted_zone_association(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("route53globalresolver").get_paginator method with overloads.
client.get_paginator("list_access_sources")-> ListAccessSourcesPaginatorclient.get_paginator("list_access_tokens")-> ListAccessTokensPaginatorclient.get_paginator("list_dns_views")-> ListDNSViewsPaginatorclient.get_paginator("list_firewall_domain_lists")-> ListFirewallDomainListsPaginatorclient.get_paginator("list_firewall_domains")-> ListFirewallDomainsPaginatorclient.get_paginator("list_firewall_rules")-> ListFirewallRulesPaginatorclient.get_paginator("list_global_resolvers")-> ListGlobalResolversPaginatorclient.get_paginator("list_hosted_zone_associations")-> ListHostedZoneAssociationsPaginatorclient.get_paginator("list_managed_firewall_domain_lists")-> ListManagedFirewallDomainListsPaginatorclient.get_paginator("list_shared_dns_views")-> ListSharedDNSViewsPaginator