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

We welcome your feedback on this new version of the documentation. Send your comments to


import ""

type DomainSuggestion struct { Availability *string `type:"string"` DomainName *string `type:"string"` }

Information about one suggested domain name.


Type: *string

Whether the domain name is available for registering.

You can register only the domains that are designated as AVAILABLE.

Valid values:

AVAILABLEThe domain name is available.

AVAILABLE_RESERVEDThe domain name is reserved under specific conditions.

AVAILABLE_PREORDERThe domain name is available and can be preordered.

DONT_KNOWThe TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

PENDINGThe TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

RESERVEDThe domain name has been reserved for another person or organization.

UNAVAILABLEThe domain name is not available.

UNAVAILABLE_PREMIUMThe domain name is not available.

UNAVAILABLE_RESTRICTEDThe domain name is forbidden.


Type: *string

A suggested domain name.



func (s DomainSuggestion) GoString() string

GoString returns the string representation


func (s *DomainSuggestion) SetAvailability(v string) *DomainSuggestion

SetAvailability sets the Availability field's value.


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

SetDomainName sets the DomainName field's value.


func (s DomainSuggestion) String() string

String returns the string representation

On this page: