aws_sdk_wellarchitected/client/
list_review_templates.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListReviewTemplates`](crate::operation::list_review_templates::builders::ListReviewTemplatesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_review_templates::builders::ListReviewTemplatesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_review_templates::builders::ListReviewTemplatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_review_templates::builders::ListReviewTemplatesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to use to retrieve the next set of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_review_templates::builders::ListReviewTemplatesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_review_templates::builders::ListReviewTemplatesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return for this request.</p><br>
    /// - On success, responds with [`ListReviewTemplatesOutput`](crate::operation::list_review_templates::ListReviewTemplatesOutput) with field(s):
    ///   - [`review_templates(Option<Vec::<ReviewTemplateSummary>>)`](crate::operation::list_review_templates::ListReviewTemplatesOutput::review_templates): <p>List of review templates.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_review_templates::ListReviewTemplatesOutput::next_token): <p>The token to use to retrieve the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListReviewTemplatesError>`](crate::operation::list_review_templates::ListReviewTemplatesError)
    pub fn list_review_templates(&self) -> crate::operation::list_review_templates::builders::ListReviewTemplatesFluentBuilder {
        crate::operation::list_review_templates::builders::ListReviewTemplatesFluentBuilder::new(self.handle.clone())
    }
}