list_virtual_clusters
async
¶
list_virtual_clusters(
*,
config_overrides: Optional[AsyncEMRcontainersClientConfig] = None,
container_provider_id: Optional[String1024] = None,
container_provider_type: Optional[ContainerProviderType] = None,
created_after: Optional[Date] = None,
created_before: Optional[Date] = None,
states: Optional[VirtualClusterStates] = None,
max_results: Optional[JavaInteger] = None,
next_token: Optional[NextToken] = None,
eks_access_entry_integrated: Optional[Boolean] = None,
) -> ListVirtualClustersResponse
Lists information about the specified virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, update, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
Parameters:
-
container_provider_id(Optional[String1024], default:None) –The container provider ID of the virtual cluster.
-
container_provider_type(Optional[ContainerProviderType], default:None) –The container provider type of the virtual cluster. Amazon EKS is the only supported type as of now.
-
created_after(Optional[Date], default:None) –The date and time after which the virtual clusters are created.
-
created_before(Optional[Date], default:None) –The date and time before which the virtual clusters are created.
-
states(Optional[VirtualClusterStates], default:None) –The states of the requested virtual clusters.
-
max_results(Optional[JavaInteger], default:None) –The maximum number of virtual clusters that can be listed.
-
next_token(Optional[NextToken], default:None) –The token for the next set of virtual clusters to return.
-
eks_access_entry_integrated(Optional[Boolean], default:None) –Optional Boolean that specifies whether the operation should return the virtual clusters that have the access entry integration enabled or disabled. If not specified, the operation returns all applicable virtual clusters.
Raises:
-
InternalServerException–This is an internal server exception.
-
ValidationException–There are invalid parameters in the client request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_emr_containers/_services/async_em_rcontainers.py
1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 | |