Struct aws_sdk_dynamodb::input::ExecuteStatementInput
source · [−]#[non_exhaustive]pub struct ExecuteStatementInput {
pub statement: Option<String>,
pub parameters: Option<Vec<AttributeValue>>,
pub consistent_read: Option<bool>,
pub next_token: Option<String>,
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.statement: Option<String>
The PartiQL statement representing the operation to run.
parameters: Option<Vec<AttributeValue>>
The parameters for the PartiQL statement, if any.
consistent_read: Option<bool>
The consistency of a read operation. If set to true
, then a strongly consistent read is used; otherwise, an eventually consistent read is used.
next_token: Option<String>
Set this value to get remaining results, if NextToken
was returned in the statement response.
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<ExecuteStatement, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExecuteStatement, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ExecuteStatement
>
Creates a new builder-style object to manufacture ExecuteStatementInput
The PartiQL statement representing the operation to run.
The parameters for the PartiQL statement, if any.
The consistency of a read operation. If set to true
, then a strongly consistent read is used; otherwise, an eventually consistent read is used.
Set this value to get remaining results, if NextToken
was returned in the statement response.
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 ExecuteStatementInput
impl Send for ExecuteStatementInput
impl Sync for ExecuteStatementInput
impl Unpin for ExecuteStatementInput
impl UnwindSafe for ExecuteStatementInput
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