aws_sdk_wellarchitected/client/create_review_template.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateReviewTemplate`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`template_name(impl Into<String>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::set_template_name):<br>required: **true**<br><p>Name of the review template.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::set_description):<br>required: **true**<br><p>The review template description.</p><br>
/// - [`lenses(impl Into<String>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::lenses) / [`set_lenses(Option<Vec::<String>>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::set_lenses):<br>required: **true**<br><p>Lenses applied to the review template.</p><br>
/// - [`notes(impl Into<String>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::notes) / [`set_notes(Option<String>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::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>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::set_tags):<br>required: **false**<br><p>The tags assigned to the review template.</p><br>
/// - [`client_request_token(impl Into<String>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::set_client_request_token):<br>required: **true**<br><p>A unique case-sensitive string used to ensure that this request is idempotent (executes only once).</p> <p>You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.</p><important> <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.</p> </important><br>
/// - On success, responds with [`CreateReviewTemplateOutput`](crate::operation::create_review_template::CreateReviewTemplateOutput) with field(s):
/// - [`template_arn(Option<String>)`](crate::operation::create_review_template::CreateReviewTemplateOutput::template_arn): <p>The review template ARN.</p>
/// - On failure, responds with [`SdkError<CreateReviewTemplateError>`](crate::operation::create_review_template::CreateReviewTemplateError)
pub fn create_review_template(&self) -> crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder {
crate::operation::create_review_template::builders::CreateReviewTemplateFluentBuilder::new(self.handle.clone())
}
}