Copyright | (c) 2013-2021 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 |
This operation returns the AuthCode for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.
Synopsis
- data RetrieveDomainAuthCode = RetrieveDomainAuthCode' {
- domainName :: Text
- newRetrieveDomainAuthCode :: Text -> RetrieveDomainAuthCode
- retrieveDomainAuthCode_domainName :: Lens' RetrieveDomainAuthCode Text
- data RetrieveDomainAuthCodeResponse = RetrieveDomainAuthCodeResponse' {
- httpStatus :: Int
- authCode :: Sensitive Text
- newRetrieveDomainAuthCodeResponse :: Int -> Text -> RetrieveDomainAuthCodeResponse
- retrieveDomainAuthCodeResponse_httpStatus :: Lens' RetrieveDomainAuthCodeResponse Int
- retrieveDomainAuthCodeResponse_authCode :: Lens' RetrieveDomainAuthCodeResponse Text
Creating a Request
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: newRetrieveDomainAuthCode
smart constructor.
RetrieveDomainAuthCode' | |
|
Instances
newRetrieveDomainAuthCode Source #
Create a value of RetrieveDomainAuthCode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domainName:RetrieveDomainAuthCode'
, retrieveDomainAuthCode_domainName
- The name of the domain that you want to get an authorization code for.
Request Lenses
retrieveDomainAuthCode_domainName :: Lens' RetrieveDomainAuthCode Text Source #
The name of the domain that you want to get an authorization code for.
Destructuring the Response
data RetrieveDomainAuthCodeResponse Source #
The RetrieveDomainAuthCode response includes the following element.
See: newRetrieveDomainAuthCodeResponse
smart constructor.
RetrieveDomainAuthCodeResponse' | |
|
Instances
Eq RetrieveDomainAuthCodeResponse Source # | |
Show RetrieveDomainAuthCodeResponse Source # | |
Generic RetrieveDomainAuthCodeResponse Source # | |
NFData RetrieveDomainAuthCodeResponse Source # | |
Defined in Amazonka.Route53Domains.RetrieveDomainAuthCode rnf :: RetrieveDomainAuthCodeResponse -> () # | |
type Rep RetrieveDomainAuthCodeResponse Source # | |
Defined in Amazonka.Route53Domains.RetrieveDomainAuthCode type Rep RetrieveDomainAuthCodeResponse = D1 ('MetaData "RetrieveDomainAuthCodeResponse" "Amazonka.Route53Domains.RetrieveDomainAuthCode" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" 'False) (C1 ('MetaCons "RetrieveDomainAuthCodeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "authCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))) |
newRetrieveDomainAuthCodeResponse Source #
Create a value of RetrieveDomainAuthCodeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:RetrieveDomainAuthCodeResponse'
, retrieveDomainAuthCodeResponse_httpStatus
- The response's http status code.
$sel:authCode:RetrieveDomainAuthCodeResponse'
, retrieveDomainAuthCodeResponse_authCode
- The authorization code for the domain.
Response Lenses
retrieveDomainAuthCodeResponse_httpStatus :: Lens' RetrieveDomainAuthCodeResponse Int Source #
The response's http status code.
retrieveDomainAuthCodeResponse_authCode :: Lens' RetrieveDomainAuthCodeResponse Text Source #
The authorization code for the domain.