Class: Aws::IAM::Types::TagUserRequest

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 TagUserRequest data as a hash:

{
  user_name: "existingUserNameType", # required
  tags: [ # required
    {
      key: "tagKeyType", # required
      value: "tagValueType", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#tagsArray<Types::Tag>

The list of tags that you want to attach to the IAM user. Each tag consists of a key name and an associated value.

Returns:


11419
11420
11421
11422
11423
11424
# File 'lib/aws-sdk-iam/types.rb', line 11419

class TagUserRequest < Struct.new(
  :user_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#user_nameString

The name of the IAM user to which you want to add 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)

11419
11420
11421
11422
11423
11424
# File 'lib/aws-sdk-iam/types.rb', line 11419

class TagUserRequest < Struct.new(
  :user_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end