amazonka-route53-domains-2.0: Amazon Route 53 Domains SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53Domains.CheckDomainTransferability

Description

Checks whether a domain name can be transferred to Amazon Route 53.

Synopsis

Creating a Request

data CheckDomainTransferability Source #

The CheckDomainTransferability request contains the following elements.

See: newCheckDomainTransferability smart constructor.

Constructors

CheckDomainTransferability' 

Fields

  • authCode :: Maybe (Sensitive Text)

    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.

  • domainName :: Text

    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 . in example.com.

Instances

Instances details
ToJSON CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

ToHeaders CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

ToPath CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

ToQuery CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

AWSRequest CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Generic CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Associated Types

type Rep CheckDomainTransferability :: Type -> Type #

Show CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

NFData CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Eq CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Hashable CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

type AWSResponse CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

type Rep CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

type Rep CheckDomainTransferability = D1 ('MetaData "CheckDomainTransferability" "Amazonka.Route53Domains.CheckDomainTransferability" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "CheckDomainTransferability'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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 . in example.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 . in example.com.

Destructuring the Response

data CheckDomainTransferabilityResponse Source #

The CheckDomainTransferability response includes the following elements.

See: newCheckDomainTransferabilityResponse smart constructor.

Constructors

CheckDomainTransferabilityResponse' 

Fields

Instances

Instances details
Generic CheckDomainTransferabilityResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Associated Types

type Rep CheckDomainTransferabilityResponse :: Type -> Type #

Read CheckDomainTransferabilityResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Show CheckDomainTransferabilityResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

NFData CheckDomainTransferabilityResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Eq CheckDomainTransferabilityResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

type Rep CheckDomainTransferabilityResponse Source # 
Instance details

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.