pub struct CreateTableInput {
pub table_name: String,
pub key_schema: Vec<KeySchemaElement>,
pub attribute_definitions: Vec<AttributeDefinition>,
pub billing_mode: Option<BillingMode>,
pub provisioned_throughput: Option<ProvisionedThroughput>,
pub global_secondary_indexes: Vec<GlobalSecondaryIndex>,
pub local_secondary_indexes: Vec<LocalSecondaryIndex>,
pub stream_specification: Option<StreamSpecification>,
pub sse_specification: Option<SSESpecification>,
pub tags: Vec<Tag>,
}Expand description
Input for the CreateTable operation.
Fields§
§table_name: StringThe name of the table to create.
key_schema: Vec<KeySchemaElement>The key schema for the table (partition key and optional sort key).
attribute_definitions: Vec<AttributeDefinition>The attribute definitions for the key schema and index key attributes.
billing_mode: Option<BillingMode>The billing mode for the table (PROVISIONED or PAY_PER_REQUEST).
provisioned_throughput: Option<ProvisionedThroughput>The provisioned throughput settings (required when billing mode is PROVISIONED).
global_secondary_indexes: Vec<GlobalSecondaryIndex>Global secondary indexes to create on the table.
local_secondary_indexes: Vec<LocalSecondaryIndex>Local secondary indexes to create on the table.
stream_specification: Option<StreamSpecification>The stream specification for the table.
sse_specification: Option<SSESpecification>The server-side encryption specification.
Tags to associate with the table.
Trait Implementations§
Source§impl Clone for CreateTableInput
impl Clone for CreateTableInput
Source§fn clone(&self) -> CreateTableInput
fn clone(&self) -> CreateTableInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateTableInput
impl Debug for CreateTableInput
Source§impl Default for CreateTableInput
impl Default for CreateTableInput
Source§fn default() -> CreateTableInput
fn default() -> CreateTableInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTableInput
impl<'de> Deserialize<'de> for CreateTableInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateTableInput
impl RefUnwindSafe for CreateTableInput
impl Send for CreateTableInput
impl Sync for CreateTableInput
impl Unpin for CreateTableInput
impl UnsafeUnpin for CreateTableInput
impl UnwindSafe for CreateTableInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more