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
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.
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)
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
def activate_key_signing_key(
self,
*,
HostedZoneId: str,
Name: str,
) -> ActivateKeySigningKeyResponseTypeDef: # (1)
...
kwargs: ActivateKeySigningKeyRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"Name": ...,
}
parent.activate_key_signing_key(**kwargs)
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
def associate_vpc_with_hosted_zone(
self,
*,
HostedZoneId: str,
VPC: VPCTypeDef, # (1)
Comment: str = ...,
) -> AssociateVPCWithHostedZoneResponseTypeDef: # (2)
...
kwargs: AssociateVPCWithHostedZoneRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"VPC": ...,
}
parent.associate_vpc_with_hosted_zone(**kwargs)
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("route53").can_paginate
method.
boto3 documentation
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
def change_cidr_collection(
self,
*,
Id: str,
Changes: Sequence[CidrCollectionChangeTypeDef], # (1)
CollectionVersion: int = ...,
) -> ChangeCidrCollectionResponseTypeDef: # (2)
...
kwargs: ChangeCidrCollectionRequestRequestTypeDef = { # (1)
"Id": ...,
"Changes": ...,
}
parent.change_cidr_collection(**kwargs)
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
def change_resource_record_sets(
self,
*,
HostedZoneId: str,
ChangeBatch: ChangeBatchTypeDef, # (1)
) -> ChangeResourceRecordSetsResponseTypeDef: # (2)
...
kwargs: ChangeResourceRecordSetsRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"ChangeBatch": ...,
}
parent.change_resource_record_sets(**kwargs)
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
def change_tags_for_resource(
self,
*,
ResourceType: TagResourceTypeType, # (1)
ResourceId: str,
AddTags: Sequence[TagTypeDef] = ..., # (2)
RemoveTagKeys: Sequence[str] = ...,
) -> Dict[str, Any]:
...
- See TagResourceTypeType
- See TagTypeDef
kwargs: ChangeTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceType": ...,
"ResourceId": ...,
}
parent.change_tags_for_resource(**kwargs)
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("route53").close
method.
boto3 documentation
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
def create_cidr_collection(
self,
*,
Name: str,
CallerReference: str,
) -> CreateCidrCollectionResponseTypeDef: # (1)
...
kwargs: CreateCidrCollectionRequestRequestTypeDef = { # (1)
"Name": ...,
"CallerReference": ...,
}
parent.create_cidr_collection(**kwargs)
create_health_check
Creates a new health check.
Type annotations and code completion for boto3.client("route53").create_health_check
method.
boto3 documentation
def create_health_check(
self,
*,
CallerReference: str,
HealthCheckConfig: HealthCheckConfigTypeDef, # (1)
) -> CreateHealthCheckResponseTypeDef: # (2)
...
kwargs: CreateHealthCheckRequestRequestTypeDef = { # (1)
"CallerReference": ...,
"HealthCheckConfig": ...,
}
parent.create_health_check(**kwargs)
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
def create_hosted_zone(
self,
*,
Name: str,
CallerReference: str,
VPC: VPCTypeDef = ..., # (1)
HostedZoneConfig: HostedZoneConfigTypeDef = ..., # (2)
DelegationSetId: str = ...,
) -> CreateHostedZoneResponseTypeDef: # (3)
...
kwargs: CreateHostedZoneRequestRequestTypeDef = { # (1)
"Name": ...,
"CallerReference": ...,
}
parent.create_hosted_zone(**kwargs)
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
def create_key_signing_key(
self,
*,
CallerReference: str,
HostedZoneId: str,
KeyManagementServiceArn: str,
Name: str,
Status: str,
) -> CreateKeySigningKeyResponseTypeDef: # (1)
...
kwargs: CreateKeySigningKeyRequestRequestTypeDef = { # (1)
"CallerReference": ...,
"HostedZoneId": ...,
"KeyManagementServiceArn": ...,
"Name": ...,
"Status": ...,
}
parent.create_key_signing_key(**kwargs)
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
def create_query_logging_config(
self,
*,
HostedZoneId: str,
CloudWatchLogsLogGroupArn: str,
) -> CreateQueryLoggingConfigResponseTypeDef: # (1)
...
kwargs: CreateQueryLoggingConfigRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"CloudWatchLogsLogGroupArn": ...,
}
parent.create_query_logging_config(**kwargs)
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
def create_reusable_delegation_set(
self,
*,
CallerReference: str,
HostedZoneId: str = ...,
) -> CreateReusableDelegationSetResponseTypeDef: # (1)
...
kwargs: CreateReusableDelegationSetRequestRequestTypeDef = { # (1)
"CallerReference": ...,
}
parent.create_reusable_delegation_set(**kwargs)
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
def create_traffic_policy(
self,
*,
Name: str,
Document: str,
Comment: str = ...,
) -> CreateTrafficPolicyResponseTypeDef: # (1)
...
kwargs: CreateTrafficPolicyRequestRequestTypeDef = { # (1)
"Name": ...,
"Document": ...,
}
parent.create_traffic_policy(**kwargs)
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
def create_traffic_policy_instance(
self,
*,
HostedZoneId: str,
Name: str,
TTL: int,
TrafficPolicyId: str,
TrafficPolicyVersion: int,
) -> CreateTrafficPolicyInstanceResponseTypeDef: # (1)
...
kwargs: CreateTrafficPolicyInstanceRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"Name": ...,
"TTL": ...,
"TrafficPolicyId": ...,
"TrafficPolicyVersion": ...,
}
parent.create_traffic_policy_instance(**kwargs)
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
def create_traffic_policy_version(
self,
*,
Id: str,
Document: str,
Comment: str = ...,
) -> CreateTrafficPolicyVersionResponseTypeDef: # (1)
...
kwargs: CreateTrafficPolicyVersionRequestRequestTypeDef = { # (1)
"Id": ...,
"Document": ...,
}
parent.create_traffic_policy_version(**kwargs)
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
def create_vpc_association_authorization(
self,
*,
HostedZoneId: str,
VPC: VPCTypeDef, # (1)
) -> CreateVPCAssociationAuthorizationResponseTypeDef: # (2)
...
kwargs: CreateVPCAssociationAuthorizationRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"VPC": ...,
}
parent.create_vpc_association_authorization(**kwargs)
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
def deactivate_key_signing_key(
self,
*,
HostedZoneId: str,
Name: str,
) -> DeactivateKeySigningKeyResponseTypeDef: # (1)
...
kwargs: DeactivateKeySigningKeyRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"Name": ...,
}
parent.deactivate_key_signing_key(**kwargs)
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
kwargs: DeleteCidrCollectionRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_cidr_collection(**kwargs)
delete_health_check
Deletes a health check.
Type annotations and code completion for boto3.client("route53").delete_health_check
method.
boto3 documentation
kwargs: DeleteHealthCheckRequestRequestTypeDef = { # (1)
"HealthCheckId": ...,
}
parent.delete_health_check(**kwargs)
delete_hosted_zone
Deletes a hosted zone.
Type annotations and code completion for boto3.client("route53").delete_hosted_zone
method.
boto3 documentation
def delete_hosted_zone(
self,
*,
Id: str,
) -> DeleteHostedZoneResponseTypeDef: # (1)
...
kwargs: DeleteHostedZoneRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_hosted_zone(**kwargs)
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
def delete_key_signing_key(
self,
*,
HostedZoneId: str,
Name: str,
) -> DeleteKeySigningKeyResponseTypeDef: # (1)
...
kwargs: DeleteKeySigningKeyRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"Name": ...,
}
parent.delete_key_signing_key(**kwargs)
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
kwargs: DeleteQueryLoggingConfigRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_query_logging_config(**kwargs)
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
kwargs: DeleteReusableDelegationSetRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_reusable_delegation_set(**kwargs)
delete_traffic_policy
Deletes a traffic policy.
Type annotations and code completion for boto3.client("route53").delete_traffic_policy
method.
boto3 documentation
def delete_traffic_policy(
self,
*,
Id: str,
Version: int,
) -> Dict[str, Any]:
...
kwargs: DeleteTrafficPolicyRequestRequestTypeDef = { # (1)
"Id": ...,
"Version": ...,
}
parent.delete_traffic_policy(**kwargs)
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
kwargs: DeleteTrafficPolicyInstanceRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_traffic_policy_instance(**kwargs)
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
def delete_vpc_association_authorization(
self,
*,
HostedZoneId: str,
VPC: VPCTypeDef, # (1)
) -> Dict[str, Any]:
...
- See VPCTypeDef
kwargs: DeleteVPCAssociationAuthorizationRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"VPC": ...,
}
parent.delete_vpc_association_authorization(**kwargs)
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
def disable_hosted_zone_dnssec(
self,
*,
HostedZoneId: str,
) -> DisableHostedZoneDNSSECResponseTypeDef: # (1)
...
kwargs: DisableHostedZoneDNSSECRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
}
parent.disable_hosted_zone_dnssec(**kwargs)
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
def disassociate_vpc_from_hosted_zone(
self,
*,
HostedZoneId: str,
VPC: VPCTypeDef, # (1)
Comment: str = ...,
) -> DisassociateVPCFromHostedZoneResponseTypeDef: # (2)
...
kwargs: DisassociateVPCFromHostedZoneRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"VPC": ...,
}
parent.disassociate_vpc_from_hosted_zone(**kwargs)
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
def enable_hosted_zone_dnssec(
self,
*,
HostedZoneId: str,
) -> EnableHostedZoneDNSSECResponseTypeDef: # (1)
...
kwargs: EnableHostedZoneDNSSECRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
}
parent.enable_hosted_zone_dnssec(**kwargs)
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
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
def get_account_limit(
self,
*,
Type: AccountLimitTypeType, # (1)
) -> GetAccountLimitResponseTypeDef: # (2)
...
kwargs: GetAccountLimitRequestRequestTypeDef = { # (1)
"Type": ...,
}
parent.get_account_limit(**kwargs)
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
kwargs: GetChangeRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_change(**kwargs)
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_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
def get_dnssec(
self,
*,
HostedZoneId: str,
) -> GetDNSSECResponseTypeDef: # (1)
...
kwargs: GetDNSSECRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
}
parent.get_dnssec(**kwargs)
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
def get_geo_location(
self,
*,
ContinentCode: str = ...,
CountryCode: str = ...,
SubdivisionCode: str = ...,
) -> GetGeoLocationResponseTypeDef: # (1)
...
kwargs: GetGeoLocationRequestRequestTypeDef = { # (1)
"ContinentCode": ...,
}
parent.get_geo_location(**kwargs)
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
def get_health_check(
self,
*,
HealthCheckId: str,
) -> GetHealthCheckResponseTypeDef: # (1)
...
kwargs: GetHealthCheckRequestRequestTypeDef = { # (1)
"HealthCheckId": ...,
}
parent.get_health_check(**kwargs)
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
def get_health_check_count(
self,
) -> GetHealthCheckCountResponseTypeDef: # (1)
...
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
def get_health_check_last_failure_reason(
self,
*,
HealthCheckId: str,
) -> GetHealthCheckLastFailureReasonResponseTypeDef: # (1)
...
kwargs: GetHealthCheckLastFailureReasonRequestRequestTypeDef = { # (1)
"HealthCheckId": ...,
}
parent.get_health_check_last_failure_reason(**kwargs)
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
def get_health_check_status(
self,
*,
HealthCheckId: str,
) -> GetHealthCheckStatusResponseTypeDef: # (1)
...
kwargs: GetHealthCheckStatusRequestRequestTypeDef = { # (1)
"HealthCheckId": ...,
}
parent.get_health_check_status(**kwargs)
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
def get_hosted_zone(
self,
*,
Id: str,
) -> GetHostedZoneResponseTypeDef: # (1)
...
kwargs: GetHostedZoneRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_hosted_zone(**kwargs)
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_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
def get_hosted_zone_limit(
self,
*,
Type: HostedZoneLimitTypeType, # (1)
HostedZoneId: str,
) -> GetHostedZoneLimitResponseTypeDef: # (2)
...
kwargs: GetHostedZoneLimitRequestRequestTypeDef = { # (1)
"Type": ...,
"HostedZoneId": ...,
}
parent.get_hosted_zone_limit(**kwargs)
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
def get_query_logging_config(
self,
*,
Id: str,
) -> GetQueryLoggingConfigResponseTypeDef: # (1)
...
kwargs: GetQueryLoggingConfigRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_query_logging_config(**kwargs)
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
def get_reusable_delegation_set(
self,
*,
Id: str,
) -> GetReusableDelegationSetResponseTypeDef: # (1)
...
kwargs: GetReusableDelegationSetRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_reusable_delegation_set(**kwargs)
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
def get_reusable_delegation_set_limit(
self,
*,
Type: ReusableDelegationSetLimitTypeType, # (1)
DelegationSetId: str,
) -> GetReusableDelegationSetLimitResponseTypeDef: # (2)
...
kwargs: GetReusableDelegationSetLimitRequestRequestTypeDef = { # (1)
"Type": ...,
"DelegationSetId": ...,
}
parent.get_reusable_delegation_set_limit(**kwargs)
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
def get_traffic_policy(
self,
*,
Id: str,
Version: int,
) -> GetTrafficPolicyResponseTypeDef: # (1)
...
kwargs: GetTrafficPolicyRequestRequestTypeDef = { # (1)
"Id": ...,
"Version": ...,
}
parent.get_traffic_policy(**kwargs)
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
def get_traffic_policy_instance(
self,
*,
Id: str,
) -> GetTrafficPolicyInstanceResponseTypeDef: # (1)
...
kwargs: GetTrafficPolicyInstanceRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.get_traffic_policy_instance(**kwargs)
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
def get_traffic_policy_instance_count(
self,
) -> GetTrafficPolicyInstanceCountResponseTypeDef: # (1)
...
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
def list_cidr_blocks(
self,
*,
CollectionId: str,
LocationName: str = ...,
NextToken: str = ...,
MaxResults: str = ...,
) -> ListCidrBlocksResponseTypeDef: # (1)
...
kwargs: ListCidrBlocksRequestRequestTypeDef = { # (1)
"CollectionId": ...,
}
parent.list_cidr_blocks(**kwargs)
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
def list_cidr_collections(
self,
*,
NextToken: str = ...,
MaxResults: str = ...,
) -> ListCidrCollectionsResponseTypeDef: # (1)
...
kwargs: ListCidrCollectionsRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_cidr_collections(**kwargs)
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
def list_cidr_locations(
self,
*,
CollectionId: str,
NextToken: str = ...,
MaxResults: str = ...,
) -> ListCidrLocationsResponseTypeDef: # (1)
...
kwargs: ListCidrLocationsRequestRequestTypeDef = { # (1)
"CollectionId": ...,
}
parent.list_cidr_locations(**kwargs)
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
def list_geo_locations(
self,
*,
StartContinentCode: str = ...,
StartCountryCode: str = ...,
StartSubdivisionCode: str = ...,
MaxItems: str = ...,
) -> ListGeoLocationsResponseTypeDef: # (1)
...
kwargs: ListGeoLocationsRequestRequestTypeDef = { # (1)
"StartContinentCode": ...,
}
parent.list_geo_locations(**kwargs)
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
def list_health_checks(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListHealthChecksResponseTypeDef: # (1)
...
kwargs: ListHealthChecksRequestRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_health_checks(**kwargs)
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
def list_hosted_zones(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
DelegationSetId: str = ...,
) -> ListHostedZonesResponseTypeDef: # (1)
...
kwargs: ListHostedZonesRequestRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_hosted_zones(**kwargs)
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
def list_hosted_zones_by_name(
self,
*,
DNSName: str = ...,
HostedZoneId: str = ...,
MaxItems: str = ...,
) -> ListHostedZonesByNameResponseTypeDef: # (1)
...
kwargs: ListHostedZonesByNameRequestRequestTypeDef = { # (1)
"DNSName": ...,
}
parent.list_hosted_zones_by_name(**kwargs)
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
def list_hosted_zones_by_vpc(
self,
*,
VPCId: str,
VPCRegion: VPCRegionType, # (1)
MaxItems: str = ...,
NextToken: str = ...,
) -> ListHostedZonesByVPCResponseTypeDef: # (2)
...
kwargs: ListHostedZonesByVPCRequestRequestTypeDef = { # (1)
"VPCId": ...,
"VPCRegion": ...,
}
parent.list_hosted_zones_by_vpc(**kwargs)
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
def list_query_logging_configs(
self,
*,
HostedZoneId: str = ...,
NextToken: str = ...,
MaxResults: str = ...,
) -> ListQueryLoggingConfigsResponseTypeDef: # (1)
...
kwargs: ListQueryLoggingConfigsRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
}
parent.list_query_logging_configs(**kwargs)
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
def list_resource_record_sets(
self,
*,
HostedZoneId: str,
StartRecordName: str = ...,
StartRecordType: RRTypeType = ..., # (1)
StartRecordIdentifier: str = ...,
MaxItems: str = ...,
) -> ListResourceRecordSetsResponseTypeDef: # (2)
...
kwargs: ListResourceRecordSetsRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
}
parent.list_resource_record_sets(**kwargs)
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
def list_reusable_delegation_sets(
self,
*,
Marker: str = ...,
MaxItems: str = ...,
) -> ListReusableDelegationSetsResponseTypeDef: # (1)
...
kwargs: ListReusableDelegationSetsRequestRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_reusable_delegation_sets(**kwargs)
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
def list_tags_for_resource(
self,
*,
ResourceType: TagResourceTypeType, # (1)
ResourceId: str,
) -> ListTagsForResourceResponseTypeDef: # (2)
...
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceType": ...,
"ResourceId": ...,
}
parent.list_tags_for_resource(**kwargs)
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
def list_tags_for_resources(
self,
*,
ResourceType: TagResourceTypeType, # (1)
ResourceIds: Sequence[str],
) -> ListTagsForResourcesResponseTypeDef: # (2)
...
kwargs: ListTagsForResourcesRequestRequestTypeDef = { # (1)
"ResourceType": ...,
"ResourceIds": ...,
}
parent.list_tags_for_resources(**kwargs)
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
def list_traffic_policies(
self,
*,
TrafficPolicyIdMarker: str = ...,
MaxItems: str = ...,
) -> ListTrafficPoliciesResponseTypeDef: # (1)
...
kwargs: ListTrafficPoliciesRequestRequestTypeDef = { # (1)
"TrafficPolicyIdMarker": ...,
}
parent.list_traffic_policies(**kwargs)
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
def list_traffic_policy_instances(
self,
*,
HostedZoneIdMarker: str = ...,
TrafficPolicyInstanceNameMarker: str = ...,
TrafficPolicyInstanceTypeMarker: RRTypeType = ..., # (1)
MaxItems: str = ...,
) -> ListTrafficPolicyInstancesResponseTypeDef: # (2)
...
kwargs: ListTrafficPolicyInstancesRequestRequestTypeDef = { # (1)
"HostedZoneIdMarker": ...,
}
parent.list_traffic_policy_instances(**kwargs)
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
def list_traffic_policy_instances_by_hosted_zone(
self,
*,
HostedZoneId: str,
TrafficPolicyInstanceNameMarker: str = ...,
TrafficPolicyInstanceTypeMarker: RRTypeType = ..., # (1)
MaxItems: str = ...,
) -> ListTrafficPolicyInstancesByHostedZoneResponseTypeDef: # (2)
...
kwargs: ListTrafficPolicyInstancesByHostedZoneRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
}
parent.list_traffic_policy_instances_by_hosted_zone(**kwargs)
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
def list_traffic_policy_instances_by_policy(
self,
*,
TrafficPolicyId: str,
TrafficPolicyVersion: int,
HostedZoneIdMarker: str = ...,
TrafficPolicyInstanceNameMarker: str = ...,
TrafficPolicyInstanceTypeMarker: RRTypeType = ..., # (1)
MaxItems: str = ...,
) -> ListTrafficPolicyInstancesByPolicyResponseTypeDef: # (2)
...
kwargs: ListTrafficPolicyInstancesByPolicyRequestRequestTypeDef = { # (1)
"TrafficPolicyId": ...,
"TrafficPolicyVersion": ...,
}
parent.list_traffic_policy_instances_by_policy(**kwargs)
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
def list_traffic_policy_versions(
self,
*,
Id: str,
TrafficPolicyVersionMarker: str = ...,
MaxItems: str = ...,
) -> ListTrafficPolicyVersionsResponseTypeDef: # (1)
...
kwargs: ListTrafficPolicyVersionsRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.list_traffic_policy_versions(**kwargs)
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
def list_vpc_association_authorizations(
self,
*,
HostedZoneId: str,
NextToken: str = ...,
MaxResults: str = ...,
) -> ListVPCAssociationAuthorizationsResponseTypeDef: # (1)
...
kwargs: ListVPCAssociationAuthorizationsRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
}
parent.list_vpc_association_authorizations(**kwargs)
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
def test_dns_answer(
self,
*,
HostedZoneId: str,
RecordName: str,
RecordType: RRTypeType, # (1)
ResolverIP: str = ...,
EDNS0ClientSubnetIP: str = ...,
EDNS0ClientSubnetMask: str = ...,
) -> TestDNSAnswerResponseTypeDef: # (2)
...
kwargs: TestDNSAnswerRequestRequestTypeDef = { # (1)
"HostedZoneId": ...,
"RecordName": ...,
"RecordType": ...,
}
parent.test_dns_answer(**kwargs)
update_health_check
Updates an existing health check.
Type annotations and code completion for boto3.client("route53").update_health_check
method.
boto3 documentation
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)
...
- See HealthCheckRegionType
- See AlarmIdentifierTypeDef
- See InsufficientDataHealthStatusType
- See ResettableElementNameType
- See UpdateHealthCheckResponseTypeDef
kwargs: UpdateHealthCheckRequestRequestTypeDef = { # (1)
"HealthCheckId": ...,
}
parent.update_health_check(**kwargs)
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
def update_hosted_zone_comment(
self,
*,
Id: str,
Comment: str = ...,
) -> UpdateHostedZoneCommentResponseTypeDef: # (1)
...
kwargs: UpdateHostedZoneCommentRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.update_hosted_zone_comment(**kwargs)
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
def update_traffic_policy_comment(
self,
*,
Id: str,
Version: int,
Comment: str,
) -> UpdateTrafficPolicyCommentResponseTypeDef: # (1)
...
kwargs: UpdateTrafficPolicyCommentRequestRequestTypeDef = { # (1)
"Id": ...,
"Version": ...,
"Comment": ...,
}
parent.update_traffic_policy_comment(**kwargs)
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 boto3.client("route53").update_traffic_policy_instance
method.
boto3 documentation
def update_traffic_policy_instance(
self,
*,
Id: str,
TTL: int,
TrafficPolicyId: str,
TrafficPolicyVersion: int,
) -> UpdateTrafficPolicyInstanceResponseTypeDef: # (1)
...
kwargs: UpdateTrafficPolicyInstanceRequestRequestTypeDef = { # (1)
"Id": ...,
"TTL": ...,
"TrafficPolicyId": ...,
"TrafficPolicyVersion": ...,
}
parent.update_traffic_policy_instance(**kwargs)
get_paginator
Type annotations and code completion for boto3.client("route53").get_paginator
method with overloads.
client.get_paginator("list_cidr_blocks")
-> ListCidrBlocksPaginatorclient.get_paginator("list_cidr_collections")
-> ListCidrCollectionsPaginatorclient.get_paginator("list_cidr_locations")
-> ListCidrLocationsPaginatorclient.get_paginator("list_health_checks")
-> ListHealthChecksPaginatorclient.get_paginator("list_hosted_zones")
-> ListHostedZonesPaginatorclient.get_paginator("list_query_logging_configs")
-> ListQueryLoggingConfigsPaginatorclient.get_paginator("list_resource_record_sets")
-> ListResourceRecordSetsPaginatorclient.get_paginator("list_vpc_association_authorizations")
-> ListVPCAssociationAuthorizationsPaginator
get_waiter
Type annotations and code completion for boto3.client("route53").get_waiter
method with overloads.
client.get_waiter("resource_record_sets_changed")
-> ResourceRecordSetsChangedWaiter