Skip to content

Route53Client#

Index > Route53 > Route53Client

Auto-generated documentation for Route53 type annotations stubs module types-boto3-route53.

Route53Client#

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

# Route53Client usage example

from boto3.session import Session
from types_boto3_route53.client import Route53Client

def get_route53_client() -> Route53Client:
    return Session().client("route53")

Exceptions#

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

# Exceptions.exceptions usage example

client = boto3.client("route53")

try:
    do_something(client)
except (
    client.exceptions.CidrBlockInUseException,
    client.exceptions.CidrCollectionAlreadyExistsException,
    client.exceptions.CidrCollectionInUseException,
    client.exceptions.CidrCollectionVersionMismatchException,
    client.exceptions.ClientError,
    client.exceptions.ConcurrentModification,
    client.exceptions.ConflictingDomainExists,
    client.exceptions.ConflictingTypes,
    client.exceptions.DNSSECNotFound,
    client.exceptions.DelegationSetAlreadyCreated,
    client.exceptions.DelegationSetAlreadyReusable,
    client.exceptions.DelegationSetInUse,
    client.exceptions.DelegationSetNotAvailable,
    client.exceptions.DelegationSetNotReusable,
    client.exceptions.HealthCheckAlreadyExists,
    client.exceptions.HealthCheckInUse,
    client.exceptions.HealthCheckVersionMismatch,
    client.exceptions.HostedZoneAlreadyExists,
    client.exceptions.HostedZoneNotEmpty,
    client.exceptions.HostedZoneNotFound,
    client.exceptions.HostedZoneNotPrivate,
    client.exceptions.HostedZonePartiallyDelegated,
    client.exceptions.IncompatibleVersion,
    client.exceptions.InsufficientCloudWatchLogsResourcePolicy,
    client.exceptions.InvalidArgument,
    client.exceptions.InvalidChangeBatch,
    client.exceptions.InvalidDomainName,
    client.exceptions.InvalidInput,
    client.exceptions.InvalidKMSArn,
    client.exceptions.InvalidKeySigningKeyName,
    client.exceptions.InvalidKeySigningKeyStatus,
    client.exceptions.InvalidPaginationToken,
    client.exceptions.InvalidSigningStatus,
    client.exceptions.InvalidTrafficPolicyDocument,
    client.exceptions.InvalidVPCId,
    client.exceptions.KeySigningKeyAlreadyExists,
    client.exceptions.KeySigningKeyInParentDSRecord,
    client.exceptions.KeySigningKeyInUse,
    client.exceptions.KeySigningKeyWithActiveStatusNotFound,
    client.exceptions.LastVPCAssociation,
    client.exceptions.LimitsExceeded,
    client.exceptions.NoSuchChange,
    client.exceptions.NoSuchCidrCollectionException,
    client.exceptions.NoSuchCidrLocationException,
    client.exceptions.NoSuchCloudWatchLogsLogGroup,
    client.exceptions.NoSuchDelegationSet,
    client.exceptions.NoSuchGeoLocation,
    client.exceptions.NoSuchHealthCheck,
    client.exceptions.NoSuchHostedZone,
    client.exceptions.NoSuchKeySigningKey,
    client.exceptions.NoSuchQueryLoggingConfig,
    client.exceptions.NoSuchTrafficPolicy,
    client.exceptions.NoSuchTrafficPolicyInstance,
    client.exceptions.NotAuthorizedException,
    client.exceptions.PriorRequestNotComplete,
    client.exceptions.PublicZoneVPCAssociation,
    client.exceptions.QueryLoggingConfigAlreadyExists,
    client.exceptions.ThrottlingException,
    client.exceptions.TooManyHealthChecks,
    client.exceptions.TooManyHostedZones,
    client.exceptions.TooManyKeySigningKeys,
    client.exceptions.TooManyTrafficPolicies,
    client.exceptions.TooManyTrafficPolicyInstances,
    client.exceptions.TooManyTrafficPolicyVersionsForCurrentPolicy,
    client.exceptions.TooManyVPCAssociationAuthorizations,
    client.exceptions.TrafficPolicyAlreadyExists,
    client.exceptions.TrafficPolicyInUse,
    client.exceptions.TrafficPolicyInstanceAlreadyExists,
    client.exceptions.VPCAssociationAuthorizationNotFound,
    client.exceptions.VPCAssociationNotFound,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from types_boto3_route53.client import Exceptions

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

Methods#

can_paginate#

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

activate_key_signing_key#

Activates a key-signing key (KSK) so that it can be used for signing by DNSSEC.

Type annotations and code completion for boto3.client("route53").activate_key_signing_key method. boto3 documentation

# activate_key_signing_key method definition

def activate_key_signing_key(
    self,
    *,
    HostedZoneId: str,
    Name: str,
) -> ActivateKeySigningKeyResponseTypeDef:  # (1)
    ...
  1. See ActivateKeySigningKeyResponseTypeDef
# activate_key_signing_key method usage example with argument unpacking

kwargs: ActivateKeySigningKeyRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "Name": ...,
}

parent.activate_key_signing_key(**kwargs)
  1. See ActivateKeySigningKeyRequestRequestTypeDef

associate_vpc_with_hosted_zone#

Associates an Amazon VPC with a private hosted zone.

Type annotations and code completion for boto3.client("route53").associate_vpc_with_hosted_zone method. boto3 documentation

# associate_vpc_with_hosted_zone method definition

def associate_vpc_with_hosted_zone(
    self,
    *,
    HostedZoneId: str,
    VPC: VPCTypeDef,  # (1)
    Comment: str = ...,
) -> AssociateVPCWithHostedZoneResponseTypeDef:  # (2)
    ...
  1. See VPCTypeDef
  2. See AssociateVPCWithHostedZoneResponseTypeDef
# associate_vpc_with_hosted_zone method usage example with argument unpacking

kwargs: AssociateVPCWithHostedZoneRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "VPC": ...,
}

parent.associate_vpc_with_hosted_zone(**kwargs)
  1. See AssociateVPCWithHostedZoneRequestRequestTypeDef

change_cidr_collection#

Creates, changes, or deletes CIDR blocks within a collection.

Type annotations and code completion for boto3.client("route53").change_cidr_collection method. boto3 documentation

# change_cidr_collection method definition

def change_cidr_collection(
    self,
    *,
    Id: str,
    Changes: Sequence[CidrCollectionChangeTypeDef],  # (1)
    CollectionVersion: int = ...,
) -> ChangeCidrCollectionResponseTypeDef:  # (2)
    ...
  1. See CidrCollectionChangeTypeDef
  2. See ChangeCidrCollectionResponseTypeDef
# change_cidr_collection method usage example with argument unpacking

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

parent.change_cidr_collection(**kwargs)
  1. See ChangeCidrCollectionRequestRequestTypeDef

change_resource_record_sets#

Creates, changes, or deletes a resource record set, which contains authoritative DNS information for a specified domain name or subdomain name.

