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.
Source code in docs_src/capo_route_53_domains/_services/route53_domains.py
1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 | |