tagResource
Adds or overwrites the tags on a resource.
Samples
// Tag a resource
val resp = endUserMessagingClient.tagResource {
resourceArn = "arn:aws:end-user-messaging:us-east-1:123456789012:brand-profile/bp-abc12345678901234"
tags = listOf<Tag>(
Tag {
key = "Environment"
value = "Production"
}
)
}Content copied to clipboard