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.

CheckDomainAvailabilityInput

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

type CheckDomainAvailabilityInput struct { DomainName *string `type:"string" required:"true"` IdnLangCode *string `type:"string"` }

The CheckDomainAvailability request contains the following elements.

DomainName

Type: *string

The name of the domain that you want to get availability for.

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

IdnLangCode

Type: *string

Reserved for future use.

Method

GoString

func (s CheckDomainAvailabilityInput) GoString() string

GoString returns the string representation

SetDomainName

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

SetDomainName sets the DomainName field's value.

SetIdnLangCode

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

SetIdnLangCode sets the IdnLangCode field's value.

String

func (s CheckDomainAvailabilityInput) String() string

String returns the string representation

Validate

func (s *CheckDomainAvailabilityInput) Validate() error

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

On this page: