Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This operation returns the AuthCode for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.
- retrieveDomainAuthCode :: Text -> RetrieveDomainAuthCode
- data RetrieveDomainAuthCode
- rdacDomainName :: Lens' RetrieveDomainAuthCode Text
- retrieveDomainAuthCodeResponse :: Int -> Text -> RetrieveDomainAuthCodeResponse
- data RetrieveDomainAuthCodeResponse
- rdacrsResponseStatus :: Lens' RetrieveDomainAuthCodeResponse Int
- rdacrsAuthCode :: Lens' RetrieveDomainAuthCodeResponse Text
Creating a Request
retrieveDomainAuthCode Source #
Creates a value of RetrieveDomainAuthCode
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RetrieveDomainAuthCode Source #
The RetrieveDomainAuthCode request includes the following element.
See: retrieveDomainAuthCode
smart constructor.
Request Lenses
rdacDomainName :: Lens' RetrieveDomainAuthCode Text Source #
The name of a domain.
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Destructuring the Response
retrieveDomainAuthCodeResponse Source #
Creates a value of RetrieveDomainAuthCodeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RetrieveDomainAuthCodeResponse Source #
The RetrieveDomainAuthCode response includes the following element.
See: retrieveDomainAuthCodeResponse
smart constructor.
Response Lenses
rdacrsResponseStatus :: Lens' RetrieveDomainAuthCodeResponse Int Source #
The response status code.
rdacrsAuthCode :: Lens' RetrieveDomainAuthCodeResponse Text Source #
The authorization code for the domain.
Type: String