Client Test

Client Test

rev. dfb5149b65b7bcc09edd15b8e071ad43b5ac5943 (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/query/_query_output.rs

@@ -1,1 +185,288 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
    3         -
/// <p>Represents the output of a <code>Query</code> operation.</p>
           2  +
/* StructureGenerator.kt:197 */
           3  +
/// /* StructureGenerator.kt:197 */<p>Represents the output of a <code>Query</code> operation.</p>
           4  +
/* RustType.kt:516 */
    4      5   
#[non_exhaustive]
           6  +
/* RustType.kt:516 */
    5      7   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    6         -
pub struct QueryOutput {
    7         -
    /// <p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>
           8  +
pub /* StructureGenerator.kt:201 */ struct QueryOutput {
           9  +
    /// /* StructureGenerator.kt:231 */<p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>
    8     10   
    pub items: ::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>>,
    9         -
    /// <p>The number of items in the response.</p>
          11  +
    /// /* StructureGenerator.kt:231 */<p>The number of items in the response.</p>
   10     12   
    /// <p>If you used a <code>QueryFilter</code> in the request, then <code>Count</code> is the number of items returned after the filter was applied, and <code>ScannedCount</code> is the number of matching items before the filter was applied.</p>
   11     13   
    /// <p>If you did not use a filter in the request, then <code>Count</code> and <code>ScannedCount</code> are the same.</p>
   12     14   
    pub count: i32,
   13         -
    /// <p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Query</code> operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
          15  +
    /// /* StructureGenerator.kt:231 */<p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Query</code> operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
   14     16   
    /// <p>If you did not use a filter in the request, then <code>ScannedCount</code> is the same as <code>Count</code>.</p>
   15     17   
    pub scanned_count: i32,
   16         -
    /// <p>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.</p>
          18  +
    /// /* StructureGenerator.kt:231 */<p>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.</p>
   17     19   
    /// <p>If <code>LastEvaluatedKey</code> is empty, then the "last page" of results has been processed and there is no more data to be retrieved.</p>
   18     20   
    /// <p>If <code>LastEvaluatedKey</code> 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 <code>LastEvaluatedKey</code> is empty.</p>
   19     21   
    pub last_evaluated_key: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
   20         -
    /// <p>The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
          22  +
    /// /* StructureGenerator.kt:231 */<p>The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
   21     23   
    pub consumed_capacity: ::std::option::Option<crate::types::ConsumedCapacity>,
          24  +
    /* StructureGenerator.kt:201 */
   22     25   
}
          26  +
/* StructureGenerator.kt:135 */
   23     27   
impl QueryOutput {
   24         -
    /// <p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>
   25         -
    ///
   26         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.items.is_none()`.
          28  +
    /// /* StructureGenerator.kt:231 */<p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>
          29  +
    /// /* StructureGenerator.kt:162 */
          30  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.items.is_none()`.
          31  +
    /* StructureGenerator.kt:166 */
   27     32   
    pub fn items(&self) -> &[::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>] {
   28         -
        self.items.as_deref().unwrap_or_default()
          33  +
        /* StructureGenerator.kt:169 */
          34  +
        self.items
          35  +
            .as_deref()
          36  +
            /* StructureGenerator.kt:175 */
          37  +
            .unwrap_or_default()
          38  +
        /* StructureGenerator.kt:166 */
   29     39   
    }
   30         -
    /// <p>The number of items in the response.</p>
          40  +
    /// /* StructureGenerator.kt:231 */<p>The number of items in the response.</p>
   31     41   
    /// <p>If you used a <code>QueryFilter</code> in the request, then <code>Count</code> is the number of items returned after the filter was applied, and <code>ScannedCount</code> is the number of matching items before the filter was applied.</p>
   32     42   
    /// <p>If you did not use a filter in the request, then <code>Count</code> and <code>ScannedCount</code> are the same.</p>
          43  +
    /* StructureGenerator.kt:166 */
   33     44   
    pub fn count(&self) -> i32 {
          45  +
        /* StructureGenerator.kt:168 */
   34     46   
        self.count
          47  +
        /* StructureGenerator.kt:166 */
   35     48   
    }
   36         -
    /// <p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Query</code> operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
          49  +
    /// /* StructureGenerator.kt:231 */<p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Query</code> operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
   37     50   
    /// <p>If you did not use a filter in the request, then <code>ScannedCount</code> is the same as <code>Count</code>.</p>
          51  +
    /* StructureGenerator.kt:166 */
   38     52   
    pub fn scanned_count(&self) -> i32 {
          53  +
        /* StructureGenerator.kt:168 */
   39     54   
        self.scanned_count
          55  +
        /* StructureGenerator.kt:166 */
   40     56   
    }
   41         -
    /// <p>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.</p>
          57  +
    /// /* StructureGenerator.kt:231 */<p>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.</p>
   42     58   
    /// <p>If <code>LastEvaluatedKey</code> is empty, then the "last page" of results has been processed and there is no more data to be retrieved.</p>
   43     59   
    /// <p>If <code>LastEvaluatedKey</code> 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 <code>LastEvaluatedKey</code> is empty.</p>
          60  +
    /* StructureGenerator.kt:166 */
   44     61   
    pub fn last_evaluated_key(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>> {
          62  +
        /* StructureGenerator.kt:170 */
   45     63   
        self.last_evaluated_key.as_ref()
          64  +
        /* StructureGenerator.kt:166 */
   46     65   
    }
   47         -
    /// <p>The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
          66  +
    /// /* StructureGenerator.kt:231 */<p>The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
          67  +
    /* StructureGenerator.kt:166 */
   48     68   
    pub fn consumed_capacity(&self) -> ::std::option::Option<&crate::types::ConsumedCapacity> {
          69  +
        /* StructureGenerator.kt:170 */
   49     70   
        self.consumed_capacity.as_ref()
          71  +
        /* StructureGenerator.kt:166 */
   50     72   
    }
          73  +
    /* StructureGenerator.kt:135 */
   51     74   
}
          75  +
/* ClientCodegenVisitor.kt:237 */
   52     76   
impl QueryOutput {
   53         -
    /// Creates a new builder-style object to manufacture [`QueryOutput`](crate::operation::query::QueryOutput).
          77  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`QueryOutput`](crate::operation::query::QueryOutput).
          78  +
    /* BuilderGenerator.kt:175 */
   54     79   
    pub fn builder() -> crate::operation::query::builders::QueryOutputBuilder {
          80  +
        /* BuilderGenerator.kt:176 */
   55     81   
        crate::operation::query::builders::QueryOutputBuilder::default()
          82  +
        /* BuilderGenerator.kt:175 */
   56     83   
    }
          84  +
    /* ClientCodegenVisitor.kt:237 */
   57     85   
}
   58     86   
   59         -
/// A builder for [`QueryOutput`](crate::operation::query::QueryOutput).
          87  +
/// /* BuilderGenerator.kt:342 */A builder for [`QueryOutput`](crate::operation::query::QueryOutput).
          88  +
/* RustType.kt:516 */
   60     89   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
          90  +
/* RustType.kt:516 */
   61     91   
#[non_exhaustive]
          92  +
/* BuilderGenerator.kt:345 */
   62     93   
pub struct QueryOutputBuilder {
          94  +
    /* BuilderGenerator.kt:275 */
   63     95   
    pub(crate) items: ::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>>,
   64         -
    pub(crate) count: ::std::option::Option<i32>,
   65         -
    pub(crate) scanned_count: ::std::option::Option<i32>,
          96  +
    /* BuilderGenerator.kt:275 */ pub(crate) count: ::std::option::Option<i32>,
          97  +
    /* BuilderGenerator.kt:275 */ pub(crate) scanned_count: ::std::option::Option<i32>,
          98  +
    /* BuilderGenerator.kt:275 */
   66     99   
    pub(crate) last_evaluated_key: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
         100  +
    /* BuilderGenerator.kt:275 */
   67    101   
    pub(crate) consumed_capacity: ::std::option::Option<crate::types::ConsumedCapacity>,
         102  +
    /* BuilderGenerator.kt:345 */
   68    103   
}
         104  +
/* BuilderGenerator.kt:355 */
   69    105   
impl QueryOutputBuilder {
   70         -
    /// Appends an item to `items`.
         106  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `items`.
         107  +
    /* BuilderGenerator.kt:411 */
   71    108   
    ///
   72         -
    /// To override the contents of this collection use [`set_items`](Self::set_items).
         109  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_items`](Self::set_items).
         110  +
    /* BuilderGenerator.kt:413 */
   73    111   
    ///
   74         -
    /// <p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>
         112  +
    /// /* BuilderGenerator.kt:414 */<p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>
         113  +
    /* BuilderGenerator.kt:418 */
   75    114   
    pub fn items(mut self, input: ::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>) -> Self {
         115  +
        /* BuilderGenerator.kt:419 */
   76    116   
        let mut v = self.items.unwrap_or_default();
   77    117   
        v.push(input);
   78    118   
        self.items = ::std::option::Option::Some(v);
   79    119   
        self
         120  +
        /* BuilderGenerator.kt:418 */
   80    121   
    }
   81         -
    /// <p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>
         122  +
    /// /* BuilderGenerator.kt:312 */<p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>
         123  +
    /* BuilderGenerator.kt:314 */
   82    124   
    pub fn set_items(
   83    125   
        mut self,
   84    126   
        input: ::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>>,
   85    127   
    ) -> Self {
         128  +
        /* BuilderGenerator.kt:315 */
   86    129   
        self.items = input;
   87    130   
        self
         131  +
        /* BuilderGenerator.kt:314 */
   88    132   
    }
   89         -
    /// <p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>
         133  +
    /// /* BuilderGenerator.kt:334 */<p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>
         134  +
    /* BuilderGenerator.kt:336 */
   90    135   
    pub fn get_items(
   91    136   
        &self,
   92    137   
    ) -> &::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>> {
         138  +
        /* BuilderGenerator.kt:337 */
   93    139   
        &self.items
         140  +
        /* BuilderGenerator.kt:336 */
   94    141   
    }
   95         -
    /// <p>The number of items in the response.</p>
         142  +
    /// /* BuilderGenerator.kt:286 */<p>The number of items in the response.</p>
   96    143   
    /// <p>If you used a <code>QueryFilter</code> in the request, then <code>Count</code> is the number of items returned after the filter was applied, and <code>ScannedCount</code> is the number of matching items before the filter was applied.</p>
   97    144   
    /// <p>If you did not use a filter in the request, then <code>Count</code> and <code>ScannedCount</code> are the same.</p>
         145  +
    /* BuilderGenerator.kt:291 */
   98    146   
    pub fn count(mut self, input: i32) -> Self {
         147  +
        /* BuilderGenerator.kt:292 */
   99    148   
        self.count = ::std::option::Option::Some(input);
         149  +
        /* BuilderGenerator.kt:293 */
  100    150   
        self
         151  +
        /* BuilderGenerator.kt:291 */
  101    152   
    }
  102         -
    /// <p>The number of items in the response.</p>
         153  +
    /// /* BuilderGenerator.kt:312 */<p>The number of items in the response.</p>
  103    154   
    /// <p>If you used a <code>QueryFilter</code> in the request, then <code>Count</code> is the number of items returned after the filter was applied, and <code>ScannedCount</code> is the number of matching items before the filter was applied.</p>
  104    155   
    /// <p>If you did not use a filter in the request, then <code>Count</code> and <code>ScannedCount</code> are the same.</p>
         156  +
    /* BuilderGenerator.kt:314 */
  105    157   
    pub fn set_count(mut self, input: ::std::option::Option<i32>) -> Self {
         158  +
        /* BuilderGenerator.kt:315 */
  106    159   
        self.count = input;
  107    160   
        self
         161  +
        /* BuilderGenerator.kt:314 */
  108    162   
    }
  109         -
    /// <p>The number of items in the response.</p>
         163  +
    /// /* BuilderGenerator.kt:334 */<p>The number of items in the response.</p>
  110    164   
    /// <p>If you used a <code>QueryFilter</code> in the request, then <code>Count</code> is the number of items returned after the filter was applied, and <code>ScannedCount</code> is the number of matching items before the filter was applied.</p>
  111    165   
    /// <p>If you did not use a filter in the request, then <code>Count</code> and <code>ScannedCount</code> are the same.</p>
         166  +
    /* BuilderGenerator.kt:336 */
  112    167   
    pub fn get_count(&self) -> &::std::option::Option<i32> {
         168  +
        /* BuilderGenerator.kt:337 */
  113    169   
        &self.count
         170  +
        /* BuilderGenerator.kt:336 */
  114    171   
    }
  115         -
    /// <p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Query</code> operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         172  +
    /// /* BuilderGenerator.kt:286 */<p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Query</code> operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
  116    173   
    /// <p>If you did not use a filter in the request, then <code>ScannedCount</code> is the same as <code>Count</code>.</p>
         174  +
    /* BuilderGenerator.kt:291 */
  117    175   
    pub fn scanned_count(mut self, input: i32) -> Self {
         176  +
        /* BuilderGenerator.kt:292 */
  118    177   
        self.scanned_count = ::std::option::Option::Some(input);
         178  +
        /* BuilderGenerator.kt:293 */
  119    179   
        self
         180  +
        /* BuilderGenerator.kt:291 */
  120    181   
    }
  121         -
    /// <p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Query</code> operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         182  +
    /// /* BuilderGenerator.kt:312 */<p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Query</code> operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
  122    183   
    /// <p>If you did not use a filter in the request, then <code>ScannedCount</code> is the same as <code>Count</code>.</p>
         184  +
    /* BuilderGenerator.kt:314 */
  123    185   
    pub fn set_scanned_count(mut self, input: ::std::option::Option<i32>) -> Self {
         186  +
        /* BuilderGenerator.kt:315 */
  124    187   
        self.scanned_count = input;
  125    188   
        self
         189  +
        /* BuilderGenerator.kt:314 */
  126    190   
    }
  127         -
    /// <p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Query</code> operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         191  +
    /// /* BuilderGenerator.kt:334 */<p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient <code>Query</code> operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
  128    192   
    /// <p>If you did not use a filter in the request, then <code>ScannedCount</code> is the same as <code>Count</code>.</p>
         193  +
    /* BuilderGenerator.kt:336 */
  129    194   
    pub fn get_scanned_count(&self) -> &::std::option::Option<i32> {
         195  +
        /* BuilderGenerator.kt:337 */
  130    196   
        &self.scanned_count
         197  +
        /* BuilderGenerator.kt:336 */
  131    198   
    }
  132         -
    /// Adds a key-value pair to `last_evaluated_key`.
         199  +
    /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `last_evaluated_key`.
         200  +
    /* BuilderGenerator.kt:437 */
  133    201   
    ///
  134         -
    /// To override the contents of this collection use [`set_last_evaluated_key`](Self::set_last_evaluated_key).
         202  +
    /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_last_evaluated_key`](Self::set_last_evaluated_key).
         203  +
    /* BuilderGenerator.kt:439 */
  135    204   
    ///
  136         -
    /// <p>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.</p>
         205  +
    /// /* BuilderGenerator.kt:440 */<p>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.</p>
  137    206   
    /// <p>If <code>LastEvaluatedKey</code> is empty, then the "last page" of results has been processed and there is no more data to be retrieved.</p>
  138    207   
    /// <p>If <code>LastEvaluatedKey</code> 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 <code>LastEvaluatedKey</code> is empty.</p>
         208  +
    /* BuilderGenerator.kt:445 */
  139    209   
    pub fn last_evaluated_key(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::AttributeValue) -> Self {
         210  +
        /* BuilderGenerator.kt:448 */
  140    211   
        let mut hash_map = self.last_evaluated_key.unwrap_or_default();
  141    212   
        hash_map.insert(k.into(), v);
  142    213   
        self.last_evaluated_key = ::std::option::Option::Some(hash_map);
  143    214   
        self
         215  +
        /* BuilderGenerator.kt:445 */
  144    216   
    }
  145         -
    /// <p>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.</p>
         217  +
    /// /* BuilderGenerator.kt:312 */<p>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.</p>
  146    218   
    /// <p>If <code>LastEvaluatedKey</code> is empty, then the "last page" of results has been processed and there is no more data to be retrieved.</p>
  147    219   
    /// <p>If <code>LastEvaluatedKey</code> 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 <code>LastEvaluatedKey</code> is empty.</p>
         220  +
    /* BuilderGenerator.kt:314 */
  148    221   
    pub fn set_last_evaluated_key(
  149    222   
        mut self,
  150    223   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
  151    224   
    ) -> Self {
         225  +
        /* BuilderGenerator.kt:315 */
  152    226   
        self.last_evaluated_key = input;
  153    227   
        self
         228  +
        /* BuilderGenerator.kt:314 */
  154    229   
    }
  155         -
    /// <p>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.</p>
         230  +
    /// /* BuilderGenerator.kt:334 */<p>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.</p>
  156    231   
    /// <p>If <code>LastEvaluatedKey</code> is empty, then the "last page" of results has been processed and there is no more data to be retrieved.</p>
  157    232   
    /// <p>If <code>LastEvaluatedKey</code> 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 <code>LastEvaluatedKey</code> is empty.</p>
         233  +
    /* BuilderGenerator.kt:336 */
  158    234   
    pub fn get_last_evaluated_key(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>> {
         235  +
        /* BuilderGenerator.kt:337 */
  159    236   
        &self.last_evaluated_key
         237  +
        /* BuilderGenerator.kt:336 */
  160    238   
    }
  161         -
    /// <p>The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         239  +
    /// /* BuilderGenerator.kt:286 */<p>The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         240  +
    /* BuilderGenerator.kt:291 */
  162    241   
    pub fn consumed_capacity(mut self, input: crate::types::ConsumedCapacity) -> Self {
         242  +
        /* BuilderGenerator.kt:292 */
  163    243   
        self.consumed_capacity = ::std::option::Option::Some(input);
         244  +
        /* BuilderGenerator.kt:293 */
  164    245   
        self
         246  +
        /* BuilderGenerator.kt:291 */
  165    247   
    }
  166         -
    /// <p>The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         248  +
    /// /* BuilderGenerator.kt:312 */<p>The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         249  +
    /* BuilderGenerator.kt:314 */
  167    250   
    pub fn set_consumed_capacity(mut self, input: ::std::option::Option<crate::types::ConsumedCapacity>) -> Self {
         251  +
        /* BuilderGenerator.kt:315 */
  168    252   
        self.consumed_capacity = input;
  169    253   
        self
         254  +
        /* BuilderGenerator.kt:314 */
  170    255   
    }
  171         -
    /// <p>The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         256  +
    /// /* BuilderGenerator.kt:334 */<p>The capacity units consumed by the <code>Query</code> operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         257  +
    /* BuilderGenerator.kt:336 */
  172    258   
    pub fn get_consumed_capacity(&self) -> &::std::option::Option<crate::types::ConsumedCapacity> {
         259  +
        /* BuilderGenerator.kt:337 */
  173    260   
        &self.consumed_capacity
         261  +
        /* BuilderGenerator.kt:336 */
  174    262   
    }
  175         -
    /// Consumes the builder and constructs a [`QueryOutput`](crate::operation::query::QueryOutput).
         263  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`QueryOutput`](crate::operation::query::QueryOutput).
         264  +
    /* BuilderGenerator.kt:253 */
  176    265   
    pub fn build(self) -> crate::operation::query::QueryOutput {
         266  +
        /* BuilderGenerator.kt:477 */
  177    267   
        crate::operation::query::QueryOutput {
  178         -
            items: self.items,
  179         -
            count: self.count.unwrap_or_default(),
  180         -
            scanned_count: self.scanned_count.unwrap_or_default(),
         268  +
            /* BuilderGenerator.kt:481 */ items: self.items,
         269  +
            /* BuilderGenerator.kt:481 */
         270  +
            count: self
         271  +
                .count
         272  +
                /* BuilderGenerator.kt:487 */
         273  +
                .unwrap_or_default(),
         274  +
            /* BuilderGenerator.kt:481 */
         275  +
            scanned_count: self
         276  +
                .scanned_count
         277  +
                /* BuilderGenerator.kt:487 */
         278  +
                .unwrap_or_default(),
         279  +
            /* BuilderGenerator.kt:481 */
  181    280   
            last_evaluated_key: self.last_evaluated_key,
         281  +
            /* BuilderGenerator.kt:481 */
  182    282   
            consumed_capacity: self.consumed_capacity,
         283  +
            /* BuilderGenerator.kt:477 */
  183    284   
        }
         285  +
        /* BuilderGenerator.kt:253 */
  184    286   
    }
         287  +
    /* BuilderGenerator.kt:355 */
  185    288   
}

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/query/builders.rs

@@ -1,1 +716,780 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* CodegenDelegator.kt:255 */
    2      3   
pub use crate::operation::query::_query_output::QueryOutputBuilder;
    3      4   
           5  +
/* CodegenDelegator.kt:255 */
    4      6   
pub use crate::operation::query::_query_input::QueryInputBuilder;
    5      7   
           8  +
/* FluentBuilderGenerator.kt:408 */
    6      9   
impl crate::operation::query::builders::QueryInputBuilder {
    7     10   
    /// Sends a request with this input using the given client.
    8     11   
    pub async fn send_with(
    9     12   
        self,
   10     13   
        client: &crate::Client,
   11     14   
    ) -> ::std::result::Result<
   12     15   
        crate::operation::query::QueryOutput,
   13     16   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     17   
            crate::operation::query::QueryError,
   15     18   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   16     19   
        >,
   17     20   
    > {
   18     21   
        let mut fluent_builder = client.query();
   19     22   
        fluent_builder.inner = self;
   20     23   
        fluent_builder.send().await
   21     24   
    }
   22     25   
}
   23         -
/// Fluent builder constructing a request to `Query`.
          26  +
/// /* FluentBuilderGenerator.kt:129 */Fluent builder constructing a request to `Query`.
   24     27   
///
   25         -
/// <p>The <code>Query</code> operation finds items based on primary key values. You can query any table or secondary index that has a composite primary key (a partition key and a sort key).</p>
          28  +
/// /* FluentBuilderGenerator.kt:130 */<p>The <code>Query</code> operation finds items based on primary key values. You can query any table or secondary index that has a composite primary key (a partition key and a sort key).</p>
   26     29   
/// <p>Use the <code>KeyConditionExpression</code> parameter to provide a specific value for the partition key. The <code>Query</code> operation will return all of the items from the table or index with that partition key value. You can optionally narrow the scope of the <code>Query</code> operation by specifying a sort key value and a comparison operator in <code>KeyConditionExpression</code>. To further refine the <code>Query</code> results, you can optionally provide a <code>FilterExpression</code>. A <code>FilterExpression</code> determines which items within the results should be returned to you. All of the other results are discarded.</p>
   27     30   
/// <p>A <code>Query</code> operation always returns a result set. If no matching items are found, the result set will be empty. Queries that do not return results consume the minimum number of read capacity units for that type of read operation.</p><note>
   28     31   
/// <p>DynamoDB calculates the number of read capacity units consumed based on item size, not on the amount of data that is returned to an application. The number of capacity units consumed will be the same whether you request all of the attributes (the default behavior) or just some of them (using a projection expression). The number will also be the same whether or not you use a <code>FilterExpression</code>.</p>
   29     32   
/// </note>
   30     33   
/// <p><code>Query</code> results are always sorted by the sort key value. If the data type of the sort key is Number, the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes. By default, the sort order is ascending. To reverse the order, set the <code>ScanIndexForward</code> parameter to false.</p>
   31     34   
/// <p>A single <code>Query</code> operation will read up to the maximum number of items set (if using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then apply any filtering to the results using <code>FilterExpression</code>. If <code>LastEvaluatedKey</code> is present in the response, you will need to paginate the result set. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.Pagination">Paginating the Results</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
   32     35   
/// <p><code>FilterExpression</code> is applied after a <code>Query</code> finishes, but before the results are returned. A <code>FilterExpression</code> cannot contain partition key or sort key attributes. You need to specify those attributes in the <code>KeyConditionExpression</code>.</p><note>
   33     36   
/// <p>A <code>Query</code> operation can return an empty result set and a <code>LastEvaluatedKey</code> if all the items read for the page of results are filtered out.</p>
   34     37   
/// </note>
   35     38   
/// <p>You can query a table, a local secondary index, or a global secondary index. For a query on a table or on a local secondary index, you can set the <code>ConsistentRead</code> parameter to <code>true</code> and obtain a strongly consistent result. Global secondary indexes support eventually consistent reads only, so do not specify <code>ConsistentRead</code> when querying a global secondary index.</p>
          39  +
/* RustType.kt:516 */
   36     40   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
          41  +
/* FluentBuilderGenerator.kt:270 */
   37     42   
pub struct QueryFluentBuilder {
   38     43   
    handle: ::std::sync::Arc<crate::client::Handle>,
   39     44   
    inner: crate::operation::query::builders::QueryInputBuilder,
   40     45   
    config_override: ::std::option::Option<crate::config::Builder>,
   41     46   
}
          47  +
/* FluentBuilderGenerator.kt:381 */
   42     48   
impl crate::client::customize::internal::CustomizableSend<crate::operation::query::QueryOutput, crate::operation::query::QueryError>
   43     49   
    for QueryFluentBuilder
   44     50   
{
   45     51   
    fn send(
   46     52   
        self,
   47     53   
        config_override: crate::config::Builder,
   48     54   
    ) -> crate::client::customize::internal::BoxFuture<
   49     55   
        crate::client::customize::internal::SendResult<crate::operation::query::QueryOutput, crate::operation::query::QueryError>,
   50     56   
    > {
   51     57   
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
   52     58   
    }
   53     59   
}
          60  +
/* FluentBuilderGenerator.kt:282 */
   54     61   
impl QueryFluentBuilder {
          62  +
    /* FluentBuilderGenerator.kt:288 */
   55     63   
    /// Creates a new `QueryFluentBuilder`.
   56     64   
    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
   57     65   
        Self {
   58     66   
            handle,
   59     67   
            inner: ::std::default::Default::default(),
   60     68   
            config_override: ::std::option::Option::None,
   61     69   
        }
   62     70   
    }
          71  +
    /* FluentBuilderGenerator.kt:301 */
   63     72   
    /// Access the Query as a reference.
   64     73   
    pub fn as_input(&self) -> &crate::operation::query::builders::QueryInputBuilder {
   65     74   
        &self.inner
   66     75   
    }
          76  +
    /* FluentBuilderGenerator.kt:145 */
   67     77   
    /// Sends the request and returns the response.
   68     78   
    ///
   69     79   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   70     80   
    /// can be matched against.
   71     81   
    ///
   72     82   
    /// By default, any retryable failures will be retried twice. Retry behavior
   73     83   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   74     84   
    /// set when configuring the client.
   75     85   
    pub async fn send(
   76     86   
        self,
   77     87   
    ) -> ::std::result::Result<
   78     88   
        crate::operation::query::QueryOutput,
   79     89   
        ::aws_smithy_runtime_api::client::result::SdkError<
   80     90   
            crate::operation::query::QueryError,
   81     91   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   82     92   
        >,
   83     93   
    > {
   84     94   
        let input = self
   85     95   
            .inner
   86     96   
            .build()
   87     97   
            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
   88     98   
        let runtime_plugins =
   89     99   
            crate::operation::query::Query::operation_runtime_plugins(self.handle.runtime_plugins.clone(), &self.handle.conf, self.config_override);
   90    100   
        crate::operation::query::Query::orchestrate(&runtime_plugins, input).await
   91    101   
    }
   92    102   
   93    103   
    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
   94    104   
    pub fn customize(
   95    105   
        self,
   96    106   
    ) -> crate::client::customize::CustomizableOperation<crate::operation::query::QueryOutput, crate::operation::query::QueryError, Self> {
   97    107   
        crate::client::customize::CustomizableOperation::new(self)
   98    108   
    }
         109  +
    /* FluentBuilderGenerator.kt:315 */
   99    110   
    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
  100    111   
        self.set_config_override(::std::option::Option::Some(config_override.into()));
  101    112   
        self
  102    113   
    }
  103    114   
  104    115   
    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
  105    116   
        self.config_override = config_override;
  106    117   
        self
  107    118   
    }
         119  +
    /* FluentBuilderGenerator.kt:340 */
  108    120   
    /// Create a paginator for this request
  109    121   
    ///
  110    122   
    /// Paginators are used by calling [`send().await`](crate::operation::query::paginator::QueryPaginator::send) which returns a [`PaginationStream`](aws_smithy_async::future::pagination_stream::PaginationStream).
  111    123   
    pub fn into_paginator(self) -> crate::operation::query::paginator::QueryPaginator {
  112    124   
        crate::operation::query::paginator::QueryPaginator::new(self.handle, self.inner)
  113    125   
    }
  114         -
    /// <p>The name of the table containing the requested items.</p>
         126  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The name of the table containing the requested items.</p>
         127  +
    /* FluentBuilderGenerator.kt:500 */
  115    128   
    pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  116    129   
        self.inner = self.inner.table_name(input.into());
  117    130   
        self
  118    131   
    }
  119         -
    /// <p>The name of the table containing the requested items.</p>
         132  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The name of the table containing the requested items.</p>
         133  +
    /* FluentBuilderGenerator.kt:500 */
  120    134   
    pub fn set_table_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
  121    135   
        self.inner = self.inner.set_table_name(input);
  122    136   
        self
  123    137   
    }
  124         -
    /// <p>The name of the table containing the requested items.</p>
         138  +
    /// /* FluentBuilderGenerator.kt:518 */<p>The name of the table containing the requested items.</p>
         139  +
    /* FluentBuilderGenerator.kt:520 */
  125    140   
    pub fn get_table_name(&self) -> &::std::option::Option<::std::string::String> {
  126    141   
        self.inner.get_table_name()
  127    142   
    }
  128         -
    /// <p>The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that if you use the <code>IndexName</code> parameter, you must also provide <code>TableName.</code></p>
         143  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that if you use the <code>IndexName</code> parameter, you must also provide <code>TableName.</code></p>
         144  +
    /* FluentBuilderGenerator.kt:500 */
  129    145   
    pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  130    146   
        self.inner = self.inner.index_name(input.into());
  131    147   
        self
  132    148   
    }
  133         -
    /// <p>The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that if you use the <code>IndexName</code> parameter, you must also provide <code>TableName.</code></p>
         149  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that if you use the <code>IndexName</code> parameter, you must also provide <code>TableName.</code></p>
         150  +
    /* FluentBuilderGenerator.kt:500 */
  134    151   
    pub fn set_index_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
  135    152   
        self.inner = self.inner.set_index_name(input);
  136    153   
        self
  137    154   
    }
  138         -
    /// <p>The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that if you use the <code>IndexName</code> parameter, you must also provide <code>TableName.</code></p>
         155  +
    /// /* FluentBuilderGenerator.kt:518 */<p>The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that if you use the <code>IndexName</code> parameter, you must also provide <code>TableName.</code></p>
         156  +
    /* FluentBuilderGenerator.kt:520 */
  139    157   
    pub fn get_index_name(&self) -> &::std::option::Option<::std::string::String> {
  140    158   
        self.inner.get_index_name()
  141    159   
    }
  142         -
    /// <p>The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index.</p>
         160  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index.</p>
  143    161   
    /// <ul>
  144    162   
    /// <li>
  145    163   
    /// <p><code>ALL_ATTRIBUTES</code> - Returns all of the item attributes from the specified table or index. If you query a local secondary index, then for each matching item in the index, DynamoDB fetches the entire item from the parent table. If the index is configured to project all item attributes, then all of the data can be obtained from the local secondary index, and no fetching is required.</p></li>
  146    164   
    /// <li>
  147    165   
    /// <p><code>ALL_PROJECTED_ATTRIBUTES</code> - Allowed only when querying an index. Retrieves all attributes that have been projected into the index. If the index is configured to project all attributes, this return value is equivalent to specifying <code>ALL_ATTRIBUTES</code>.</p></li>
  148    166   
    /// <li>
  149    167   
    /// <p><code>COUNT</code> - Returns the number of matching items, rather than the matching items themselves.</p></li>
  150    168   
    /// <li>
  151    169   
    /// <p><code>SPECIFIC_ATTRIBUTES</code> - Returns only the attributes listed in <code>AttributesToGet</code>. This return value is equivalent to specifying <code>AttributesToGet</code> without specifying any value for <code>Select</code>.</p>
  152    170   
    /// <p>If you query or scan a local secondary index and request only attributes that are projected into that index, the operation will read only the index and not the table. If any of the requested attributes are not projected into the local secondary index, DynamoDB fetches each of these attributes from the parent table. This extra fetching incurs additional throughput cost and latency.</p>
  153    171   
    /// <p>If you query or scan a global secondary index, you can only request attributes that are projected into the index. Global secondary index queries cannot fetch attributes from the parent table.</p></li>
  154    172   
    /// </ul>
  155    173   
    /// <p>If neither <code>Select</code> nor <code>AttributesToGet</code> are specified, DynamoDB defaults to <code>ALL_ATTRIBUTES</code> when accessing a table, and <code>ALL_PROJECTED_ATTRIBUTES</code> when accessing an index. You cannot use both <code>Select</code> and <code>AttributesToGet</code> together in a single request, unless the value for <code>Select</code> is <code>SPECIFIC_ATTRIBUTES</code>. (This usage is equivalent to specifying <code>AttributesToGet</code> without any value for <code>Select</code>.)</p><note>
  156    174   
    /// <p>If you use the <code>ProjectionExpression</code> parameter, then the value for <code>Select</code> can only be <code>SPECIFIC_ATTRIBUTES</code>. Any other value for <code>Select</code> will return an error.</p>
  157    175   
    /// </note>
         176  +
    /* FluentBuilderGenerator.kt:500 */
  158    177   
    pub fn select(mut self, input: crate::types::Select) -> Self {
  159    178   
        self.inner = self.inner.select(input);
  160    179   
        self
  161    180   
    }
  162         -
    /// <p>The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index.</p>
         181  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index.</p>
  163    182   
    /// <ul>
  164    183   
    /// <li>
  165    184   
    /// <p><code>ALL_ATTRIBUTES</code> - Returns all of the item attributes from the specified table or index. If you query a local secondary index, then for each matching item in the index, DynamoDB fetches the entire item from the parent table. If the index is configured to project all item attributes, then all of the data can be obtained from the local secondary index, and no fetching is required.</p></li>
  166    185   
    /// <li>
  167    186   
    /// <p><code>ALL_PROJECTED_ATTRIBUTES</code> - Allowed only when querying an index. Retrieves all attributes that have been projected into the index. If the index is configured to project all attributes, this return value is equivalent to specifying <code>ALL_ATTRIBUTES</code>.</p></li>
  168    187   
    /// <li>
  169    188   
    /// <p><code>COUNT</code> - Returns the number of matching items, rather than the matching items themselves.</p></li>
  170    189   
    /// <li>
  171    190   
    /// <p><code>SPECIFIC_ATTRIBUTES</code> - Returns only the attributes listed in <code>AttributesToGet</code>. This return value is equivalent to specifying <code>AttributesToGet</code> without specifying any value for <code>Select</code>.</p>
  172    191   
    /// <p>If you query or scan a local secondary index and request only attributes that are projected into that index, the operation will read only the index and not the table. If any of the requested attributes are not projected into the local secondary index, DynamoDB fetches each of these attributes from the parent table. This extra fetching incurs additional throughput cost and latency.</p>
  173    192   
    /// <p>If you query or scan a global secondary index, you can only request attributes that are projected into the index. Global secondary index queries cannot fetch attributes from the parent table.</p></li>
  174    193   
    /// </ul>
  175    194   
    /// <p>If neither <code>Select</code> nor <code>AttributesToGet</code> are specified, DynamoDB defaults to <code>ALL_ATTRIBUTES</code> when accessing a table, and <code>ALL_PROJECTED_ATTRIBUTES</code> when accessing an index. You cannot use both <code>Select</code> and <code>AttributesToGet</code> together in a single request, unless the value for <code>Select</code> is <code>SPECIFIC_ATTRIBUTES</code>. (This usage is equivalent to specifying <code>AttributesToGet</code> without any value for <code>Select</code>.)</p><note>
  176    195   
    /// <p>If you use the <code>ProjectionExpression</code> parameter, then the value for <code>Select</code> can only be <code>SPECIFIC_ATTRIBUTES</code>. Any other value for <code>Select</code> will return an error.</p>
  177    196   
    /// </note>
         197  +
    /* FluentBuilderGenerator.kt:500 */
  178    198   
    pub fn set_select(mut self, input: ::std::option::Option<crate::types::Select>) -> Self {
  179    199   
        self.inner = self.inner.set_select(input);
  180    200   
        self
  181    201   
    }
  182         -
    /// <p>The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index.</p>
         202  +
    /// /* FluentBuilderGenerator.kt:518 */<p>The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index.</p>
  183    203   
    /// <ul>
  184    204   
    /// <li>
  185    205   
    /// <p><code>ALL_ATTRIBUTES</code> - Returns all of the item attributes from the specified table or index. If you query a local secondary index, then for each matching item in the index, DynamoDB fetches the entire item from the parent table. If the index is configured to project all item attributes, then all of the data can be obtained from the local secondary index, and no fetching is required.</p></li>
  186    206   
    /// <li>
  187    207   
    /// <p><code>ALL_PROJECTED_ATTRIBUTES</code> - Allowed only when querying an index. Retrieves all attributes that have been projected into the index. If the index is configured to project all attributes, this return value is equivalent to specifying <code>ALL_ATTRIBUTES</code>.</p></li>
  188    208   
    /// <li>
  189    209   
    /// <p><code>COUNT</code> - Returns the number of matching items, rather than the matching items themselves.</p></li>
  190    210   
    /// <li>
  191    211   
    /// <p><code>SPECIFIC_ATTRIBUTES</code> - Returns only the attributes listed in <code>AttributesToGet</code>. This return value is equivalent to specifying <code>AttributesToGet</code> without specifying any value for <code>Select</code>.</p>
  192    212   
    /// <p>If you query or scan a local secondary index and request only attributes that are projected into that index, the operation will read only the index and not the table. If any of the requested attributes are not projected into the local secondary index, DynamoDB fetches each of these attributes from the parent table. This extra fetching incurs additional throughput cost and latency.</p>
  193    213   
    /// <p>If you query or scan a global secondary index, you can only request attributes that are projected into the index. Global secondary index queries cannot fetch attributes from the parent table.</p></li>
  194    214   
    /// </ul>
  195    215   
    /// <p>If neither <code>Select</code> nor <code>AttributesToGet</code> are specified, DynamoDB defaults to <code>ALL_ATTRIBUTES</code> when accessing a table, and <code>ALL_PROJECTED_ATTRIBUTES</code> when accessing an index. You cannot use both <code>Select</code> and <code>AttributesToGet</code> together in a single request, unless the value for <code>Select</code> is <code>SPECIFIC_ATTRIBUTES</code>. (This usage is equivalent to specifying <code>AttributesToGet</code> without any value for <code>Select</code>.)</p><note>
  196    216   
    /// <p>If you use the <code>ProjectionExpression</code> parameter, then the value for <code>Select</code> can only be <code>SPECIFIC_ATTRIBUTES</code>. Any other value for <code>Select</code> will return an error.</p>
  197    217   
    /// </note>
         218  +
    /* FluentBuilderGenerator.kt:520 */
  198    219   
    pub fn get_select(&self) -> &::std::option::Option<crate::types::Select> {
  199    220   
        self.inner.get_select()
  200    221   
    }
  201         -
    ///
         222  +
    /// /* FluentBuilderGenerator.kt:436 */
  202    223   
    /// Appends an item to `AttributesToGet`.
  203    224   
    ///
  204    225   
    /// To override the contents of this collection use [`set_attributes_to_get`](Self::set_attributes_to_get).
  205    226   
    ///
  206         -
    /// <p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html">AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         227  +
    /// /* FluentBuilderGenerator.kt:443 */<p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html">AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         228  +
    /* FluentBuilderGenerator.kt:446 */
  207    229   
    pub fn attributes_to_get(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  208    230   
        self.inner = self.inner.attributes_to_get(input.into());
  209    231   
        self
  210    232   
    }
  211         -
    /// <p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html">AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         233  +
    /// /* FluentBuilderGenerator.kt:498 */<p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html">AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         234  +
    /* FluentBuilderGenerator.kt:500 */
  212    235   
    pub fn set_attributes_to_get(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
  213    236   
        self.inner = self.inner.set_attributes_to_get(input);
  214    237   
        self
  215    238   
    }
  216         -
    /// <p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html">AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         239  +
    /// /* FluentBuilderGenerator.kt:518 */<p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html">AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         240  +
    /* FluentBuilderGenerator.kt:520 */
  217    241   
    pub fn get_attributes_to_get(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
  218    242   
        self.inner.get_attributes_to_get()
  219    243   
    }
  220         -
    /// <p>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, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation, so that 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 <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html">Query and Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         244  +
    /// /* FluentBuilderGenerator.kt:498 */<p>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, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation, so that 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 <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html">Query and Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         245  +
    /* FluentBuilderGenerator.kt:500 */
  221    246   
    pub fn limit(mut self, input: i32) -> Self {
  222    247   
        self.inner = self.inner.limit(input);
  223    248   
        self
  224    249   
    }
  225         -
    /// <p>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, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation, so that 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 <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html">Query and Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         250  +
    /// /* FluentBuilderGenerator.kt:498 */<p>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, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation, so that 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 <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html">Query and Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         251  +
    /* FluentBuilderGenerator.kt:500 */
  226    252   
    pub fn set_limit(mut self, input: ::std::option::Option<i32>) -> Self {
  227    253   
        self.inner = self.inner.set_limit(input);
  228    254   
        self
  229    255   
    }
  230         -
    /// <p>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, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation, so that 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 <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html">Query and Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         256  +
    /// /* FluentBuilderGenerator.kt:518 */<p>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, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation, so that 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 <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the operation. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html">Query and Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         257  +
    /* FluentBuilderGenerator.kt:520 */
  231    258   
    pub fn get_limit(&self) -> &::std::option::Option<i32> {
  232    259   
        self.inner.get_limit()
  233    260   
    }
  234         -
    /// <p>Determines the read consistency model: If set to <code>true</code>, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.</p>
         261  +
    /// /* FluentBuilderGenerator.kt:498 */<p>Determines the read consistency model: If set to <code>true</code>, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.</p>
  235    262   
    /// <p>Strongly consistent reads are not supported on global secondary indexes. If you query a global secondary index with <code>ConsistentRead</code> set to <code>true</code>, you will receive a <code>ValidationException</code>.</p>
         263  +
    /* FluentBuilderGenerator.kt:500 */
  236    264   
    pub fn consistent_read(mut self, input: bool) -> Self {
  237    265   
        self.inner = self.inner.consistent_read(input);
  238    266   
        self
  239    267   
    }
  240         -
    /// <p>Determines the read consistency model: If set to <code>true</code>, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.</p>
         268  +
    /// /* FluentBuilderGenerator.kt:498 */<p>Determines the read consistency model: If set to <code>true</code>, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.</p>
  241    269   
    /// <p>Strongly consistent reads are not supported on global secondary indexes. If you query a global secondary index with <code>ConsistentRead</code> set to <code>true</code>, you will receive a <code>ValidationException</code>.</p>
         270  +
    /* FluentBuilderGenerator.kt:500 */
  242    271   
    pub fn set_consistent_read(mut self, input: ::std::option::Option<bool>) -> Self {
  243    272   
        self.inner = self.inner.set_consistent_read(input);
  244    273   
        self
  245    274   
    }
  246         -
    /// <p>Determines the read consistency model: If set to <code>true</code>, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.</p>
         275  +
    /// /* FluentBuilderGenerator.kt:518 */<p>Determines the read consistency model: If set to <code>true</code>, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.</p>
  247    276   
    /// <p>Strongly consistent reads are not supported on global secondary indexes. If you query a global secondary index with <code>ConsistentRead</code> set to <code>true</code>, you will receive a <code>ValidationException</code>.</p>
         277  +
    /* FluentBuilderGenerator.kt:520 */
  248    278   
    pub fn get_consistent_read(&self) -> &::std::option::Option<bool> {
  249    279   
        self.inner.get_consistent_read()
  250    280   
    }
  251         -
    ///
         281  +
    /// /* FluentBuilderGenerator.kt:466 */
  252    282   
    /// Adds a key-value pair to `KeyConditions`.
  253    283   
    ///
  254    284   
    /// To override the contents of this collection use [`set_key_conditions`](Self::set_key_conditions).
  255    285   
    ///
  256         -
    /// <p>This is a legacy parameter. Use <code>KeyConditionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html">KeyConditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         286  +
    /// /* FluentBuilderGenerator.kt:473 */<p>This is a legacy parameter. Use <code>KeyConditionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html">KeyConditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         287  +
    /* FluentBuilderGenerator.kt:475 */
  257    288   
    pub fn key_conditions(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::Condition) -> Self {
  258    289   
        self.inner = self.inner.key_conditions(k.into(), v);
  259    290   
        self
  260    291   
    }
  261         -
    /// <p>This is a legacy parameter. Use <code>KeyConditionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html">KeyConditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         292  +
    /// /* FluentBuilderGenerator.kt:498 */<p>This is a legacy parameter. Use <code>KeyConditionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html">KeyConditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         293  +
    /* FluentBuilderGenerator.kt:500 */
  262    294   
    pub fn set_key_conditions(
  263    295   
        mut self,
  264    296   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>>,
  265    297   
    ) -> Self {
  266    298   
        self.inner = self.inner.set_key_conditions(input);
  267    299   
        self
  268    300   
    }
  269         -
    /// <p>This is a legacy parameter. Use <code>KeyConditionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html">KeyConditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         301  +
    /// /* FluentBuilderGenerator.kt:518 */<p>This is a legacy parameter. Use <code>KeyConditionExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html">KeyConditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         302  +
    /* FluentBuilderGenerator.kt:520 */
  270    303   
    pub fn get_key_conditions(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>> {
  271    304   
        self.inner.get_key_conditions()
  272    305   
    }
  273         -
    ///
         306  +
    /// /* FluentBuilderGenerator.kt:466 */
  274    307   
    /// Adds a key-value pair to `QueryFilter`.
  275    308   
    ///
  276    309   
    /// To override the contents of this collection use [`set_query_filter`](Self::set_query_filter).
  277    310   
    ///
  278         -
    /// <p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html">QueryFilter</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         311  +
    /// /* FluentBuilderGenerator.kt:473 */<p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html">QueryFilter</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         312  +
    /* FluentBuilderGenerator.kt:475 */
  279    313   
    pub fn query_filter(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::Condition) -> Self {
  280    314   
        self.inner = self.inner.query_filter(k.into(), v);
  281    315   
        self
  282    316   
    }
  283         -
    /// <p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html">QueryFilter</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         317  +
    /// /* FluentBuilderGenerator.kt:498 */<p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html">QueryFilter</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         318  +
    /* FluentBuilderGenerator.kt:500 */
  284    319   
    pub fn set_query_filter(
  285    320   
        mut self,
  286    321   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>>,
  287    322   
    ) -> Self {
  288    323   
        self.inner = self.inner.set_query_filter(input);
  289    324   
        self
  290    325   
    }
  291         -
    /// <p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html">QueryFilter</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         326  +
    /// /* FluentBuilderGenerator.kt:518 */<p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html">QueryFilter</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         327  +
    /* FluentBuilderGenerator.kt:520 */
  292    328   
    pub fn get_query_filter(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>> {
  293    329   
        self.inner.get_query_filter()
  294    330   
    }
  295         -
    /// <p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         331  +
    /// /* FluentBuilderGenerator.kt:498 */<p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         332  +
    /* FluentBuilderGenerator.kt:500 */
  296    333   
    pub fn conditional_operator(mut self, input: crate::types::ConditionalOperator) -> Self {
  297    334   
        self.inner = self.inner.conditional_operator(input);
  298    335   
        self
  299    336   
    }
  300         -
    /// <p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         337  +
    /// /* FluentBuilderGenerator.kt:498 */<p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         338  +
    /* FluentBuilderGenerator.kt:500 */
  301    339   
    pub fn set_conditional_operator(mut self, input: ::std::option::Option<crate::types::ConditionalOperator>) -> Self {
  302    340   
        self.inner = self.inner.set_conditional_operator(input);
  303    341   
        self
  304    342   
    }
  305         -
    /// <p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         343  +
    /// /* FluentBuilderGenerator.kt:518 */<p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         344  +
    /* FluentBuilderGenerator.kt:520 */
  306    345   
    pub fn get_conditional_operator(&self) -> &::std::option::Option<crate::types::ConditionalOperator> {
  307    346   
        self.inner.get_conditional_operator()
  308    347   
    }
  309         -
    /// <p>Specifies the order for index traversal: If <code>true</code> (default), the traversal is performed in ascending order; if <code>false</code>, the traversal is performed in descending order.</p>
         348  +
    /// /* FluentBuilderGenerator.kt:498 */<p>Specifies the order for index traversal: If <code>true</code> (default), the traversal is performed in ascending order; if <code>false</code>, the traversal is performed in descending order.</p>
  310    349   
    /// <p>Items with the same partition key value are stored in sorted order by sort key. If the sort key data type is Number, the results are stored in numeric order. For type String, the results are stored in order of UTF-8 bytes. For type Binary, DynamoDB treats each byte of the binary data as unsigned.</p>
  311    350   
    /// <p>If <code>ScanIndexForward</code> is <code>true</code>, DynamoDB returns the results in the order in which they are stored (by sort key value). This is the default behavior. If <code>ScanIndexForward</code> is <code>false</code>, DynamoDB reads the results in reverse order by sort key value, and then returns the results to the client.</p>
         351  +
    /* FluentBuilderGenerator.kt:500 */
  312    352   
    pub fn scan_index_forward(mut self, input: bool) -> Self {
  313    353   
        self.inner = self.inner.scan_index_forward(input);
  314    354   
        self
  315    355   
    }
  316         -
    /// <p>Specifies the order for index traversal: If <code>true</code> (default), the traversal is performed in ascending order; if <code>false</code>, the traversal is performed in descending order.</p>
         356  +
    /// /* FluentBuilderGenerator.kt:498 */<p>Specifies the order for index traversal: If <code>true</code> (default), the traversal is performed in ascending order; if <code>false</code>, the traversal is performed in descending order.</p>
  317    357   
    /// <p>Items with the same partition key value are stored in sorted order by sort key. If the sort key data type is Number, the results are stored in numeric order. For type String, the results are stored in order of UTF-8 bytes. For type Binary, DynamoDB treats each byte of the binary data as unsigned.</p>
  318    358   
    /// <p>If <code>ScanIndexForward</code> is <code>true</code>, DynamoDB returns the results in the order in which they are stored (by sort key value). This is the default behavior. If <code>ScanIndexForward</code> is <code>false</code>, DynamoDB reads the results in reverse order by sort key value, and then returns the results to the client.</p>
         359  +
    /* FluentBuilderGenerator.kt:500 */
  319    360   
    pub fn set_scan_index_forward(mut self, input: ::std::option::Option<bool>) -> Self {
  320    361   
        self.inner = self.inner.set_scan_index_forward(input);
  321    362   
        self
  322    363   
    }
  323         -
    /// <p>Specifies the order for index traversal: If <code>true</code> (default), the traversal is performed in ascending order; if <code>false</code>, the traversal is performed in descending order.</p>
         364  +
    /// /* FluentBuilderGenerator.kt:518 */<p>Specifies the order for index traversal: If <code>true</code> (default), the traversal is performed in ascending order; if <code>false</code>, the traversal is performed in descending order.</p>
  324    365   
    /// <p>Items with the same partition key value are stored in sorted order by sort key. If the sort key data type is Number, the results are stored in numeric order. For type String, the results are stored in order of UTF-8 bytes. For type Binary, DynamoDB treats each byte of the binary data as unsigned.</p>
  325    366   
    /// <p>If <code>ScanIndexForward</code> is <code>true</code>, DynamoDB returns the results in the order in which they are stored (by sort key value). This is the default behavior. If <code>ScanIndexForward</code> is <code>false</code>, DynamoDB reads the results in reverse order by sort key value, and then returns the results to the client.</p>
         367  +
    /* FluentBuilderGenerator.kt:520 */
  326    368   
    pub fn get_scan_index_forward(&self) -> &::std::option::Option<bool> {
  327    369   
        self.inner.get_scan_index_forward()
  328    370   
    }
  329         -
    ///
         371  +
    /// /* FluentBuilderGenerator.kt:466 */
  330    372   
    /// Adds a key-value pair to `ExclusiveStartKey`.
  331    373   
    ///
  332    374   
    /// To override the contents of this collection use [`set_exclusive_start_key`](Self::set_exclusive_start_key).
  333    375   
    ///
  334         -
    /// <p>The primary key of the first item that this operation will evaluate. Use the value that was returned for <code>LastEvaluatedKey</code> in the previous operation.</p>
         376  +
    /// /* FluentBuilderGenerator.kt:473 */<p>The primary key of the first item that this operation will evaluate. Use the value that was returned for <code>LastEvaluatedKey</code> in the previous operation.</p>
  335    377   
    /// <p>The data type for <code>ExclusiveStartKey</code> must be String, Number, or Binary. No set data types are allowed.</p>
         378  +
    /* FluentBuilderGenerator.kt:475 */
  336    379   
    pub fn exclusive_start_key(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::AttributeValue) -> Self {
  337    380   
        self.inner = self.inner.exclusive_start_key(k.into(), v);
  338    381   
        self
  339    382   
    }
  340         -
    /// <p>The primary key of the first item that this operation will evaluate. Use the value that was returned for <code>LastEvaluatedKey</code> in the previous operation.</p>
         383  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The primary key of the first item that this operation will evaluate. Use the value that was returned for <code>LastEvaluatedKey</code> in the previous operation.</p>
  341    384   
    /// <p>The data type for <code>ExclusiveStartKey</code> must be String, Number, or Binary. No set data types are allowed.</p>
         385  +
    /* FluentBuilderGenerator.kt:500 */
  342    386   
    pub fn set_exclusive_start_key(
  343    387   
        mut self,
  344    388   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
  345    389   
    ) -> Self {
  346    390   
        self.inner = self.inner.set_exclusive_start_key(input);
  347    391   
        self
  348    392   
    }
  349         -
    /// <p>The primary key of the first item that this operation will evaluate. Use the value that was returned for <code>LastEvaluatedKey</code> in the previous operation.</p>
         393  +
    /// /* FluentBuilderGenerator.kt:518 */<p>The primary key of the first item that this operation will evaluate. Use the value that was returned for <code>LastEvaluatedKey</code> in the previous operation.</p>
  350    394   
    /// <p>The data type for <code>ExclusiveStartKey</code> must be String, Number, or Binary. No set data types are allowed.</p>
         395  +
    /* FluentBuilderGenerator.kt:520 */
  351    396   
    pub fn get_exclusive_start_key(
  352    397   
        &self,
  353    398   
    ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>> {
  354    399   
        self.inner.get_exclusive_start_key()
  355    400   
    }
  356         -
    /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
         401  +
    /// /* FluentBuilderGenerator.kt:498 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
  357    402   
    /// <ul>
  358    403   
    /// <li>
  359    404   
    /// <p><code>INDEXES</code> - The response includes the aggregate <code>ConsumedCapacity</code> for the operation, together with <code>ConsumedCapacity</code> for each table and secondary index that was accessed.</p>
  360    405   
    /// <p>Note that some operations, such as <code>GetItem</code> and <code>BatchGetItem</code>, do not access any indexes at all. In these cases, specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code> information for table(s).</p></li>
  361    406   
    /// <li>
  362    407   
    /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
  363    408   
    /// <li>
  364    409   
    /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
  365    410   
    /// </ul>
         411  +
    /* FluentBuilderGenerator.kt:500 */
  366    412   
    pub fn return_consumed_capacity(mut self, input: crate::types::ReturnConsumedCapacity) -> Self {
  367    413   
        self.inner = self.inner.return_consumed_capacity(input);
  368    414   
        self
  369    415   
    }
  370         -
    /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
         416  +
    /// /* FluentBuilderGenerator.kt:498 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
  371    417   
    /// <ul>
  372    418   
    /// <li>
  373    419   
    /// <p><code>INDEXES</code> - The response includes the aggregate <code>ConsumedCapacity</code> for the operation, together with <code>ConsumedCapacity</code> for each table and secondary index that was accessed.</p>
  374    420   
    /// <p>Note that some operations, such as <code>GetItem</code> and <code>BatchGetItem</code>, do not access any indexes at all. In these cases, specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code> information for table(s).</p></li>
  375    421   
    /// <li>
  376    422   
    /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
  377    423   
    /// <li>
  378    424   
    /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
  379    425   
    /// </ul>
         426  +
    /* FluentBuilderGenerator.kt:500 */
  380    427   
    pub fn set_return_consumed_capacity(mut self, input: ::std::option::Option<crate::types::ReturnConsumedCapacity>) -> Self {
  381    428   
        self.inner = self.inner.set_return_consumed_capacity(input);
  382    429   
        self
  383    430   
    }
  384         -
    /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
         431  +
    /// /* FluentBuilderGenerator.kt:518 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
  385    432   
    /// <ul>
  386    433   
    /// <li>
  387    434   
    /// <p><code>INDEXES</code> - The response includes the aggregate <code>ConsumedCapacity</code> for the operation, together with <code>ConsumedCapacity</code> for each table and secondary index that was accessed.</p>
  388    435   
    /// <p>Note that some operations, such as <code>GetItem</code> and <code>BatchGetItem</code>, do not access any indexes at all. In these cases, specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code> information for table(s).</p></li>
  389    436   
    /// <li>
  390    437   
    /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
  391    438   
    /// <li>
  392    439   
    /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
  393    440   
    /// </ul>
         441  +
    /* FluentBuilderGenerator.kt:520 */
  394    442   
    pub fn get_return_consumed_capacity(&self) -> &::std::option::Option<crate::types::ReturnConsumedCapacity> {
  395    443   
        self.inner.get_return_consumed_capacity()
  396    444   
    }
  397         -
    /// <p>A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.</p>
         445  +
    /// /* FluentBuilderGenerator.kt:498 */<p>A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.</p>
  398    446   
    /// <p>If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.</p>
  399    447   
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Accessing Item Attributes</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         448  +
    /* FluentBuilderGenerator.kt:500 */
  400    449   
    pub fn projection_expression(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  401    450   
        self.inner = self.inner.projection_expression(input.into());
  402    451   
        self
  403    452   
    }
  404         -
    /// <p>A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.</p>
         453  +
    /// /* FluentBuilderGenerator.kt:498 */<p>A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.</p>
  405    454   
    /// <p>If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.</p>
  406    455   
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Accessing Item Attributes</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         456  +
    /* FluentBuilderGenerator.kt:500 */
  407    457   
    pub fn set_projection_expression(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
  408    458   
        self.inner = self.inner.set_projection_expression(input);
  409    459   
        self
  410    460   
    }
  411         -
    /// <p>A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.</p>
         461  +
    /// /* FluentBuilderGenerator.kt:518 */<p>A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.</p>
  412    462   
    /// <p>If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.</p>
  413    463   
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Accessing Item Attributes</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         464  +
    /* FluentBuilderGenerator.kt:520 */
  414    465   
    pub fn get_projection_expression(&self) -> &::std::option::Option<::std::string::String> {
  415    466   
        self.inner.get_projection_expression()
  416    467   
    }
  417         -
    /// <p>A string that contains conditions that DynamoDB applies after the <code>Query</code> operation, but before the data is returned to you. Items that do not satisfy the <code>FilterExpression</code> criteria are not returned.</p>
         468  +
    /// /* FluentBuilderGenerator.kt:498 */<p>A string that contains conditions that DynamoDB applies after the <code>Query</code> operation, but before the data is returned to you. Items that do not satisfy the <code>FilterExpression</code> criteria are not returned.</p>
  418    469   
    /// <p>A <code>FilterExpression</code> does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key.</p><note>
  419    470   
    /// <p>A <code>FilterExpression</code> is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.</p>
  420    471   
    /// </note>
  421    472   
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults">Filter Expressions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         473  +
    /* FluentBuilderGenerator.kt:500 */
  422    474   
    pub fn filter_expression(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  423    475   
        self.inner = self.inner.filter_expression(input.into());
  424    476   
        self
  425    477   
    }
  426         -
    /// <p>A string that contains conditions that DynamoDB applies after the <code>Query</code> operation, but before the data is returned to you. Items that do not satisfy the <code>FilterExpression</code> criteria are not returned.</p>
         478  +
    /// /* FluentBuilderGenerator.kt:498 */<p>A string that contains conditions that DynamoDB applies after the <code>Query</code> operation, but before the data is returned to you. Items that do not satisfy the <code>FilterExpression</code> criteria are not returned.</p>
  427    479   
    /// <p>A <code>FilterExpression</code> does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key.</p><note>
  428    480   
    /// <p>A <code>FilterExpression</code> is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.</p>
  429    481   
    /// </note>
  430    482   
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults">Filter Expressions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         483  +
    /* FluentBuilderGenerator.kt:500 */
  431    484   
    pub fn set_filter_expression(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
  432    485   
        self.inner = self.inner.set_filter_expression(input);
  433    486   
        self
  434    487   
    }
  435         -
    /// <p>A string that contains conditions that DynamoDB applies after the <code>Query</code> operation, but before the data is returned to you. Items that do not satisfy the <code>FilterExpression</code> criteria are not returned.</p>
         488  +
    /// /* FluentBuilderGenerator.kt:518 */<p>A string that contains conditions that DynamoDB applies after the <code>Query</code> operation, but before the data is returned to you. Items that do not satisfy the <code>FilterExpression</code> criteria are not returned.</p>
  436    489   
    /// <p>A <code>FilterExpression</code> does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key.</p><note>
  437    490   
    /// <p>A <code>FilterExpression</code> is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.</p>
  438    491   
    /// </note>
  439    492   
    /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults">Filter Expressions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         493  +
    /* FluentBuilderGenerator.kt:520 */
  440    494   
    pub fn get_filter_expression(&self) -> &::std::option::Option<::std::string::String> {
  441    495   
        self.inner.get_filter_expression()
  442    496   
    }
  443         -
    /// <p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
         497  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
  444    498   
    /// <p>The condition must perform an equality test on a single partition key value.</p>
  445    499   
    /// <p>The condition can optionally perform one of several comparison tests on a single sort key value. This allows <code>Query</code> to retrieve one item with a given partition key value and sort key value, or several items that have the same partition key value but different sort key values.</p>
  446    500   
    /// <p>The partition key equality test is required, and must be specified in the following format:</p>
  447    501   
    /// <p><code>partitionKeyName</code> <i>=</i> <code>:partitionkeyval</code></p>
  448    502   
    /// <p>If you also want to provide a condition for the sort key, it must be combined using <code>AND</code> with the condition for the sort key. Following is an example, using the <b>=</b> comparison operator for the sort key:</p>
  449    503   
    /// <p><code>partitionKeyName</code> <code>=</code> <code>:partitionkeyval</code> <code>AND</code> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code></p>
  450    504   
    /// <p>Valid comparisons for the sort key condition are as follows:</p>
  451    505   
    /// <ul>
  452    506   
    /// <li>
  453    507   
    /// <p><code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p></li>
  454    508   
    /// <li>
  455    509   
    /// <p><code>sortKeyName</code> <code>&lt;</code> <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p></li>
  456    510   
    /// <li>
  457    511   
    /// <p><code>sortKeyName</code> <code>&lt;=</code> <code>:sortkeyval</code> - true if the sort key value is less than or equal to <code>:sortkeyval</code>.</p></li>
  458    512   
    /// <li>
  459    513   
    /// <p><code>sortKeyName</code> <code>&gt;</code> <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p></li>
  460    514   
    /// <li>
  461    515   
    /// <p><code>sortKeyName</code> <code>&gt;= </code> <code>:sortkeyval</code> - true if the sort key value is greater than or equal to <code>:sortkeyval</code>.</p></li>
  462    516   
    /// <li>
  463    517   
    /// <p><code>sortKeyName</code> <code>BETWEEN</code> <code>:sortkeyval1</code> <code>AND</code> <code>:sortkeyval2</code> - true if the sort key value is greater than or equal to <code>:sortkeyval1</code>, and less than or equal to <code>:sortkeyval2</code>.</p></li>
  464    518   
    /// <li>
  465    519   
    /// <p><code>begins_with (</code> <code>sortKeyName</code>, <code>:sortkeyval</code> <code>)</code> - true if the sort key value begins with a particular operand. (You cannot use this function with a sort key that is of type Number.) Note that the function name <code>begins_with</code> is case-sensitive.</p></li>
  466    520   
    /// </ul>
  467    521   
    /// <p>Use the <code>ExpressionAttributeValues</code> parameter to replace tokens such as <code>:partitionval</code> and <code>:sortval</code> with actual values at runtime.</p>
  468    522   
    /// <p>You can optionally use the <code>ExpressionAttributeNames</code> parameter to replace the names of the partition key and sort key with placeholder tokens. This option might be necessary if an attribute name conflicts with a DynamoDB reserved word. For example, the following <code>KeyConditionExpression</code> parameter causes an error because <i>Size</i> is a reserved word:</p>
  469    523   
    /// <ul>
  470    524   
    /// <li>
  471    525   
    /// <p><code>Size = :myval</code></p></li>
  472    526   
    /// </ul>
  473    527   
    /// <p>To work around this, define a placeholder (such a <code>#S</code>) to represent the attribute name <i>Size</i>. <code>KeyConditionExpression</code> then is as follows:</p>
  474    528   
    /// <ul>
  475    529   
    /// <li>
  476    530   
    /// <p><code>#S = :myval</code></p></li>
  477    531   
    /// </ul>
  478    532   
    /// <p>For a list of reserved words, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
  479    533   
    /// <p>For more information on <code>ExpressionAttributeNames</code> and <code>ExpressionAttributeValues</code>, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ExpressionPlaceholders.html">Using Placeholders for Attribute Names and Values</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         534  +
    /* FluentBuilderGenerator.kt:500 */
  480    535   
    pub fn key_condition_expression(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  481    536   
        self.inner = self.inner.key_condition_expression(input.into());
  482    537   
        self
  483    538   
    }
  484         -
    /// <p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
         539  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
  485    540   
    /// <p>The condition must perform an equality test on a single partition key value.</p>
  486    541   
    /// <p>The condition can optionally perform one of several comparison tests on a single sort key value. This allows <code>Query</code> to retrieve one item with a given partition key value and sort key value, or several items that have the same partition key value but different sort key values.</p>
  487    542   
    /// <p>The partition key equality test is required, and must be specified in the following format:</p>
  488    543   
    /// <p><code>partitionKeyName</code> <i>=</i> <code>:partitionkeyval</code></p>
  489    544   
    /// <p>If you also want to provide a condition for the sort key, it must be combined using <code>AND</code> with the condition for the sort key. Following is an example, using the <b>=</b> comparison operator for the sort key:</p>
  490    545   
    /// <p><code>partitionKeyName</code> <code>=</code> <code>:partitionkeyval</code> <code>AND</code> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code></p>
  491    546   
    /// <p>Valid comparisons for the sort key condition are as follows:</p>
  492    547   
    /// <ul>
  493    548   
    /// <li>
  494    549   
    /// <p><code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p></li>
  495    550   
    /// <li>
  496    551   
    /// <p><code>sortKeyName</code> <code>&lt;</code> <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p></li>
  497    552   
    /// <li>
  498    553   
    /// <p><code>sortKeyName</code> <code>&lt;=</code> <code>:sortkeyval</code> - true if the sort key value is less than or equal to <code>:sortkeyval</code>.</p></li>
  499    554   
    /// <li>
  500    555   
    /// <p><code>sortKeyName</code> <code>&gt;</code> <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p></li>
  501    556   
    /// <li>
  502    557   
    /// <p><code>sortKeyName</code> <code>&gt;= </code> <code>:sortkeyval</code> - true if the sort key value is greater than or equal to <code>:sortkeyval</code>.</p></li>
  503    558   
    /// <li>
  504    559   
    /// <p><code>sortKeyName</code> <code>BETWEEN</code> <code>:sortkeyval1</code> <code>AND</code> <code>:sortkeyval2</code> - true if the sort key value is greater than or equal to <code>:sortkeyval1</code>, and less than or equal to <code>:sortkeyval2</code>.</p></li>
  505    560   
    /// <li>
  506    561   
    /// <p><code>begins_with (</code> <code>sortKeyName</code>, <code>:sortkeyval</code> <code>)</code> - true if the sort key value begins with a particular operand. (You cannot use this function with a sort key that is of type Number.) Note that the function name <code>begins_with</code> is case-sensitive.</p></li>
  507    562   
    /// </ul>
  508    563   
    /// <p>Use the <code>ExpressionAttributeValues</code> parameter to replace tokens such as <code>:partitionval</code> and <code>:sortval</code> with actual values at runtime.</p>
  509    564   
    /// <p>You can optionally use the <code>ExpressionAttributeNames</code> parameter to replace the names of the partition key and sort key with placeholder tokens. This option might be necessary if an attribute name conflicts with a DynamoDB reserved word. For example, the following <code>KeyConditionExpression</code> parameter causes an error because <i>Size</i> is a reserved word:</p>
  510    565   
    /// <ul>
  511    566   
    /// <li>
  512    567   
    /// <p><code>Size = :myval</code></p></li>
  513    568   
    /// </ul>
  514    569   
    /// <p>To work around this, define a placeholder (such a <code>#S</code>) to represent the attribute name <i>Size</i>. <code>KeyConditionExpression</code> then is as follows:</p>
  515    570   
    /// <ul>
  516    571   
    /// <li>
  517    572   
    /// <p><code>#S = :myval</code></p></li>
  518    573   
    /// </ul>
  519    574   
    /// <p>For a list of reserved words, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
  520    575   
    /// <p>For more information on <code>ExpressionAttributeNames</code> and <code>ExpressionAttributeValues</code>, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ExpressionPlaceholders.html">Using Placeholders for Attribute Names and Values</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         576  +
    /* FluentBuilderGenerator.kt:500 */
  521    577   
    pub fn set_key_condition_expression(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
  522    578   
        self.inner = self.inner.set_key_condition_expression(input);
  523    579   
        self
  524    580   
    }
  525         -
    /// <p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
         581  +
    /// /* FluentBuilderGenerator.kt:518 */<p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
  526    582   
    /// <p>The condition must perform an equality test on a single partition key value.</p>
  527    583   
    /// <p>The condition can optionally perform one of several comparison tests on a single sort key value. This allows <code>Query</code> to retrieve one item with a given partition key value and sort key value, or several items that have the same partition key value but different sort key values.</p>
  528    584   
    /// <p>The partition key equality test is required, and must be specified in the following format:</p>
  529    585   
    /// <p><code>partitionKeyName</code> <i>=</i> <code>:partitionkeyval</code></p>
  530    586   
    /// <p>If you also want to provide a condition for the sort key, it must be combined using <code>AND</code> with the condition for the sort key. Following is an example, using the <b>=</b> comparison operator for the sort key:</p>
  531    587   
    /// <p><code>partitionKeyName</code> <code>=</code> <code>:partitionkeyval</code> <code>AND</code> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code></p>
  532    588   
    /// <p>Valid comparisons for the sort key condition are as follows:</p>
  533    589   
    /// <ul>
  534    590   
    /// <li>
  535    591   
    /// <p><code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p></li>
  536    592   
    /// <li>
  537    593   
    /// <p><code>sortKeyName</code> <code>&lt;</code> <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p></li>
  538    594   
    /// <li>
  539    595   
    /// <p><code>sortKeyName</code> <code>&lt;=</code> <code>:sortkeyval</code> - true if the sort key value is less than or equal to <code>:sortkeyval</code>.</p></li>
  540    596   
    /// <li>
  541    597   
    /// <p><code>sortKeyName</code> <code>&gt;</code> <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p></li>
  542    598   
    /// <li>
  543    599   
    /// <p><code>sortKeyName</code> <code>&gt;= </code> <code>:sortkeyval</code> - true if the sort key value is greater than or equal to <code>:sortkeyval</code>.</p></li>
  544    600   
    /// <li>
  545    601   
    /// <p><code>sortKeyName</code> <code>BETWEEN</code> <code>:sortkeyval1</code> <code>AND</code> <code>:sortkeyval2</code> - true if the sort key value is greater than or equal to <code>:sortkeyval1</code>, and less than or equal to <code>:sortkeyval2</code>.</p></li>
  546    602   
    /// <li>
  547    603   
    /// <p><code>begins_with (</code> <code>sortKeyName</code>, <code>:sortkeyval</code> <code>)</code> - true if the sort key value begins with a particular operand. (You cannot use this function with a sort key that is of type Number.) Note that the function name <code>begins_with</code> is case-sensitive.</p></li>
  548    604   
    /// </ul>
  549    605   
    /// <p>Use the <code>ExpressionAttributeValues</code> parameter to replace tokens such as <code>:partitionval</code> and <code>:sortval</code> with actual values at runtime.</p>
  550    606   
    /// <p>You can optionally use the <code>ExpressionAttributeNames</code> parameter to replace the names of the partition key and sort key with placeholder tokens. This option might be necessary if an attribute name conflicts with a DynamoDB reserved word. For example, the following <code>KeyConditionExpression</code> parameter causes an error because <i>Size</i> is a reserved word:</p>
  551    607   
    /// <ul>
  552    608   
    /// <li>
  553    609   
    /// <p><code>Size = :myval</code></p></li>
  554    610   
    /// </ul>
  555    611   
    /// <p>To work around this, define a placeholder (such a <code>#S</code>) to represent the attribute name <i>Size</i>. <code>KeyConditionExpression</code> then is as follows:</p>
  556    612   
    /// <ul>
  557    613   
    /// <li>
  558    614   
    /// <p><code>#S = :myval</code></p></li>
  559    615   
    /// </ul>
  560    616   
    /// <p>For a list of reserved words, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
  561    617   
    /// <p>For more information on <code>ExpressionAttributeNames</code> and <code>ExpressionAttributeValues</code>, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ExpressionPlaceholders.html">Using Placeholders for Attribute Names and Values</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         618  +
    /* FluentBuilderGenerator.kt:520 */
  562    619   
    pub fn get_key_condition_expression(&self) -> &::std::option::Option<::std::string::String> {
  563    620   
        self.inner.get_key_condition_expression()
  564    621   
    }
  565         -
    ///
         622  +
    /// /* FluentBuilderGenerator.kt:466 */
  566    623   
    /// Adds a key-value pair to `ExpressionAttributeNames`.
  567    624   
    ///
  568    625   
    /// To override the contents of this collection use [`set_expression_attribute_names`](Self::set_expression_attribute_names).
  569    626   
    ///
  570         -
    /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
         627  +
    /// /* FluentBuilderGenerator.kt:473 */<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
  571    628   
    /// <ul>
  572    629   
    /// <li>
  573    630   
    /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
  574    631   
    /// <li>
  575    632   
    /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
  576    633   
    /// <li>
  577    634   
    /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
  578    635   
    /// </ul>
  579    636   
    /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
  580    637   
    /// <ul>
  581    638   
    /// <li>
  582    639   
    /// <p><code>Percentile</code></p></li>
  583    640   
    /// </ul>
  584    641   
    /// <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>). To work around this, you could specify the following for <code>ExpressionAttributeNames</code>:</p>
  585    642   
    /// <ul>
  586    643   
    /// <li>
  587    644   
    /// <p><code>{"#P":"Percentile"}</code></p></li>
  588    645   
    /// </ul>
  589    646   
    /// <p>You could then use this substitution in an expression, as in this example:</p>
  590    647   
    /// <ul>
  591    648   
    /// <li>
  592    649   
    /// <p><code>#P = :val</code></p></li>
  593    650   
    /// </ul><note>
  594    651   
    /// <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>
  595    652   
    /// </note>
  596    653   
    /// <p>For more information on expression attribute names, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         654  +
    /* FluentBuilderGenerator.kt:475 */
  597    655   
    pub fn expression_attribute_names(
  598    656   
        mut self,
  599    657   
        k: impl ::std::convert::Into<::std::string::String>,
  600    658   
        v: impl ::std::convert::Into<::std::string::String>,
  601    659   
    ) -> Self {
  602    660   
        self.inner = self.inner.expression_attribute_names(k.into(), v.into());
  603    661   
        self
  604    662   
    }
  605         -
    /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
         663  +
    /// /* FluentBuilderGenerator.kt:498 */<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
  606    664   
    /// <ul>
  607    665   
    /// <li>
  608    666   
    /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
  609    667   
    /// <li>
  610    668   
    /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
  611    669   
    /// <li>
  612    670   
    /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
  613    671   
    /// </ul>
  614    672   
    /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
  615    673   
    /// <ul>
  616    674   
    /// <li>
  617    675   
    /// <p><code>Percentile</code></p></li>
  618    676   
    /// </ul>
  619    677   
    /// <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>). To work around this, you could specify the following for <code>ExpressionAttributeNames</code>:</p>
  620    678   
    /// <ul>
  621    679   
    /// <li>
  622    680   
    /// <p><code>{"#P":"Percentile"}</code></p></li>
  623    681   
    /// </ul>
  624    682   
    /// <p>You could then use this substitution in an expression, as in this example:</p>
  625    683   
    /// <ul>
  626    684   
    /// <li>
  627    685   
    /// <p><code>#P = :val</code></p></li>
  628    686   
    /// </ul><note>
  629    687   
    /// <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>
  630    688   
    /// </note>
  631    689   
    /// <p>For more information on expression attribute names, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         690  +
    /* FluentBuilderGenerator.kt:500 */
  632    691   
    pub fn set_expression_attribute_names(
  633    692   
        mut self,
  634    693   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
  635    694   
    ) -> Self {
  636    695   
        self.inner = self.inner.set_expression_attribute_names(input);
  637    696   
        self
  638    697   
    }
  639         -
    /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
         698  +
    /// /* FluentBuilderGenerator.kt:518 */<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
  640    699   
    /// <ul>
  641    700   
    /// <li>
  642    701   
    /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
  643    702   
    /// <li>
  644    703   
    /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
  645    704   
    /// <li>
  646    705   
    /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
  647    706   
    /// </ul>
  648    707   
    /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
  649    708   
    /// <ul>
  650    709   
    /// <li>
  651    710   
    /// <p><code>Percentile</code></p></li>
  652    711   
    /// </ul>
  653    712   
    /// <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>). To work around this, you could specify the following for <code>ExpressionAttributeNames</code>:</p>
  654    713   
    /// <ul>
  655    714   
    /// <li>
  656    715   
    /// <p><code>{"#P":"Percentile"}</code></p></li>
  657    716   
    /// </ul>
  658    717   
    /// <p>You could then use this substitution in an expression, as in this example:</p>
  659    718   
    /// <ul>
  660    719   
    /// <li>
  661    720   
    /// <p><code>#P = :val</code></p></li>
  662    721   
    /// </ul><note>
  663    722   
    /// <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>
  664    723   
    /// </note>
  665    724   
    /// <p>For more information on expression attribute names, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         725  +
    /* FluentBuilderGenerator.kt:520 */
  666    726   
    pub fn get_expression_attribute_names(
  667    727   
        &self,
  668    728   
    ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
  669    729   
        self.inner.get_expression_attribute_names()
  670    730   
    }
  671         -
    ///
         731  +
    /// /* FluentBuilderGenerator.kt:466 */
  672    732   
    /// Adds a key-value pair to `ExpressionAttributeValues`.
  673    733   
    ///
  674    734   
    /// To override the contents of this collection use [`set_expression_attribute_values`](Self::set_expression_attribute_values).
  675    735   
    ///
  676         -
    /// <p>One or more values that can be substituted in an expression.</p>
         736  +
    /// /* FluentBuilderGenerator.kt:473 */<p>One or more values that can be substituted in an expression.</p>
  677    737   
    /// <p>Use the <b>:</b> (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the <i>ProductStatus</i> attribute was one of the following:</p>
  678    738   
    /// <p><code>Available | Backordered | Discontinued</code></p>
  679    739   
    /// <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>
  680    740   
    /// <p><code>{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }</code></p>
  681    741   
    /// <p>You could then use these values in an expression, such as this:</p>
  682    742   
    /// <p><code>ProductStatus IN (:avail, :back, :disc)</code></p>
  683    743   
    /// <p>For more information on expression attribute values, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html">Specifying Conditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         744  +
    /* FluentBuilderGenerator.kt:475 */
  684    745   
    pub fn expression_attribute_values(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::AttributeValue) -> Self {
  685    746   
        self.inner = self.inner.expression_attribute_values(k.into(), v);
  686    747   
        self
  687    748   
    }
  688         -
    /// <p>One or more values that can be substituted in an expression.</p>
         749  +
    /// /* FluentBuilderGenerator.kt:498 */<p>One or more values that can be substituted in an expression.</p>
  689    750   
    /// <p>Use the <b>:</b> (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the <i>ProductStatus</i> attribute was one of the following:</p>
  690    751   
    /// <p><code>Available | Backordered | Discontinued</code></p>
  691    752   
    /// <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>
  692    753   
    /// <p><code>{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }</code></p>
  693    754   
    /// <p>You could then use these values in an expression, such as this:</p>
  694    755   
    /// <p><code>ProductStatus IN (:avail, :back, :disc)</code></p>
  695    756   
    /// <p>For more information on expression attribute values, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html">Specifying Conditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         757  +
    /* FluentBuilderGenerator.kt:500 */
  696    758   
    pub fn set_expression_attribute_values(
  697    759   
        mut self,
  698    760   
        input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
  699    761   
    ) -> Self {
  700    762   
        self.inner = self.inner.set_expression_attribute_values(input);
  701    763   
        self
  702    764   
    }
  703         -
    /// <p>One or more values that can be substituted in an expression.</p>
         765  +
    /// /* FluentBuilderGenerator.kt:518 */<p>One or more values that can be substituted in an expression.</p>
  704    766   
    /// <p>Use the <b>:</b> (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the <i>ProductStatus</i> attribute was one of the following:</p>
  705    767   
    /// <p><code>Available | Backordered | Discontinued</code></p>
  706    768   
    /// <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>
  707    769   
    /// <p><code>{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }</code></p>
  708    770   
    /// <p>You could then use these values in an expression, such as this:</p>
  709    771   
    /// <p><code>ProductStatus IN (:avail, :back, :disc)</code></p>
  710    772   
    /// <p>For more information on expression attribute values, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html">Specifying Conditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
         773  +
    /* FluentBuilderGenerator.kt:520 */
  711    774   
    pub fn get_expression_attribute_values(
  712    775   
        &self,
  713    776   
    ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>> {
  714    777   
        self.inner.get_expression_attribute_values()
  715    778   
    }
         779  +
    /* FluentBuilderGenerator.kt:282 */
  716    780   
}

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/query/paginator.rs

@@ -1,1 +31,32 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* PaginatorGenerator.kt:121 */
    2      3   
/// Paginator for [`Query`](crate::operation::query::Query)
    3      4   
pub struct QueryPaginator {
    4      5   
    handle: std::sync::Arc<crate::client::Handle>,
    5      6   
    builder: crate::operation::query::builders::QueryInputBuilder,
    6      7   
    stop_on_duplicate_token: bool,
    7      8   
}
    8      9   
    9     10   
impl QueryPaginator {
   10     11   
    /// Create a new paginator-wrapper
   11     12   
    pub(crate) fn new(handle: std::sync::Arc<crate::client::Handle>, builder: crate::operation::query::builders::QueryInputBuilder) -> Self {
@@ -83,84 +139,141 @@
  103    104   
                        if done {
  104    105   
                            return;
  105    106   
                        }
  106    107   
                    }
  107    108   
                })
  108    109   
            },
  109    110   
        ))
  110    111   
    }
  111    112   
}
  112    113   
         114  +
