pub struct CreateTableRequest {Show 13 fields
pub table_name: String,
pub key_schema: Vec<KeySchemaElement>,
pub attribute_definitions: Vec<AttributeDefinition>,
pub global_secondary_indexes: Option<Vec<GlobalSecondaryIndex>>,
pub local_secondary_indexes: Option<Vec<LocalSecondaryIndex>>,
pub billing_mode: Option<String>,
pub provisioned_throughput: Option<ProvisionedThroughput>,
pub stream_specification: Option<StreamSpecification>,
pub sse_specification: Option<SseSpecification>,
pub table_class: Option<String>,
pub tags: Option<Vec<Tag>>,
pub deletion_protection_enabled: Option<bool>,
pub on_demand_throughput: Option<OnDemandThroughput>,
}Expand description
Public request type — fully validated, typed fields. Can be constructed directly (programmatic use) or deserialized from JSON.
Fields§
§table_name: String§key_schema: Vec<KeySchemaElement>§attribute_definitions: Vec<AttributeDefinition>§global_secondary_indexes: Option<Vec<GlobalSecondaryIndex>>§local_secondary_indexes: Option<Vec<LocalSecondaryIndex>>§billing_mode: Option<String>§provisioned_throughput: Option<ProvisionedThroughput>§stream_specification: Option<StreamSpecification>§sse_specification: Option<SseSpecification>§table_class: Option<String>§deletion_protection_enabled: Option<bool>§on_demand_throughput: Option<OnDemandThroughput>Trait Implementations§
Source§impl Debug for CreateTableRequest
impl Debug for CreateTableRequest
Source§impl Default for CreateTableRequest
impl Default for CreateTableRequest
Source§fn default() -> CreateTableRequest
fn default() -> CreateTableRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTableRequest
Custom Deserialize that does loose JSON parsing first, validates, then builds typed fields.
Validation errors use “VALIDATION:” prefix so server.rs converts them to ValidationException.
impl<'de> Deserialize<'de> for CreateTableRequest
Custom Deserialize that does loose JSON parsing first, validates, then builds typed fields. Validation errors use “VALIDATION:” prefix so server.rs converts them to ValidationException.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateTableRequest
impl RefUnwindSafe for CreateTableRequest
impl Send for CreateTableRequest
impl Sync for CreateTableRequest
impl Unpin for CreateTableRequest
impl UnsafeUnpin for CreateTableRequest
impl UnwindSafe for CreateTableRequest
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