listUserTags

Lists the tags that are attached to the specified IAM user. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Samples


fun main() { 
   //sampleStart 
   // The following example shows how to list the tags attached to a user.
val resp = iamClient.listUserTags {
    userName = "anika"
} 
   //sampleEnd
}