/* PaginatorGenerator.kt:301 */
  113    115   
/// Flattened paginator for `QueryPaginator`
  114    116   
///
  115    117   
/// This is created with [`.items()`](QueryPaginator::items)
  116    118   
pub struct QueryPaginatorItems(QueryPaginator);
  117    119   
  118    120   
impl QueryPaginatorItems {
  119    121   
    /// Create the pagination stream
  120    122   
    ///
  121    123   
    /// _Note_: No requests will be dispatched until the stream is used
  122    124   
    /// (e.g. with the [`.next().await`](aws_smithy_async::future::pagination_stream::PaginationStream::next) method).

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/restore_table_from_backup.rs

@@ -1,1 +40,49 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* OperationGenerator.kt:77 */
    2      3   
/// Orchestration and serialization glue logic for `RestoreTableFromBackup`.
           4  +
/* RustType.kt:516 */
    3      5   
#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
           6  +
/* RustType.kt:516 */
    4      7   
#[non_exhaustive]
           8  +
/* OperationGenerator.kt:84 */
    5      9   
pub struct RestoreTableFromBackup;
          10  +
/* OperationGenerator.kt:85 */
    6     11   
impl RestoreTableFromBackup {
    7         -
    /// Creates a new `RestoreTableFromBackup`
          12  +
    /// /* OperationGenerator.kt:86 */Creates a new `RestoreTableFromBackup`
          13  +
    /* OperationGenerator.kt:87 */
    8     14   
    pub fn new() -> Self {
          15  +
        /* OperationGenerator.kt:88 */
    9     16   
        Self
          17  +
        /* OperationGenerator.kt:87 */
   10     18   
    }
          19  +
    /* OperationGenerator.kt:138 */
   11     20   
    pub(crate) async fn orchestrate(
   12     21   
        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
   13     22   
        input: crate::operation::restore_table_from_backup::RestoreTableFromBackupInput,
   14     23   
    ) -> ::std::result::Result<
   15     24   
        crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput,
   16     25   
        ::aws_smithy_runtime_api::client::result::SdkError<
   17     26   
            crate::operation::restore_table_from_backup::RestoreTableFromBackupError,
   18     27   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   19     28   
        >,
   20     29   
    > {
@@ -57,66 +409,648 @@
   77     86   
                runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
   78     87   
            }
   79     88   
            runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
   80     89   
                config_override,
   81     90   
                client_config.config.clone(),
   82     91   
                &client_config.runtime_components,
   83     92   
            ));
   84     93   
        }
   85     94   
        runtime_plugins
   86     95   
    }
          96  +
    /* OperationGenerator.kt:85 */
   87     97   
}
          98  +
/* OperationRuntimePluginGenerator.kt:55 */
   88     99   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for RestoreTableFromBackup {
   89    100   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
   90    101   
        let mut cfg = ::aws_smithy_types::config_bag::Layer::new("RestoreTableFromBackup");
   91    102   
   92    103   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
   93    104   
            RestoreTableFromBackupRequestSerializer,
   94    105   
        ));
   95    106   
        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
   96    107   
            RestoreTableFromBackupResponseDeserializer,
   97    108   
        ));
   98    109   
   99    110   
        cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
  100    111   
            ::aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolverParams::new(),
  101    112   
        ));
  102    113   
  103    114   
        cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
  104    115   
            "RestoreTableFromBackup",
  105    116   
            "DynamoDB",
  106    117   
        ));
  107    118   
  108    119   
        ::std::option::Option::Some(cfg.freeze())
  109    120   
    }
  110    121   
  111    122   
    fn runtime_components(
  112    123   
        &self,
  113    124   
        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
  114    125   
    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
  115    126   
        #[allow(unused_mut)]
  116    127   
        let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("RestoreTableFromBackup")
  117    128   
            .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
  118    129   
            .with_interceptor(RestoreTableFromBackupEndpointParamsInterceptor)
  119    130   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
  120    131   
                crate::operation::restore_table_from_backup::RestoreTableFromBackupError,
  121    132   
            >::new())
  122    133   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
  123    134   
                crate::operation::restore_table_from_backup::RestoreTableFromBackupError,
  124    135   
            >::new());
  125    136   
  126    137   
        ::std::borrow::Cow::Owned(rcb)
  127    138   
    }
  128    139   
}
  129    140   
         141  +
