aws_sdk_s3tables/client/
list_tables.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListTables`](crate::operation::list_tables::builders::ListTablesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_tables::builders::ListTablesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`table_bucket_arn(impl Into<String>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::table_bucket_arn) / [`set_table_bucket_arn(Option<String>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::set_table_bucket_arn):<br>required: **true**<br><p>The Amazon resource Name (ARN) of the table bucket.</p><br>
8    ///   - [`namespace(impl Into<String>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::set_namespace):<br>required: **false**<br><p>The namespace of the tables.</p><br>
9    ///   - [`prefix(impl Into<String>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::prefix) / [`set_prefix(Option<String>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::set_prefix):<br>required: **false**<br><p>The prefix of the tables.</p><br>
10    ///   - [`continuation_token(impl Into<String>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::continuation_token) / [`set_continuation_token(Option<String>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::set_continuation_token):<br>required: **false**<br><p><code>ContinuationToken</code> indicates to Amazon S3 that the list is being continued on this bucket with a token. <code>ContinuationToken</code> is obfuscated and is not a real key. You can use this <code>ContinuationToken</code> for pagination of the list results.</p><br>
11    ///   - [`max_tables(i32)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::max_tables) / [`set_max_tables(Option<i32>)`](crate::operation::list_tables::builders::ListTablesFluentBuilder::set_max_tables):<br>required: **false**<br><p>The maximum number of tables to return.</p><br>
12    /// - On success, responds with [`ListTablesOutput`](crate::operation::list_tables::ListTablesOutput) with field(s):
13    ///   - [`tables(Vec::<TableSummary>)`](crate::operation::list_tables::ListTablesOutput::tables): <p>A list of tables.</p>
14    ///   - [`continuation_token(Option<String>)`](crate::operation::list_tables::ListTablesOutput::continuation_token): <p>You can use this <code>ContinuationToken</code> for pagination of the list results.</p>
15    /// - On failure, responds with [`SdkError<ListTablesError>`](crate::operation::list_tables::ListTablesError)
16    pub fn list_tables(&self) -> crate::operation::list_tables::builders::ListTablesFluentBuilder {
17        crate::operation::list_tables::builders::ListTablesFluentBuilder::new(self.handle.clone())
18    }
19}