Type annotations and code completion for boto3.client("route53").change_resource_record_sets method. boto3 documentation

# change_resource_record_sets method definition

def change_resource_record_sets(
    self,
    *,
    HostedZoneId: str,
    ChangeBatch: ChangeBatchTypeDef,  # (1)
) -> ChangeResourceRecordSetsResponseTypeDef:  # (2)
    ...
  1. See ChangeBatchTypeDef
  2. See ChangeResourceRecordSetsResponseTypeDef
# change_resource_record_sets method usage example with argument unpacking

kwargs: ChangeResourceRecordSetsRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "ChangeBatch": ...,
}

parent.change_resource_record_sets(**kwargs)
  1. See ChangeResourceRecordSetsRequestRequestTypeDef

change_tags_for_resource#

Adds, edits, or deletes tags for a health check or a hosted zone.

Type annotations and code completion for boto3.client("route53").change_tags_for_resource method. boto3 documentation

# change_tags_for_resource method definition

def change_tags_for_resource(
    self,
    *,
    ResourceType: TagResourceTypeType,  # (1)
    ResourceId: str,
    AddTags: Sequence[TagTypeDef] = ...,  # (2)
    RemoveTagKeys: Sequence[str] = ...,
) -> dict[str, Any]:
    ...
  1. See TagResourceTypeType
  2. See TagTypeDef
# change_tags_for_resource method usage example with argument unpacking

kwargs: ChangeTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceType": ...,
    "ResourceId": ...,
}

parent.change_tags_for_resource(**kwargs)
  1. See ChangeTagsForResourceRequestRequestTypeDef

create_cidr_collection#

Creates a CIDR collection in the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").create_cidr_collection method. boto3 documentation

# create_cidr_collection method definition

def create_cidr_collection(
    self,
    *,
    Name: str,
    CallerReference: str,
) -> CreateCidrCollectionResponseTypeDef:  # (1)
    ...
  1. See CreateCidrCollectionResponseTypeDef
# create_cidr_collection method usage example with argument unpacking

kwargs: CreateCidrCollectionRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "CallerReference": ...,
}

parent.create_cidr_collection(**kwargs)
  1. See CreateCidrCollectionRequestRequestTypeDef

create_health_check#

Creates a new health check.

Type annotations and code completion for boto3.client("route53").create_health_check method. boto3 documentation

# create_health_check method definition

def create_health_check(
    self,
    *,
    CallerReference: str,
    HealthCheckConfig: HealthCheckConfigTypeDef,  # (1)
) -> CreateHealthCheckResponseTypeDef:  # (2)
    ...
  1. See HealthCheckConfigTypeDef
  2. See CreateHealthCheckResponseTypeDef
# create_health_check method usage example with argument unpacking

kwargs: CreateHealthCheckRequestRequestTypeDef = {  # (1)
    "CallerReference": ...,
    "HealthCheckConfig": ...,
}

parent.create_health_check(**kwargs)
  1. See CreateHealthCheckRequestRequestTypeDef

create_hosted_zone#

Creates a new public or private hosted zone.

Type annotations and code completion for boto3.client("route53").create_hosted_zone method. boto3 documentation

# create_hosted_zone method definition

def create_hosted_zone(
    self,
    *,
    Name: str,
    CallerReference: str,
    VPC: VPCTypeDef = ...,  # (1)
    HostedZoneConfig: HostedZoneConfigTypeDef = ...,  # (2)
    DelegationSetId: str = ...,
) -> CreateHostedZoneResponseTypeDef:  # (3)
    ...
  1. See VPCTypeDef
  2. See HostedZoneConfigTypeDef
  3. See CreateHostedZoneResponseTypeDef
# create_hosted_zone method usage example with argument unpacking

kwargs: CreateHostedZoneRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "CallerReference": ...,
}

parent.create_hosted_zone(**kwargs)
  1. See CreateHostedZoneRequestRequestTypeDef

create_key_signing_key#

Creates a new key-signing key (KSK) associated with a hosted zone.

Type annotations and code completion for boto3.client("route53").create_key_signing_key method. boto3 documentation

# create_key_signing_key method definition

def create_key_signing_key(
    self,
    *,
    CallerReference: str,
    HostedZoneId: str,
    KeyManagementServiceArn: str,
    Name: str,
    Status: str,
) -> CreateKeySigningKeyResponseTypeDef:  # (1)
    ...
  1. See CreateKeySigningKeyResponseTypeDef
# create_key_signing_key method usage example with argument unpacking

kwargs: CreateKeySigningKeyRequestRequestTypeDef = {  # (1)
    "CallerReference": ...,
    "HostedZoneId": ...,
    "KeyManagementServiceArn": ...,
    "Name": ...,
    "Status": ...,
}

parent.create_key_signing_key(**kwargs)
  1. See CreateKeySigningKeyRequestRequestTypeDef

create_query_logging_config#

Creates a configuration for DNS query logging.

Type annotations and code completion for boto3.client("route53").create_query_logging_config method. boto3 documentation

# create_query_logging_config method definition

def create_query_logging_config(
    self,
    *,
    HostedZoneId: str,
    CloudWatchLogsLogGroupArn: str,
) -> CreateQueryLoggingConfigResponseTypeDef:  # (1)
    ...
  1. See CreateQueryLoggingConfigResponseTypeDef
# create_query_logging_config method usage example with argument unpacking

kwargs: CreateQueryLoggingConfigRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "CloudWatchLogsLogGroupArn": ...,
}

parent.create_query_logging_config(**kwargs)
  1. See CreateQueryLoggingConfigRequestRequestTypeDef

create_reusable_delegation_set#

Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones that were created by the same Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").create_reusable_delegation_set method. boto3 documentation

# create_reusable_delegation_set method definition

def create_reusable_delegation_set(
    self,
    *,
    CallerReference: str,
    HostedZoneId: str = ...,
) -> CreateReusableDelegationSetResponseTypeDef:  # (1)
    ...
  1. See CreateReusableDelegationSetResponseTypeDef
# create_reusable_delegation_set method usage example with argument unpacking

kwargs: CreateReusableDelegationSetRequestRequestTypeDef = {  # (1)
    "CallerReference": ...,
}

parent.create_reusable_delegation_set(**kwargs)
  1. See CreateReusableDelegationSetRequestRequestTypeDef

create_traffic_policy#

Creates a traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com).

Type annotations and code completion for boto3.client("route53").create_traffic_policy method. boto3 documentation

# create_traffic_policy method definition

def create_traffic_policy(
    self,
    *,
    Name: str,
    Document: str,
    Comment: str = ...,
) -> CreateTrafficPolicyResponseTypeDef:  # (1)
    ...
  1. See CreateTrafficPolicyResponseTypeDef
# create_traffic_policy method usage example with argument unpacking

kwargs: CreateTrafficPolicyRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "Document": ...,
}

