libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Show 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 #

NFData CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Hashable CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

ToJSON CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

AWSRequest 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

type Rep CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

type Rep CheckDomainTransferability = D1 ('MetaData "CheckDomainTransferability" "Amazonka.Route53Domains.CheckDomainTransferability" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" '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)))
type AWSResponse CheckDomainTransferability Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

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.

$sel:domainName: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
Eq CheckDomainTransferabilityResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Read CheckDomainTransferabilityResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Show CheckDomainTransferabilityResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Generic CheckDomainTransferabilityResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.CheckDomainTransferability

Associated Types

type Rep CheckDomainTransferabilityResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" 'False) (C1 ('MetaCons "CheckDomainTransferabilityResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "transferability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DomainTransferability)))

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:httpStatus:CheckDomainTransferabilityResponse', checkDomainTransferabilityResponse_httpStatus - The response's http status code.

$sel:transferability:CheckDomainTransferabilityResponse', checkDomainTransferabilityResponse_transferability - A complex type that contains information about whether the specified domain can be transferred to Route 53.

Response Lenses

checkDomainTransferabilityResponse_transferability :: Lens' CheckDomainTransferabilityResponse DomainTransferability Source #

A complex type that contains information about whether the specified domain can be transferred to Route 53.