aws_sdk_trustedadvisor/client/
list_checks.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListChecks`](crate::operation::list_checks::builders::ListChecksFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_checks::builders::ListChecksFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
    ///   - [`pillar(RecommendationPillar)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::pillar) / [`set_pillar(Option<RecommendationPillar>)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::set_pillar):<br>required: **false**<br><p>The pillar of the check</p><br>
    ///   - [`aws_service(impl Into<String>)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::aws_service) / [`set_aws_service(Option<String>)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::set_aws_service):<br>required: **false**<br><p>The aws service associated with the check</p><br>
    ///   - [`source(RecommendationSource)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::source) / [`set_source(Option<RecommendationSource>)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::set_source):<br>required: **false**<br><p>The source of the check</p><br>
    ///   - [`language(RecommendationLanguage)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::language) / [`set_language(Option<RecommendationLanguage>)`](crate::operation::list_checks::builders::ListChecksFluentBuilder::set_language):<br>required: **false**<br><p>The ISO 639-1 code for the language that you want your checks to appear in.</p><br>
    /// - On success, responds with [`ListChecksOutput`](crate::operation::list_checks::ListChecksOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_checks::ListChecksOutput::next_token): <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
    ///   - [`check_summaries(Vec::<CheckSummary>)`](crate::operation::list_checks::ListChecksOutput::check_summaries): <p>The list of Checks</p>
    /// - On failure, responds with [`SdkError<ListChecksError>`](crate::operation::list_checks::ListChecksError)
    pub fn list_checks(&self) -> crate::operation::list_checks::builders::ListChecksFluentBuilder {
        crate::operation::list_checks::builders::ListChecksFluentBuilder::new(self.handle.clone())
    }
}