// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`TagPolicy`](crate::operation::tag_policy::builders::TagPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`policy_arn(impl Into<String>)`](crate::operation::tag_policy::builders::TagPolicyFluentBuilder::policy_arn) / [`set_policy_arn(Option<String>)`](crate::operation::tag_policy::builders::TagPolicyFluentBuilder::set_policy_arn):<br>required: **true**<br><p>The ARN of the IAM customer managed policy to which you want to add tags.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
/// - [`tags(Tag)`](crate::operation::tag_policy::builders::TagPolicyFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::tag_policy::builders::TagPolicyFluentBuilder::set_tags):<br>required: **true**<br><p>The list of tags that you want to attach to the IAM customer managed policy. Each tag consists of a key name and an associated value.</p><br>
/// - On success, responds with [`TagPolicyOutput`](crate::operation::tag_policy::TagPolicyOutput)
/// - On failure, responds with [`SdkError<TagPolicyError>`](crate::operation::tag_policy::TagPolicyError)
pub fn tag_policy(&self) -> crate::operation::tag_policy::builders::TagPolicyFluentBuilder {
crate::operation::tag_policy::builders::TagPolicyFluentBuilder::new(self.handle.clone())
}
}