Class: Aws::IAM::Types::UntagPolicyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

Overview

Note:

When making an API call, you may pass UntagPolicyRequest data as a hash:

{
  policy_arn: "arnType", # required
  tag_keys: ["tagKeyType"], # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

The ARN of the IAM customer managed policy from which you want to remove tags.

This parameter allows (through its [regex pattern]) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,[email protected]

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)

11663
11664
11665
11666
11667
11668
# File 'lib/aws-sdk-iam/types.rb', line 11663

class UntagPolicyRequest < Struct.new(
  :policy_arn,
  :tag_keys)
  SENSITIVE = []
  include Aws::Structure
end

#tag_keysArray<String>

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

Returns:

  • (Array<String>)

11663
11664
11665
11666
11667
11668
# File 'lib/aws-sdk-iam/types.rb', line 11663

class UntagPolicyRequest < Struct.new(
  :policy_arn,
  :tag_keys)
  SENSITIVE = []
  include Aws::Structure
end