1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`Tag`](crate::operation::tag::builders::TagFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`arn(impl ::std::convert::Into<String>)`](crate::operation::tag::builders::TagFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::tag::builders::TagFluentBuilder::set_arn): <p>The ARN of the resource group to which to add tags.</p>
    ///   - [`tags(HashMap<String, String>)`](crate::operation::tag::builders::TagFluentBuilder::tags) / [`set_tags(Option<HashMap<String, String>>)`](crate::operation::tag::builders::TagFluentBuilder::set_tags): <p>The tags to add to the specified resource group. A tag is a string-to-string map of key-value pairs.</p>
    /// - On success, responds with [`TagOutput`](crate::operation::tag::TagOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::tag::TagOutput::arn): <p>The ARN of the tagged resource.</p>
    ///   - [`tags(Option<HashMap<String, String>>)`](crate::operation::tag::TagOutput::tags): <p>The tags that have been added to the specified resource group.</p>
    /// - On failure, responds with [`SdkError<TagError>`](crate::operation::tag::TagError)
    pub fn tag(&self) -> crate::operation::tag::builders::TagFluentBuilder {
        crate::operation::tag::builders::TagFluentBuilder::new(self.handle.clone())
    }
}