Route53Domains.Client.
retrieve_domain_auth_code
(**kwargs)¶This operation returns the authorization code for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.
See also: AWS API Documentation
Request Syntax
response = client.retrieve_domain_auth_code(
DomainName='string'
)
[REQUIRED]
The name of the domain that you want to get an authorization code for.
{
'AuthCode': 'string'
}
Response Structure
The RetrieveDomainAuthCode response includes the following element.
The authorization code for the domain.
Exceptions
Route53Domains.Client.exceptions.InvalidInput
Route53Domains.Client.exceptions.UnsupportedTLD