list_domains
async
¶
list_domains(
*,
config_overrides: Optional[AsyncRoute53DomainsClientConfig] = 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/async_route53_domains.py
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 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 | |