list_clusters
async
¶
list_clusters(
*,
config_overrides: Optional[AsyncSnowballClientConfig] = None,
max_results: Optional[ListLimit] = None,
next_token: Optional[String] = None,
) -> ListClustersResult
Returns an array of ClusterListEntry objects of the specified length. Each ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status information.
Parameters:
-
max_results(Optional[ListLimit], default:None) –The number of
ClusterListEntryobjects to return. -
next_token(Optional[String], default:None) –HTTP requests are stateless. To identify what object comes "next" in the list of
ClusterListEntryobjects, you have the option of specifyingNextTokenas the starting point for your returned list.
Raises:
-
InvalidNextTokenException–The
NextTokenstring was altered unexpectedly, and the operation has stopped. Run the operation without changing theNextTokenstring, and try again. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_snowball/_services/async_snowball.py
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 | |