Struct aws_sdk_dynamodb::input::BatchExecuteStatementInput
source · [−]#[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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchExecuteStatement, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchExecuteStatement, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<BatchExecuteStatement
>
Creates a new builder-style object to manufacture BatchExecuteStatementInput
The list of PartiQL statements representing the batch to run.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BatchExecuteStatementInput
impl Send for BatchExecuteStatementInput
impl Sync for BatchExecuteStatementInput
impl Unpin for BatchExecuteStatementInput
impl UnwindSafe for BatchExecuteStatementInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more