/* ResponseDeserializerGenerator.kt:64 */
  130    142   
#[derive(Debug)]
  131    143   
struct RestoreTableFromBackupResponseDeserializer;
  132    144   
impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for RestoreTableFromBackupResponseDeserializer {
  133    145   
    fn deserialize_nonstreaming(
  134    146   
        &self,
  135    147   
        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  136    148   
    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
  137    149   
        let (success, status) = (response.status().is_success(), response.status().as_u16());
  138    150   
        let headers = response.headers();
  139    151   
        let body = response.body().bytes().expect("body loaded");
  140    152   
        #[allow(unused_mut)]
  141    153   
        let mut force_error = false;
  142    154   
  143    155   
        let parse_result = if !success && status != 200 || force_error {
  144    156   
            crate::protocol_serde::shape_restore_table_from_backup::de_restore_table_from_backup_http_error(status, headers, body)
  145    157   
        } else {
  146    158   
            crate::protocol_serde::shape_restore_table_from_backup::de_restore_table_from_backup_http_response(status, headers, body)
  147    159   
        };
  148    160   
        crate::protocol_serde::type_erase_result(parse_result)
  149    161   
    }
  150    162   
}
         163  +
/* RequestSerializerGenerator.kt:67 */
  151    164   
#[derive(Debug)]
  152    165   
