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.

CheckDomainAvailabilityOutput

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

type CheckDomainAvailabilityOutput struct { Availability *string `type:"string" required:"true" enum:"DomainAvailability"` }

The CheckDomainAvailability response includes the following elements.

Availability

Type: *string

Whether the domain name is available for registering.

You can register only domains 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.

Availability is a required field

Method

GoString

func (s CheckDomainAvailabilityOutput) GoString() string

GoString returns the string representation

SetAvailability

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

SetAvailability sets the Availability field's value.

String

func (s CheckDomainAvailabilityOutput) String() string

String returns the string representation

On this page: