list_domains
¶
list_domains(
*,
config_overrides: Optional[Route53DomainsClientConfig] = None,
filter_conditions: Optional[FilterConditions] = None,
sort_condition: Optional[SortCondition] = None,
marker: Optional[PageMarker] = None,
max_items: Optional[PageMaxItems] = None,
) -> ListDomainsResponse
This operation returns all the domain names registered with Amazon Route 53 for the current Amazon Web Services account if no filtering conditions are used.
Parameters:
-
filter_conditions(Optional[FilterConditions], default:None) –A complex type that contains information about the filters applied during the
ListDomainsrequest. The filter conditions can include domain name and domain expiration. -
sort_condition(Optional[SortCondition], default:None) –A complex type that contains information about the requested ordering of domains in the returned list.
-
marker(Optional[PageMarker], default:None) –For an initial request for a list of domains, omit this element. If the number of domains that are associated with the current Amazon Web Services account is greater than the value that you specified for
MaxItems, you can useMarkerto return additional domains. Get the value ofNextPageMarkerfrom the previous response, and submit another request that includes the value ofNextPageMarkerin theMarkerelement.Constraints: The marker must match the value specified in the previous request.
-
max_items(Optional[PageMaxItems], default:None) –Number of domains to be returned.
Default: 20
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. -
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
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 | |