aws_sdk_resourcegroups/client/
untag.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 [`Untag`](crate::operation::untag::builders::UntagFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::untag::builders::UntagFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::untag::builders::UntagFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon resource name (ARN) of the resource group from which to remove tags. The command removed both the specified keys and any values associated with those keys.</p><br>
7    ///   - [`keys(impl Into<String>)`](crate::operation::untag::builders::UntagFluentBuilder::keys) / [`set_keys(Option<Vec::<String>>)`](crate::operation::untag::builders::UntagFluentBuilder::set_keys):<br>required: **true**<br><p>The keys of the tags to be removed.</p><br>
8    /// - On success, responds with [`UntagOutput`](crate::operation::untag::UntagOutput) with field(s):
9    ///   - [`arn(Option<String>)`](crate::operation::untag::UntagOutput::arn): <p>The Amazon resource name (ARN) of the resource group from which tags have been removed.</p>
10    ///   - [`keys(Option<Vec::<String>>)`](crate::operation::untag::UntagOutput::keys): <p>The keys of the tags that were removed.</p>
11    /// - On failure, responds with [`SdkError<UntagError>`](crate::operation::untag::UntagError)
12    pub fn untag(&self) -> crate::operation::untag::builders::UntagFluentBuilder {
13        crate::operation::untag::builders::UntagFluentBuilder::new(self.handle.clone())
14    }
15}