struct RestoreTableFromBackupRequestSerializer;
  153    166   
impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for RestoreTableFromBackupRequestSerializer {
  154    167   
    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
  155    168   
    fn serialize_input(
  156    169   
        &self,
  157    170   
        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
  158    171   
        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  159    172   
    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
  160    173   
        let input = input
  161    174   
            .downcast::<crate::operation::restore_table_from_backup::RestoreTableFromBackupInput>()
  162    175   
            .expect("correct type");
  163    176   
        let _header_serialization_settings = _cfg
  164    177   
            .load::<crate::serialization_settings::HeaderSerializationSettings>()
  165    178   
            .cloned()
  166    179   
            .unwrap_or_default();
  167    180   
        let mut request_builder = {
  168    181   
            fn uri_base(
  169    182   
                _input: &crate::operation::restore_table_from_backup::RestoreTableFromBackupInput,
  170    183   
                output: &mut ::std::string::String,
  171    184   
            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
  172    185   
                use ::std::fmt::Write as _;
  173    186   
                ::std::write!(output, "/").expect("formatting should succeed");
  174    187   
                ::std::result::Result::Ok(())
  175    188   
            }
  176    189   
            #[allow(clippy::unnecessary_wraps)]
  177    190   
            fn update_http_builder(
  178    191   
                input: &crate::operation::restore_table_from_backup::RestoreTableFromBackupInput,
  179    192   
                builder: ::http::request::Builder,
  180    193   
            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  181    194   
                let mut uri = ::std::string::String::new();
  182    195   
                uri_base(input, &mut uri)?;
  183    196   
                ::std::result::Result::Ok(builder.method("POST").uri(uri))
  184    197   
            }
  185    198   
            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
  186    199   
            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/x-amz-json-1.0");
  187    200   
            builder = _header_serialization_settings.set_default_header(
  188    201   
                builder,
  189    202   
                ::http::header::HeaderName::from_static("x-amz-target"),
  190    203   
                "DynamoDB_20120810.RestoreTableFromBackup",
  191    204   
            );
  192    205   
            builder
  193    206   
        };
  194    207   
        let body = ::aws_smithy_types::body::SdkBody::from(
  195    208   
            crate::protocol_serde::shape_restore_table_from_backup::ser_restore_table_from_backup_input(&input)?,
  196    209   
        );
  197    210   
        if let Some(content_length) = body.content_length() {
  198    211   
            let content_length = content_length.to_string();
  199    212   
            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
  200    213   
        }
  201    214   
        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
  202    215   
    }
  203    216   
}
         217  +
/* EndpointParamsInterceptorGenerator.kt:86 */
  204    218   
#[derive(Debug)]
  205    219   
struct RestoreTableFromBackupEndpointParamsInterceptor;
  206    220   
  207    221   
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for RestoreTableFromBackupEndpointParamsInterceptor {
  208    222   
    fn name(&self) -> &'static str {
  209    223   
        "RestoreTableFromBackupEndpointParamsInterceptor"
  210    224   
    }
  211    225   
  212    226   
    fn read_before_execution(
  213    227   
        &self,
  214    228   
        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
  215    229   
            '_,
  216    230   
            ::aws_smithy_runtime_api::client::interceptors::context::Input,
  217    231   
            ::aws_smithy_runtime_api::client::interceptors::context::Output,
  218    232   
            ::aws_smithy_runtime_api::client::interceptors::context::Error,
  219    233   
        >,
  220    234   
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
  221    235   
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
  222    236   
        let _input = context
  223    237   
            .input()
  224    238   
            .downcast_ref::<RestoreTableFromBackupInput>()
  225    239   
            .ok_or("failed to downcast to RestoreTableFromBackupInput")?;
  226    240   
  227    241   
        let params = crate::config::endpoint::Params::builder().build().map_err(|err| {
  228    242   
            ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  229    243   
        })?;
  230    244   
        cfg.interceptor_state()
  231    245   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
  232    246   
        ::std::result::Result::Ok(())
  233    247   
    }
  234    248   
}
  235    249   
  236    250   
// The get_* functions below are generated from JMESPath expressions in the
  237    251   
// operationContextParams trait. They target the operation's input shape.
  238    252   
         253  +
/* OperationErrorGenerator.kt:79 */
  239    254   
/// Error type for the `RestoreTableFromBackupError` operation.
         255  +
/* RustType.kt:516 */
  240    256   
#[non_exhaustive]
         257  +
/* RustType.kt:516 */
  241    258   
#[derive(::std::fmt::Debug)]
  242         -
pub enum RestoreTableFromBackupError {
  243         -
    /// <p>There is another ongoing conflicting backup control plane operation on the table. The backup is either being created, deleted or restored to a table.</p>
         259  +
pub /* OperationErrorGenerator.kt:81 */ enum RestoreTableFromBackupError {
         260  +
    /// /* OperationErrorGenerator.kt:83 */<p>There is another ongoing conflicting backup control plane operation on the table. The backup is either being created, deleted or restored to a table.</p>
         261  +
    /* OperationErrorGenerator.kt:86 */
  244    262   
    BackupInUseError(crate::types::error::BackupInUseError),
  245         -
    /// <p>Backup not found for the given BackupARN.</p>
         263  +
    /// /* OperationErrorGenerator.kt:83 */<p>Backup not found for the given BackupARN.</p>
         264  +
    /* OperationErrorGenerator.kt:86 */
  246    265   
    BackupNotFoundError(crate::types::error::BackupNotFoundError),
  247         -
    /// <p>An error occurred on the server side.</p>
         266  +
    /// /* OperationErrorGenerator.kt:83 */<p>An error occurred on the server side.</p>
         267  +
    /* OperationErrorGenerator.kt:86 */
  248    268   
    InternalServerError(crate::types::error::InternalServerError),
         269  +
    /* OperationErrorGenerator.kt:83 */
  249    270   
    #[allow(missing_docs)] // documentation missing in model
         271  +
    /* OperationErrorGenerator.kt:86 */
  250    272   
    InvalidEndpointError(crate::types::error::InvalidEndpointError),
  251         -
    /// <p>There is no limit to the number of daily on-demand backups that can be taken.</p>
         273  +
    /// /* OperationErrorGenerator.kt:83 */<p>There is no limit to the number of daily on-demand backups that can be taken.</p>
  252    274   
    /// <p>Up to 50 simultaneous table operations are allowed per account. These operations include <code>CreateTable</code>, <code>UpdateTable</code>, <code>DeleteTable</code>,<code>UpdateTimeToLive</code>, <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>.</p>
  253    275   
    /// <p>The only exception is when you are creating a table with one or more secondary indexes. You can have up to 25 such requests running at a time; however, if the table or index specifications are complex, DynamoDB might temporarily reduce the number of concurrent operations.</p>
  254    276   
    /// <p>There is a soft account quota of 256 tables.</p>
         277  +
    /* OperationErrorGenerator.kt:86 */
  255    278   
    LimitExceededError(crate::types::error::LimitExceededError),
  256         -
    /// <p>A target table with the specified name already exists.</p>
         279  +
    /// /* OperationErrorGenerator.kt:83 */<p>A target table with the specified name already exists.</p>
         280  +
    /* OperationErrorGenerator.kt:86 */
  257    281   
    TableAlreadyExistsError(crate::types::error::TableAlreadyExistsError),
  258         -
    /// <p>A target table with the specified name is either being created or deleted.</p>
         282  +
    /// /* OperationErrorGenerator.kt:83 */<p>A target table with the specified name is either being created or deleted.</p>
         283  +
    /* OperationErrorGenerator.kt:86 */
  259    284   
    TableInUseError(crate::types::error::TableInUseError),
         285  +
    /* OperationErrorGenerator.kt:88 */
  260    286   
    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
  261    287   
    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
  262    288   
    variable wildcard pattern and check `.code()`:
  263    289   
     \
  264    290   
    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
  265    291   
     \
  266    292   
    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-RestoreTableFromBackupError) for what information is available for the error.")]
  267    293   
    Unhandled(crate::error::sealed_unhandled::Unhandled),
         294  +
    /* OperationErrorGenerator.kt:81 */
  268    295   
}
         296  +
/* OperationErrorGenerator.kt:218 */
  269    297   
impl RestoreTableFromBackupError {
         298  +
    /* OperationErrorGenerator.kt:219 */
  270    299   
    /// Creates the `RestoreTableFromBackupError::Unhandled` variant from any error type.
  271    300   
    pub fn unhandled(
  272    301   
        err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
  273    302   
    ) -> Self {
  274    303   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  275    304   
            source: err.into(),
  276    305   
            meta: ::std::default::Default::default(),
  277    306   
        })
  278    307   
    }
  279    308   
  280    309   
    /// Creates the `RestoreTableFromBackupError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
  281    310   
    pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
  282    311   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  283    312   
            source: err.clone().into(),
  284    313   
            meta: err,
  285    314   
        })
  286    315   
    }
  287         -
    ///
         316  +
    /// /* OperationErrorGenerator.kt:236 */
  288    317   
    /// Returns error metadata, which includes the error code, message,
  289    318   
    /// request ID, and potentially additional information.
  290    319   
    ///
         320  +
    /* OperationErrorGenerator.kt:242 */
  291    321   
    pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         322  +
        /* OperationErrorGenerator.kt:243 */
  292    323   
        match self {
         324  +
            /* OperationErrorGenerator.kt:246 */
  293    325   
            Self::BackupInUseError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
         326  +
            /* OperationErrorGenerator.kt:246 */
  294    327   
            Self::BackupNotFoundError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
         328  +
            /* OperationErrorGenerator.kt:246 */
  295    329   
            Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
         330  +
            /* OperationErrorGenerator.kt:246 */
  296    331   
            Self::InvalidEndpointError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
         332  +
            /* OperationErrorGenerator.kt:246 */
  297    333   
            Self::LimitExceededError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
         334  +
            /* OperationErrorGenerator.kt:246 */
  298    335   
            Self::TableAlreadyExistsError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
  299         -
            Self::TableInUseError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
  300         -
            Self::Unhandled(e) => &e.meta,
         336  +
            /* OperationErrorGenerator.kt:246 */ Self::TableInUseError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
         337  +
            /* OperationErrorGenerator.kt:251 */ Self::Unhandled(e) => &e.meta,
         338  +
            /* OperationErrorGenerator.kt:243 */
  301    339   
        }
         340  +
        /* OperationErrorGenerator.kt:242 */
  302    341   
    }
         342  +
    /* OperationErrorGenerator.kt:257 */
  303    343   
    /// Returns `true` if the error kind is `RestoreTableFromBackupError::BackupInUseError`.
         344  +
    /* OperationErrorGenerator.kt:258 */
  304    345   
    pub fn is_backup_in_use_error(&self) -> bool {
         346  +
        /* OperationErrorGenerator.kt:259 */
  305    347   
        matches!(self, Self::BackupInUseError(_))
         348  +
        /* OperationErrorGenerator.kt:258 */
  306    349   
    }
         350  +
    /* OperationErrorGenerator.kt:257 */
  307    351   
    /// Returns `true` if the error kind is `RestoreTableFromBackupError::BackupNotFoundError`.
         352  +
    /* OperationErrorGenerator.kt:258 */
  308    353   
    pub fn is_backup_not_found_error(&self) -> bool {
         354  +
        /* OperationErrorGenerator.kt:259 */
  309    355   
        matches!(self, Self::BackupNotFoundError(_))
         356  +
        /* OperationErrorGenerator.kt:258 */
  310    357   
    }
         358  +
    /* OperationErrorGenerator.kt:257 */
  311    359   
    /// Returns `true` if the error kind is `RestoreTableFromBackupError::InternalServerError`.
         360  +
    /* OperationErrorGenerator.kt:258 */
  312    361   
    pub fn is_internal_server_error(&self) -> bool {
         362  +
        /* OperationErrorGenerator.kt:259 */
  313    363   
        matches!(self, Self::InternalServerError(_))
         364  +
        /* OperationErrorGenerator.kt:258 */
  314    365   
    }
         366  +
    /* OperationErrorGenerator.kt:257 */
  315    367   
    /// Returns `true` if the error kind is `RestoreTableFromBackupError::InvalidEndpointError`.
         368  +
    /* OperationErrorGenerator.kt:258 */
  316    369   
    pub fn is_invalid_endpoint_error(&self) -> bool {
         370  +
        /* OperationErrorGenerator.kt:259 */
  317    371   
        matches!(self, Self::InvalidEndpointError(_))
         372  +
        /* OperationErrorGenerator.kt:258 */
  318    373   
    }
         374  +
    /* OperationErrorGenerator.kt:257 */
  319    375   
    /// Returns `true` if the error kind is `RestoreTableFromBackupError::LimitExceededError`.
         376  +
    /* OperationErrorGenerator.kt:258 */
  320    377   
    pub fn is_limit_exceeded_error(&self) -> bool {
         378  +
        /* OperationErrorGenerator.kt:259 */
  321    379   
        matches!(self, Self::LimitExceededError(_))
         380  +
        /* OperationErrorGenerator.kt:258 */
  322    381   
    }
         382  +
    /* OperationErrorGenerator.kt:257 */
  323    383   
    /// Returns `true` if the error kind is `RestoreTableFromBackupError::TableAlreadyExistsError`.
         384  +
    /* OperationErrorGenerator.kt:258 */
  324    385   
    pub fn is_table_already_exists_error(&self) -> bool {
         386  +
        /* OperationErrorGenerator.kt:259 */
  325    387   
        matches!(self, Self::TableAlreadyExistsError(_))
         388  +
        /* OperationErrorGenerator.kt:258 */
  326    389   
    }
         390  +
    /* OperationErrorGenerator.kt:257 */
  327    391   
    /// Returns `true` if the error kind is `RestoreTableFromBackupError::TableInUseError`.
         392  +
    /* OperationErrorGenerator.kt:258 */
  328    393   
    pub fn is_table_in_use_error(&self) -> bool {
         394  +
        /* OperationErrorGenerator.kt:259 */
  329    395   
        matches!(self, Self::TableInUseError(_))
         396  +
        /* OperationErrorGenerator.kt:258 */
  330    397   
    }
         398  +
    /* OperationErrorGenerator.kt:218 */
  331    399   
}
         400  +
