1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`TransactGetItems`](crate::operation::transact_get_items::builders::TransactGetItemsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`transact_items(TransactGetItem)`](crate::operation::transact_get_items::builders::TransactGetItemsFluentBuilder::transact_items) / [`set_transact_items(Option<Vec::<TransactGetItem>>)`](crate::operation::transact_get_items::builders::TransactGetItemsFluentBuilder::set_transact_items):<br>required: **true**<br><p>An ordered array of up to 100 <code>TransactGetItem</code> objects, each of which contains a <code>Get</code> structure.</p><br>
    ///   - [`return_consumed_capacity(ReturnConsumedCapacity)`](crate::operation::transact_get_items::builders::TransactGetItemsFluentBuilder::return_consumed_capacity) / [`set_return_consumed_capacity(Option<ReturnConsumedCapacity>)`](crate::operation::transact_get_items::builders::TransactGetItemsFluentBuilder::set_return_consumed_capacity):<br>required: **false**<br><p>A value of <code>TOTAL</code> causes consumed capacity information to be returned, and a value of <code>NONE</code> prevents that information from being returned. No other value is valid.</p><br>
    /// - On success, responds with [`TransactGetItemsOutput`](crate::operation::transact_get_items::TransactGetItemsOutput) with field(s):
    ///   - [`consumed_capacity(Option<Vec::<ConsumedCapacity>>)`](crate::operation::transact_get_items::TransactGetItemsOutput::consumed_capacity): <p>If the <i>ReturnConsumedCapacity</i> value was <code>TOTAL</code>, this is an array of <code>ConsumedCapacity</code> objects, one for each table addressed by <code>TransactGetItem</code> objects in the <i>TransactItems</i> parameter. These <code>ConsumedCapacity</code> objects report the read-capacity units consumed by the <code>TransactGetItems</code> call in that table.</p>
    ///   - [`responses(Option<Vec::<ItemResponse>>)`](crate::operation::transact_get_items::TransactGetItemsOutput::responses): <p>An ordered array of up to 100 <code>ItemResponse</code> objects, each of which corresponds to the <code>TransactGetItem</code> object in the same position in the <i>TransactItems</i> array. Each <code>ItemResponse</code> object contains a Map of the name-value pairs that are the projected attributes of the requested item.</p> <p>If a requested item could not be retrieved, the corresponding <code>ItemResponse</code> object is Null, or if the requested item has no projected attributes, the corresponding <code>ItemResponse</code> object is an empty Map.</p>
    /// - On failure, responds with [`SdkError<TransactGetItemsError>`](crate::operation::transact_get_items::TransactGetItemsError)
    pub fn transact_get_items(&self) -> crate::operation::transact_get_items::builders::TransactGetItemsFluentBuilder {
        crate::operation::transact_get_items::builders::TransactGetItemsFluentBuilder::new(self.handle.clone())
    }
}