aws_sdk_wellarchitected/client/
update_review_template.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateReviewTemplate`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`template_arn(impl Into<String>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::template_arn) / [`set_template_arn(Option<String>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::set_template_arn):<br>required: **true**<br><p>The review template ARN.</p><br>
    ///   - [`template_name(impl Into<String>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::set_template_name):<br>required: **false**<br><p>The review template name.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::set_description):<br>required: **false**<br><p>The review template description.</p><br>
    ///   - [`notes(impl Into<String>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::notes) / [`set_notes(Option<String>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::set_notes):<br>required: **false**<br><p>The notes associated with the workload.</p> <p>For a review template, these are the notes that will be associated with the workload when the template is applied.</p><br>
    ///   - [`lenses_to_associate(impl Into<String>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::lenses_to_associate) / [`set_lenses_to_associate(Option<Vec::<String>>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::set_lenses_to_associate):<br>required: **false**<br><p>A list of lens aliases or ARNs to apply to the review template.</p><br>
    ///   - [`lenses_to_disassociate(impl Into<String>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::lenses_to_disassociate) / [`set_lenses_to_disassociate(Option<Vec::<String>>)`](crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::set_lenses_to_disassociate):<br>required: **false**<br><p>A list of lens aliases or ARNs to unapply to the review template. The <code>wellarchitected</code> lens cannot be unapplied.</p><br>
    /// - On success, responds with [`UpdateReviewTemplateOutput`](crate::operation::update_review_template::UpdateReviewTemplateOutput) with field(s):
    ///   - [`review_template(Option<ReviewTemplate>)`](crate::operation::update_review_template::UpdateReviewTemplateOutput::review_template): <p>A review template.</p>
    /// - On failure, responds with [`SdkError<UpdateReviewTemplateError>`](crate::operation::update_review_template::UpdateReviewTemplateError)
    pub fn update_review_template(&self) -> crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder {
        crate::operation::update_review_template::builders::UpdateReviewTemplateFluentBuilder::new(self.handle.clone())
    }
}