// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`TagResource`](crate::operation::tag_resource::builders::TagResourceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::tag_resource::builders::TagResourceFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::tag_resource::builders::TagResourceFluentBuilder::set_arn):<br>required: **true**<br><p>An Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a server, user, or role.</p><br>
/// - [`tags(Tag)`](crate::operation::tag_resource::builders::TagResourceFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::tag_resource::builders::TagResourceFluentBuilder::set_tags):<br>required: **true**<br><p>Key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (servers, users, workflows, and so on) for any purpose.</p><br>
/// - On success, responds with [`TagResourceOutput`](crate::operation::tag_resource::TagResourceOutput)
/// - On failure, responds with [`SdkError<TagResourceError>`](crate::operation::tag_resource::TagResourceError)
pub fn tag_resource(&self) -> crate::operation::tag_resource::builders::TagResourceFluentBuilder {
crate::operation::tag_resource::builders::TagResourceFluentBuilder::new(self.handle.clone())
}
}