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 |
Checks whether a domain name can be transferred to Amazon Route 53.
Synopsis
- data CheckDomainTransferability = CheckDomainTransferability' {}
- newCheckDomainTransferability :: Text -> CheckDomainTransferability
- checkDomainTransferability_authCode :: Lens' CheckDomainTransferability (Maybe Text)
- checkDomainTransferability_domainName :: Lens' CheckDomainTransferability Text
- data CheckDomainTransferabilityResponse = CheckDomainTransferabilityResponse' {}
- newCheckDomainTransferabilityResponse :: Int -> CheckDomainTransferabilityResponse
- checkDomainTransferabilityResponse_transferability :: Lens' CheckDomainTransferabilityResponse (Maybe DomainTransferability)
- checkDomainTransferabilityResponse_httpStatus :: Lens' CheckDomainTransferabilityResponse Int
Creating a Request
data CheckDomainTransferability Source #
The CheckDomainTransferability request contains the following elements.
See: newCheckDomainTransferability
smart constructor.
CheckDomainTransferability' | |
|
Instances
newCheckDomainTransferability Source #
Create a value of CheckDomainTransferability
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:CheckDomainTransferability'
, checkDomainTransferability_authCode
- If the registrar for the top-level domain (TLD) requires an
authorization code to transfer the domain, the code that you got from
the current registrar for the domain.
CheckDomainTransferability
, checkDomainTransferability_domainName
- The name of the domain that you want to transfer to Route 53. The
top-level domain (TLD), such as .com, must be a TLD that Route 53
supports. For a list of supported TLDs, see
Domains that You Can Register with Amazon Route 53
in the Amazon Route 53 Developer Guide.
The domain name can contain only the following characters:
- Letters a through z. Domain names are not case sensitive.
- Numbers 0 through 9.
- Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
- Period (.) to separate the labels in the name, such as the
.
inexample.com
.
Request Lenses
checkDomainTransferability_authCode :: Lens' CheckDomainTransferability (Maybe Text) Source #
If the registrar for the top-level domain (TLD) requires an authorization code to transfer the domain, the code that you got from the current registrar for the domain.
checkDomainTransferability_domainName :: Lens' CheckDomainTransferability Text Source #
The name of the domain that you want to transfer to Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
The domain name can contain only the following characters:
- Letters a through z. Domain names are not case sensitive.
- Numbers 0 through 9.
- Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
- Period (.) to separate the labels in the name, such as the
.
inexample.com
.
Destructuring the Response
data CheckDomainTransferabilityResponse Source #
The CheckDomainTransferability response includes the following elements.
See: newCheckDomainTransferabilityResponse
smart constructor.
CheckDomainTransferabilityResponse' | |
|
Instances
Generic CheckDomainTransferabilityResponse Source # | |
Read CheckDomainTransferabilityResponse Source # | |
Show CheckDomainTransferabilityResponse Source # | |
NFData CheckDomainTransferabilityResponse Source # | |
Defined in Amazonka.Route53Domains.CheckDomainTransferability rnf :: CheckDomainTransferabilityResponse -> () # | |
Eq CheckDomainTransferabilityResponse Source # | |
type Rep CheckDomainTransferabilityResponse Source # | |
Defined in Amazonka.Route53Domains.CheckDomainTransferability type Rep CheckDomainTransferabilityResponse = D1 ('MetaData "CheckDomainTransferabilityResponse" "Amazonka.Route53Domains.CheckDomainTransferability" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "CheckDomainTransferabilityResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transferability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainTransferability)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCheckDomainTransferabilityResponse Source #
Create a value of CheckDomainTransferabilityResponse
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:transferability:CheckDomainTransferabilityResponse'
, checkDomainTransferabilityResponse_transferability
- A complex type that contains information about whether the specified
domain can be transferred to Route 53.
$sel:httpStatus:CheckDomainTransferabilityResponse'
, checkDomainTransferabilityResponse_httpStatus
- The response's http status code.
Response Lenses
checkDomainTransferabilityResponse_transferability :: Lens' CheckDomainTransferabilityResponse (Maybe DomainTransferability) Source #
A complex type that contains information about whether the specified domain can be transferred to Route 53.
checkDomainTransferabilityResponse_httpStatus :: Lens' CheckDomainTransferabilityResponse Int Source #
The response's http status code.