aws_sdk_iam/client/
add_user_to_group.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`AddUserToGroup`](crate::operation::add_user_to_group::builders::AddUserToGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`group_name(impl Into<String>)`](crate::operation::add_user_to_group::builders::AddUserToGroupFluentBuilder::group_name) / [`set_group_name(Option<String>)`](crate::operation::add_user_to_group::builders::AddUserToGroupFluentBuilder::set_group_name):<br>required: **true**<br><p>The name of the group to update.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
7    ///   - [`user_name(impl Into<String>)`](crate::operation::add_user_to_group::builders::AddUserToGroupFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::add_user_to_group::builders::AddUserToGroupFluentBuilder::set_user_name):<br>required: **true**<br><p>The name of the user to add.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
8    /// - On success, responds with [`AddUserToGroupOutput`](crate::operation::add_user_to_group::AddUserToGroupOutput)
9    /// - On failure, responds with [`SdkError<AddUserToGroupError>`](crate::operation::add_user_to_group::AddUserToGroupError)
10    pub fn add_user_to_group(&self) -> crate::operation::add_user_to_group::builders::AddUserToGroupFluentBuilder {
11        crate::operation::add_user_to_group::builders::AddUserToGroupFluentBuilder::new(self.handle.clone())
12    }
13}