// 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:
/// - [`instance_arn(impl Into<String>)`](crate::operation::tag_resource::builders::TagResourceFluentBuilder::instance_arn) / [`set_instance_arn(Option<String>)`](crate::operation::tag_resource::builders::TagResourceFluentBuilder::set_instance_arn):<br>required: **false**<br><p>The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see <a href="/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>
/// - [`resource_arn(impl Into<String>)`](crate::operation::tag_resource::builders::TagResourceFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::tag_resource::builders::TagResourceFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The ARN of the resource with the tags to be listed.</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>A set of key-value pairs that are used to manage the resource.</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())
}
}