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 [`UntagRole`](crate::operation::untag_role::builders::UntagRoleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`role_name(impl Into<String>)`](crate::operation::untag_role::builders::UntagRoleFluentBuilder::role_name) / [`set_role_name(Option<String>)`](crate::operation::untag_role::builders::UntagRoleFluentBuilder::set_role_name):<br>required: **true**<br><p>The name of the IAM role from which you want to remove tags.</p> <p>This parameter accepts (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
    ///   - [`tag_keys(impl Into<String>)`](crate::operation::untag_role::builders::UntagRoleFluentBuilder::tag_keys) / [`set_tag_keys(Option<Vec::<String>>)`](crate::operation::untag_role::builders::UntagRoleFluentBuilder::set_tag_keys):<br>required: **true**<br><p>A list of key names as a simple array of strings. The tags with matching keys are removed from the specified role.</p><br>
    /// - On success, responds with [`UntagRoleOutput`](crate::operation::untag_role::UntagRoleOutput)
    /// - On failure, responds with [`SdkError<UntagRoleError>`](crate::operation::untag_role::UntagRoleError)
    pub fn untag_role(&self) -> crate::operation::untag_role::builders::UntagRoleFluentBuilder {
        crate::operation::untag_role::builders::UntagRoleFluentBuilder::new(self.handle.clone())
    }
}