parent.create_traffic_policy(**kwargs)
  1. See CreateTrafficPolicyRequestRequestTypeDef

create_traffic_policy_instance#

Creates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version.

Type annotations and code completion for boto3.client("route53").create_traffic_policy_instance method. boto3 documentation

# create_traffic_policy_instance method definition

def create_traffic_policy_instance(
    self,
    *,
    HostedZoneId: str,
    Name: str,
    TTL: int,
    TrafficPolicyId: str,
    TrafficPolicyVersion: int,
) -> CreateTrafficPolicyInstanceResponseTypeDef:  # (1)
    ...
  1. See CreateTrafficPolicyInstanceResponseTypeDef
# create_traffic_policy_instance method usage example with argument unpacking

kwargs: CreateTrafficPolicyInstanceRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "Name": ...,
    "TTL": ...,
    "TrafficPolicyId": ...,
    "TrafficPolicyVersion": ...,
}

parent.create_traffic_policy_instance(**kwargs)
  1. See CreateTrafficPolicyInstanceRequestRequestTypeDef

create_traffic_policy_version#

Creates a new version of an existing traffic policy.

Type annotations and code completion for boto3.client("route53").create_traffic_policy_version method. boto3 documentation

# create_traffic_policy_version method definition

def create_traffic_policy_version(
    self,
    *,
    Id: str,
    Document: str,
    Comment: str = ...,
) -> CreateTrafficPolicyVersionResponseTypeDef:  # (1)
    ...
  1. See CreateTrafficPolicyVersionResponseTypeDef
# create_traffic_policy_version method usage example with argument unpacking

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

parent.create_traffic_policy_version(**kwargs)
  1. See CreateTrafficPolicyVersionRequestRequestTypeDef

create_vpc_association_authorization#

Authorizes the Amazon Web Services account that created a specified VPC to submit an AssociateVPCWithHostedZone request to associate the VPC with a specified hosted zone that was created by a different account.

Type annotations and code completion for boto3.client("route53").create_vpc_association_authorization method. boto3 documentation

# create_vpc_association_authorization method definition

def create_vpc_association_authorization(
    self,
    *,
    HostedZoneId: str,
    VPC: VPCTypeDef,  # (1)
) -> CreateVPCAssociationAuthorizationResponseTypeDef:  # (2)
    ...
  1. See VPCTypeDef
  2. See CreateVPCAssociationAuthorizationResponseTypeDef
# create_vpc_association_authorization method usage example with argument unpacking

kwargs: CreateVPCAssociationAuthorizationRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "VPC": ...,
}

parent.create_vpc_association_authorization(**kwargs)
  1. See CreateVPCAssociationAuthorizationRequestRequestTypeDef

deactivate_key_signing_key#

Deactivates a key-signing key (KSK) so that it will not be used for signing by DNSSEC.

Type annotations and code completion for boto3.client("route53").deactivate_key_signing_key method. boto3 documentation

# deactivate_key_signing_key method definition

def deactivate_key_signing_key(
    self,
    *,
    HostedZoneId: str,
    Name: str,
) -> DeactivateKeySigningKeyResponseTypeDef:  # (1)
    ...
  1. See DeactivateKeySigningKeyResponseTypeDef
# deactivate_key_signing_key method usage example with argument unpacking

kwargs: DeactivateKeySigningKeyRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "Name": ...,
}

parent.deactivate_key_signing_key(**kwargs)
  1. See DeactivateKeySigningKeyRequestRequestTypeDef

delete_cidr_collection#

Deletes a CIDR collection in the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").delete_cidr_collection method. boto3 documentation

# delete_cidr_collection method definition

def delete_cidr_collection(
    self,
    *,
    Id: str,
) -> dict[str, Any]:
    ...
# delete_cidr_collection method usage example with argument unpacking

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

parent.delete_cidr_collection(**kwargs)
  1. See DeleteCidrCollectionRequestRequestTypeDef

delete_health_check#

Deletes a health check.

Type annotations and code completion for boto3.client("route53").delete_health_check method. boto3 documentation

# delete_health_check method definition

def delete_health_check(
    self,
    *,
    HealthCheckId: str,
) -> dict[str, Any]:
    ...
# delete_health_check method usage example with argument unpacking

kwargs: DeleteHealthCheckRequestRequestTypeDef = {  # (1)
    "HealthCheckId": ...,
}

parent.delete_health_check(**kwargs)
  1. See DeleteHealthCheckRequestRequestTypeDef

delete_hosted_zone#

Deletes a hosted zone.

Type annotations and code completion for boto3.client("route53").delete_hosted_zone method. boto3 documentation

# delete_hosted_zone method definition

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

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

parent.delete_hosted_zone(**kwargs)
  1. See DeleteHostedZoneRequestRequestTypeDef

delete_key_signing_key#

Deletes a key-signing key (KSK).

Type annotations and code completion for boto3.client("route53").delete_key_signing_key method. boto3 documentation

# delete_key_signing_key method definition

def delete_key_signing_key(
    self,
    *,
    HostedZoneId: str,
    Name: str,
) -> DeleteKeySigningKeyResponseTypeDef:  # (1)
    ...
  1. See DeleteKeySigningKeyResponseTypeDef
# delete_key_signing_key method usage example with argument unpacking

kwargs: DeleteKeySigningKeyRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "Name": ...,
}

parent.delete_key_signing_key(**kwargs)
  1. See DeleteKeySigningKeyRequestRequestTypeDef

delete_query_logging_config#

Deletes a configuration for DNS query logging.

Type annotations and code completion for boto3.client("route53").delete_query_logging_config method. boto3 documentation

# delete_query_logging_config method definition

def delete_query_logging_config(
    self,
    *,
    Id: str,
) -> dict[str, Any]:
    ...
# delete_query_logging_config method usage example with argument unpacking

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

parent.delete_query_logging_config(**kwargs)
  1. See DeleteQueryLoggingConfigRequestRequestTypeDef

delete_reusable_delegation_set#

Deletes a reusable delegation set.

Type annotations and code completion for boto3.client("route53").delete_reusable_delegation_set method. boto3 documentation

# delete_reusable_delegation_set method definition

def delete_reusable_delegation_set(
    self,
    *,
    Id: str,
) -> dict[str, Any]:
    ...
# delete_reusable_delegation_set method usage example with argument unpacking

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

parent.delete_reusable_delegation_set(**kwargs)
  1. See DeleteReusableDelegationSetRequestRequestTypeDef

delete_traffic_policy#

Deletes a traffic policy.

Type annotations and code completion for boto3.client("route53").delete_traffic_policy method. boto3 documentation

# delete_traffic_policy method definition

def delete_traffic_policy(
    self,
    *,
    Id: str,
    Version: int,
) -> dict[str, Any]:
    ...
# delete_traffic_policy method usage example with argument unpacking

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

parent.delete_traffic_policy(**kwargs)
  1. See DeleteTrafficPolicyRequestRequestTypeDef

