Skip to content

Route53Client

Index > Route53 > Route53Client

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

Route53Client

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

Usage example
from boto3.session import Session
from mypy_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.

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

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

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

Methods

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

Method definition
def activate_key_signing_key(
    self,
    *,
    HostedZoneId: str,
    Name: str,
) -> ActivateKeySigningKeyResponseTypeDef:  # (1)
    ...
  1. See ActivateKeySigningKeyResponseTypeDef
Usage example with kwargs
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

Method definition
def associate_vpc_with_hosted_zone(
    self,
    *,
    HostedZoneId: str,
    VPC: VPCTypeDef,  # (1)
    Comment: str = ...,
) -> AssociateVPCWithHostedZoneResponseTypeDef:  # (2)
    ...
  1. See VPCTypeDef
  2. See AssociateVPCWithHostedZoneResponseTypeDef
Usage example with kwargs
kwargs: AssociateVPCWithHostedZoneRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
    "VPC": ...,
}

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

can_paginate

Check if an operation can be paginated.

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

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

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

Method definition
def change_cidr_collection(
    self,
    *,
    Id: str,
    Changes: Sequence[CidrCollectionChangeTypeDef],  # (1)
    CollectionVersion: int = ...,
) -> ChangeCidrCollectionResponseTypeDef:  # (2)
    ...
  1. See CidrCollectionChangeTypeDef
  2. See ChangeCidrCollectionResponseTypeDef
Usage example with kwargs
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

Method definition
def change_resource_record_sets(
    self,
    *,
    HostedZoneId: str,
    ChangeBatch: ChangeBatchTypeDef,  # (1)
) -> ChangeResourceRecordSetsResponseTypeDef:  # (2)
    ...
  1. See ChangeBatchTypeDef
  2. See ChangeResourceRecordSetsResponseTypeDef
Usage example with kwargs
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

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
Usage example with kwargs
kwargs: ChangeTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceType": ...,
    "ResourceId": ...,
}

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

close

Closes underlying endpoint connections.

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

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

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

Method definition
def create_cidr_collection(
    self,
    *,
    Name: str,
    CallerReference: str,
) -> CreateCidrCollectionResponseTypeDef:  # (1)
    ...
  1. See CreateCidrCollectionResponseTypeDef
Usage example with kwargs
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

Method definition
def create_health_check(
    self,
    *,
    CallerReference: str,
    HealthCheckConfig: HealthCheckConfigTypeDef,  # (1)
) -> CreateHealthCheckResponseTypeDef:  # (2)
    ...
  1. See HealthCheckConfigTypeDef
  2. See CreateHealthCheckResponseTypeDef
Usage example with kwargs
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

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
Usage example with kwargs
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

Method definition
def create_key_signing_key(
    self,
    *,
    CallerReference: str,
    HostedZoneId: str,
    KeyManagementServiceArn: str,
    Name: str,
    Status: str,
) -> CreateKeySigningKeyResponseTypeDef:  # (1)
    ...
  1. See CreateKeySigningKeyResponseTypeDef
Usage example with kwargs
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

Method definition
def create_query_logging_config(
    self,
    *,
    HostedZoneId: str,
    CloudWatchLogsLogGroupArn: str,
) -> CreateQueryLoggingConfigResponseTypeDef:  # (1)
    ...
  1. See CreateQueryLoggingConfigResponseTypeDef
Usage example with kwargs
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

Method definition
def create_reusable_delegation_set(
    self,
    *,
    CallerReference: str,
    HostedZoneId: str = ...,
) -> CreateReusableDelegationSetResponseTypeDef:  # (1)
    ...
  1. See CreateReusableDelegationSetResponseTypeDef
Usage example with kwargs
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

Method definition
def create_traffic_policy(
    self,
    *,
    Name: str,
    Document: str,
    Comment: str = ...,
) -> CreateTrafficPolicyResponseTypeDef:  # (1)
    ...
  1. See CreateTrafficPolicyResponseTypeDef
Usage example with kwargs
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

Method definition
def create_traffic_policy_instance(
    self,
    *,
    HostedZoneId: str,
    Name: str,
    TTL: int,
    TrafficPolicyId: str,
    TrafficPolicyVersion: int,
) -> CreateTrafficPolicyInstanceResponseTypeDef:  # (1)
    ...
  1. See CreateTrafficPolicyInstanceResponseTypeDef
Usage example with kwargs
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

