Struct aws_sdk_dynamodb::output::ExecuteStatementOutput
source · [−]#[non_exhaustive]pub struct ExecuteStatementOutput {
pub items: Option<Vec<HashMap<String, AttributeValue>>>,
pub next_token: Option<String>,
pub consumed_capacity: Option<ConsumedCapacity>,
pub last_evaluated_key: Option<HashMap<String, AttributeValue>>,
}
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.items: Option<Vec<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.
next_token: Option<String>
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.
consumed_capacity: 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.
last_evaluated_key: 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.
Implementations
sourceimpl 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.
sourceimpl ExecuteStatementOutput
impl ExecuteStatementOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExecuteStatementOutput
Trait Implementations
sourceimpl Clone for ExecuteStatementOutput
impl Clone for ExecuteStatementOutput
sourcefn clone(&self) -> ExecuteStatementOutput
fn clone(&self) -> ExecuteStatementOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExecuteStatementOutput
impl Debug for ExecuteStatementOutput
sourceimpl PartialEq<ExecuteStatementOutput> for ExecuteStatementOutput
impl PartialEq<ExecuteStatementOutput> for ExecuteStatementOutput
sourcefn eq(&self, other: &ExecuteStatementOutput) -> bool
fn eq(&self, other: &ExecuteStatementOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExecuteStatementOutput) -> bool
fn ne(&self, other: &ExecuteStatementOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ExecuteStatementOutput
Auto Trait Implementations
impl RefUnwindSafe for ExecuteStatementOutput
impl Send for ExecuteStatementOutput
impl Sync for ExecuteStatementOutput
impl Unpin for ExecuteStatementOutput
impl UnwindSafe for ExecuteStatementOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more