Smaws_Client_Route53Domains.RetrieveDomainAuthCodeThis operation returns the authorization code for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidInput of Types.invalid_input
| `TLDInMaintenance of Types.tld_in_maintenance
| `UnsupportedTLD of Types.unsupported_tl_d ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.retrieve_domain_auth_code_request ->
(Types.retrieve_domain_auth_code_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInput of Types.invalid_input
| `TLDInMaintenance of Types.tld_in_maintenance
| `UnsupportedTLD of Types.unsupported_tl_d ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.retrieve_domain_auth_code_request ->
(Types.retrieve_domain_auth_code_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInput of Types.invalid_input
| `TLDInMaintenance of Types.tld_in_maintenance
| `UnsupportedTLD of Types.unsupported_tl_d ]
* Smaws_Lib.Response.metadata)
Stdlib.result