AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

TransferDomainInput

import "github.com/aws/aws-sdk-go/service/route53domains"

type TransferDomainInput struct { AdminContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` AuthCode *string `type:"string" sensitive:"true"` AutoRenew *bool `type:"boolean"` DomainName *string `type:"string" required:"true"` DurationInYears *int64 `min:"1" type:"integer" required:"true"` IdnLangCode *string `type:"string"` Nameservers []*Nameserver `type:"list"` PrivacyProtectAdminContact *bool `type:"boolean"` PrivacyProtectRegistrantContact *bool `type:"boolean"` PrivacyProtectTechContact *bool `type:"boolean"` RegistrantContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` TechContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` }

The TransferDomain request includes the following elements.

AdminContact

ContactDetail includes the following elements.

AuthCode

Type: *string

The authorization code for the domain. You get this value from the current registrar.

AutoRenew

Type: *bool

Indicates whether the domain will be automatically renewed (true) or not (false). Autorenewal only takes effect after the account is charged.

Default: true

DomainName

Type: *string

The name of the domain that you want to transfer to Amazon Route 53.

Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.

DomainName is a required field

DurationInYears

Type: *int64

The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain.

Default: 1

DurationInYears is a required field

IdnLangCode

Type: *string

Reserved for future use.

Nameservers

Nameserver includes the following elements.

PrivacyProtectAdminContact

Type: *bool

Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false, WHOIS queries return the information that you entered for the admin contact.

Default: true

PrivacyProtectRegistrantContact

Type: *bool

Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false, WHOIS queries return the information that you entered for the registrant contact (domain owner).

Default: true

PrivacyProtectTechContact

Type: *bool

Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false, WHOIS queries return the information that you entered for the technical contact.

Default: true

RegistrantContact

ContactDetail includes the following elements.

TechContact

ContactDetail includes the following elements.

Method

GoString

func (s TransferDomainInput) GoString() string

GoString returns the string representation

SetAdminContact

func (s *TransferDomainInput) SetAdminContact(v *ContactDetail) *TransferDomainInput

SetAdminContact sets the AdminContact field's value.

SetAuthCode

func (s *TransferDomainInput) SetAuthCode(v string) *TransferDomainInput

SetAuthCode sets the AuthCode field's value.

SetAutoRenew

func (s *TransferDomainInput) SetAutoRenew(v bool) *TransferDomainInput

SetAutoRenew sets the AutoRenew field's value.

SetDomainName

func (s *TransferDomainInput) SetDomainName(v string) *TransferDomainInput

SetDomainName sets the DomainName field's value.

SetDurationInYears

func (s *TransferDomainInput) SetDurationInYears(v int64) *TransferDomainInput

SetDurationInYears sets the DurationInYears field's value.

SetIdnLangCode

func (s *TransferDomainInput) SetIdnLangCode(v string) *TransferDomainInput

SetIdnLangCode sets the IdnLangCode field's value.

SetNameservers

func (s *TransferDomainInput) SetNameservers(v []*Nameserver) *TransferDomainInput

SetNameservers sets the Nameservers field's value.

SetPrivacyProtectAdminContact

func (s *TransferDomainInput) SetPrivacyProtectAdminContact(v bool) *TransferDomainInput

SetPrivacyProtectAdminContact sets the PrivacyProtectAdminContact field's value.

SetPrivacyProtectRegistrantContact

func (s *TransferDomainInput) SetPrivacyProtectRegistrantContact(v bool) *TransferDomainInput

SetPrivacyProtectRegistrantContact sets the PrivacyProtectRegistrantContact field's value.

SetPrivacyProtectTechContact

func (s *TransferDomainInput) SetPrivacyProtectTechContact(v bool) *TransferDomainInput

SetPrivacyProtectTechContact sets the PrivacyProtectTechContact field's value.

SetRegistrantContact

func (s *TransferDomainInput) SetRegistrantContact(v *ContactDetail) *TransferDomainInput

SetRegistrantContact sets the RegistrantContact field's value.

SetTechContact

func (s *TransferDomainInput) SetTechContact(v *ContactDetail) *TransferDomainInput

SetTechContact sets the TechContact field's value.

String

func (s TransferDomainInput) String() string

String returns the string representation

Validate

func (s *TransferDomainInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: