Skip to content

Route53Client

Index > Route53 > Route53Client

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

Route53Client

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

Usage example
from aioboto3.session import Session
from types_aiobotocore_route53.client import Route53Client

session = Session()
async with session.client("route53") as client:
    client: Route53Client

Exceptions

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

Usage example
async with session.client("route53") as client:
    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 types_aiobotocore_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 session.client("route53").activate_key_signing_key method. boto3 documentation

Method definition
await 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 session.client("route53").associate_vpc_with_hosted_zone method. boto3 documentation

Method definition
await 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 session.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 session.client("route53").change_cidr_collection method. boto3 documentation

Method definition
await 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 session.client("route53").change_resource_record_sets method. boto3 documentation

Method definition
await 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 session.client("route53").change_tags_for_resource method. boto3 documentation

Method definition
await 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 session.client("route53").close method. boto3 documentation

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

create_cidr_collection

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

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

Method definition
await 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 session.client("route53").create_health_check method. boto3 documentation

Method definition
await 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 session.client("route53").create_hosted_zone method. boto3 documentation

Method definition
await 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 session.client("route53").create_key_signing_key method. boto3 documentation

Method definition
await 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 session.client("route53").create_query_logging_config method. boto3 documentation

Method definition
await 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 session.client("route53").create_reusable_delegation_set method. boto3 documentation

Method definition
await 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 session.client("route53").create_traffic_policy method. boto3 documentation

Method definition
await 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 session.client("route53").create_traffic_policy_instance method. boto3 documentation

Method definition
await 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 session.client("route53").create_traffic_policy_version method. boto3 documentation

Method definition
await 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 session.client("route53").create_vpc_association_authorization method. boto3 documentation

Method definition
await 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 session.client("route53").deactivate_key_signing_key method. boto3 documentation

Method definition
await 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 session.client("route53").delete_cidr_collection method. boto3 documentation

Method definition
await 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 session.client("route53").delete_health_check method. boto3 documentation

Method definition
await 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 session.client("route53").delete_hosted_zone method. boto3 documentation

Method definition
await 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 session.client("route53").delete_key_signing_key method. boto3 documentation

Method definition
await 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 session.client("route53").delete_query_logging_config method. boto3 documentation

Method definition
await 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 session.client("route53").delete_reusable_delegation_set method. boto3 documentation

Method definition
await 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 session.client("route53").delete_traffic_policy method. boto3 documentation

Method definition
await 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 session.client("route53").delete_traffic_policy_instance method. boto3 documentation

Method definition
await 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 session.client("route53").delete_vpc_association_authorization method. boto3 documentation

Method definition
await 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 session.client("route53").disable_hosted_zone_dnssec method. boto3 documentation

Method definition
await 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 session.client("route53").disassociate_vpc_from_hosted_zone method. boto3 documentation

Method definition
await 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 session.client("route53").enable_hosted_zone_dnssec method. boto3 documentation

Method definition
await 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 session.client("route53").generate_presigned_url method. boto3 documentation

Method definition
await 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 session.client("route53").get_account_limit method. boto3 documentation

Method definition
await 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 session.client("route53").get_change method. boto3 documentation

Method definition
await 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 session.client("route53").get_checker_ip_ranges method. boto3 documentation

Method definition
await 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 session.client("route53").get_dnssec method. boto3 documentation

Method definition
await 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 session.client("route53").get_geo_location method. boto3 documentation

Method definition
await 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 session.client("route53").get_health_check method. boto3 documentation

Method definition
await 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 session.client("route53").get_health_check_count method. boto3 documentation

Method definition
await 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 session.client("route53").get_health_check_last_failure_reason method. boto3 documentation

Method definition
await 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 session.client("route53").get_health_check_status method. boto3 documentation

Method definition
await 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 session.client("route53").get_hosted_zone method. boto3 documentation

Method definition
await 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 session.client("route53").get_hosted_zone_count method. boto3 documentation

Method definition
await 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 session.client("route53").get_hosted_zone_limit method. boto3 documentation

