Class: Aws::Route53Domains::Types::GetDomainSuggestionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb

Overview

Note:

When making an API call, you may pass GetDomainSuggestionsRequest data as a hash:

{
  domain_name: "DomainName", # required
  suggestion_count: 1, # required
  only_available: false, # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domain_nameString

A domain name that you want to use as the basis for a list of possible domain names. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

The domain name can contain only the following characters:

  • Letters a through z. Domain names are not case sensitive.

  • Numbers 0 through 9.

  • Hyphen (-). You can't specify a hyphen at the beginning or end of a label.

  • Period (.) to separate the labels in the name, such as the . in example.com.

Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53.

Returns:

  • (String)


1456
1457
1458
1459
1460
1461
1462
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1456

class GetDomainSuggestionsRequest < Struct.new(
  :domain_name,
  :suggestion_count,
  :only_available)
  SENSITIVE = []
  include Aws::Structure
end

#only_availableBoolean

If OnlyAvailable is true, Route 53 returns only domain names that are available. If OnlyAvailable is false, 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.

Returns:

  • (Boolean)


1456
1457
1458
1459
1460
1461
1462
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1456

class GetDomainSuggestionsRequest < Struct.new(
  :domain_name,
  :suggestion_count,
  :only_available)
  SENSITIVE = []
  include Aws::Structure
end

#suggestion_countInteger

The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50.

Returns:

  • (Integer)


1456
1457
1458
1459
1460
1461
1462
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1456

class GetDomainSuggestionsRequest < Struct.new(
  :domain_name,
  :suggestion_count,
  :only_available)
  SENSITIVE = []
  include Aws::Structure
end