get_domain_suggestions
async
¶
get_domain_suggestions(
domain_name: DomainName,
suggestion_count: Integer,
only_available: Boolean,
*,
config_overrides: Optional[AsyncRoute53DomainsClientConfig] = 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/async_route53_domains.py
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 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 | |