aws_sdk_controltower/client/
list_baselines.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 [`ListBaselines`](crate::operation::list_baselines::builders::ListBaselinesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_baselines::builders::ListBaselinesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_baselines::builders::ListBaselinesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_baselines::builders::ListBaselinesFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_baselines::builders::ListBaselinesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_baselines::builders::ListBaselinesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be shown.</p><br>
    /// - On success, responds with [`ListBaselinesOutput`](crate::operation::list_baselines::ListBaselinesOutput) with field(s):
    ///   - [`baselines(Vec::<BaselineSummary>)`](crate::operation::list_baselines::ListBaselinesOutput::baselines): <p>A list of <code>Baseline</code> object details.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_baselines::ListBaselinesOutput::next_token): <p>A pagination token.</p>
    /// - On failure, responds with [`SdkError<ListBaselinesError>`](crate::operation::list_baselines::ListBaselinesError)
    pub fn list_baselines(&self) -> crate::operation::list_baselines::builders::ListBaselinesFluentBuilder {
        crate::operation::list_baselines::builders::ListBaselinesFluentBuilder::new(self.handle.clone())
    }
}