Struct aws_sdk_dynamodb::output::ExecuteStatementOutput
source · #[non_exhaustive]pub struct ExecuteStatementOutput { /* private fields */ }
Implementations§
source§impl ExecuteStatementOutput
impl ExecuteStatementOutput
sourcepub fn items(&self) -> Option<&[HashMap<String, AttributeValue>]>
pub fn items(&self) -> Option<&[HashMap<String, AttributeValue>]>
If a read operation was used, this property will contain the result of the read operation; a map of attribute names and their values. For the write operations this value will be empty.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.
sourcepub fn consumed_capacity(&self) -> Option<&ConsumedCapacity>
pub fn consumed_capacity(&self) -> Option<&ConsumedCapacity>
The capacity units consumed by an operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity
is only returned if the request asked for it. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
sourcepub fn last_evaluated_key(&self) -> Option<&HashMap<String, AttributeValue>>
pub fn last_evaluated_key(&self) -> Option<&HashMap<String, AttributeValue>>
The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request. If LastEvaluatedKey
is empty, then the "last page" of results has been processed and there is no more data to be retrieved. If LastEvaluatedKey
is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedKey
is empty.
source§impl ExecuteStatementOutput
impl ExecuteStatementOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExecuteStatementOutput
.
Trait Implementations§
source§impl Clone for ExecuteStatementOutput
impl Clone for ExecuteStatementOutput
source§fn clone(&self) -> ExecuteStatementOutput
fn clone(&self) -> ExecuteStatementOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecuteStatementOutput
impl Debug for ExecuteStatementOutput
source§impl PartialEq<ExecuteStatementOutput> for ExecuteStatementOutput
impl PartialEq<ExecuteStatementOutput> for ExecuteStatementOutput
source§fn eq(&self, other: &ExecuteStatementOutput) -> bool
fn eq(&self, other: &ExecuteStatementOutput) -> bool
self
and other
values to be equal, and is used
by ==
.