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 [`ListTables`](crate::operation::list_tables::builders::ListTablesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_tables::builders::ListTablesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`exclusive_start_table_name(impl Into<String>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::exclusive_start_table_name) / [`set_exclusive_start_table_name(Option<String>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::set_exclusive_start_table_name):<br>required: **false**<br><p>The first table name that this operation will evaluate. Use the value that was returned for <code>LastEvaluatedTableName</code> in a previous operation, so that you can obtain the next page of results.</p><br>
    ///   - [`limit(i32)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::set_limit):<br>required: **false**<br><p>A maximum number of table names to return. If this parameter is not specified, the limit is 100.</p><br>
    /// - On success, responds with [`ListTablesOutput`](crate::operation::list_tables::ListTablesOutput) with field(s):
    ///   - [`table_names(Option<Vec::<String>>)`](crate::operation::list_tables::ListTablesOutput::table_names): <p>The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.</p> <p>If <code>LastEvaluatedTableName</code> also appears in the output, you can use this value as the <code>ExclusiveStartTableName</code> parameter in a subsequent <code>ListTables</code> request and obtain the next page of results.</p>
    ///   - [`last_evaluated_table_name(Option<String>)`](crate::operation::list_tables::ListTablesOutput::last_evaluated_table_name): <p>The name of the last table in the current page of results. Use this value as the <code>ExclusiveStartTableName</code> in a new request to obtain the next page of results, until all the table names are returned.</p> <p>If you do not receive a <code>LastEvaluatedTableName</code> value in the response, this means that there are no more table names to be retrieved.</p>
    /// - On failure, responds with [`SdkError<ListTablesError>`](crate::operation::list_tables::ListTablesError)
    pub fn list_tables(&self) -> crate::operation::list_tables::builders::ListTablesFluentBuilder {
        crate::operation::list_tables::builders::ListTablesFluentBuilder::new(self.handle.clone())
    }
}