List Role Tags
iam_list_role_tags | R Documentation |
Lists the tags that are attached to the specified role¶
Description¶
Lists the tags that are attached to the specified role. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
Usage¶
iam_list_role_tags(RoleName, Marker, MaxItems)
Arguments¶
RoleName |
[required] The name of the IAM role for which you want to see the list of tags. 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 |
MaxItems |
Use this only when paginating results to indicate the maximum
number of items you want in the response. If additional items exist
beyond the maximum you specify, the If you do not include this parameter, the number of items defaults to
100. Note that IAM might return fewer results, even when there are more
results available. In that case, the |
Value¶
A list with the following syntax:
list(
Tags = list(
list(
Key = "string",
Value = "string"
)
),
IsTruncated = TRUE|FALSE,
Marker = "string"
)
Request syntax¶
svc$list_role_tags(
RoleName = "string",
Marker = "string",
MaxItems = 123
)
Examples¶
## Not run:
# The following example shows how to list the tags attached to a role.
svc$list_role_tags(
RoleName = "taggedrole1"
)
## End(Not run)