delete_traffic_policy_instance#

Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance.

Type annotations and code completion for boto3.client("route53").delete_traffic_policy_instance method. boto3 documentation

# delete_traffic_policy_instance method definition

def delete_traffic_policy_instance(
    self,
    *,
    Id: str,
) -> dict[str, Any]:
    ...
# delete_traffic_policy_instance method usage example with argument unpacking

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

parent.delete_traffic_policy_instance(**kwargs)
  1. See DeleteTrafficPolicyInstanceRequestRequestTypeDef

delete_vpc_association_authorization#

Removes authorization to submit an AssociateVPCWithHostedZone request to associate a specified VPC with a hosted zone that was created by a different account.

Type annotations and code completion for boto3.client("route53").delete_vpc_association_authorization method. boto3 documentation

# delete_vpc_association_authorization method definition

def delete_vpc_association_authorization(
    self,
    *,
    HostedZoneId: str,
    VPC: VPCTypeDef,  # (1)
) -> dict[str, Any]:
    ...
  1. See VPCTypeDef
# delete_vpc_association_authorization method usage example with argument unpacking

kwargs: DeleteVPCAssociationAuthorizationRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "VPC": ...,
}

parent.delete_vpc_association_authorization(**kwargs)
  1. See DeleteVPCAssociationAuthorizationRequestRequestTypeDef

disable_hosted_zone_dnssec#

Disables DNSSEC signing in a specific hosted zone.

Type annotations and code completion for boto3.client("route53").disable_hosted_zone_dnssec method. boto3 documentation

# disable_hosted_zone_dnssec method definition

def disable_hosted_zone_dnssec(
    self,
    *,
    HostedZoneId: str,
) -> DisableHostedZoneDNSSECResponseTypeDef:  # (1)
    ...
  1. See DisableHostedZoneDNSSECResponseTypeDef
# disable_hosted_zone_dnssec method usage example with argument unpacking

kwargs: DisableHostedZoneDNSSECRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
}

parent.disable_hosted_zone_dnssec(**kwargs)
  1. See DisableHostedZoneDNSSECRequestRequestTypeDef

disassociate_vpc_from_hosted_zone#

Disassociates an Amazon Virtual Private Cloud (Amazon VPC) from an Amazon Route 53 private hosted zone.

Type annotations and code completion for boto3.client("route53").disassociate_vpc_from_hosted_zone method. boto3 documentation

# disassociate_vpc_from_hosted_zone method definition

def disassociate_vpc_from_hosted_zone(
    self,
    *,
    HostedZoneId: str,
    VPC: VPCTypeDef,  # (1)
    Comment: str = ...,
) -> DisassociateVPCFromHostedZoneResponseTypeDef:  # (2)
    ...
  1. See VPCTypeDef
  2. See DisassociateVPCFromHostedZoneResponseTypeDef
# disassociate_vpc_from_hosted_zone method usage example with argument unpacking

kwargs: DisassociateVPCFromHostedZoneRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "VPC": ...,
}

parent.disassociate_vpc_from_hosted_zone(**kwargs)
  1. See DisassociateVPCFromHostedZoneRequestRequestTypeDef

enable_hosted_zone_dnssec#

Enables DNSSEC signing in a specific hosted zone.

Type annotations and code completion for boto3.client("route53").enable_hosted_zone_dnssec method. boto3 documentation

# enable_hosted_zone_dnssec method definition

def enable_hosted_zone_dnssec(
    self,
    *,
    HostedZoneId: str,
) -> EnableHostedZoneDNSSECResponseTypeDef:  # (1)
    ...
  1. See EnableHostedZoneDNSSECResponseTypeDef
# enable_hosted_zone_dnssec method usage example with argument unpacking

kwargs: EnableHostedZoneDNSSECRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
}

parent.enable_hosted_zone_dnssec(**kwargs)
  1. See EnableHostedZoneDNSSECRequestRequestTypeDef

get_account_limit#

Gets the specified limit for the current account, for example, the maximum number of health checks that you can create using the account.

Type annotations and code completion for boto3.client("route53").get_account_limit method. boto3 documentation

# get_account_limit method definition

def get_account_limit(
    self,
    *,
    Type: AccountLimitTypeType,  # (1)
) -> GetAccountLimitResponseTypeDef:  # (2)
    ...
  1. See AccountLimitTypeType
  2. See GetAccountLimitResponseTypeDef
# get_account_limit method usage example with argument unpacking

kwargs: GetAccountLimitRequestRequestTypeDef = {  # (1)
    "Type": ...,
}

parent.get_account_limit(**kwargs)
  1. See GetAccountLimitRequestRequestTypeDef

get_change#

Returns the current status of a change batch request.

Type annotations and code completion for boto3.client("route53").get_change method. boto3 documentation

# get_change method definition

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

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

parent.get_change(**kwargs)
  1. See GetChangeRequestRequestTypeDef

get_checker_ip_ranges#

Route 53 does not perform authorization for this API because it retrieves information that is already available to the public.

Type annotations and code completion for boto3.client("route53").get_checker_ip_ranges method. boto3 documentation

# get_checker_ip_ranges method definition

def get_checker_ip_ranges(
    self,
) -> GetCheckerIpRangesResponseTypeDef:  # (1)
    ...
  1. See GetCheckerIpRangesResponseTypeDef

get_dnssec#

Returns information about DNSSEC for a specific hosted zone, including the key-signing keys (KSKs) in the hosted zone.

Type annotations and code completion for boto3.client("route53").get_dnssec method. boto3 documentation

# get_dnssec method definition

def get_dnssec(
    self,
    *,
    HostedZoneId: str,
) -> GetDNSSECResponseTypeDef:  # (1)
    ...
  1. See GetDNSSECResponseTypeDef
# get_dnssec method usage example with argument unpacking

kwargs: GetDNSSECRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
}

parent.get_dnssec(**kwargs)
  1. See GetDNSSECRequestRequestTypeDef

get_geo_location#

Gets information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets.

Type annotations and code completion for boto3.client("route53").get_geo_location method. boto3 documentation

# get_geo_location method definition

def get_geo_location(
    self,
    *,
    ContinentCode: str = ...,
    CountryCode: str = ...,
    SubdivisionCode: str = ...,
) -> GetGeoLocationResponseTypeDef:  # (1)
    ...
  1. See GetGeoLocationResponseTypeDef
# get_geo_location method usage example with argument unpacking

kwargs: GetGeoLocationRequestRequestTypeDef = {  # (1)
    "ContinentCode": ...,
}

parent.get_geo_location(**kwargs)
  1. See GetGeoLocationRequestRequestTypeDef

get_health_check#

Gets information about a specified health check.

Type annotations and code completion for boto3.client("route53").get_health_check method. boto3 documentation

# get_health_check method definition

