deleteTags
inline suspend fun AutoScalingClient.deleteTags(crossinline block: DeleteTagsRequest.Builder.() -> Unit): DeleteTagsResponse
Deletes the specified tags.
Samples
import aws.sdk.kotlin.services.autoscaling.model.Tag
fun main() {
//sampleStart
// This example deletes the specified tag from the specified Auto Scaling group.
autoScalingClient.deleteTags {
tags = listOf<Tag>(
Tag {
resourceId = "my-auto-scaling-group"
resourceType = "auto-scaling-group"
key = "Dept"
value = "Research"
}
)
}
//sampleEnd
}