#[non_exhaustive]pub struct TransactGetItemsOutput {
pub consumed_capacity: Option<Vec<ConsumedCapacity>>,
pub responses: Option<Vec<ItemResponse>>,
/* private fields */
}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.consumed_capacity: Option<Vec<ConsumedCapacity>>If the ReturnConsumedCapacity value was TOTAL, this is an array of ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units consumed by the TransactGetItems call in that table.
responses: Option<Vec<ItemResponse>>An ordered array of up to 100 ItemResponse objects, each of which corresponds to the TransactGetItem object in the same position in the TransactItems array. Each ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.
Implementations§
source§impl TransactGetItemsOutput
impl TransactGetItemsOutput
sourcepub fn consumed_capacity(&self) -> Option<&[ConsumedCapacity]>
pub fn consumed_capacity(&self) -> Option<&[ConsumedCapacity]>
If the ReturnConsumedCapacity value was TOTAL, this is an array of ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units consumed by the TransactGetItems call in that table.
sourcepub fn responses(&self) -> Option<&[ItemResponse]>
pub fn responses(&self) -> Option<&[ItemResponse]>
An ordered array of up to 100 ItemResponse objects, each of which corresponds to the TransactGetItem object in the same position in the TransactItems array. Each ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.
source§impl TransactGetItemsOutput
impl TransactGetItemsOutput
sourcepub fn builder() -> TransactGetItemsOutputBuilder
pub fn builder() -> TransactGetItemsOutputBuilder
Creates a new builder-style object to manufacture TransactGetItemsOutput.
Trait Implementations§
source§impl Clone for TransactGetItemsOutput
impl Clone for TransactGetItemsOutput
source§fn clone(&self) -> TransactGetItemsOutput
fn clone(&self) -> TransactGetItemsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TransactGetItemsOutput
impl Debug for TransactGetItemsOutput
source§impl PartialEq for TransactGetItemsOutput
impl PartialEq for TransactGetItemsOutput
source§fn eq(&self, other: &TransactGetItemsOutput) -> bool
fn eq(&self, other: &TransactGetItemsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for TransactGetItemsOutput
impl RequestId for TransactGetItemsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.