Method definition
await 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 session.client("route53").get_query_logging_config method. boto3 documentation

Method definition
await 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 session.client("route53").get_reusable_delegation_set method. boto3 documentation

Method definition
await 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 session.client("route53").get_reusable_delegation_set_limit method. boto3 documentation

Method definition
await 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 session.client("route53").get_traffic_policy method. boto3 documentation

Method definition
await 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 session.client("route53").get_traffic_policy_instance method. boto3 documentation

Method definition
await 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 session.client("route53").get_traffic_policy_instance_count method. boto3 documentation

Method definition
await 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 session.client("route53").list_cidr_blocks method. boto3 documentation

Method definition
await 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 session.client("route53").list_cidr_collections method. boto3 documentation

Method definition
await 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 session.client("route53").list_cidr_locations method. boto3 documentation

Method definition
await 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 session.client("route53").list_geo_locations method. boto3 documentation

Method definition
await 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 session.client("route53").list_health_checks method. boto3 documentation

Method definition
await 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 session.client("route53").list_hosted_zones method. boto3 documentation

Method definition
await def list_hosted_zones(
    self,
    *,
    Marker: str = ...,
    MaxItems: str = ...,
    DelegationSetId: str = ...,
) -> ListHostedZonesResponseTypeDef:  # (1)
    ...
  1. See ListHostedZonesResponseTypeDef
Usage example with kwargs
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 session.client("route53").list_hosted_zones_by_name method. boto3 documentation

Method definition
await def list_hosted_zones_by_name(
    self,
    *,
    DNSName: str = ...,
    HostedZoneId: str = ...,
    MaxItems: str = ...,
) -> ListHostedZonesByNameResponseTypeDef:  # (1)
    ...
  1. See ListHostedZonesByNameResponseTypeDef
Usage example with kwargs
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 session.client("route53").list_hosted_zones_by_vpc method. boto3 documentation

Method definition
await def list_hosted_zones_by_vpc(
    self,
    *,
    VPCId: str,
    VPCRegion: VPCRegionType,  # (1)
    MaxItems: str = ...,
    NextToken: str = ...,
) -> ListHostedZonesByVPCResponseTypeDef:  # (2)
    ...
  1. See VPCRegionType
  2. See ListHostedZonesByVPCResponseTypeDef
Usage example with kwargs
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 session.client("route53").list_query_logging_configs method. boto3 documentation

Method definition
await def list_query_logging_configs(
    self,
    *,
    HostedZoneId: str = ...,
    NextToken: str = ...,
    MaxResults: str = ...,
) -> ListQueryLoggingConfigsResponseTypeDef:  # (1)
    ...
  1. See ListQueryLoggingConfigsResponseTypeDef
Usage example with kwargs
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 session.client("route53").list_resource_record_sets method. boto3 documentation

Method definition
await 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
Usage example with kwargs
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 session.client("route53").list_reusable_delegation_sets method. boto3 documentation

Method definition
await def list_reusable_delegation_sets(
    self,
    *,
    Marker: str = ...,
    MaxItems: str = ...,
) -> ListReusableDelegationSetsResponseTypeDef:  # (1)
    ...
  1. See ListReusableDelegationSetsResponseTypeDef
Usage example with kwargs
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 session.client("route53").list_tags_for_resource method. boto3 documentation

Method definition
await def list_tags_for_resource(
    self,
    *,
    ResourceType: TagResourceTypeType,  # (1)
    ResourceId: str,
) -> ListTagsForResourceResponseTypeDef:  # (2)
    ...
  1. See TagResourceTypeType
  2. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
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 session.client("route53").list_tags_for_resources method. boto3 documentation

Method definition
await def list_tags_for_resources(
    self,
    *,
    ResourceType: TagResourceTypeType,  # (1)
    ResourceIds: Sequence[str],
) -> ListTagsForResourcesResponseTypeDef:  # (2)
    ...
  1. See TagResourceTypeType
  2. See ListTagsForResourcesResponseTypeDef
Usage example with kwargs
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 session.client("route53").list_traffic_policies method. boto3 documentation