/* OperationErrorGenerator.kt:269 */
  332    401   
impl ::std::error::Error for RestoreTableFromBackupError {
         402  +
    /* OperationErrorGenerator.kt:270 */
  333    403   
    fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
         404  +
        /* OperationErrorGenerator.kt:318 */
  334    405   
        match self {
  335         -
            Self::BackupInUseError(_inner) => ::std::option::Option::Some(_inner),
  336         -
            Self::BackupNotFoundError(_inner) => ::std::option::Option::Some(_inner),
  337         -
            Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner),
  338         -
            Self::InvalidEndpointError(_inner) => ::std::option::Option::Some(_inner),
  339         -
            Self::LimitExceededError(_inner) => ::std::option::Option::Some(_inner),
  340         -
            Self::TableAlreadyExistsError(_inner) => ::std::option::Option::Some(_inner),
  341         -
            Self::TableInUseError(_inner) => ::std::option::Option::Some(_inner),
  342         -
            Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
         406  +
            /* OperationErrorGenerator.kt:321 */
         407  +
            Self::BackupInUseError(_inner) =>
         408  +
            /* OperationErrorGenerator.kt:283 */
         409  +
            {
         410  +
                ::std::option::Option::Some(_inner)
         411  +
            }
         412  +
            ,
         413  +
            /* OperationErrorGenerator.kt:321 */
         414  +
            Self::BackupNotFoundError(_inner) =>
         415  +
            /* OperationErrorGenerator.kt:283 */
         416  +
            {
         417  +
                ::std::option::Option::Some(_inner)
         418  +
            }
         419  +
            ,
         420  +
            /* OperationErrorGenerator.kt:321 */
         421  +
            Self::InternalServerError(_inner) =>
         422  +
            /* OperationErrorGenerator.kt:283 */
         423  +
            {
         424  +
                ::std::option::Option::Some(_inner)
         425  +
            }
         426  +
            ,
         427  +
            /* OperationErrorGenerator.kt:321 */
         428  +
            Self::InvalidEndpointError(_inner) =>
         429  +
            /* OperationErrorGenerator.kt:283 */
         430  +
            {
         431  +
                ::std::option::Option::Some(_inner)
         432  +
            }
         433  +
            ,
         434  +
            /* OperationErrorGenerator.kt:321 */
         435  +
            Self::LimitExceededError(_inner) =>
         436  +
            /* OperationErrorGenerator.kt:283 */
         437  +
            {
         438  +
                ::std::option::Option::Some(_inner)
         439  +
            }
         440  +
            ,
         441  +
            /* OperationErrorGenerator.kt:321 */
         442  +
            Self::TableAlreadyExistsError(_inner) =>
         443  +
            /* OperationErrorGenerator.kt:283 */
         444  +
            {
         445  +
                ::std::option::Option::Some(_inner)
         446  +
            }
         447  +
            ,
         448  +
            /* OperationErrorGenerator.kt:321 */
         449  +
            Self::TableInUseError(_inner) =>
         450  +
            /* OperationErrorGenerator.kt:283 */
         451  +
            {
         452  +
                ::std::option::Option::Some(_inner)
         453  +
            }
         454  +
            ,
         455  +
            /* OperationErrorGenerator.kt:326 */
         456  +
            Self::Unhandled(_inner) => {
         457  +
                /* OperationErrorGenerator.kt:279 */
         458  +
                ::std::option::Option::Some(&*_inner.source)
         459  +
                /* OperationErrorGenerator.kt:326 */
         460  +
            } /* OperationErrorGenerator.kt:318 */
  343    461   
        }
         462  +
        /* OperationErrorGenerator.kt:270 */
  344    463   
    }
         464  +
    /* OperationErrorGenerator.kt:269 */
  345    465   
}
         466  +
/* OperationErrorGenerator.kt:133 */
  346    467   
impl ::std::fmt::Display for RestoreTableFromBackupError {
         468  +
    /* OperationErrorGenerator.kt:134 */
  347    469   
    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
         470  +
        /* OperationErrorGenerator.kt:318 */
  348    471   
        match self {
  349         -
            Self::BackupInUseError(_inner) => _inner.fmt(f),
  350         -
            Self::BackupNotFoundError(_inner) => _inner.fmt(f),
  351         -
            Self::InternalServerError(_inner) => _inner.fmt(f),
  352         -
            Self::InvalidEndpointError(_inner) => _inner.fmt(f),
  353         -
            Self::LimitExceededError(_inner) => _inner.fmt(f),
  354         -
            Self::TableAlreadyExistsError(_inner) => _inner.fmt(f),
  355         -
            Self::TableInUseError(_inner) => _inner.fmt(f),
         472  +
            /* OperationErrorGenerator.kt:321 */
         473  +
            Self::BackupInUseError(_inner) =>
         474  +
            /* OperationErrorGenerator.kt:151 */
         475  +
            {
         476  +
                _inner.fmt(f)
         477  +
            }
         478  +
            ,
         479  +
            /* OperationErrorGenerator.kt:321 */
         480  +
            Self::BackupNotFoundError(_inner) =>
         481  +
            /* OperationErrorGenerator.kt:151 */
         482  +
            {
         483  +
                _inner.fmt(f)
         484  +
            }
         485  +
            ,
         486  +
            /* OperationErrorGenerator.kt:321 */
         487  +
            Self::InternalServerError(_inner) =>
         488  +
            /* OperationErrorGenerator.kt:151 */
         489  +
            {
         490  +
                _inner.fmt(f)
         491  +
            }
         492  +
            ,
         493  +
            /* OperationErrorGenerator.kt:321 */
         494  +
            Self::InvalidEndpointError(_inner) =>
         495  +
            /* OperationErrorGenerator.kt:151 */
         496  +
            {
         497  +
                _inner.fmt(f)
         498  +
            }
         499  +
            ,
         500  +
            /* OperationErrorGenerator.kt:321 */
         501  +
            Self::LimitExceededError(_inner) =>
         502  +
            /* OperationErrorGenerator.kt:151 */
         503  +
            {
         504  +
                _inner.fmt(f)
         505  +
            }
         506  +
            ,
         507  +
            /* OperationErrorGenerator.kt:321 */
         508  +
            Self::TableAlreadyExistsError(_inner) =>
         509  +
            /* OperationErrorGenerator.kt:151 */
         510  +
            {
         511  +
                _inner.fmt(f)
         512  +
            }
         513  +
            ,
         514  +
            /* OperationErrorGenerator.kt:321 */
         515  +
            Self::TableInUseError(_inner) =>
         516  +
            /* OperationErrorGenerator.kt:151 */
         517  +
            {
         518  +
                _inner.fmt(f)
         519  +
            }
         520  +
            ,
         521  +
            /* OperationErrorGenerator.kt:326 */
  356    522   
            Self::Unhandled(_inner) => {
         523  +
                /* OperationErrorGenerator.kt:139 */
  357    524   
                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
  358    525   
                    write!(f, "unhandled error ({code})")
  359    526   
                } else {
  360    527   
                    f.write_str("unhandled error")
  361    528   
                }
         529  +
                /* OperationErrorGenerator.kt:326 */
         530  +
            } /* OperationErrorGenerator.kt:318 */
  362    531   
        }
         532  +
        /* OperationErrorGenerator.kt:134 */
  363    533   
    }
  364         -
    }
         534  +
    /* OperationErrorGenerator.kt:133 */
  365    535   
}
         536  +
/* OperationErrorGenerator.kt:182 */
  366    537   
impl ::aws_smithy_types::retry::ProvideErrorKind for RestoreTableFromBackupError {
         538  +
    /* OperationErrorGenerator.kt:186 */
  367    539   
    fn code(&self) -> ::std::option::Option<&str> {
         540  +
        /* OperationErrorGenerator.kt:187 */
  368    541   
        ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
         542  +
        /* OperationErrorGenerator.kt:186 */
  369    543   
    }
         544  +
    /* OperationErrorGenerator.kt:190 */
  370    545   
    fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
         546  +
        /* OperationErrorGenerator.kt:197 */
  371    547   
        ::std::option::Option::None
         548  +
        /* OperationErrorGenerator.kt:190 */
  372    549   
    }
         550  +
    /* OperationErrorGenerator.kt:182 */
  373    551   
}
         552  +
/* OperationErrorGenerator.kt:163 */
  374    553   
impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for RestoreTableFromBackupError {
         554  +
    /* OperationErrorGenerator.kt:164 */
  375    555   
    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
         556  +
        /* OperationErrorGenerator.kt:318 */
  376    557   
        match self {
  377         -
            Self::BackupInUseError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
  378         -
            Self::BackupNotFoundError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
  379         -
            Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
  380         -
            Self::InvalidEndpointError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
  381         -
            Self::LimitExceededError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
  382         -
            Self::TableAlreadyExistsError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
  383         -
            Self::TableInUseError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
  384         -
            Self::Unhandled(_inner) => &_inner.meta,
         558  +
            /* OperationErrorGenerator.kt:321 */
         559  +
            Self::BackupInUseError(_inner) =>
         560  +
            /* OperationErrorGenerator.kt:169 */
         561  +
            {
         562  +
                ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
         563  +
            }
         564  +
            ,
         565  +
            /* OperationErrorGenerator.kt:321 */
         566  +
            Self::BackupNotFoundError(_inner) =>
         567  +
            /* OperationErrorGenerator.kt:169 */
         568  +
            {
         569  +
                ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
         570  +
            }
         571  +
            ,
         572  +
            /* OperationErrorGenerator.kt:321 */
         573  +
            Self::InternalServerError(_inner) =>
         574  +
            /* OperationErrorGenerator.kt:169 */
         575  +
            {
         576  +
                ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
         577  +
            }
         578  +
            ,
         579  +
            /* OperationErrorGenerator.kt:321 */
         580  +
            Self::InvalidEndpointError(_inner) =>
         581  +
            /* OperationErrorGenerator.kt:169 */
         582  +
            {
         583  +
                ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
         584  +
            }
         585  +
            ,
         586  +
            /* OperationErrorGenerator.kt:321 */
         587  +
            Self::LimitExceededError(_inner) =>
         588  +
            /* OperationErrorGenerator.kt:169 */
         589  +
            {
         590  +
                ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
         591  +
            }
         592  +
            ,
         593  +
            /* OperationErrorGenerator.kt:321 */
         594  +
            Self::TableAlreadyExistsError(_inner) =>
         595  +
            /* OperationErrorGenerator.kt:169 */
         596  +
            {
         597  +
                ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
         598  +
            }
         599  +
            ,
         600  +
            /* OperationErrorGenerator.kt:321 */
         601  +
            Self::TableInUseError(_inner) =>
         602  +
            /* OperationErrorGenerator.kt:169 */
         603  +
            {
         604  +
                ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
         605  +
            }
         606  +
            ,
         607  +
            /* OperationErrorGenerator.kt:326 */
         608  +
            Self::Unhandled(_inner) => {
         609  +
                /* OperationErrorGenerator.kt:168 */
         610  +
                &_inner.meta
         611  +
                /* OperationErrorGenerator.kt:326 */
         612  +
            } /* OperationErrorGenerator.kt:318 */
  385    613   
        }
         614  +
        /* OperationErrorGenerator.kt:164 */
  386    615   
    }
         616  +
    /* OperationErrorGenerator.kt:163 */
  387    617   
}
         618  +
/* OperationErrorGenerator.kt:109 */
  388    619   
impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for RestoreTableFromBackupError {
         620  +
    /* OperationErrorGenerator.kt:110 */
  389    621   
    fn create_unhandled_error(
  390    622   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  391    623   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  392    624   
    ) -> Self {
         625  +
        /* OperationErrorGenerator.kt:121 */
  393    626   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  394    627   
            source,
  395    628   
            meta: meta.unwrap_or_default(),
  396    629   
        })
         630  +
        /* OperationErrorGenerator.kt:110 */
  397    631   
    }
         632  +
    /* OperationErrorGenerator.kt:109 */
  398    633   
}
  399    634   
         635  +
/* CodegenDelegator.kt:255 */
  400    636   
pub use crate::operation::restore_table_from_backup::_restore_table_from_backup_output::RestoreTableFromBackupOutput;
  401    637   
         638  +
/* CodegenDelegator.kt:255 */
  402    639   
pub use crate::operation::restore_table_from_backup::_restore_table_from_backup_input::RestoreTableFromBackupInput;
  403    640   
         641  +
/* RustModule.kt:172 */
  404    642   
mod _restore_table_from_backup_input;
  405    643   
         644  +
/* RustModule.kt:172 */
  406    645   
mod _restore_table_from_backup_output;
  407    646   
  408         -
/// Builders
         647  +
/// /* CodegenDelegator.kt:51 */Builders
  409    648   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/restore_table_from_backup/_restore_table_from_backup_input.rs

@@ -1,1 +204,336 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* StructureGenerator.kt:197 */
    2      3   
#[allow(missing_docs)] // documentation missing in model
           4  +
/* RustType.kt:516 */
    3      5   
#[non_exhaustive]
           6  +
/* RustType.kt:516 */
    4      7   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5         -
