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 [`ListGlobalTables`](crate::operation::list_global_tables::builders::ListGlobalTablesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`exclusive_start_global_table_name(impl Into<String>)`](crate::operation::list_global_tables::builders::ListGlobalTablesFluentBuilder::exclusive_start_global_table_name) / [`set_exclusive_start_global_table_name(Option<String>)`](crate::operation::list_global_tables::builders::ListGlobalTablesFluentBuilder::set_exclusive_start_global_table_name):<br>required: **false**<br><p>The first global table name that this operation will evaluate.</p><br>
    ///   - [`limit(i32)`](crate::operation::list_global_tables::builders::ListGlobalTablesFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_global_tables::builders::ListGlobalTablesFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of table names to return, if the parameter is not specified DynamoDB defaults to 100.</p> <p>If the number of global tables DynamoDB finds reaches this limit, it stops the operation and returns the table names collected up to that point, with a table name in the <code>LastEvaluatedGlobalTableName</code> to apply in a subsequent operation to the <code>ExclusiveStartGlobalTableName</code> parameter.</p><br>
    ///   - [`region_name(impl Into<String>)`](crate::operation::list_global_tables::builders::ListGlobalTablesFluentBuilder::region_name) / [`set_region_name(Option<String>)`](crate::operation::list_global_tables::builders::ListGlobalTablesFluentBuilder::set_region_name):<br>required: **false**<br><p>Lists the global tables in a specific Region.</p><br>
    /// - On success, responds with [`ListGlobalTablesOutput`](crate::operation::list_global_tables::ListGlobalTablesOutput) with field(s):
    ///   - [`global_tables(Option<Vec::<GlobalTable>>)`](crate::operation::list_global_tables::ListGlobalTablesOutput::global_tables): <p>List of global table names.</p>
    ///   - [`last_evaluated_global_table_name(Option<String>)`](crate::operation::list_global_tables::ListGlobalTablesOutput::last_evaluated_global_table_name): <p>Last evaluated global table name.</p>
    /// - On failure, responds with [`SdkError<ListGlobalTablesError>`](crate::operation::list_global_tables::ListGlobalTablesError)
    pub fn list_global_tables(&self) -> crate::operation::list_global_tables::builders::ListGlobalTablesFluentBuilder {
        crate::operation::list_global_tables::builders::ListGlobalTablesFluentBuilder::new(self.handle.clone())
    }
}