listTagsForResource
abstract suspend fun listTagsForResource(input: ListTagsForResourceRequest): ListTagsForResourceResponse
List the tags for an Amazon EKS resource.
Samples
fun main() {
//sampleStart
// This example lists all of the tags for the beta cluster.
val resp = eksClient.listTagsForResource {
resourceArn = "arn:aws:eks:us-west-2:012345678910:cluster/beta"
}
//sampleEnd
}