#[non_exhaustive]pub struct BatchExecuteStatementInput {
pub statements: Option<Vec<BatchStatementRequest>>,
pub return_consumed_capacity: Option<ReturnConsumedCapacity>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.statements: Option<Vec<BatchStatementRequest>>
The list of PartiQL statements representing the batch to run.
return_consumed_capacity: Option<ReturnConsumedCapacity>
Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response:
-
INDEXES
- The response includes the aggregateConsumedCapacity
for the operation, together withConsumedCapacity
for each table and secondary index that was accessed.Note that some operations, such as
GetItem
andBatchGetItem
, do not access any indexes at all. In these cases, specifyingINDEXES
will only returnConsumedCapacity
information for table(s). -
TOTAL
- The response includes only the aggregateConsumedCapacity
for the operation. -
NONE
- NoConsumedCapacity
details are included in the response.
Implementations§
source§impl BatchExecuteStatementInput
impl BatchExecuteStatementInput
sourcepub fn statements(&self) -> Option<&[BatchStatementRequest]>
pub fn statements(&self) -> Option<&[BatchStatementRequest]>
The list of PartiQL statements representing the batch to run.
sourcepub fn return_consumed_capacity(&self) -> Option<&ReturnConsumedCapacity>
pub fn return_consumed_capacity(&self) -> Option<&ReturnConsumedCapacity>
Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response:
-
INDEXES
- The response includes the aggregateConsumedCapacity
for the operation, together withConsumedCapacity
for each table and secondary index that was accessed.Note that some operations, such as
GetItem
andBatchGetItem
, do not access any indexes at all. In these cases, specifyingINDEXES
will only returnConsumedCapacity
information for table(s). -
TOTAL
- The response includes only the aggregateConsumedCapacity
for the operation. -
NONE
- NoConsumedCapacity
details are included in the response.
source§impl BatchExecuteStatementInput
impl BatchExecuteStatementInput
sourcepub fn builder() -> BatchExecuteStatementInputBuilder
pub fn builder() -> BatchExecuteStatementInputBuilder
Creates a new builder-style object to manufacture BatchExecuteStatementInput
.
Trait Implementations§
source§impl Clone for BatchExecuteStatementInput
impl Clone for BatchExecuteStatementInput
source§fn clone(&self) -> BatchExecuteStatementInput
fn clone(&self) -> BatchExecuteStatementInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchExecuteStatementInput
impl Debug for BatchExecuteStatementInput
source§impl PartialEq<BatchExecuteStatementInput> for BatchExecuteStatementInput
impl PartialEq<BatchExecuteStatementInput> for BatchExecuteStatementInput
source§fn eq(&self, other: &BatchExecuteStatementInput) -> bool
fn eq(&self, other: &BatchExecuteStatementInput) -> bool
self
and other
values to be equal, and is used
by ==
.