pub struct RestoreTableFromBackupInput {
    6         -
    /// <p>The name of the new table to which the backup must be restored.</p>
           8  +
pub /* StructureGenerator.kt:201 */ struct RestoreTableFromBackupInput {
           9  +
    /// /* StructureGenerator.kt:231 */<p>The name of the new table to which the backup must be restored.</p>
    7     10   
    pub target_table_name: ::std::option::Option<::std::string::String>,
    8         -
    /// <p>The Amazon Resource Name (ARN) associated with the backup.</p>
          11  +
    /// /* StructureGenerator.kt:231 */<p>The Amazon Resource Name (ARN) associated with the backup.</p>
    9     12   
    pub backup_arn: ::std::option::Option<::std::string::String>,
   10         -
    /// <p>The billing mode of the restored table.</p>
          13  +
    /// /* StructureGenerator.kt:231 */<p>The billing mode of the restored table.</p>
   11     14   
    pub billing_mode_override: ::std::option::Option<crate::types::BillingMode>,
   12         -
    /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
          15  +
    /// /* StructureGenerator.kt:231 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
   13     16   
    pub global_secondary_index_override: ::std::option::Option<::std::vec::Vec<crate::types::GlobalSecondaryIndex>>,
   14         -
    /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
          17  +
    /// /* StructureGenerator.kt:231 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
   15     18   
    pub local_secondary_index_override: ::std::option::Option<::std::vec::Vec<crate::types::LocalSecondaryIndex>>,
   16         -
    /// <p>Provisioned throughput settings for the restored table.</p>
          19  +
    /// /* StructureGenerator.kt:231 */<p>Provisioned throughput settings for the restored table.</p>
   17     20   
    pub provisioned_throughput_override: ::std::option::Option<crate::types::ProvisionedThroughput>,
   18         -
    /// <p>The new server-side encryption settings for the restored table.</p>
          21  +
    /// /* StructureGenerator.kt:231 */<p>The new server-side encryption settings for the restored table.</p>
   19     22   
    pub sse_specification_override: ::std::option::Option<crate::types::SseSpecification>,
          23  +
    /* StructureGenerator.kt:201 */
   20     24   
}
          25  +
/* StructureGenerator.kt:135 */
   21     26   
impl RestoreTableFromBackupInput {
   22         -
    /// <p>The name of the new table to which the backup must be restored.</p>
          27  +
    /// /* StructureGenerator.kt:231 */<p>The name of the new table to which the backup must be restored.</p>
          28  +
    /* StructureGenerator.kt:166 */
   23     29   
    pub fn target_table_name(&self) -> ::std::option::Option<&str> {
          30  +
        /* StructureGenerator.kt:169 */
   24     31   
        self.target_table_name.as_deref()
          32  +
        /* StructureGenerator.kt:166 */
   25     33   
    }
   26         -
    /// <p>The Amazon Resource Name (ARN) associated with the backup.</p>
          34  +
    /// /* StructureGenerator.kt:231 */<p>The Amazon Resource Name (ARN) associated with the backup.</p>
          35  +
    /* StructureGenerator.kt:166 */
   27     36   
    pub fn backup_arn(&self) -> ::std::option::Option<&str> {
          37  +
        /* StructureGenerator.kt:169 */
   28     38   
        self.backup_arn.as_deref()
          39  +
        /* StructureGenerator.kt:166 */
   29     40   
    }
   30         -
    /// <p>The billing mode of the restored table.</p>
          41  +
    /// /* StructureGenerator.kt:231 */<p>The billing mode of the restored table.</p>
          42  +
    /* StructureGenerator.kt:166 */
   31     43   
    pub fn billing_mode_override(&self) -> ::std::option::Option<&crate::types::BillingMode> {
          44  +
        /* StructureGenerator.kt:170 */
   32     45   
        self.billing_mode_override.as_ref()
          46  +
        /* StructureGenerator.kt:166 */
   33     47   
    }
   34         -
    /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
   35         -
    ///
   36         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.global_secondary_index_override.is_none()`.
          48  +
    /// /* StructureGenerator.kt:231 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
          49  +
    /// /* StructureGenerator.kt:162 */
          50  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.global_secondary_index_override.is_none()`.
          51  +
    /* StructureGenerator.kt:166 */
   37     52   
    pub fn global_secondary_index_override(&self) -> &[crate::types::GlobalSecondaryIndex] {
   38         -
        self.global_secondary_index_override.as_deref().unwrap_or_default()
          53  +
        /* StructureGenerator.kt:169 */
          54  +
        self.global_secondary_index_override
          55  +
            .as_deref()
          56  +
            /* StructureGenerator.kt:175 */
          57  +
            .unwrap_or_default()
          58  +
        /* StructureGenerator.kt:166 */
   39     59   
    }
   40         -
    /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
   41         -
    ///
   42         -
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.local_secondary_index_override.is_none()`.
          60  +
    /// /* StructureGenerator.kt:231 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
          61  +
    /// /* StructureGenerator.kt:162 */
          62  +
    /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.local_secondary_index_override.is_none()`.
          63  +
    /* StructureGenerator.kt:166 */
   43     64   
    pub fn local_secondary_index_override(&self) -> &[crate::types::LocalSecondaryIndex] {
   44         -
        self.local_secondary_index_override.as_deref().unwrap_or_default()
          65  +
        /* StructureGenerator.kt:169 */
          66  +
        self.local_secondary_index_override
          67  +
            .as_deref()
          68  +
            /* StructureGenerator.kt:175 */
          69  +
            .unwrap_or_default()
          70  +
        /* StructureGenerator.kt:166 */
   45     71   
    }
   46         -
    /// <p>Provisioned throughput settings for the restored table.</p>
          72  +
    /// /* StructureGenerator.kt:231 */<p>Provisioned throughput settings for the restored table.</p>
          73  +
    /* StructureGenerator.kt:166 */
   47     74   
    pub fn provisioned_throughput_override(&self) -> ::std::option::Option<&crate::types::ProvisionedThroughput> {
          75  +
        /* StructureGenerator.kt:170 */
   48     76   
        self.provisioned_throughput_override.as_ref()
          77  +
        /* StructureGenerator.kt:166 */
   49     78   
    }
   50         -
    /// <p>The new server-side encryption settings for the restored table.</p>
          79  +
    /// /* StructureGenerator.kt:231 */<p>The new server-side encryption settings for the restored table.</p>
          80  +
    /* StructureGenerator.kt:166 */
   51     81   
    pub fn sse_specification_override(&self) -> ::std::option::Option<&crate::types::SseSpecification> {
          82  +
        /* StructureGenerator.kt:170 */
   52     83   
        self.sse_specification_override.as_ref()
          84  +
        /* StructureGenerator.kt:166 */
   53     85   
    }
          86  +
    /* StructureGenerator.kt:135 */
   54     87   
}
          88  +
/* ClientCodegenVisitor.kt:237 */
   55     89   
impl RestoreTableFromBackupInput {
   56         -
    /// Creates a new builder-style object to manufacture [`RestoreTableFromBackupInput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupInput).
          90  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`RestoreTableFromBackupInput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupInput).
          91  +
    /* BuilderGenerator.kt:175 */
   57     92   
    pub fn builder() -> crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupInputBuilder {
          93  +
        /* BuilderGenerator.kt:176 */
   58     94   
        crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupInputBuilder::default()
          95  +
        /* BuilderGenerator.kt:175 */
   59     96   
    }
          97  +
    /* ClientCodegenVisitor.kt:237 */
   60     98   
}
   61     99   
   62         -
/// A builder for [`RestoreTableFromBackupInput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupInput).
         100  +
/// /* BuilderGenerator.kt:342 */A builder for [`RestoreTableFromBackupInput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupInput).
         101  +
/* RustType.kt:516 */
   63    102   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
         103  +
/* RustType.kt:516 */
   64    104   
#[non_exhaustive]
         105  +
/* BuilderGenerator.kt:345 */
   65    106   
pub struct RestoreTableFromBackupInputBuilder {
   66         -
    pub(crate) target_table_name: ::std::option::Option<::std::string::String>,
   67         -
    pub(crate) backup_arn: ::std::option::Option<::std::string::String>,
   68         -
    pub(crate) billing_mode_override: ::std::option::Option<crate::types::BillingMode>,
         107  +
    /* BuilderGenerator.kt:275 */ pub(crate) target_table_name: ::std::option::Option<::std::string::String>,
         108  +
    /* BuilderGenerator.kt:275 */ pub(crate) backup_arn: ::std::option::Option<::std::string::String>,
         109  +
    /* BuilderGenerator.kt:275 */ pub(crate) billing_mode_override: ::std::option::Option<crate::types::BillingMode>,
         110  +
    /* BuilderGenerator.kt:275 */
   69    111   
    pub(crate) global_secondary_index_override: ::std::option::Option<::std::vec::Vec<crate::types::GlobalSecondaryIndex>>,
         112  +
    /* BuilderGenerator.kt:275 */
   70    113   
    pub(crate) local_secondary_index_override: ::std::option::Option<::std::vec::Vec<crate::types::LocalSecondaryIndex>>,
   71         -
    pub(crate) provisioned_throughput_override: ::std::option::Option<crate::types::ProvisionedThroughput>,
         114  +
    /* BuilderGenerator.kt:275 */ pub(crate) provisioned_throughput_override: ::std::option::Option<crate::types::ProvisionedThroughput>,
         115  +
    /* BuilderGenerator.kt:275 */
   72    116   
    pub(crate) sse_specification_override: ::std::option::Option<crate::types::SseSpecification>,
         117  +
    /* BuilderGenerator.kt:345 */
   73    118   
}
         119  +
/* BuilderGenerator.kt:355 */
   74    120   
impl RestoreTableFromBackupInputBuilder {
   75         -
    /// <p>The name of the new table to which the backup must be restored.</p>
   76         -
    /// This field is required.
         121  +
    /// /* BuilderGenerator.kt:286 */<p>The name of the new table to which the backup must be restored.</p>
         122  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         123  +
    /* BuilderGenerator.kt:291 */
   77    124   
    pub fn target_table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         125  +
        /* BuilderGenerator.kt:292 */
   78    126   
        self.target_table_name = ::std::option::Option::Some(input.into());
         127  +
        /* BuilderGenerator.kt:293 */
   79    128   
        self
         129  +
        /* BuilderGenerator.kt:291 */
   80    130   
    }
   81         -
    /// <p>The name of the new table to which the backup must be restored.</p>
         131  +
    /// /* BuilderGenerator.kt:312 */<p>The name of the new table to which the backup must be restored.</p>
         132  +
    /* BuilderGenerator.kt:314 */
   82    133   
    pub fn set_target_table_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         134  +
        /* BuilderGenerator.kt:315 */
   83    135   
        self.target_table_name = input;
   84    136   
        self
         137  +
        /* BuilderGenerator.kt:314 */
   85    138   
    }
   86         -
    /// <p>The name of the new table to which the backup must be restored.</p>
         139  +
    /// /* BuilderGenerator.kt:334 */<p>The name of the new table to which the backup must be restored.</p>
         140  +
    /* BuilderGenerator.kt:336 */
   87    141   
    pub fn get_target_table_name(&self) -> &::std::option::Option<::std::string::String> {
         142  +
        /* BuilderGenerator.kt:337 */
   88    143   
        &self.target_table_name
         144  +
        /* BuilderGenerator.kt:336 */
   89    145   
    }
   90         -
    /// <p>The Amazon Resource Name (ARN) associated with the backup.</p>
   91         -
    /// This field is required.
         146  +
    /// /* BuilderGenerator.kt:286 */<p>The Amazon Resource Name (ARN) associated with the backup.</p>
         147  +
    /// /* BuilderGenerator.kt:288 */This field is required.
         148  +
    /* BuilderGenerator.kt:291 */
   92    149   
    pub fn backup_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         150  +
        /* BuilderGenerator.kt:292 */
   93    151   
        self.backup_arn = ::std::option::Option::Some(input.into());
         152  +
        /* BuilderGenerator.kt:293 */
   94    153   
        self
         154  +
        /* BuilderGenerator.kt:291 */
   95    155   
    }
   96         -
    /// <p>The Amazon Resource Name (ARN) associated with the backup.</p>
         156  +
    /// /* BuilderGenerator.kt:312 */<p>The Amazon Resource Name (ARN) associated with the backup.</p>
         157  +
    /* BuilderGenerator.kt:314 */
   97    158   
    pub fn set_backup_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         159  +
        /* BuilderGenerator.kt:315 */
   98    160   
        self.backup_arn = input;
   99    161   
        self
         162  +
        /* BuilderGenerator.kt:314 */
  100    163   
    }
  101         -
    /// <p>The Amazon Resource Name (ARN) associated with the backup.</p>
         164  +
    /// /* BuilderGenerator.kt:334 */<p>The Amazon Resource Name (ARN) associated with the backup.</p>
         165  +
    /* BuilderGenerator.kt:336 */
  102    166   
    pub fn get_backup_arn(&self) -> &::std::option::Option<::std::string::String> {
         167  +
        /* BuilderGenerator.kt:337 */
  103    168   
        &self.backup_arn
         169  +
        /* BuilderGenerator.kt:336 */
  104    170   
    }
  105         -
    /// <p>The billing mode of the restored table.</p>
         171  +
    /// /* BuilderGenerator.kt:286 */<p>The billing mode of the restored table.</p>
         172  +
    /* BuilderGenerator.kt:291 */
  106    173   
    pub fn billing_mode_override(mut self, input: crate::types::BillingMode) -> Self {
         174  +
        /* BuilderGenerator.kt:292 */
  107    175   
        self.billing_mode_override = ::std::option::Option::Some(input);
         176  +
        /* BuilderGenerator.kt:293 */
  108    177   
        self
         178  +
        /* BuilderGenerator.kt:291 */
  109    179   
    }
  110         -
    /// <p>The billing mode of the restored table.</p>
         180  +
    /// /* BuilderGenerator.kt:312 */<p>The billing mode of the restored table.</p>
         181  +
    /* BuilderGenerator.kt:314 */
  111    182   
    pub fn set_billing_mode_override(mut self, input: ::std::option::Option<crate::types::BillingMode>) -> Self {
         183  +
        /* BuilderGenerator.kt:315 */
  112    184   
        self.billing_mode_override = input;
  113    185   
        self
         186  +
        /* BuilderGenerator.kt:314 */
  114    187   
    }
  115         -
    /// <p>The billing mode of the restored table.</p>
         188  +
    /// /* BuilderGenerator.kt:334 */<p>The billing mode of the restored table.</p>
         189  +
    /* BuilderGenerator.kt:336 */
  116    190   
    pub fn get_billing_mode_override(&self) -> &::std::option::Option<crate::types::BillingMode> {
         191  +
        /* BuilderGenerator.kt:337 */
  117    192   
        &self.billing_mode_override
         193  +
        /* BuilderGenerator.kt:336 */
  118    194   
    }
  119         -
    /// Appends an item to `global_secondary_index_override`.
         195  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `global_secondary_index_override`.
         196  +
    /* BuilderGenerator.kt:411 */
  120    197   
    ///
  121         -
    /// To override the contents of this collection use [`set_global_secondary_index_override`](Self::set_global_secondary_index_override).
         198  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_global_secondary_index_override`](Self::set_global_secondary_index_override).
         199  +
    /* BuilderGenerator.kt:413 */
  122    200   
    ///
  123         -
    /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         201  +
    /// /* BuilderGenerator.kt:414 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         202  +
    /* BuilderGenerator.kt:418 */
  124    203   
    pub fn global_secondary_index_override(mut self, input: crate::types::GlobalSecondaryIndex) -> Self {
         204  +
        /* BuilderGenerator.kt:419 */
  125    205   
        let mut v = self.global_secondary_index_override.unwrap_or_default();
  126    206   
        v.push(input);
  127    207   
        self.global_secondary_index_override = ::std::option::Option::Some(v);
  128    208   
        self
         209  +
        /* BuilderGenerator.kt:418 */
  129    210   
    }
  130         -
    /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         211  +
    /// /* BuilderGenerator.kt:312 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         212  +
    /* BuilderGenerator.kt:314 */
  131    213   
    pub fn set_global_secondary_index_override(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::GlobalSecondaryIndex>>) -> Self {
         214  +
        /* BuilderGenerator.kt:315 */
  132    215   
        self.global_secondary_index_override = input;
  133    216   
        self
         217  +
        /* BuilderGenerator.kt:314 */
  134    218   
    }
  135         -
    /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         219  +
    /// /* BuilderGenerator.kt:334 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         220  +
    /* BuilderGenerator.kt:336 */
  136    221   
    pub fn get_global_secondary_index_override(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::GlobalSecondaryIndex>> {
         222  +
        /* BuilderGenerator.kt:337 */
  137    223   
        &self.global_secondary_index_override
         224  +
        /* BuilderGenerator.kt:336 */
  138    225   
    }
  139         -
    /// Appends an item to `local_secondary_index_override`.
         226  +
    /// /* BuilderGenerator.kt:410 */Appends an item to `local_secondary_index_override`.
         227  +
    /* BuilderGenerator.kt:411 */
  140    228   
    ///
  141         -
    /// To override the contents of this collection use [`set_local_secondary_index_override`](Self::set_local_secondary_index_override).
         229  +
    /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_local_secondary_index_override`](Self::set_local_secondary_index_override).
         230  +
    /* BuilderGenerator.kt:413 */
  142    231   
    ///
  143         -
    /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         232  +
    /// /* BuilderGenerator.kt:414 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         233  +
    /* BuilderGenerator.kt:418 */
  144    234   
    pub fn local_secondary_index_override(mut self, input: crate::types::LocalSecondaryIndex) -> Self {
         235  +
        /* BuilderGenerator.kt:419 */
  145    236   
        let mut v = self.local_secondary_index_override.unwrap_or_default();
  146    237   
        v.push(input);
  147    238   
        self.local_secondary_index_override = ::std::option::Option::Some(v);
  148    239   
        self
         240  +
        /* BuilderGenerator.kt:418 */
  149    241   
    }
  150         -
    /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         242  +
    /// /* BuilderGenerator.kt:312 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         243  +
    /* BuilderGenerator.kt:314 */
  151    244   
    pub fn set_local_secondary_index_override(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::LocalSecondaryIndex>>) -> Self {
         245  +
        /* BuilderGenerator.kt:315 */
  152    246   
        self.local_secondary_index_override = input;
  153    247   
        self
         248  +
        /* BuilderGenerator.kt:314 */
  154    249   
    }
  155         -
    /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         250  +
    /// /* BuilderGenerator.kt:334 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         251  +
    /* BuilderGenerator.kt:336 */
  156    252   
    pub fn get_local_secondary_index_override(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::LocalSecondaryIndex>> {
         253  +
        /* BuilderGenerator.kt:337 */
  157    254   
        &self.local_secondary_index_override
         255  +
        /* BuilderGenerator.kt:336 */
  158    256   
    }
  159         -
    /// <p>Provisioned throughput settings for the restored table.</p>
         257  +
    /// /* BuilderGenerator.kt:286 */<p>Provisioned throughput settings for the restored table.</p>
         258  +
    /* BuilderGenerator.kt:291 */
  160    259   
    pub fn provisioned_throughput_override(mut self, input: crate::types::ProvisionedThroughput) -> Self {
         260  +
        /* BuilderGenerator.kt:292 */
  161    261   
        self.provisioned_throughput_override = ::std::option::Option::Some(input);
         262  +
        /* BuilderGenerator.kt:293 */
  162    263   
        self
         264  +
        /* BuilderGenerator.kt:291 */
  163    265   
    }
  164         -
    /// <p>Provisioned throughput settings for the restored table.</p>
         266  +
    /// /* BuilderGenerator.kt:312 */<p>Provisioned throughput settings for the restored table.</p>
         267  +
    /* BuilderGenerator.kt:314 */
  165    268   
    pub fn set_provisioned_throughput_override(mut self, input: ::std::option::Option<crate::types::ProvisionedThroughput>) -> Self {
         269  +
        /* BuilderGenerator.kt:315 */
  166    270   
        self.provisioned_throughput_override = input;
  167    271   
        self
         272  +
        /* BuilderGenerator.kt:314 */
  168    273   
    }
  169         -
    /// <p>Provisioned throughput settings for the restored table.</p>
         274  +
    /// /* BuilderGenerator.kt:334 */<p>Provisioned throughput settings for the restored table.</p>
         275  +
    /* BuilderGenerator.kt:336 */
  170    276   
    pub fn get_provisioned_throughput_override(&self) -> &::std::option::Option<crate::types::ProvisionedThroughput> {
         277  +
        /* BuilderGenerator.kt:337 */
  171    278   
        &self.provisioned_throughput_override
         279  +
        /* BuilderGenerator.kt:336 */
  172    280   
    }
  173         -
    /// <p>The new server-side encryption settings for the restored table.</p>
         281  +
    /// /* BuilderGenerator.kt:286 */<p>The new server-side encryption settings for the restored table.</p>
         282  +
    /* BuilderGenerator.kt:291 */
  174    283   
    pub fn sse_specification_override(mut self, input: crate::types::SseSpecification) -> Self {
         284  +
        /* BuilderGenerator.kt:292 */
  175    285   
        self.sse_specification_override = ::std::option::Option::Some(input);
         286  +
        /* BuilderGenerator.kt:293 */
  176    287   
        self
         288  +
        /* BuilderGenerator.kt:291 */
  177    289   
    }
  178         -
    /// <p>The new server-side encryption settings for the restored table.</p>
         290  +
    /// /* BuilderGenerator.kt:312 */<p>The new server-side encryption settings for the restored table.</p>
         291  +
    /* BuilderGenerator.kt:314 */
  179    292   
    pub fn set_sse_specification_override(mut self, input: ::std::option::Option<crate::types::SseSpecification>) -> Self {
         293  +
        /* BuilderGenerator.kt:315 */
  180    294   
        self.sse_specification_override = input;
  181    295   
        self
         296  +
        /* BuilderGenerator.kt:314 */
  182    297   
    }
  183         -
    /// <p>The new server-side encryption settings for the restored table.</p>
         298  +
    /// /* BuilderGenerator.kt:334 */<p>The new server-side encryption settings for the restored table.</p>
         299  +
    /* BuilderGenerator.kt:336 */
  184    300   
    pub fn get_sse_specification_override(&self) -> &::std::option::Option<crate::types::SseSpecification> {
         301  +
        /* BuilderGenerator.kt:337 */
  185    302   
        &self.sse_specification_override
         303  +
        /* BuilderGenerator.kt:336 */
  186    304   
    }
  187         -
    /// Consumes the builder and constructs a [`RestoreTableFromBackupInput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupInput).
         305  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`RestoreTableFromBackupInput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupInput).
         306  +
    /* BuilderGenerator.kt:253 */
  188    307   
    pub fn build(
  189    308   
        self,
  190    309   
    ) -> ::std::result::Result<
  191    310   
        crate::operation::restore_table_from_backup::RestoreTableFromBackupInput,
  192    311   
        ::aws_smithy_types::error::operation::BuildError,
  193    312   
    > {
  194         -
        ::std::result::Result::Ok(crate::operation::restore_table_from_backup::RestoreTableFromBackupInput {
  195         -
            target_table_name: self.target_table_name,
         313  +
        /* BuilderGenerator.kt:254 */
         314  +
        ::std::result::Result::Ok(
         315  +
            /* BuilderGenerator.kt:477 */
         316  +
            crate::operation::restore_table_from_backup::RestoreTableFromBackupInput {
         317  +
                /* BuilderGenerator.kt:481 */ target_table_name: self.target_table_name,
         318  +
                /* BuilderGenerator.kt:481 */
  196    319   
                backup_arn: self.backup_arn,
         320  +
                /* BuilderGenerator.kt:481 */
  197    321   
                billing_mode_override: self.billing_mode_override,
         322  +
                /* BuilderGenerator.kt:481 */
  198    323   
                global_secondary_index_override: self.global_secondary_index_override,
         324  +
                /* BuilderGenerator.kt:481 */
  199    325   
                local_secondary_index_override: self.local_secondary_index_override,
         326  +
                /* BuilderGenerator.kt:481 */
  200    327   
                provisioned_throughput_override: self.provisioned_throughput_override,
         328  +
                /* BuilderGenerator.kt:481 */
  201    329   
                sse_specification_override: self.sse_specification_override,
  202         -
        })
         330  +
                /* BuilderGenerator.kt:477 */
         331  +
            }, /* BuilderGenerator.kt:254 */
         332  +
        )
         333  +
        /* BuilderGenerator.kt:253 */
  203    334   
    }
         335  +
    /* BuilderGenerator.kt:355 */
  204    336   
}

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/restore_table_from_backup/_restore_table_from_backup_output.rs

@@ -1,1 +49,84 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* StructureGenerator.kt:197 */
    2      3   
#[allow(missing_docs)] // documentation missing in model
           4  +
/* RustType.kt:516 */
    3      5   
#[non_exhaustive]
           6  +
/* RustType.kt:516 */
    4      7   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5         -
pub struct RestoreTableFromBackupOutput {
    6         -
    /// <p>The description of the table created from an existing backup.</p>
           8  +
pub /* StructureGenerator.kt:201 */ struct RestoreTableFromBackupOutput {
           9  +
    /// /* StructureGenerator.kt:231 */<p>The description of the table created from an existing backup.</p>
    7     10   
    pub table_description: ::std::option::Option<crate::types::TableDescription>,
          11  +
    /* StructureGenerator.kt:201 */
    8     12   
}
          13  +
/* StructureGenerator.kt:135 */
    9     14   
impl RestoreTableFromBackupOutput {
   10         -
    /// <p>The description of the table created from an existing backup.</p>
          15  +
    /// /* StructureGenerator.kt:231 */<p>The description of the table created from an existing backup.</p>
          16  +
    /* StructureGenerator.kt:166 */
   11     17   
    pub fn table_description(&self) -> ::std::option::Option<&crate::types::TableDescription> {
          18  +
        /* StructureGenerator.kt:170 */
   12     19   
        self.table_description.as_ref()
          20  +
        /* StructureGenerator.kt:166 */
   13     21   
    }
          22  +
    /* StructureGenerator.kt:135 */
   14     23   
}
          24  +
/* ClientCodegenVisitor.kt:237 */
   15     25   
impl RestoreTableFromBackupOutput {
   16         -
    /// Creates a new builder-style object to manufacture [`RestoreTableFromBackupOutput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput).
          26  +
    /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`RestoreTableFromBackupOutput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput).
          27  +
    /* BuilderGenerator.kt:175 */
   17     28   
    pub fn builder() -> crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupOutputBuilder {
          29  +
        /* BuilderGenerator.kt:176 */
   18     30   
        crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupOutputBuilder::default()
          31  +
        /* BuilderGenerator.kt:175 */
   19     32   
    }
          33  +
    /* ClientCodegenVisitor.kt:237 */
   20     34   
}
   21     35   
   22         -
/// A builder for [`RestoreTableFromBackupOutput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput).
          36  +
