retrieve_domain_auth_code
¶
retrieve_domain_auth_code(
domain_name: DomainName,
*,
config_overrides: Optional[Route53DomainsClientConfig] = None,
) -> RetrieveDomainAuthCodeResponse
This operation returns the authorization code for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.
Parameters:
-
domain_name(DomainName) –The name of the domain that you want to get an authorization code for.
Raises:
-
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. -
TLDInMaintenance–The top-level domain is currently undergoing maintenance and the request cannot be processed. Try again later.
-
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
2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 | |