untagResource
inline suspend fun MarketplaceDeploymentClient.untagResource(crossinline block: UntagResourceRequest.Builder.() -> Unit): UntagResourceResponse
Removes a tag or list of tags from a resource.
Samples
fun main() {
//sampleStart
// The following example demonstrates removing two tags from a deployment parameter. For each, both the
// tag and the associated value are removed. There is no output from this API.
val resp = marketplaceDeploymentClient.untagResource {
resourceArn = "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier"
tagKeys = listOf<String>(
"FooKey",
"HelloKey"
)
}
//sampleEnd
}