iam_untag_role: Removes the specified tags from the role

Description Usage Arguments Request syntax Examples

View source: R/iam_operations.R

Description

Removes the specified tags from the role. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

Usage

1
iam_untag_role(RoleName, TagKeys)

Arguments

RoleName

[required] The name of the IAM role from which you want to remove 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: \_+=,[email protected]

TagKeys

[required] A list of key names as a simple array of strings. The tags with matching keys are removed from the specified role.

Request syntax

1
2
3
4
5
6
svc$untag_role(
  RoleName = "string",
  TagKeys = list(
    "string"
  )
)

Examples

1
2
3
4
5
6
7
8
# The following example shows how to remove a tag with the key 'Dept' from
# a role named 'taggedrole'.
svc$untag_role(
  RoleName = "taggedrole",
  TagKeys = list(
    "Dept"
  )
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.