tagResource
Assigns one or more tags (key-value pairs) to the specified resource.
Samples
fun main() {
//sampleStart
// Adds tags to a resource
val resp = rtbFabricClient.tagResource {
resourceArn = "arn:aws:rtbfabric:us-east-1:123456789012:gateway/rtb-gw-12345678"
tags = mapOf<String, String>(
"Environment" to "Production",
"Team" to "RTB"
)
}
//sampleEnd
}