tagResource
Tags an Amazon FSx resource.
Samples
import aws.sdk.kotlin.services.fsx.model.Tag
fun main() {
//sampleStart
// This operation tags an Amazon FSx resource.
fSxClient.tagResource {
resourceArn = "arn:aws:fsx:us-east-1:012345678912:file-system/fs-0498eed5fe91001ec"
tags = listOf<Tag>(
Tag {
key = "Name"
value = "MyFileSystem"
}
)
}
//sampleEnd
}