Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This operation returns the authorization code 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' {}
- newRetrieveDomainAuthCodeResponse :: Int -> RetrieveDomainAuthCodeResponse
- retrieveDomainAuthCodeResponse_authCode :: Lens' RetrieveDomainAuthCodeResponse (Maybe Text)
- retrieveDomainAuthCodeResponse_httpStatus :: Lens' RetrieveDomainAuthCodeResponse Int
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:
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.
Instances
Generic RetrieveDomainAuthCodeResponse Source # | |
Show RetrieveDomainAuthCodeResponse Source # | |
NFData RetrieveDomainAuthCodeResponse Source # | |
Defined in Amazonka.Route53Domains.RetrieveDomainAuthCode rnf :: RetrieveDomainAuthCodeResponse -> () # | |
Eq RetrieveDomainAuthCodeResponse Source # | |
type Rep RetrieveDomainAuthCodeResponse Source # | |
Defined in Amazonka.Route53Domains.RetrieveDomainAuthCode type Rep RetrieveDomainAuthCodeResponse = D1 ('MetaData "RetrieveDomainAuthCodeResponse" "Amazonka.Route53Domains.RetrieveDomainAuthCode" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "RetrieveDomainAuthCodeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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:authCode:RetrieveDomainAuthCodeResponse'
, retrieveDomainAuthCodeResponse_authCode
- The authorization code for the domain.
$sel:httpStatus:RetrieveDomainAuthCodeResponse'
, retrieveDomainAuthCodeResponse_httpStatus
- The response's http status code.
Response Lenses
retrieveDomainAuthCodeResponse_authCode :: Lens' RetrieveDomainAuthCodeResponse (Maybe Text) Source #
The authorization code for the domain.
retrieveDomainAuthCodeResponse_httpStatus :: Lens' RetrieveDomainAuthCodeResponse Int Source #
The response's http status code.