aws_sdk_wellarchitected/client/
list_review_template_answers.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListReviewTemplateAnswers`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`template_arn(impl Into<String>)`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::template_arn) / [`set_template_arn(Option<String>)`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::set_template_arn):<br>required: **true**<br><p>The ARN of the review template.</p><br>
    ///   - [`lens_alias(impl Into<String>)`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::lens_alias) / [`set_lens_alias(Option<String>)`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::set_lens_alias):<br>required: **true**<br><p>The alias of the lens.</p> <p>For Amazon Web Services official lenses, this is either the lens alias, such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1::lens/serverless</code>. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.</p> <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef</code>.</p> <p>Each lens is identified by its <code>LensSummary$LensAlias</code>.</p><br>
    ///   - [`pillar_id(impl Into<String>)`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::pillar_id) / [`set_pillar_id(Option<String>)`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::set_pillar_id):<br>required: **false**<br><p>The ID used to identify a pillar, for example, <code>security</code>.</p> <p>A pillar is identified by its <code>PillarReviewSummary$PillarId</code>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::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_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return for this request.</p><br>
    /// - On success, responds with [`ListReviewTemplateAnswersOutput`](crate::operation::list_review_template_answers::ListReviewTemplateAnswersOutput) with field(s):
    ///   - [`template_arn(Option<String>)`](crate::operation::list_review_template_answers::ListReviewTemplateAnswersOutput::template_arn): <p>The ARN of the review template.</p>
    ///   - [`lens_alias(Option<String>)`](crate::operation::list_review_template_answers::ListReviewTemplateAnswersOutput::lens_alias): <p>The alias of the lens.</p> <p>For Amazon Web Services official lenses, this is either the lens alias, such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1::lens/serverless</code>. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.</p> <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef</code>.</p> <p>Each lens is identified by its <code>LensSummary$LensAlias</code>.</p>
    ///   - [`answer_summaries(Option<Vec::<ReviewTemplateAnswerSummary>>)`](crate::operation::list_review_template_answers::ListReviewTemplateAnswersOutput::answer_summaries): <p>List of answer summaries of a lens review in a review template.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_review_template_answers::ListReviewTemplateAnswersOutput::next_token): <p>The token to use to retrieve the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListReviewTemplateAnswersError>`](crate::operation::list_review_template_answers::ListReviewTemplateAnswersError)
    pub fn list_review_template_answers(&self) -> crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder {
        crate::operation::list_review_template_answers::builders::ListReviewTemplateAnswersFluentBuilder::new(self.handle.clone())
    }
}