Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.Route53Domains.RetrieveDomainAuthCode
Description
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 #
Arguments
:: Text | |
-> RetrieveDomainAuthCode |
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:
rdacDomainName
- The name of the domain that you want to get an authorization code for.
data RetrieveDomainAuthCode Source #
A request for the authorization code for the specified domain. To transfer a domain to another registrar, you provide this value to the new registrar.
See: retrieveDomainAuthCode
smart constructor.
Instances
Request Lenses
rdacDomainName :: Lens' RetrieveDomainAuthCode Text Source #
The name of the domain that you want to get an authorization code for.
Destructuring the Response
retrieveDomainAuthCodeResponse Source #
Arguments
:: Int | |
-> Text | |
-> RetrieveDomainAuthCodeResponse |
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:
rdacrsResponseStatus
- -- | The response status code.rdacrsAuthCode
- The authorization code for the domain.
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.