removeTags
inline suspend fun ElasticLoadBalancingClient.removeTags(crossinline block: RemoveTagsRequest.Builder.() -> Unit): RemoveTagsResponse
Removes one or more tags from the specified load balancer.
Samples
import aws.sdk.kotlin.services.elasticloadbalancing.model.TagKeyOnly
fun main() {
//sampleStart
// This example removes the specified tag from the specified load balancer.
elasticLoadBalancingClient.removeTags {
loadBalancerNames = listOf<String>(
"my-load-balancer"
)
tags = listOf<TagKeyOnly>(
TagKeyOnly {
key = "project"
}
)
}
//sampleEnd
}