untagResource

inline suspend fun EcsClient.untagResource(crossinline block: UntagResourceRequest.Builder.() -> Unit): UntagResourceResponse

Deletes specified tags from a resource.

Samples


fun main() { 
   //sampleStart 
   // This example deletes the team tag from the dev cluster.
val resp = ecsClient.untagResource {
    resourceArn = "arn:aws:ecs:region:aws_account_id:cluster/dev"
    tagKeys = listOf<String>(
        "team"
    )
} 
   //sampleEnd
}