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 [`ListGraphs`](crate::operation::list_graphs::builders::ListGraphsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_graphs::builders::ListGraphsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_graphs::builders::ListGraphsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_graphs::builders::ListGraphsFluentBuilder::set_next_token):<br>required: **false**<br><p>Pagination token used to paginate output.</p> <p>When this value is provided as input, the service returns results from where the previous response left off. When this value is present in output, it indicates that there are more results to retrieve.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_graphs::builders::ListGraphsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_graphs::builders::ListGraphsFluentBuilder::set_max_results):<br>required: **false**<br><p>The total number of records to return in the command's output.</p> <p>If the total number of records available is more than the value specified, <code>nextToken</code> is provided in the command's output. To resume pagination, provide the <code>nextToken</code> output value in the <code>nextToken</code> argument of a subsequent command. Do not use the <code>nextToken</code> response element directly outside of the Amazon CLI.</p><br>
    /// - On success, responds with [`ListGraphsOutput`](crate::operation::list_graphs::ListGraphsOutput) with field(s):
    ///   - [`graphs(Vec::<GraphSummary>)`](crate::operation::list_graphs::ListGraphsOutput::graphs): <p>A list of the graphs.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_graphs::ListGraphsOutput::next_token): <p>Pagination token used to paginate output.</p> <p>When this value is provided as input, the service returns results from where the previous response left off. When this value is present in output, it indicates that there are more results to retrieve.</p>
    /// - On failure, responds with [`SdkError<ListGraphsError>`](crate::operation::list_graphs::ListGraphsError)
    pub fn list_graphs(&self) -> crate::operation::list_graphs::builders::ListGraphsFluentBuilder {
        crate::operation::list_graphs::builders::ListGraphsFluentBuilder::new(self.handle.clone())
    }
}