Class: Aws::IAM::Types::AddUserToGroupRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::AddUserToGroupRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
Note:
When making an API call, you may pass AddUserToGroupRequest data as a hash:
{
group_name: "groupNameType", # required
user_name: "existingUserNameType", # required
}
Instance Attribute Summary collapse
-
#group_name ⇒ String
The name of the group to update.
-
#user_name ⇒ String
The name of the user to add.
Instance Attribute Details
#group_name ⇒ String
The name of the group to update.
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: _+=,.@-
345 346 347 348 349 |
# File 'lib/aws-sdk-iam/types.rb', line 345 class AddUserToGroupRequest < Struct.new( :group_name, :user_name) include Aws::Structure end |
#user_name ⇒ String
The name of the user to add.
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: _+=,.@-
345 346 347 348 349 |
# File 'lib/aws-sdk-iam/types.rb', line 345 class AddUserToGroupRequest < Struct.new( :group_name, :user_name) include Aws::Structure end |