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.

GetDomainSuggestionsInput

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

type GetDomainSuggestionsInput struct { DomainName *string `type:"string" required:"true"` OnlyAvailable *bool `type:"boolean" required:"true"` SuggestionCount *int64 `type:"integer" required:"true"` }

DomainName

Type: *string

A domain name that you want to use as the basis for a list of possible domain names. The domain name must contain a top-level domain (TLD), such as .com, that Amazon Route 53 supports. For a list of TLDs, 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.

DomainName is a required field

OnlyAvailable

Type: *bool

If OnlyAvailable is true, Amazon Route 53 returns only domain names that are available. If OnlyAvailable is false, Amazon Route 53 returns domain names without checking whether they're available to be registered. To determine whether the domain is available, you can call checkDomainAvailability for each suggestion.

OnlyAvailable is a required field

SuggestionCount

Type: *int64

The number of suggested domain names that you want Amazon Route 53 to return.

SuggestionCount is a required field

Method

GoString

func (s GetDomainSuggestionsInput) GoString() string

GoString returns the string representation

SetDomainName

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

SetDomainName sets the DomainName field's value.

SetOnlyAvailable

func (s *GetDomainSuggestionsInput) SetOnlyAvailable(v bool) *GetDomainSuggestionsInput

SetOnlyAvailable sets the OnlyAvailable field's value.

SetSuggestionCount

func (s *GetDomainSuggestionsInput) SetSuggestionCount(v int64) *GetDomainSuggestionsInput

SetSuggestionCount sets the SuggestionCount field's value.

String

func (s GetDomainSuggestionsInput) String() string

String returns the string representation

Validate

func (s *GetDomainSuggestionsInput) Validate() error

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

On this page: