aws-sdk-resourcegroupstagging 1.101.0

AWS SDK for AWS Resource Groups Tagging API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UntagResources`](crate::operation::untag_resources::builders::UntagResourcesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_arn_list(impl Into<String>)`](crate::operation::untag_resources::builders::UntagResourcesFluentBuilder::resource_arn_list) / [`set_resource_arn_list(Option<Vec::<String>>)`](crate::operation::untag_resources::builders::UntagResourcesFluentBuilder::set_resource_arn_list):<br>required: **true**<br><p>Specifies a list of ARNs of the resources that you want to remove tags from.</p> <p>An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces</a> in the <i>Amazon Web Services General Reference</i>.</p><br>
    ///   - [`tag_keys(impl Into<String>)`](crate::operation::untag_resources::builders::UntagResourcesFluentBuilder::tag_keys) / [`set_tag_keys(Option<Vec::<String>>)`](crate::operation::untag_resources::builders::UntagResourcesFluentBuilder::set_tag_keys):<br>required: **true**<br><p>Specifies a list of tag keys that you want to remove from the specified resources.</p><br>
    /// - On success, responds with [`UntagResourcesOutput`](crate::operation::untag_resources::UntagResourcesOutput) with field(s):
    ///   - [`failed_resources_map(Option<HashMap::<String, FailureInfo>>)`](crate::operation::untag_resources::UntagResourcesOutput::failed_resources_map): <p>A map containing a key-value pair for each failed item that couldn't be untagged. The key is the ARN of the failed resource. The value is a <code>FailureInfo</code> object that contains an error code, a status code, and an error message. If there are no errors, the <code>FailedResourcesMap</code> is empty.</p>
    /// - On failure, responds with [`SdkError<UntagResourcesError>`](crate::operation::untag_resources::UntagResourcesError)
    pub fn untag_resources(&self) -> crate::operation::untag_resources::builders::UntagResourcesFluentBuilder {
        crate::operation::untag_resources::builders::UntagResourcesFluentBuilder::new(self.handle.clone())
    }
}