def get_health_check(
    self,
    *,
    HealthCheckId: str,
) -> GetHealthCheckResponseTypeDef:  # (1)
    ...
  1. See GetHealthCheckResponseTypeDef
# get_health_check method usage example with argument unpacking

kwargs: GetHealthCheckRequestRequestTypeDef = {  # (1)
    "HealthCheckId": ...,
}

parent.get_health_check(**kwargs)
  1. See GetHealthCheckRequestRequestTypeDef

get_health_check_count#

Retrieves the number of health checks that are associated with the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").get_health_check_count method. boto3 documentation

# get_health_check_count method definition

def get_health_check_count(
    self,
) -> GetHealthCheckCountResponseTypeDef:  # (1)
    ...
  1. See GetHealthCheckCountResponseTypeDef

get_health_check_last_failure_reason#

Gets the reason that a specified health check failed most recently.

Type annotations and code completion for boto3.client("route53").get_health_check_last_failure_reason method. boto3 documentation

# get_health_check_last_failure_reason method definition

def get_health_check_last_failure_reason(
    self,
    *,
    HealthCheckId: str,
) -> GetHealthCheckLastFailureReasonResponseTypeDef:  # (1)
    ...
  1. See GetHealthCheckLastFailureReasonResponseTypeDef
# get_health_check_last_failure_reason method usage example with argument unpacking

kwargs: GetHealthCheckLastFailureReasonRequestRequestTypeDef = {  # (1)
    "HealthCheckId": ...,
}

parent.get_health_check_last_failure_reason(**kwargs)
  1. See GetHealthCheckLastFailureReasonRequestRequestTypeDef

get_health_check_status#

Gets status of a specified health check.

Type annotations and code completion for boto3.client("route53").get_health_check_status method. boto3 documentation

# get_health_check_status method definition

def get_health_check_status(
    self,
    *,
    HealthCheckId: str,
) -> GetHealthCheckStatusResponseTypeDef:  # (1)
    ...
  1. See GetHealthCheckStatusResponseTypeDef
# get_health_check_status method usage example with argument unpacking

kwargs: GetHealthCheckStatusRequestRequestTypeDef = {  # (1)
    "HealthCheckId": ...,
}

parent.get_health_check_status(**kwargs)
  1. See GetHealthCheckStatusRequestRequestTypeDef

get_hosted_zone#

Gets information about a specified hosted zone including the four name servers assigned to the hosted zone.

Type annotations and code completion for boto3.client("route53").get_hosted_zone method. boto3 documentation

# get_hosted_zone method definition

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

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

parent.get_hosted_zone(**kwargs)
  1. See GetHostedZoneRequestRequestTypeDef

get_hosted_zone_count#

Retrieves the number of hosted zones that are associated with the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").get_hosted_zone_count method. boto3 documentation

# get_hosted_zone_count method definition

def get_hosted_zone_count(
    self,
) -> GetHostedZoneCountResponseTypeDef:  # (1)
    ...
  1. See GetHostedZoneCountResponseTypeDef

get_hosted_zone_limit#

Gets the specified limit for a specified hosted zone, for example, the maximum number of records that you can create in the hosted zone.

Type annotations and code completion for boto3.client("route53").get_hosted_zone_limit method. boto3 documentation

# get_hosted_zone_limit method definition

def get_hosted_zone_limit(
    self,
    *,
    Type: HostedZoneLimitTypeType,  # (1)
    HostedZoneId: str,
) -> GetHostedZoneLimitResponseTypeDef:  # (2)
    ...
  1. See HostedZoneLimitTypeType
  2. See GetHostedZoneLimitResponseTypeDef
# get_hosted_zone_limit method usage example with argument unpacking

kwargs: GetHostedZoneLimitRequestRequestTypeDef = {  # (1)
    "Type": ...,
    "HostedZoneId": ...,
}

parent.get_hosted_zone_limit(**kwargs)
  1. See GetHostedZoneLimitRequestRequestTypeDef

get_query_logging_config#

Gets information about a specified configuration for DNS query logging.

Type annotations and code completion for boto3.client("route53").get_query_logging_config method. boto3 documentation

# get_query_logging_config method definition

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

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

parent.get_query_logging_config(**kwargs)
  1. See GetQueryLoggingConfigRequestRequestTypeDef

get_reusable_delegation_set#

Retrieves information about a specified reusable delegation set, including the four name servers that are assigned to the delegation set.

Type annotations and code completion for boto3.client("route53").get_reusable_delegation_set method. boto3 documentation

# get_reusable_delegation_set method definition

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

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

parent.get_reusable_delegation_set(**kwargs)
  1. See GetReusableDelegationSetRequestRequestTypeDef

get_reusable_delegation_set_limit#

Gets the maximum number of hosted zones that you can associate with the specified reusable delegation set.

Type annotations and code completion for boto3.client("route53").get_reusable_delegation_set_limit method. boto3 documentation

# get_reusable_delegation_set_limit method definition

def get_reusable_delegation_set_limit(
    self,
    *,
    Type: ReusableDelegationSetLimitTypeType,  # (1)
    DelegationSetId: str,
) -> GetReusableDelegationSetLimitResponseTypeDef:  # (2)
    ...
  1. See ReusableDelegationSetLimitTypeType
  2. See GetReusableDelegationSetLimitResponseTypeDef
# get_reusable_delegation_set_limit method usage example with argument unpacking

kwargs: GetReusableDelegationSetLimitRequestRequestTypeDef = {  # (1)
    "Type": ...,
    "DelegationSetId": ...,
}

parent.get_reusable_delegation_set_limit(**kwargs)
  1. See GetReusableDelegationSetLimitRequestRequestTypeDef

get_traffic_policy#

Gets information about a specific traffic policy version.

Type annotations and code completion for boto3.client("route53").get_traffic_policy method. boto3 documentation

# get_traffic_policy method definition

def get_traffic_policy(
    self,
    *,
    Id: str,
    Version: int,
) -> GetTrafficPolicyResponseTypeDef:  # (1)
    ...
  1. See GetTrafficPolicyResponseTypeDef
# get_traffic_policy method usage example with argument unpacking

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

parent.get_traffic_policy(**kwargs)
  1. See GetTrafficPolicyRequestRequestTypeDef

get_traffic_policy_instance#

Gets information about a specified traffic policy instance.

Type annotations and code completion for boto3.client("route53").get_traffic_policy_instance method. boto3 documentation

# get_traffic_policy_instance method definition

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

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

parent.get_traffic_policy_instance(**kwargs)
  1. See GetTrafficPolicyInstanceRequestRequestTypeDef

get_traffic_policy_instance_count#

Gets the number of traffic policy instances that are associated with the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").get_traffic_policy_instance_count method. boto3 documentation

# get_traffic_policy_instance_count method definition

def get_traffic_policy_instance_count(
    self,
) -> GetTrafficPolicyInstanceCountResponseTypeDef:  # (1)
    ...
  1. See GetTrafficPolicyInstanceCountResponseTypeDef

