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.

RegisterDomainInput

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

type RegisterDomainInput struct { AdminContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` AutoRenew *bool `type:"boolean"` DomainName *string `type:"string" required:"true"` DurationInYears *int64 `min:"1" type:"integer" required:"true"` IdnLangCode *string `type:"string"` 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 RegisterDomain request includes the following elements.

AdminContact

ContactDetail includes the following elements.

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 domain name that you want to register.

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. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) in the Amazon Route 53 Developer Guide.

Default: 1

DurationInYears is a required field

IdnLangCode

Type: *string

Reserved for future use.

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 (the 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 RegisterDomainInput) GoString() string

GoString returns the string representation

SetAdminContact

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

SetAdminContact sets the AdminContact field's value.

SetAutoRenew

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

SetAutoRenew sets the AutoRenew field's value.

SetDomainName

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

SetDomainName sets the DomainName field's value.

SetDurationInYears

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

SetDurationInYears sets the DurationInYears field's value.

SetIdnLangCode

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

SetIdnLangCode sets the IdnLangCode field's value.

SetPrivacyProtectAdminContact

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

SetPrivacyProtectAdminContact sets the PrivacyProtectAdminContact field's value.

SetPrivacyProtectRegistrantContact

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

SetPrivacyProtectRegistrantContact sets the PrivacyProtectRegistrantContact field's value.

SetPrivacyProtectTechContact

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

SetPrivacyProtectTechContact sets the PrivacyProtectTechContact field's value.

SetRegistrantContact

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

SetRegistrantContact sets the RegistrantContact field's value.

SetTechContact

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

SetTechContact sets the TechContact field's value.

String

func (s RegisterDomainInput) String() string

String returns the string representation

Validate

func (s *RegisterDomainInput) Validate() error

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

On this page: