Struct aws_sdk_dynamodb::input::ExecuteStatementInput
source · #[non_exhaustive]pub struct ExecuteStatementInput { /* private fields */ }
Implementations§
source§impl ExecuteStatementInput
impl ExecuteStatementInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExecuteStatement, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExecuteStatement, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ExecuteStatement
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExecuteStatementInput
.
source§impl ExecuteStatementInput
impl ExecuteStatementInput
sourcepub fn statement(&self) -> Option<&str>
pub fn statement(&self) -> Option<&str>
The PartiQL statement representing the operation to run.
sourcepub fn parameters(&self) -> Option<&[AttributeValue]>
pub fn parameters(&self) -> Option<&[AttributeValue]>
The parameters for the PartiQL statement, if any.
sourcepub fn consistent_read(&self) -> Option<bool>
pub fn consistent_read(&self) -> 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.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Set this value to get remaining results, if NextToken
was returned in the statement response.
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.
sourcepub fn limit(&self) -> Option<i32>
pub fn limit(&self) -> Option<i32>
The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, along with a key in LastEvaluatedKey
to apply in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in LastEvaluatedKey
to apply in a subsequent operation to continue the operation.
Trait Implementations§
source§impl Clone for ExecuteStatementInput
impl Clone for ExecuteStatementInput
source§fn clone(&self) -> ExecuteStatementInput
fn clone(&self) -> ExecuteStatementInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecuteStatementInput
impl Debug for ExecuteStatementInput
source§impl PartialEq<ExecuteStatementInput> for ExecuteStatementInput
impl PartialEq<ExecuteStatementInput> for ExecuteStatementInput
source§fn eq(&self, other: &ExecuteStatementInput) -> bool
fn eq(&self, other: &ExecuteStatementInput) -> bool
self
and other
values to be equal, and is used
by ==
.