list_cidr_blocks#

Returns a paginated list of location objects and their CIDR blocks.

Type annotations and code completion for boto3.client("route53").list_cidr_blocks method. boto3 documentation

# list_cidr_blocks method definition

def list_cidr_blocks(
    self,
    *,
    CollectionId: str,
    LocationName: str = ...,
    NextToken: str = ...,
    MaxResults: str = ...,
) -> ListCidrBlocksResponseTypeDef:  # (1)
    ...
  1. See ListCidrBlocksResponseTypeDef
# list_cidr_blocks method usage example with argument unpacking

kwargs: ListCidrBlocksRequestRequestTypeDef = {  # (1)
    "CollectionId": ...,
}

parent.list_cidr_blocks(**kwargs)
  1. See ListCidrBlocksRequestRequestTypeDef

list_cidr_collections#

Returns a paginated list of CIDR collections in the Amazon Web Services account (metadata only).

Type annotations and code completion for boto3.client("route53").list_cidr_collections method. boto3 documentation

# list_cidr_collections method definition

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

kwargs: ListCidrCollectionsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_cidr_collections(**kwargs)
  1. See ListCidrCollectionsRequestRequestTypeDef

list_cidr_locations#

Returns a paginated list of CIDR locations for the given collection (metadata only, does not include CIDR blocks).

Type annotations and code completion for boto3.client("route53").list_cidr_locations method. boto3 documentation

# list_cidr_locations method definition

def list_cidr_locations(
    self,
    *,
    CollectionId: str,
    NextToken: str = ...,
    MaxResults: str = ...,
) -> ListCidrLocationsResponseTypeDef:  # (1)
    ...
  1. See ListCidrLocationsResponseTypeDef
# list_cidr_locations method usage example with argument unpacking

kwargs: ListCidrLocationsRequestRequestTypeDef = {  # (1)
    "CollectionId": ...,
}

parent.list_cidr_locations(**kwargs)
  1. See ListCidrLocationsRequestRequestTypeDef

list_geo_locations#

Retrieves a list of supported geographic locations.

Type annotations and code completion for boto3.client("route53").list_geo_locations method. boto3 documentation

# list_geo_locations method definition

def list_geo_locations(
    self,
    *,
    StartContinentCode: str = ...,
    StartCountryCode: str = ...,
    StartSubdivisionCode: str = ...,
    MaxItems: str = ...,
) -> ListGeoLocationsResponseTypeDef:  # (1)
    ...
  1. See ListGeoLocationsResponseTypeDef
# list_geo_locations method usage example with argument unpacking

kwargs: ListGeoLocationsRequestRequestTypeDef = {  # (1)
    "StartContinentCode": ...,
}

parent.list_geo_locations(**kwargs)
  1. See ListGeoLocationsRequestRequestTypeDef

list_health_checks#

Retrieve a list of the health checks that are associated with the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").list_health_checks method. boto3 documentation

# list_health_checks method definition

def list_health_checks(
    self,
    *,
    Marker: str = ...,
    MaxItems: str = ...,
) -> ListHealthChecksResponseTypeDef:  # (1)
    ...
  1. See ListHealthChecksResponseTypeDef
# list_health_checks method usage example with argument unpacking

kwargs: ListHealthChecksRequestRequestTypeDef = {  # (1)
    "Marker": ...,
}

parent.list_health_checks(**kwargs)
  1. See ListHealthChecksRequestRequestTypeDef

list_hosted_zones#

Retrieves a list of the public and private hosted zones that are associated with the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").list_hosted_zones method. boto3 documentation

# list_hosted_zones method definition

def list_hosted_zones(
    self,
    *,
    Marker: str = ...,
    MaxItems: str = ...,
    DelegationSetId: str = ...,
    HostedZoneType: HostedZoneTypeType = ...,  # (1)
) -> ListHostedZonesResponseTypeDef:  # (2)
    ...
  1. See HostedZoneTypeType
  2. See ListHostedZonesResponseTypeDef
# list_hosted_zones method usage example with argument unpacking

kwargs: ListHostedZonesRequestRequestTypeDef = {  # (1)
    "Marker": ...,
}

parent.list_hosted_zones(**kwargs)
  1. See ListHostedZonesRequestRequestTypeDef

list_hosted_zones_by_name#

Retrieves a list of your hosted zones in lexicographic order.

Type annotations and code completion for boto3.client("route53").list_hosted_zones_by_name method. boto3 documentation

# list_hosted_zones_by_name method definition

def list_hosted_zones_by_name(
    self,
    *,
    DNSName: str = ...,
    HostedZoneId: str = ...,
    MaxItems: str = ...,
) -> ListHostedZonesByNameResponseTypeDef:  # (1)
    ...
  1. See ListHostedZonesByNameResponseTypeDef
# list_hosted_zones_by_name method usage example with argument unpacking

kwargs: ListHostedZonesByNameRequestRequestTypeDef = {  # (1)
    "DNSName": ...,
}

parent.list_hosted_zones_by_name(**kwargs)
  1. See ListHostedZonesByNameRequestRequestTypeDef

list_hosted_zones_by_vpc#

Lists all the private hosted zones that a specified VPC is associated with, regardless of which Amazon Web Services account or Amazon Web Services service owns the hosted zones.

Type annotations and code completion for boto3.client("route53").list_hosted_zones_by_vpc method. boto3 documentation

# list_hosted_zones_by_vpc method definition

def list_hosted_zones_by_vpc(
    self,
    *,
    VPCId: str,
    VPCRegion: VPCRegionType,  # (1)
    MaxItems: str = ...,
    NextToken: str = ...,
) -> ListHostedZonesByVPCResponseTypeDef:  # (2)
    ...
  1. See VPCRegionType
  2. See ListHostedZonesByVPCResponseTypeDef
# list_hosted_zones_by_vpc method usage example with argument unpacking

kwargs: ListHostedZonesByVPCRequestRequestTypeDef = {  # (1)
    "VPCId": ...,
    "VPCRegion": ...,
}

parent.list_hosted_zones_by_vpc(**kwargs)
  1. See ListHostedZonesByVPCRequestRequestTypeDef

list_query_logging_configs#

Lists the configurations for DNS query logging that are associated with the current Amazon Web Services account or the configuration that is associated with a specified hosted zone.

Type annotations and code completion for boto3.client("route53").list_query_logging_configs method. boto3 documentation

# list_query_logging_configs method definition

def list_query_logging_configs(
    self,
    *,
    HostedZoneId: str = ...,
    NextToken: str = ...,
    MaxResults: str = ...,
) -> ListQueryLoggingConfigsResponseTypeDef:  # (1)
    ...
  1. See ListQueryLoggingConfigsResponseTypeDef
# list_query_logging_configs method usage example with argument unpacking

kwargs: ListQueryLoggingConfigsRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
}

