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 [`ChangeTagsForResource`](crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_type(TagResourceType)`](crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder::resource_type) / [`set_resource_type(Option<TagResourceType>)`](crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder::set_resource_type):<br>required: **true**<br><p>The type of the resource.</p> <ul>  <li>   <p>The resource type for health checks is <code>healthcheck</code>.</p></li>  <li>   <p>The resource type for hosted zones is <code>hostedzone</code>.</p></li> </ul><br>
    ///   - [`resource_id(impl Into<String>)`](crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder::set_resource_id):<br>required: **true**<br><p>The ID of the resource for which you want to add, change, or delete tags.</p><br>
    ///   - [`add_tags(Tag)`](crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder::add_tags) / [`set_add_tags(Option<Vec::<Tag>>)`](crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder::set_add_tags):<br>required: **false**<br><p>A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit <code>Value</code> for.</p> <p>You can add a maximum of 10 tags to a health check or a hosted zone.</p><br>
    ///   - [`remove_tag_keys(impl Into<String>)`](crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder::remove_tag_keys) / [`set_remove_tag_keys(Option<Vec::<String>>)`](crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder::set_remove_tag_keys):<br>required: **false**<br><p>A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.</p><br>
    /// - On success, responds with [`ChangeTagsForResourceOutput`](crate::operation::change_tags_for_resource::ChangeTagsForResourceOutput)
    /// - On failure, responds with [`SdkError<ChangeTagsForResourceError>`](crate::operation::change_tags_for_resource::ChangeTagsForResourceError)
    pub fn change_tags_for_resource(&self) -> crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder {
        crate::operation::change_tags_for_resource::builders::ChangeTagsForResourceFluentBuilder::new(self.handle.clone())
    }
}