listClusters

inline suspend fun EksClient.listClusters(crossinline block: ListClustersRequest.Builder.() -> Unit): ListClustersResponse

Lists the Amazon EKS clusters in your Amazon Web Services account in the specified Amazon Web Services Region.

Samples

// This example command lists all of your available clusters in your default region.
val resp = eksClient.listClusters()