| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.EMRContainers.ListVirtualClusters
Description
Lists information about the specified virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, 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.
This operation returns paginated results.
Synopsis
- data ListVirtualClusters = ListVirtualClusters' {}
 - newListVirtualClusters :: ListVirtualClusters
 - listVirtualClusters_containerProviderId :: Lens' ListVirtualClusters (Maybe Text)
 - listVirtualClusters_containerProviderType :: Lens' ListVirtualClusters (Maybe ContainerProviderType)
 - listVirtualClusters_createdAfter :: Lens' ListVirtualClusters (Maybe UTCTime)
 - listVirtualClusters_createdBefore :: Lens' ListVirtualClusters (Maybe UTCTime)
 - listVirtualClusters_maxResults :: Lens' ListVirtualClusters (Maybe Int)
 - listVirtualClusters_nextToken :: Lens' ListVirtualClusters (Maybe Text)
 - listVirtualClusters_states :: Lens' ListVirtualClusters (Maybe [VirtualClusterState])
 - data ListVirtualClustersResponse = ListVirtualClustersResponse' {}
 - newListVirtualClustersResponse :: Int -> ListVirtualClustersResponse
 - listVirtualClustersResponse_nextToken :: Lens' ListVirtualClustersResponse (Maybe Text)
 - listVirtualClustersResponse_virtualClusters :: Lens' ListVirtualClustersResponse (Maybe [VirtualCluster])
 - listVirtualClustersResponse_httpStatus :: Lens' ListVirtualClustersResponse Int
 
Creating a Request
data ListVirtualClusters Source #
See: newListVirtualClusters smart constructor.
Constructors
| ListVirtualClusters' | |
Fields 
  | |
Instances
newListVirtualClusters :: ListVirtualClusters Source #
Create a value of ListVirtualClusters with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containerProviderId:ListVirtualClusters', listVirtualClusters_containerProviderId - The container provider ID of the virtual cluster.
$sel:containerProviderType:ListVirtualClusters', listVirtualClusters_containerProviderType - The container provider type of the virtual cluster. EKS is the only
 supported type as of now.
$sel:createdAfter:ListVirtualClusters', listVirtualClusters_createdAfter - The date and time after which the virtual clusters are created.
$sel:createdBefore:ListVirtualClusters', listVirtualClusters_createdBefore - The date and time before which the virtual clusters are created.
$sel:maxResults:ListVirtualClusters', listVirtualClusters_maxResults - The maximum number of virtual clusters that can be listed.
ListVirtualClusters, listVirtualClusters_nextToken - The token for the next set of virtual clusters to return.
$sel:states:ListVirtualClusters', listVirtualClusters_states - The states of the requested virtual clusters.
Request Lenses
listVirtualClusters_containerProviderId :: Lens' ListVirtualClusters (Maybe Text) Source #
The container provider ID of the virtual cluster.
listVirtualClusters_containerProviderType :: Lens' ListVirtualClusters (Maybe ContainerProviderType) Source #
The container provider type of the virtual cluster. EKS is the only supported type as of now.
listVirtualClusters_createdAfter :: Lens' ListVirtualClusters (Maybe UTCTime) Source #
The date and time after which the virtual clusters are created.
listVirtualClusters_createdBefore :: Lens' ListVirtualClusters (Maybe UTCTime) Source #
The date and time before which the virtual clusters are created.
listVirtualClusters_maxResults :: Lens' ListVirtualClusters (Maybe Int) Source #
The maximum number of virtual clusters that can be listed.
listVirtualClusters_nextToken :: Lens' ListVirtualClusters (Maybe Text) Source #
The token for the next set of virtual clusters to return.
listVirtualClusters_states :: Lens' ListVirtualClusters (Maybe [VirtualClusterState]) Source #
The states of the requested virtual clusters.
Destructuring the Response
data ListVirtualClustersResponse Source #
See: newListVirtualClustersResponse smart constructor.
Constructors
| ListVirtualClustersResponse' | |
Fields 
  | |
Instances
newListVirtualClustersResponse Source #
Create a value of ListVirtualClustersResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListVirtualClusters, listVirtualClustersResponse_nextToken - This output displays the token for the next set of virtual clusters.
$sel:virtualClusters:ListVirtualClustersResponse', listVirtualClustersResponse_virtualClusters - This output lists the specified virtual clusters.
$sel:httpStatus:ListVirtualClustersResponse', listVirtualClustersResponse_httpStatus - The response's http status code.
Response Lenses
listVirtualClustersResponse_nextToken :: Lens' ListVirtualClustersResponse (Maybe Text) Source #
This output displays the token for the next set of virtual clusters.
listVirtualClustersResponse_virtualClusters :: Lens' ListVirtualClustersResponse (Maybe [VirtualCluster]) Source #
This output lists the specified virtual clusters.
listVirtualClustersResponse_httpStatus :: Lens' ListVirtualClustersResponse Int Source #
The response's http status code.