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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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 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: =,.@-

Returns:

  • (String)


11594
11595
11596
11597
11598
11599
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11594

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>)


11594
11595
11596
11597
11598
11599
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11594

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