/// /* BuilderGenerator.kt:342 */A builder for [`RestoreTableFromBackupOutput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput).
          37  +
/* RustType.kt:516 */
   23     38   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
          39  +
/* RustType.kt:516 */
   24     40   
#[non_exhaustive]
          41  +
/* BuilderGenerator.kt:345 */
   25     42   
pub struct RestoreTableFromBackupOutputBuilder {
          43  +
    /* BuilderGenerator.kt:275 */
   26     44   
    pub(crate) table_description: ::std::option::Option<crate::types::TableDescription>,
          45  +
    /* BuilderGenerator.kt:345 */
   27     46   
}
          47  +
/* BuilderGenerator.kt:355 */
   28     48   
impl RestoreTableFromBackupOutputBuilder {
   29         -
    /// <p>The description of the table created from an existing backup.</p>
          49  +
    /// /* BuilderGenerator.kt:286 */<p>The description of the table created from an existing backup.</p>
          50  +
    /* BuilderGenerator.kt:291 */
   30     51   
    pub fn table_description(mut self, input: crate::types::TableDescription) -> Self {
          52  +
        /* BuilderGenerator.kt:292 */
   31     53   
        self.table_description = ::std::option::Option::Some(input);
          54  +
        /* BuilderGenerator.kt:293 */
   32     55   
        self
          56  +
        /* BuilderGenerator.kt:291 */
   33     57   
    }
   34         -
    /// <p>The description of the table created from an existing backup.</p>
          58  +
    /// /* BuilderGenerator.kt:312 */<p>The description of the table created from an existing backup.</p>
          59  +
    /* BuilderGenerator.kt:314 */
   35     60   
    pub fn set_table_description(mut self, input: ::std::option::Option<crate::types::TableDescription>) -> Self {
          61  +
        /* BuilderGenerator.kt:315 */
   36     62   
        self.table_description = input;
   37     63   
        self
          64  +
        /* BuilderGenerator.kt:314 */
   38     65   
    }
   39         -
    /// <p>The description of the table created from an existing backup.</p>
          66  +
    /// /* BuilderGenerator.kt:334 */<p>The description of the table created from an existing backup.</p>
          67  +
    /* BuilderGenerator.kt:336 */
   40     68   
    pub fn get_table_description(&self) -> &::std::option::Option<crate::types::TableDescription> {
          69  +
        /* BuilderGenerator.kt:337 */
   41     70   
        &self.table_description
          71  +
        /* BuilderGenerator.kt:336 */
   42     72   
    }
   43         -
    /// Consumes the builder and constructs a [`RestoreTableFromBackupOutput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput).
          73  +
    /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`RestoreTableFromBackupOutput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput).
          74  +
    /* BuilderGenerator.kt:253 */
   44     75   
    pub fn build(self) -> crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput {
          76  +
        /* BuilderGenerator.kt:477 */
   45     77   
        crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput {
   46         -
            table_description: self.table_description,
          78  +
            /* BuilderGenerator.kt:481 */ table_description: self.table_description,
          79  +
            /* BuilderGenerator.kt:477 */
   47     80   
        }
          81  +
        /* BuilderGenerator.kt:253 */
   48     82   
    }
          83  +
    /* BuilderGenerator.kt:355 */
   49     84   
}

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/restore_table_from_backup/builders.rs

@@ -1,1 +235,268 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/* CodegenDelegator.kt:255 */
    2      3   
pub use crate::operation::restore_table_from_backup::_restore_table_from_backup_output::RestoreTableFromBackupOutputBuilder;
    3      4   
           5  +
/* CodegenDelegator.kt:255 */
    4      6   
pub use crate::operation::restore_table_from_backup::_restore_table_from_backup_input::RestoreTableFromBackupInputBuilder;
    5      7   
           8  +
/* FluentBuilderGenerator.kt:408 */
    6      9   
impl crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupInputBuilder {
    7     10   
    /// Sends a request with this input using the given client.
    8     11   
    pub async fn send_with(
    9     12   
        self,
   10     13   
        client: &crate::Client,
   11     14   
    ) -> ::std::result::Result<
   12     15   
        crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput,
   13     16   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     17   
            crate::operation::restore_table_from_backup::RestoreTableFromBackupError,
   15     18   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   16     19   
        >,
   17     20   
    > {
   18     21   
        let mut fluent_builder = client.restore_table_from_backup();
   19     22   
        fluent_builder.inner = self;
   20     23   
        fluent_builder.send().await
   21     24   
    }
   22     25   
}
   23         -
/// Fluent builder constructing a request to `RestoreTableFromBackup`.
          26  +
/// /* FluentBuilderGenerator.kt:129 */Fluent builder constructing a request to `RestoreTableFromBackup`.
   24     27   
///
   25         -
/// <p>Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.</p>
          28  +
/// /* FluentBuilderGenerator.kt:130 */<p>Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.</p>
   26     29   
/// <p>You can call <code>RestoreTableFromBackup</code> at a maximum rate of 10 times per second.</p>
   27     30   
/// <p>You must manually set up the following on the restored table:</p>
   28     31   
/// <ul>
   29     32   
/// <li>
   30     33   
/// <p>Auto scaling policies</p></li>
   31     34   
/// <li>
   32     35   
/// <p>IAM policies</p></li>
   33     36   
/// <li>
   34     37   
/// <p>Amazon CloudWatch metrics and alarms</p></li>
   35     38   
/// <li>
   36     39   
/// <p>Tags</p></li>
   37     40   
/// <li>
   38     41   
/// <p>Stream settings</p></li>
   39     42   
/// <li>
   40     43   
/// <p>Time to Live (TTL) settings</p></li>
   41     44   
/// </ul>
          45  +
/* RustType.kt:516 */
   42     46   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
          47  +
/* FluentBuilderGenerator.kt:270 */
   43     48   
pub struct RestoreTableFromBackupFluentBuilder {
   44     49   
    handle: ::std::sync::Arc<crate::client::Handle>,
   45     50   
    inner: crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupInputBuilder,
   46     51   
    config_override: ::std::option::Option<crate::config::Builder>,
   47     52   
}
          53  +
/* FluentBuilderGenerator.kt:381 */
   48     54   
impl
   49     55   
    crate::client::customize::internal::CustomizableSend<
   50     56   
        crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput,
   51     57   
        crate::operation::restore_table_from_backup::RestoreTableFromBackupError,
   52     58   
    > for RestoreTableFromBackupFluentBuilder
   53     59   
{
   54     60   
    fn send(
   55     61   
        self,
   56     62   
        config_override: crate::config::Builder,
   57     63   
    ) -> crate::client::customize::internal::BoxFuture<
   58     64   
        crate::client::customize::internal::SendResult<
   59     65   
            crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput,
   60     66   
            crate::operation::restore_table_from_backup::RestoreTableFromBackupError,
   61     67   
        >,
   62     68   
    > {
   63     69   
        ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
   64     70   
    }
   65     71   
}
          72  +
/* FluentBuilderGenerator.kt:282 */
   66     73   
impl RestoreTableFromBackupFluentBuilder {
          74  +
    /* FluentBuilderGenerator.kt:288 */
   67     75   
    /// Creates a new `RestoreTableFromBackupFluentBuilder`.
   68     76   
    pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
   69     77   
        Self {
   70     78   
            handle,
   71     79   
            inner: ::std::default::Default::default(),
   72     80   
            config_override: ::std::option::Option::None,
   73     81   
        }
   74     82   
    }
          83  +
    /* FluentBuilderGenerator.kt:301 */
   75     84   
    /// Access the RestoreTableFromBackup as a reference.
   76     85   
    pub fn as_input(&self) -> &crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupInputBuilder {
   77     86   
        &self.inner
   78     87   
    }
          88  +
    /* FluentBuilderGenerator.kt:145 */
   79     89   
    /// Sends the request and returns the response.
   80     90   
    ///
   81     91   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   82     92   
    /// can be matched against.
   83     93   
    ///
   84     94   
    /// By default, any retryable failures will be retried twice. Retry behavior
   85     95   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   86     96   
    /// set when configuring the client.
   87     97   
    pub async fn send(
   88     98   
        self,
   89     99   
    ) -> ::std::result::Result<
   90    100   
        crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput,
   91    101   
        ::aws_smithy_runtime_api::client::result::SdkError<
   92    102   
            crate::operation::restore_table_from_backup::RestoreTableFromBackupError,
   93    103   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   94    104   
        >,
   95    105   
    > {
   96    106   
        let input = self
   97    107   
            .inner
   98    108   
            .build()
   99    109   
            .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
  100    110   
        let runtime_plugins = crate::operation::restore_table_from_backup::RestoreTableFromBackup::operation_runtime_plugins(
  101    111   
            self.handle.runtime_plugins.clone(),
  102    112   
            &self.handle.conf,
  103    113   
            self.config_override,
  104    114   
        );
  105    115   
        crate::operation::restore_table_from_backup::RestoreTableFromBackup::orchestrate(&runtime_plugins, input).await
  106    116   
    }
  107    117   
  108    118   
    /// Consumes this builder, creating a customizable operation that can be modified before being sent.
  109    119   
    pub fn customize(
  110    120   
        self,
  111    121   
    ) -> crate::client::customize::CustomizableOperation<
  112    122   
        crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput,
  113    123   
        crate::operation::restore_table_from_backup::RestoreTableFromBackupError,
  114    124   
        Self,
  115    125   
    > {
  116    126   
        crate::client::customize::CustomizableOperation::new(self)
  117    127   
    }
         128  +
    /* FluentBuilderGenerator.kt:315 */
  118    129   
    pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
  119    130   
        self.set_config_override(::std::option::Option::Some(config_override.into()));
  120    131   
        self
  121    132   
    }
  122    133   
  123    134   
    pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
  124    135   
        self.config_override = config_override;
  125    136   
        self
  126    137   
    }
  127         -
    /// <p>The name of the new table to which the backup must be restored.</p>
         138  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The name of the new table to which the backup must be restored.</p>
         139  +
    /* FluentBuilderGenerator.kt:500 */
  128    140   
    pub fn target_table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  129    141   
        self.inner = self.inner.target_table_name(input.into());
  130    142   
        self
  131    143   
    }
  132         -
    /// <p>The name of the new table to which the backup must be restored.</p>
         144  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The name of the new table to which the backup must be restored.</p>
         145  +
    /* FluentBuilderGenerator.kt:500 */
  133    146   
    pub fn set_target_table_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
  134    147   
        self.inner = self.inner.set_target_table_name(input);
  135    148   
        self
  136    149   
    }
  137         -
    /// <p>The name of the new table to which the backup must be restored.</p>
         150  +
    /// /* FluentBuilderGenerator.kt:518 */<p>The name of the new table to which the backup must be restored.</p>
         151  +
    /* FluentBuilderGenerator.kt:520 */
  138    152   
    pub fn get_target_table_name(&self) -> &::std::option::Option<::std::string::String> {
  139    153   
        self.inner.get_target_table_name()
  140    154   
    }
  141         -
    /// <p>The Amazon Resource Name (ARN) associated with the backup.</p>
         155  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The Amazon Resource Name (ARN) associated with the backup.</p>
         156  +
    /* FluentBuilderGenerator.kt:500 */
  142    157   
    pub fn backup_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
  143    158   
        self.inner = self.inner.backup_arn(input.into());
  144    159   
        self
  145    160   
    }
  146         -
    /// <p>The Amazon Resource Name (ARN) associated with the backup.</p>
         161  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The Amazon Resource Name (ARN) associated with the backup.</p>
         162  +
    /* FluentBuilderGenerator.kt:500 */
  147    163   
    pub fn set_backup_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
  148    164   
        self.inner = self.inner.set_backup_arn(input);
  149    165   
        self
  150    166   
    }
  151         -
    /// <p>The Amazon Resource Name (ARN) associated with the backup.</p>
         167  +
    /// /* FluentBuilderGenerator.kt:518 */<p>The Amazon Resource Name (ARN) associated with the backup.</p>
         168  +
    /* FluentBuilderGenerator.kt:520 */
  152    169   
    pub fn get_backup_arn(&self) -> &::std::option::Option<::std::string::String> {
  153    170   
        self.inner.get_backup_arn()
  154    171   
    }
  155         -
    /// <p>The billing mode of the restored table.</p>
         172  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The billing mode of the restored table.</p>
         173  +
    /* FluentBuilderGenerator.kt:500 */
  156    174   
    pub fn billing_mode_override(mut self, input: crate::types::BillingMode) -> Self {
  157    175   
        self.inner = self.inner.billing_mode_override(input);
  158    176   
        self
  159    177   
    }
  160         -
    /// <p>The billing mode of the restored table.</p>
         178  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The billing mode of the restored table.</p>
         179  +
    /* FluentBuilderGenerator.kt:500 */
  161    180   
    pub fn set_billing_mode_override(mut self, input: ::std::option::Option<crate::types::BillingMode>) -> Self {
  162    181   
        self.inner = self.inner.set_billing_mode_override(input);
  163    182   
        self
  164    183   
    }
  165         -
    /// <p>The billing mode of the restored table.</p>
         184  +
    /// /* FluentBuilderGenerator.kt:518 */<p>The billing mode of the restored table.</p>
         185  +
    /* FluentBuilderGenerator.kt:520 */
  166    186   
    pub fn get_billing_mode_override(&self) -> &::std::option::Option<crate::types::BillingMode> {
  167    187   
        self.inner.get_billing_mode_override()
  168    188   
    }
  169         -
    ///
         189  +
    /// /* FluentBuilderGenerator.kt:436 */
  170    190   
    /// Appends an item to `GlobalSecondaryIndexOverride`.
  171    191   
    ///
  172    192   
    /// To override the contents of this collection use [`set_global_secondary_index_override`](Self::set_global_secondary_index_override).
  173    193   
    ///
  174         -
    /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         194  +
    /// /* FluentBuilderGenerator.kt:443 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         195  +
    /* FluentBuilderGenerator.kt:446 */
  175    196   
    pub fn global_secondary_index_override(mut self, input: crate::types::GlobalSecondaryIndex) -> Self {
  176    197   
        self.inner = self.inner.global_secondary_index_override(input);
  177    198   
        self
  178    199   
    }
  179         -
    /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         200  +
    /// /* FluentBuilderGenerator.kt:498 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         201  +
    /* FluentBuilderGenerator.kt:500 */
  180    202   
    pub fn set_global_secondary_index_override(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::GlobalSecondaryIndex>>) -> Self {
  181    203   
        self.inner = self.inner.set_global_secondary_index_override(input);
  182    204   
        self
  183    205   
    }
  184         -
    /// <p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         206  +
    /// /* FluentBuilderGenerator.kt:518 */<p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         207  +
    /* FluentBuilderGenerator.kt:520 */
  185    208   
    pub fn get_global_secondary_index_override(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::GlobalSecondaryIndex>> {
  186    209   
        self.inner.get_global_secondary_index_override()
  187    210   
    }
  188         -
    ///
         211  +
    /// /* FluentBuilderGenerator.kt:436 */
  189    212   
    /// Appends an item to `LocalSecondaryIndexOverride`.
  190    213   
    ///
  191    214   
    /// To override the contents of this collection use [`set_local_secondary_index_override`](Self::set_local_secondary_index_override).
  192    215   
    ///
  193         -
    /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         216  +
    /// /* FluentBuilderGenerator.kt:443 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         217  +
    /* FluentBuilderGenerator.kt:446 */
  194    218   
    pub fn local_secondary_index_override(mut self, input: crate::types::LocalSecondaryIndex) -> Self {
  195    219   
        self.inner = self.inner.local_secondary_index_override(input);
  196    220   
        self
  197    221   
    }
  198         -
    /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         222  +
    /// /* FluentBuilderGenerator.kt:498 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         223  +
    /* FluentBuilderGenerator.kt:500 */
  199    224   
    pub fn set_local_secondary_index_override(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::LocalSecondaryIndex>>) -> Self {
  200    225   
        self.inner = self.inner.set_local_secondary_index_override(input);
  201    226   
        self
  202    227   
    }
  203         -
    /// <p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         228  +
    /// /* FluentBuilderGenerator.kt:518 */<p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p>
         229  +
    /* FluentBuilderGenerator.kt:520 */
  204    230   
    pub fn get_local_secondary_index_override(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::LocalSecondaryIndex>> {
  205    231   
        self.inner.get_local_secondary_index_override()
  206    232   
    }
  207         -
    /// <p>Provisioned throughput settings for the restored table.</p>
         233  +
    /// /* FluentBuilderGenerator.kt:498 */<p>Provisioned throughput settings for the restored table.</p>
         234  +
    /* FluentBuilderGenerator.kt:500 */
  208    235   
    pub fn provisioned_throughput_override(mut self, input: crate::types::ProvisionedThroughput) -> Self {
  209    236   
        self.inner = self.inner.provisioned_throughput_override(input);
  210    237   
        self
  211    238   
    }
  212         -
    /// <p>Provisioned throughput settings for the restored table.</p>
         239  +
    /// /* FluentBuilderGenerator.kt:498 */<p>Provisioned throughput settings for the restored table.</p>
         240  +
    /* FluentBuilderGenerator.kt:500 */
  213    241   
    pub fn set_provisioned_throughput_override(mut self, input: ::std::option::Option<crate::types::ProvisionedThroughput>) -> Self {
  214    242   
        self.inner = self.inner.set_provisioned_throughput_override(input);
  215    243   
        self
  216    244   
    }
  217         -
    /// <p>Provisioned throughput settings for the restored table.</p>
         245  +
    /// /* FluentBuilderGenerator.kt:518 */<p>Provisioned throughput settings for the restored table.</p>
         246  +
    /* FluentBuilderGenerator.kt:520 */
  218    247   
    pub fn get_provisioned_throughput_override(&self) -> &::std::option::Option<crate::types::ProvisionedThroughput> {
  219    248   
        self.inner.get_provisioned_throughput_override()
  220    249   
    }
  221         -
    /// <p>The new server-side encryption settings for the restored table.</p>
         250  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The new server-side encryption settings for the restored table.</p>
         251  +
    /* FluentBuilderGenerator.kt:500 */
  222    252   
    pub fn sse_specification_override(mut self, input: crate::types::SseSpecification) -> Self {
  223    253   
        self.inner = self.inner.sse_specification_override(input);
  224    254   
        self
  225    255   
    }
  226         -
    /// <p>The new server-side encryption settings for the restored table.</p>
         256  +
    /// /* FluentBuilderGenerator.kt:498 */<p>The new server-side encryption settings for the restored table.</p>
         257  +
    /* FluentBuilderGenerator.kt:500 */
  227    258   
    pub fn set_sse_specification_override(mut self, input: ::std::option::Option<crate::types::SseSpecification>) -> Self {
  228    259   
        self.inner = self.inner.set_sse_specification_override(input);
  229    260   
        self
  230    261   
    }
  231         -
    /// <p>The new server-side encryption settings for the restored table.</p>
         262  +
    /// /* FluentBuilderGenerator.kt:518 */<p>The new server-side encryption settings for the restored table.</p>
         263  +
    /* FluentBuilderGenerator.kt:520 */
  232    264   
    pub fn get_sse_specification_override(&self) -> &::std::option::Option<crate::types::SseSpecification> {
  233    265   
        self.inner.get_sse_specification_override()
  234    266   
    }
         267  +
    /* FluentBuilderGenerator.kt:282 */
  235    268   
}