Method definition
await def list_traffic_policies(
    self,
    *,
    TrafficPolicyIdMarker: str = ...,
    MaxItems: str = ...,
) -> ListTrafficPoliciesResponseTypeDef:  # (1)
    ...
  1. See ListTrafficPoliciesResponseTypeDef
Usage example with kwargs
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 session.client("route53").list_traffic_policy_instances method. boto3 documentation

Method definition
await def list_traffic_policy_instances(
    self,
    *,
    HostedZoneIdMarker: str = ...,
    TrafficPolicyInstanceNameMarker: str = ...,
    TrafficPolicyInstanceTypeMarker: RRTypeType = ...,  # (1)
    MaxItems: str = ...,
) -> ListTrafficPolicyInstancesResponseTypeDef:  # (2)
    ...
  1. See RRTypeType
  2. See ListTrafficPolicyInstancesResponseTypeDef
Usage example with kwargs
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 session.client("route53").list_traffic_policy_instances_by_hosted_zone method. boto3 documentation

Method definition
await 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
Usage example with kwargs
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 session.client("route53").list_traffic_policy_instances_by_policy method. boto3 documentation

Method definition
await 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
Usage example with kwargs
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 session.client("route53").list_traffic_policy_versions method. boto3 documentation

Method definition
await def list_traffic_policy_versions(
    self,
    *,
    Id: str,
    TrafficPolicyVersionMarker: str = ...,
    MaxItems: str = ...,
) -> ListTrafficPolicyVersionsResponseTypeDef:  # (1)
    ...
  1. See ListTrafficPolicyVersionsResponseTypeDef
Usage example with kwargs
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 session.client("route53").list_vpc_association_authorizations method. boto3 documentation

Method definition
await def list_vpc_association_authorizations(
    self,
    *,
    HostedZoneId: str,
    NextToken: str = ...,
    MaxResults: str = ...,
) -> ListVPCAssociationAuthorizationsResponseTypeDef:  # (1)
    ...
  1. See ListVPCAssociationAuthorizationsResponseTypeDef
Usage example with kwargs
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 session.client("route53").test_dns_answer method. boto3 documentation

Method definition
await 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
Usage example with kwargs
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 session.client("route53").update_health_check method. boto3 documentation

Method definition
await 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
Usage example with kwargs
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 session.client("route53").update_hosted_zone_comment method. boto3 documentation

Method definition
await def update_hosted_zone_comment(
    self,
    *,
    Id: str,
    Comment: str = ...,
) -> UpdateHostedZoneCommentResponseTypeDef:  # (1)
    ...
  1. See UpdateHostedZoneCommentResponseTypeDef
Usage example with kwargs
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 session.client("route53").update_traffic_policy_comment method. boto3 documentation

Method definition
await def update_traffic_policy_comment(
    self,
    *,
    Id: str,
    Version: int,
    Comment: str,
) -> UpdateTrafficPolicyCommentResponseTypeDef:  # (1)
    ...
  1. See UpdateTrafficPolicyCommentResponseTypeDef
Usage example with kwargs
kwargs: UpdateTrafficPolicyCommentRequestRequestTypeDef = {  # (1)
    "Id": ...,
    "Version": ...,
    "Comment": ...,
}

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

update_traffic_policy_instance

Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version.

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

Method definition
await def update_traffic_policy_instance(
    self,
    *,
    Id: str,
    TTL: int,
    TrafficPolicyId: str,
    TrafficPolicyVersion: int,
) -> UpdateTrafficPolicyInstanceResponseTypeDef:  # (1)
    ...
  1. See UpdateTrafficPolicyInstanceResponseTypeDef
Usage example with kwargs
kwargs: UpdateTrafficPolicyInstanceRequestRequestTypeDef = {  # (1)
    "Id": ...,
    "TTL": ...,
    "TrafficPolicyId": ...,
    "TrafficPolicyVersion": ...,
}

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

__aenter__

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

Method definition
await def __aenter__(
    self,
) -> Route53Client:
    ...

__aexit__

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

Method definition
await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...

get_paginator

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

get_waiter

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