transfer_domain
async
¶
transfer_domain(
domain_name: DomainName,
admin_contact: ContactDetail,
registrant_contact: ContactDetail,
tech_contact: ContactDetail,
*,
config_overrides: Optional[AsyncRoute53DomainsClientConfig] = None,
idn_lang_code: Optional[LangCode] = None,
duration_in_years: Optional[DurationInYears] = None,
nameservers: Optional[NameserverList] = None,
auth_code: Optional[DomainAuthCode] = None,
auto_renew: Optional[Boolean] = None,
privacy_protect_admin_contact: Optional[Boolean] = None,
privacy_protect_registrant_contact: Optional[Boolean] = None,
privacy_protect_tech_contact: Optional[Boolean] = None,
billing_contact: Optional[ContactDetail] = None,
privacy_protect_billing_contact: Optional[Boolean] = None,
consent: Optional[Consent] = None,
) -> TransferDomainResponse
Transfers a domain from another registrar to Amazon Route 53.
For more information about transferring domains, see the following topics:
-
For transfer requirements, a detailed procedure, and information about viewing the status of a domain that you're transferring to Route 53, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide.
-
For information about how to transfer a domain from one Amazon Web Services account to another, see TransferDomainToAnotherAwsAccount.
-
For information about how to transfer a domain to another domain registrar, see Transferring a Domain from Amazon Route 53 to Another Registrar in the Amazon Route 53 Developer Guide.
During the transfer of any country code top-level domains (ccTLDs) to Route 53, except for .cc and .tv, updates to the owner contact are ignored and the owner contact data from the registry is used. You can update the owner contact after the transfer is complete. For more information, see UpdateDomainContact.
If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you transfer your DNS service to Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time.
If the registrar for your domain is also the DNS service provider for the domain and you don't transfer DNS service to another provider, your website, email, and the web applications associated with the domain might become unavailable.
If the transfer is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the transfer doesn't complete successfully, the domain registrant will be notified by email.
Parameters:
-
domain_name(DomainName) –The name of the domain that you want to transfer to Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
The domain name can contain only the following characters:
-
Letters a through z. Domain names are not case sensitive.
-
Numbers 0 through 9.
-
Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
-
Period (.) to separate the labels in the name, such as the
.inexample.com.
-
-
idn_lang_code(Optional[LangCode], default:None) –Reserved for future use.
-
duration_in_years(Optional[DurationInYears], default:None) –Reserved for future use.
Currently, the effect of a domain transfer on the registration period varies by TLD. For information about how transferring a domain affects the expiration date, see the Transfer Term column in the pricing information at Amazon Route 53 Pricing.
Default: 1
-
nameservers(Optional[NameserverList], default:None) –Contains details for the host and glue IP addresses.
-
auth_code(Optional[DomainAuthCode], default:None) –The authorization code for the domain. You get this value from the current registrar.
-
auto_renew(Optional[Boolean], default:None) –Indicates whether the domain will be automatically renewed (true) or not (false). Auto renewal only takes effect after the account is charged.
Default: true
-
admin_contact(ContactDetail) –Provides detailed contact information.
-
registrant_contact(ContactDetail) –Provides detailed contact information.
-
tech_contact(ContactDetail) –Provides detailed contact information.
-
privacy_protect_admin_contact(Optional[Boolean], default:None) –Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information for the registrar, the phrase "REDACTED FOR PRIVACY", or "On behalf ofowner.". While some domains may allow different privacy settings per contact, we recommend specifying the same privacy setting for all contacts.
Default:
true -
privacy_protect_registrant_contact(Optional[Boolean], default:None) –Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the registrant contact (domain owner).You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
Default:
true -
privacy_protect_tech_contact(Optional[Boolean], default:None) –Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the technical contact.You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
Default:
true -
billing_contact(Optional[ContactDetail], default:None) –Provides detailed contact information.
-
privacy_protect_billing_contact(Optional[Boolean], default:None) –Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the billing contact.You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
-
consent(Optional[Consent], default:None) –Specifies the maximum price that you agree to pay to transfer the domain name to Route 53. This element is required if the domain has registry premium pricing, and optional if the domain is priced at the standard rate for its TLD. If you include it and the transfer price is more than
MaxPrice, the request fails.
Raises:
-
DomainLimitExceeded–The number of domains has exceeded the allowed threshold for the account.
-
DuplicateRequest–The request is already in progress for the domain.
-
InvalidInput–The requested item is not acceptable. For example, for APIs that accept a domain name, the request might specify a domain name that doesn't belong to the account that submitted the request. For
AcceptDomainTransferFromAnotherAwsAccount, the password might be invalid. -
OperationLimitExceeded–The number of operations or jobs running exceeded the allowed threshold for the account.
-
TLDRulesViolation–The top-level domain does not support this operation.
-
UnsupportedTLD–Amazon Route 53 does not support this top-level domain (TLD).
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_route_53_domains/_services/async_route53_domains.py
2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 | |