transfer_domain
¶
transfer_domain(
domain_name: DomainName,
admin_contact: ContactDetail,
registrant_contact: ContactDetail,
tech_contact: ContactDetail,
*,
config_overrides: Optional[Route53DomainsClientConfig] = 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/route53_domains.py
1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 | |