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.

DomainSuggestion

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

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

Information about one suggested domain name.

Availability

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.

DomainName

Type: *string

A suggested domain name.

Method

GoString

func (s DomainSuggestion) GoString() string

GoString returns the string representation

SetAvailability

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

SetAvailability sets the Availability field's value.

SetDomainName

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

SetDomainName sets the DomainName field's value.

String

func (s DomainSuggestion) String() string

String returns the string representation

On this page: