untagResource
inline suspend fun ServiceDiscoveryClient.untagResource(crossinline block: UntagResourceRequest.Builder.() -> Unit): UntagResourceResponse
Removes one or more tags from the specified resource.
Samples
fun main() {
//sampleStart
// This example removes the "Department" and "Project" tags from a resource.
val resp = serviceDiscoveryClient.untagResource {
resourceArn = "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm"
tagKeys = listOf<String>(
"Project",
"Department"
)
}
//sampleEnd
}