paws.security.identity (version 0.1.0)

iam_list_user_tags: Lists the tags that are attached to the specified user

Description

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

Usage

iam_list_user_tags(UserName, Marker, MaxItems)

Arguments

UserName

[required] The name of the IAM user whose tags you want to see.

This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

Marker

Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response to indicate where the next call should start.

MaxItems

(Optional) Use this only when paginating results to indicate the maximum number of items that you want in the response. If additional items exist beyond the maximum that you specify, the IsTruncated response element is true.

If you do not include this parameter, it defaults to 100. Note that IAM might return fewer results, even when more results are available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.

Request syntax

svc$list_user_tags(
  UserName = "string",
  Marker = "string",
  MaxItems = 123
)

Examples

Run this code
# NOT RUN {
# The following example shows how to list the tags attached to a user.
# }
# NOT RUN {
svc$list_user_tags(
  UserName = "anika"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace