aws_sdk_dynamodb/client/
create_global_table.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 [`CreateGlobalTable`](crate::operation::create_global_table::builders::CreateGlobalTableFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`global_table_name(impl Into<String>)`](crate::operation::create_global_table::builders::CreateGlobalTableFluentBuilder::global_table_name) / [`set_global_table_name(Option<String>)`](crate::operation::create_global_table::builders::CreateGlobalTableFluentBuilder::set_global_table_name):<br>required: **true**<br><p>The global table name.</p><br>
7    ///   - [`replication_group(Replica)`](crate::operation::create_global_table::builders::CreateGlobalTableFluentBuilder::replication_group) / [`set_replication_group(Option<Vec::<Replica>>)`](crate::operation::create_global_table::builders::CreateGlobalTableFluentBuilder::set_replication_group):<br>required: **true**<br><p>The Regions where the global table needs to be created.</p><br>
8    /// - On success, responds with [`CreateGlobalTableOutput`](crate::operation::create_global_table::CreateGlobalTableOutput) with field(s):
9    ///   - [`global_table_description(Option<GlobalTableDescription>)`](crate::operation::create_global_table::CreateGlobalTableOutput::global_table_description): <p>Contains the details of the global table.</p>
10    /// - On failure, responds with [`SdkError<CreateGlobalTableError>`](crate::operation::create_global_table::CreateGlobalTableError)
11    pub fn create_global_table(&self) -> crate::operation::create_global_table::builders::CreateGlobalTableFluentBuilder {
12        crate::operation::create_global_table::builders::CreateGlobalTableFluentBuilder::new(self.handle.clone())
13    }
14}