aws-sdk-iam 1.109.0

AWS SDK for AWS Identity and Access Management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`TagUser`](crate::operation::tag_user::builders::TagUserFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`user_name(impl Into<String>)`](crate::operation::tag_user::builders::TagUserFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::tag_user::builders::TagUserFluentBuilder::set_user_name):<br>required: **true**<br><p>The name of the IAM user to which you want to add tags.</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>
    ///   - [`tags(Tag)`](crate::operation::tag_user::builders::TagUserFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::tag_user::builders::TagUserFluentBuilder::set_tags):<br>required: **true**<br><p>The list of tags that you want to attach to the IAM user. Each tag consists of a key name and an associated value.</p><br>
    /// - On success, responds with [`TagUserOutput`](crate::operation::tag_user::TagUserOutput)
    /// - On failure, responds with [`SdkError<TagUserError>`](crate::operation::tag_user::TagUserError)
    pub fn tag_user(&self) -> crate::operation::tag_user::builders::TagUserFluentBuilder {
        crate::operation::tag_user::builders::TagUserFluentBuilder::new(self.handle.clone())
    }
}