listTagsForResource
inline suspend fun EcsClient.listTagsForResource(crossinline block: ListTagsForResourceRequest.Builder.() -> Unit): ListTagsForResourceResponse
List the tags for an Amazon ECS resource.
Samples
fun main() {
//sampleStart
// This example lists the tags for the dev cluster.
val resp = ecsClient.listTagsForResource {
resourceArn = "arn:aws:ecs:region:aws_account_id:cluster/dev"
}
//sampleEnd
}