parent.list_query_logging_configs(**kwargs)
  1. See ListQueryLoggingConfigsRequestRequestTypeDef

list_resource_record_sets#

Lists the resource record sets in a specified hosted zone.

Type annotations and code completion for boto3.client("route53").list_resource_record_sets method. boto3 documentation

# list_resource_record_sets method definition

def list_resource_record_sets(
    self,
    *,
    HostedZoneId: str,
    StartRecordName: str = ...,
    StartRecordType: RRTypeType = ...,  # (1)
    StartRecordIdentifier: str = ...,
    MaxItems: str = ...,
) -> ListResourceRecordSetsResponseTypeDef:  # (2)
    ...
  1. See RRTypeType
  2. See ListResourceRecordSetsResponseTypeDef
# list_resource_record_sets method usage example with argument unpacking

kwargs: ListResourceRecordSetsRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
}

parent.list_resource_record_sets(**kwargs)
  1. See ListResourceRecordSetsRequestRequestTypeDef

list_reusable_delegation_sets#

Retrieves a list of the reusable delegation sets that are associated with the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").list_reusable_delegation_sets method. boto3 documentation

# list_reusable_delegation_sets method definition

def list_reusable_delegation_sets(
    self,
    *,
    Marker: str = ...,
    MaxItems: str = ...,
) -> ListReusableDelegationSetsResponseTypeDef:  # (1)
    ...
  1. See ListReusableDelegationSetsResponseTypeDef
# list_reusable_delegation_sets method usage example with argument unpacking

kwargs: ListReusableDelegationSetsRequestRequestTypeDef = {  # (1)
    "Marker": ...,
}

parent.list_reusable_delegation_sets(**kwargs)
  1. See ListReusableDelegationSetsRequestRequestTypeDef

list_tags_for_resource#

Lists tags for one health check or hosted zone.

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

# list_tags_for_resource method definition

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

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

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

list_tags_for_resources#

Lists tags for up to 10 health checks or hosted zones.

Type annotations and code completion for boto3.client("route53").list_tags_for_resources method. boto3 documentation

# list_tags_for_resources method definition

def list_tags_for_resources(
    self,
    *,
    ResourceType: TagResourceTypeType,  # (1)
    ResourceIds: Sequence[str],
) -> ListTagsForResourcesResponseTypeDef:  # (2)
    ...
  1. See TagResourceTypeType
  2. See ListTagsForResourcesResponseTypeDef
# list_tags_for_resources method usage example with argument unpacking

kwargs: ListTagsForResourcesRequestRequestTypeDef = {  # (1)
    "ResourceType": ...,
    "ResourceIds": ...,
}

parent.list_tags_for_resources(**kwargs)
  1. See ListTagsForResourcesRequestRequestTypeDef

list_traffic_policies#

Gets information about the latest version for every traffic policy that is associated with the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").list_traffic_policies method. boto3 documentation

# list_traffic_policies method definition

def list_traffic_policies(
    self,
    *,
    TrafficPolicyIdMarker: str = ...,
    MaxItems: str = ...,
) -> ListTrafficPoliciesResponseTypeDef:  # (1)
    ...
  1. See ListTrafficPoliciesResponseTypeDef
# list_traffic_policies method usage example with argument unpacking

kwargs: ListTrafficPoliciesRequestRequestTypeDef = {  # (1)
    "TrafficPolicyIdMarker": ...,
}

parent.list_traffic_policies(**kwargs)
  1. See ListTrafficPoliciesRequestRequestTypeDef

list_traffic_policy_instances#

Gets information about the traffic policy instances that you created by using the current Amazon Web Services account.

Type annotations and code completion for boto3.client("route53").list_traffic_policy_instances method. boto3 documentation

# list_traffic_policy_instances method definition

def list_traffic_policy_instances(
    self,
    *,
    HostedZoneIdMarker: str = ...,
    TrafficPolicyInstanceNameMarker: str = ...,
    TrafficPolicyInstanceTypeMarker: RRTypeType = ...,  # (1)
    MaxItems: str = ...,
) -> ListTrafficPolicyInstancesResponseTypeDef:  # (2)
    ...
  1. See RRTypeType
  2. See ListTrafficPolicyInstancesResponseTypeDef
# list_traffic_policy_instances method usage example with argument unpacking

kwargs: ListTrafficPolicyInstancesRequestRequestTypeDef = {  # (1)
    "HostedZoneIdMarker": ...,
}

parent.list_traffic_policy_instances(**kwargs)
  1. See ListTrafficPolicyInstancesRequestRequestTypeDef

list_traffic_policy_instances_by_hosted_zone#

Gets information about the traffic policy instances that you created in a specified hosted zone.

Type annotations and code completion for boto3.client("route53").list_traffic_policy_instances_by_hosted_zone method. boto3 documentation

# list_traffic_policy_instances_by_hosted_zone method definition

def list_traffic_policy_instances_by_hosted_zone(
    self,
    *,
    HostedZoneId: str,
    TrafficPolicyInstanceNameMarker: str = ...,
    TrafficPolicyInstanceTypeMarker: RRTypeType = ...,  # (1)
    MaxItems: str = ...,
) -> ListTrafficPolicyInstancesByHostedZoneResponseTypeDef:  # (2)
    ...
  1. See RRTypeType
  2. See ListTrafficPolicyInstancesByHostedZoneResponseTypeDef
# list_traffic_policy_instances_by_hosted_zone method usage example with argument unpacking

kwargs: ListTrafficPolicyInstancesByHostedZoneRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
}

parent.list_traffic_policy_instances_by_hosted_zone(**kwargs)
  1. See ListTrafficPolicyInstancesByHostedZoneRequestRequestTypeDef

list_traffic_policy_instances_by_policy#

Gets information about the traffic policy instances that you created by using a specify traffic policy version.

Type annotations and code completion for boto3.client("route53").list_traffic_policy_instances_by_policy method. boto3 documentation

# list_traffic_policy_instances_by_policy method definition

def list_traffic_policy_instances_by_policy(
    self,
    *,
    TrafficPolicyId: str,
    TrafficPolicyVersion: int,
    HostedZoneIdMarker: str = ...,
    TrafficPolicyInstanceNameMarker: str = ...,
    TrafficPolicyInstanceTypeMarker: RRTypeType = ...,  # (1)
    MaxItems: str = ...,
) -> ListTrafficPolicyInstancesByPolicyResponseTypeDef:  # (2)
    ...
  1. See RRTypeType
  2. See ListTrafficPolicyInstancesByPolicyResponseTypeDef
# list_traffic_policy_instances_by_policy method usage example with argument unpacking

kwargs: ListTrafficPolicyInstancesByPolicyRequestRequestTypeDef = {  # (1)
    "TrafficPolicyId": ...,
    "TrafficPolicyVersion": ...,
}

parent.list_traffic_policy_instances_by_policy(**kwargs)
  1. See ListTrafficPolicyInstancesByPolicyRequestRequestTypeDef

