retrieve_domain_auth_code
async
¶
retrieve_domain_auth_code(
domain_name: DomainName,
*,
config_overrides: Optional[AsyncRoute53DomainsClientConfig] = 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/async_route53_domains.py
2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 | |