tagResource
Tags a resource.
Samples
// The following example demonstrates adding two tags to a deployment parameter. There is no output
// from this API.
val resp = marketplaceDeploymentClient.tagResource {
resourceArn = "arn:aws:aws-marketplace:us-east-1:123456789012:DeploymentParameter:catalogs/AWSMarketplace/products/product-1234/dp-uniqueidentifier"
tags = mapOf<String, String>(
"FooKey" to "BarValue",
"HelloKey" to "WorldValue"
)
}Content copied to clipboard