aws-sdk-networkflowmonitor 1.52.0

AWS SDK for Network Flow Monitor
Documentation
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 [`ListScopes`](crate::operation::list_scopes::builders::ListScopesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_scopes::builders::ListScopesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_scopes::builders::ListScopesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_scopes::builders::ListScopesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. You receive this token from a previous call.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_scopes::builders::ListScopesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_scopes::builders::ListScopesFluentBuilder::set_max_results):<br>required: **false**<br><p>The number of query results that you want to return with this call.</p><br>
    /// - On success, responds with [`ListScopesOutput`](crate::operation::list_scopes::ListScopesOutput) with field(s):
    ///   - [`scopes(Vec::<ScopeSummary>)`](crate::operation::list_scopes::ListScopesOutput::scopes): <p>The scopes returned by the call.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_scopes::ListScopesOutput::next_token): <p>The token for the next set of results. You receive this token from a previous call.</p>
    /// - On failure, responds with [`SdkError<ListScopesError>`](crate::operation::list_scopes::ListScopesError)
    pub fn list_scopes(&self) -> crate::operation::list_scopes::builders::ListScopesFluentBuilder {
        crate::operation::list_scopes::builders::ListScopesFluentBuilder::new(self.handle.clone())
    }
}