Method definition
def create_traffic_policy_version(
    self,
    *,
    Id: str,
    Document: str,
    Comment: str = ...,
) -> CreateTrafficPolicyVersionResponseTypeDef:  # (1)
    ...
  1. See CreateTrafficPolicyVersionResponseTypeDef
Usage example with kwargs
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

Method definition
def create_vpc_association_authorization(
    self,
    *,
    HostedZoneId: str,
    VPC: VPCTypeDef,  # (1)
) -> CreateVPCAssociationAuthorizationResponseTypeDef:  # (2)
    ...
  1. See VPCTypeDef
  2. See CreateVPCAssociationAuthorizationResponseTypeDef
Usage example with kwargs
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

Method definition
def deactivate_key_signing_key(
    self,
    *,
    HostedZoneId: str,
    Name: str,
) -> DeactivateKeySigningKeyResponseTypeDef:  # (1)
    ...
  1. See DeactivateKeySigningKeyResponseTypeDef
Usage example with kwargs
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

Method definition
def delete_cidr_collection(
    self,
    *,
    Id: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
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

Method definition
def delete_health_check(
    self,
    *,
    HealthCheckId: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
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

Method definition
def delete_hosted_zone(
    self,
    *,
    Id: str,
) -> DeleteHostedZoneResponseTypeDef:  # (1)
    ...
  1. See DeleteHostedZoneResponseTypeDef
Usage example with kwargs
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

Method definition
def delete_key_signing_key(
    self,
    *,
    HostedZoneId: str,
    Name: str,
) -> DeleteKeySigningKeyResponseTypeDef:  # (1)
    ...
  1. See DeleteKeySigningKeyResponseTypeDef
Usage example with kwargs
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

Method definition
def delete_query_logging_config(
    self,
    *,
    Id: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
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

Method definition
def delete_reusable_delegation_set(
    self,
    *,
    Id: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
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

Method definition
def delete_traffic_policy(
    self,
    *,
    Id: str,
    Version: int,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
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

Method definition
def delete_traffic_policy_instance(
    self,
    *,
    Id: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
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

Method definition
def delete_vpc_association_authorization(
    self,
    *,
    HostedZoneId: str,
    VPC: VPCTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See VPCTypeDef
Usage example with kwargs
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

Method definition
def disable_hosted_zone_dnssec(
    self,
    *,
    HostedZoneId: str,
) -> DisableHostedZoneDNSSECResponseTypeDef:  # (1)
    ...
  1. See DisableHostedZoneDNSSECResponseTypeDef
Usage example with kwargs
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

Method definition
def disassociate_vpc_from_hosted_zone(
    self,
    *,
    HostedZoneId: str,
    VPC: VPCTypeDef,  # (1)
    Comment: str = ...,
) -> DisassociateVPCFromHostedZoneResponseTypeDef:  # (2)
    ...
  1. See VPCTypeDef
  2. See DisassociateVPCFromHostedZoneResponseTypeDef
Usage example with kwargs
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

Method definition
def enable_hosted_zone_dnssec(
    self,
    *,
    HostedZoneId: str,
) -> EnableHostedZoneDNSSECResponseTypeDef:  # (1)
    ...
  1. See EnableHostedZoneDNSSECResponseTypeDef
Usage example with kwargs
kwargs: EnableHostedZoneDNSSECRequestRequestTypeDef = {  # (1)
    "HostedZoneId": ...,
}

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

generate_presigned_url

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

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

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

get_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

Method definition
def get_account_limit(
    self,
    *,
    Type: AccountLimitTypeType,  # (1)
) -> GetAccountLimitResponseTypeDef:  # (2)
    ...
  1. See AccountLimitTypeType
  2. See GetAccountLimitResponseTypeDef
Usage example with kwargs
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

Method definition
def get_change(
    self,
    *,
    Id: str,
) -> GetChangeResponseTypeDef:  # (1)
    ...
  1. See GetChangeResponseTypeDef
Usage example with kwargs
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

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

Method definition
def get_dnssec(
    self,
    *,
    HostedZoneId: str,
) -> GetDNSSECResponseTypeDef:  # (1)
    ...
  1. See GetDNSSECResponseTypeDef
Usage example with kwargs
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

Method definition
def get_geo_location(
    self,
    *,
    ContinentCode: str = ...,
    CountryCode: str = ...,
    SubdivisionCode: str = ...,
) -> GetGeoLocationResponseTypeDef:  # (1)
    ...
  1. See GetGeoLocationResponseTypeDef
Usage example with kwargs
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

Method definition
def get_health_check(
    self,
    *,
    HealthCheckId: str,
) -> GetHealthCheckResponseTypeDef:  # (1)
    ...
  1. See GetHealthCheckResponseTypeDef
Usage example with kwargs
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

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

Method definition
def get_health_check_last_failure_reason(
    self,
    *,
    HealthCheckId: str,
) -> GetHealthCheckLastFailureReasonResponseTypeDef:  # (1)
    ...
  1. See GetHealthCheckLastFailureReasonResponseTypeDef
Usage example with kwargs
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

Method definition
def get_health_check_status(
    self,
    *,
    HealthCheckId: str,
) -> GetHealthCheckStatusResponseTypeDef:  # (1)
    ...
  1. See GetHealthCheckStatusResponseTypeDef
Usage example with kwargs
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

Method definition
def get_hosted_zone(
    self,
    *,
    Id: str,
) -> GetHostedZoneResponseTypeDef:  # (1)
    ...
  1. See GetHostedZoneResponseTypeDef
Usage example with kwargs
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

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

Method definition
def get_hosted_zone_limit(
    self,
    *,
    Type: HostedZoneLimitTypeType,  # (1)
    HostedZoneId: str,
) -> GetHostedZoneLimitResponseTypeDef:  # (2)
    ...
  1. See HostedZoneLimitTypeType
  2. See GetHostedZoneLimitResponseTypeDef
Usage example with kwargs
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

Method definition
def get_query_logging_config(
    self,
    *,
    Id: str,
) -> GetQueryLoggingConfigResponseTypeDef:  # (1)
    ...
  1. See GetQueryLoggingConfigResponseTypeDef
Usage example with kwargs
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

Method definition
def get_reusable_delegation_set(
    self,
    *,
    Id: str,
) -> GetReusableDelegationSetResponseTypeDef:  # (1)
    ...
  1. See GetReusableDelegationSetResponseTypeDef
Usage example with kwargs
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

Method definition
def get_reusable_delegation_set_limit(
    self,
    *,
    Type: ReusableDelegationSetLimitTypeType,  # (1)
    DelegationSetId: str,
) -> GetReusableDelegationSetLimitResponseTypeDef:  # (2)
    ...
  1. See ReusableDelegationSetLimitTypeType
  2. See GetReusableDelegationSetLimitResponseTypeDef
Usage example with kwargs
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

Method definition
def get_traffic_policy(
    self,
    *,
    Id: str,
    Version: int,
) -> GetTrafficPolicyResponseTypeDef:  # (1)
    ...
  1. See GetTrafficPolicyResponseTypeDef
Usage example with kwargs
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

Method definition
def get_traffic_policy_instance(
    self,
    *,
    Id: str,
) -> GetTrafficPolicyInstanceResponseTypeDef:  # (1)
    ...
  1. See GetTrafficPolicyInstanceResponseTypeDef
Usage example with kwargs
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

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

Method definition
def list_cidr_blocks(
    self,
    *,
    CollectionId: str,
    LocationName: str = ...,
    NextToken: str = ...,
    MaxResults: str = ...,
) -> ListCidrBlocksResponseTypeDef:  # (1)
    ...
  1. See ListCidrBlocksResponseTypeDef
Usage example with kwargs
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

Method definition
def list_cidr_collections(
    self,
    *,
    NextToken: str = ...,
    MaxResults: str = ...,
) -> ListCidrCollectionsResponseTypeDef:  # (1)
    ...
  1. See ListCidrCollectionsResponseTypeDef
Usage example with kwargs
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

Method definition
def list_cidr_locations(
    self,
    *,
    CollectionId: str,
    NextToken: str = ...,
    MaxResults: str = ...,
) -> ListCidrLocationsResponseTypeDef:  # (1)
    ...
  1. See ListCidrLocationsResponseTypeDef
Usage example with kwargs
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

Method definition
def list_geo_locations(
    self,
    *,
    StartContinentCode: str = ...,
    StartCountryCode: str = ...,
    StartSubdivisionCode: str = ...,
    MaxItems: str = ...,
) -> ListGeoLocationsResponseTypeDef:  # (1)
    ...
  1. See ListGeoLocationsResponseTypeDef
Usage example with kwargs
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

Method definition
def list_health_checks(
    self,
    *,
    Marker: str = ...,
    MaxItems: str = ...,
) -> ListHealthChecksResponseTypeDef:  # (1)
    ...
  1. See ListHealthChecksResponseTypeDef
Usage example with kwargs
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.