list_traffic_policy_versions#

Gets information about all of the versions for a specified traffic policy.

Type annotations and code completion for boto3.client("route53").list_traffic_policy_versions method. boto3 documentation

# list_traffic_policy_versions method definition

def list_traffic_policy_versions(
    self,
    *,
    Id: str,
    TrafficPolicyVersionMarker: str = ...,
    MaxItems: str = ...,
) -> ListTrafficPolicyVersionsResponseTypeDef:  # (1)
    ...
  1. See ListTrafficPolicyVersionsResponseTypeDef
# list_traffic_policy_versions method usage example with argument unpacking

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

parent.list_traffic_policy_versions(**kwargs)
  1. See ListTrafficPolicyVersionsRequestRequestTypeDef

list_vpc_association_authorizations#

Gets a list of the VPCs that were created by other accounts and that can be associated with a specified hosted zone because you've submitted one or more CreateVPCAssociationAuthorization requests.

Type annotations and code completion for boto3.client("route53").list_vpc_association_authorizations method. boto3 documentation

# list_vpc_association_authorizations method definition

def list_vpc_association_authorizations(
    self,
    *,
    HostedZoneId: str,
    NextToken: str = ...,
    MaxResults: str = ...,
) -> ListVPCAssociationAuthorizationsResponseTypeDef:  # (1)
    ...
  1. See ListVPCAssociationAuthorizationsResponseTypeDef
# list_vpc_association_authorizations method usage example with argument unpacking

kwargs: ListVPCAssociationAuthorizationsRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
}

parent.list_vpc_association_authorizations(**kwargs)
  1. See ListVPCAssociationAuthorizationsRequestRequestTypeDef

test_dns_answer#

Gets the value that Amazon Route 53 returns in response to a DNS request for a specified record name and type.

Type annotations and code completion for boto3.client("route53").test_dns_answer method. boto3 documentation

# test_dns_answer method definition

def test_dns_answer(
    self,
    *,
    HostedZoneId: str,
    RecordName: str,
    RecordType: RRTypeType,  # (1)
    ResolverIP: str = ...,
    EDNS0ClientSubnetIP: str = ...,
    EDNS0ClientSubnetMask: str = ...,
) -> TestDNSAnswerResponseTypeDef:  # (2)
    ...
  1. See RRTypeType
  2. See TestDNSAnswerResponseTypeDef
# test_dns_answer method usage example with argument unpacking

kwargs: TestDNSAnswerRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "RecordName": ...,
    "RecordType": ...,
}

parent.test_dns_answer(**kwargs)
  1. See TestDNSAnswerRequestRequestTypeDef

update_health_check#

Updates an existing health check.

Type annotations and code completion for boto3.client("route53").update_health_check method. boto3 documentation

# update_health_check method definition

def update_health_check(
    self,
    *,
    HealthCheckId: str,
    HealthCheckVersion: int = ...,
    IPAddress: str = ...,
    Port: int = ...,
    ResourcePath: str = ...,
    FullyQualifiedDomainName: str = ...,
    SearchString: str = ...,
    FailureThreshold: int = ...,
    Inverted: bool = ...,
    Disabled: bool = ...,
    HealthThreshold: int = ...,
    ChildHealthChecks: Sequence[str] = ...,
    EnableSNI: bool = ...,
    Regions: Sequence[HealthCheckRegionType] = ...,  # (1)
    AlarmIdentifier: AlarmIdentifierTypeDef = ...,  # (2)
    InsufficientDataHealthStatus: InsufficientDataHealthStatusType = ...,  # (3)
    ResetElements: Sequence[ResettableElementNameType] = ...,  # (4)
) -> UpdateHealthCheckResponseTypeDef:  # (5)
    ...
  1. See HealthCheckRegionType
  2. See AlarmIdentifierTypeDef
  3. See InsufficientDataHealthStatusType
  4. See ResettableElementNameType
  5. See UpdateHealthCheckResponseTypeDef
# update_health_check method usage example with argument unpacking

kwargs: UpdateHealthCheckRequestRequestTypeDef = {  # (1)
    "HealthCheckId": ...,
}

parent.update_health_check(**kwargs)
  1. See UpdateHealthCheckRequestRequestTypeDef

update_hosted_zone_comment#

Updates the comment for a specified hosted zone.

Type annotations and code completion for boto3.client("route53").update_hosted_zone_comment method. boto3 documentation

# update_hosted_zone_comment method definition

def update_hosted_zone_comment(
    self,
    *,
    Id: str,
    Comment: str = ...,
) -> UpdateHostedZoneCommentResponseTypeDef:  # (1)
    ...
  1. See UpdateHostedZoneCommentResponseTypeDef
# update_hosted_zone_comment method usage example with argument unpacking

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

parent.update_hosted_zone_comment(**kwargs)
  1. See UpdateHostedZoneCommentRequestRequestTypeDef

update_traffic_policy_comment#

Updates the comment for a specified traffic policy version.

Type annotations and code completion for boto3.client("route53").update_traffic_policy_comment method. boto3 documentation

# update_traffic_policy_comment method definition

def update_traffic_policy_comment(
    self,
    *,
    Id: str,
    Version: int,
    Comment: str,
) -> UpdateTrafficPolicyCommentResponseTypeDef:  # (1)
    ...
  1. See UpdateTrafficPolicyCommentResponseTypeDef
# update_traffic_policy_comment method usage example with argument unpacking

kwargs: UpdateTrafficPolicyCommentRequestRequestTypeDef = {  # (1)
    "Id": ...,
    "Version": ...,
    "Comment": ...,
}

parent.update_traffic_policy_comment(**kwargs)
  1. See UpdateTrafficPolicyCommentRequestRequestTypeDef

update_traffic_policy_instance#

After you submit a UpdateTrafficPolicyInstance request, there's a brief delay while Route 53 creates the resource record sets that are specified in the traffic policy definition.

Type annotations and code completion for boto3.client("route53").update_traffic_policy_instance method. boto3 documentation

# update_traffic_policy_instance method definition

def update_traffic_policy_instance(
    self,
    *,
    Id: str,
    TTL: int,
    TrafficPolicyId: str,
    TrafficPolicyVersion: int,
) -> UpdateTrafficPolicyInstanceResponseTypeDef:  # (1)
    ...
  1. See UpdateTrafficPolicyInstanceResponseTypeDef
# update_traffic_policy_instance method usage example with argument unpacking

kwargs: UpdateTrafficPolicyInstanceRequestRequestTypeDef = {  # (1)
    "Id": ...,
    "TTL": ...,
    "TrafficPolicyId": ...,
    "TrafficPolicyVersion": ...,
}

parent.update_traffic_policy_instance(**kwargs)
  1. See UpdateTrafficPolicyInstanceRequestRequestTypeDef

get_paginator#

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

get_waiter#

Type annotations and code completion for boto3.client("route53").get_waiter method with overloads.