get_domain_suggestions
¶
get_domain_suggestions(
domain_name: DomainName,
suggestion_count: Integer,
only_available: Boolean,
*,
config_overrides: Optional[Route53DomainsClientConfig] = None,
only_standard_prices: Optional[Boolean] = None,
) -> GetDomainSuggestionsResponse
The GetDomainSuggestions operation returns a list of suggested domain names.
Parameters:
-
domain_name(DomainName) –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
.inexample.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.
-
-
suggestion_count(Integer) –The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50. Note that fewer than the requested number might be returned.
-
only_available(Boolean) –If
OnlyAvailableistrue, Route 53 returns only domain names that are available. IfOnlyAvailableisfalse, Route 53 returns domain names without checking whether they're available to be registered. To determine whether the domain is available, callcheckDomainAvailabilityfor each suggestion.If
OnlyAvailableisfalse, Route 53 does not return pricing information for the suggested domain names. -
only_standard_prices(Optional[Boolean], default:None) –If
true, Route 53 returns only domain names that are priced at the standard registration rate for their TLD. Iffalse, Route 53 includes domain names with premium pricing in the suggestions list. The default istrue.
Raises:
-
InvalidInput–The requested item is not acceptable. For example, for APIs that accept a domain name, the request might specify a domain name that doesn't belong to the account that submitted the request. For
AcceptDomainTransferFromAnotherAwsAccount, the password might be invalid. -
TLDInMaintenance–The top-level domain is currently undergoing maintenance and the request cannot be processed. Try again later.
-
UnsupportedTLD–Amazon Route 53 does not support this top-level domain (TLD).
-
UnknownServiceError–The service returned an error code this client does not model.