1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - |
|
3 - | /// <p>Represents the input of a <code>GetItem</code> operation.</p>
|
2 + | /* StructureGenerator.kt:197 */
|
3 + | /// /* StructureGenerator.kt:197 */<p>Represents the input of a <code>GetItem</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 GetItemInput {
|
7 - | /// <p>The name of the table containing the requested item.</p>
|
8 + | pub /* StructureGenerator.kt:201 */ struct GetItemInput {
|
9 + | /// /* StructureGenerator.kt:231 */<p>The name of the table containing the requested item.</p>
|
8 10 | pub table_name: ::std::option::Option<::std::string::String>,
|
9 - | /// <p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of the item to retrieve.</p>
|
11 + | /// /* StructureGenerator.kt:231 */<p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of the item to retrieve.</p>
|
10 12 | /// <p>For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.</p>
|
11 13 | pub key: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
|
12 - | /// <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>
|
14 + | /// /* StructureGenerator.kt:231 */<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>
|
13 15 | pub attributes_to_get: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
14 - | /// <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>
|
16 + | /// /* StructureGenerator.kt:231 */<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>
|
15 17 | pub consistent_read: ::std::option::Option<bool>,
|
16 - | /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
18 + | /// /* StructureGenerator.kt:231 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
17 19 | /// <ul>
|
18 20 | /// <li>
|
19 21 | /// <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>
|
20 22 | /// <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>
|
21 23 | /// <li>
|
22 24 | /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
|
23 25 | /// <li>
|
24 26 | /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
|
25 27 | /// </ul>
|
26 28 | pub return_consumed_capacity: ::std::option::Option<crate::types::ReturnConsumedCapacity>,
|
27 - | /// <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>
|
29 + | /// /* StructureGenerator.kt:231 */<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>
|
28 30 | /// <p>If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result.</p>
|
29 31 | /// <p>For more information, 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>
|
30 32 | pub projection_expression: ::std::option::Option<::std::string::String>,
|
31 - | /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
33 + | /// /* StructureGenerator.kt:231 */<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
32 34 | /// <ul>
|
33 35 | /// <li>
|
34 36 | /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
|
35 37 | /// <li>
|
36 38 | /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
|
37 39 | /// <li>
|
38 40 | /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
|
39 41 | /// </ul>
|
40 42 | /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
|
41 43 | /// <ul>
|
42 44 | /// <li>
|
43 45 | /// <p><code>Percentile</code></p></li>
|
44 46 | /// </ul>
|
45 47 | /// <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>
|
46 48 | /// <ul>
|
47 49 | /// <li>
|
48 50 | /// <p><code>{"#P":"Percentile"}</code></p></li>
|
49 51 | /// </ul>
|
50 52 | /// <p>You could then use this substitution in an expression, as in this example:</p>
|
51 53 | /// <ul>
|
52 54 | /// <li>
|
53 55 | /// <p><code>#P = :val</code></p></li>
|
54 56 | /// </ul><note>
|
55 57 | /// <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>
|
56 58 | /// </note>
|
57 59 | /// <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>
|
58 60 | pub expression_attribute_names: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
61 + | /* StructureGenerator.kt:201 */
|
59 62 | }
|
63 + | /* StructureGenerator.kt:135 */
|
60 64 | impl GetItemInput {
|
61 - | /// <p>The name of the table containing the requested item.</p>
|
65 + | /// /* StructureGenerator.kt:231 */<p>The name of the table containing the requested item.</p>
|
66 + | /* StructureGenerator.kt:166 */
|
62 67 | pub fn table_name(&self) -> ::std::option::Option<&str> {
|
68 + | /* StructureGenerator.kt:169 */
|
63 69 | self.table_name.as_deref()
|
70 + | /* StructureGenerator.kt:166 */
|
64 71 | }
|
65 - | /// <p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of the item to retrieve.</p>
|
72 + | /// /* StructureGenerator.kt:231 */<p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of the item to retrieve.</p>
|
66 73 | /// <p>For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.</p>
|
74 + | /* StructureGenerator.kt:166 */
|
67 75 | pub fn key(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>> {
|
76 + | /* StructureGenerator.kt:170 */
|
68 77 | self.key.as_ref()
|
78 + | /* StructureGenerator.kt:166 */
|
69 79 | }
|
70 - | /// <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>
|
71 - | ///
|
72 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.attributes_to_get.is_none()`.
|
80 + | /// /* StructureGenerator.kt:231 */<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>
|
81 + | /// /* StructureGenerator.kt:162 */
|
82 + | /// /* 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 `.attributes_to_get.is_none()`.
|
83 + | /* StructureGenerator.kt:166 */
|
73 84 | pub fn attributes_to_get(&self) -> &[::std::string::String] {
|
74 - | self.attributes_to_get.as_deref().unwrap_or_default()
|
85 + | /* StructureGenerator.kt:169 */
|
86 + | self.attributes_to_get
|
87 + | .as_deref()
|
88 + | /* StructureGenerator.kt:175 */
|
89 + | .unwrap_or_default()
|
90 + | /* StructureGenerator.kt:166 */
|
75 91 | }
|
76 - | /// <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>
|
92 + | /// /* StructureGenerator.kt:231 */<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>
|
93 + | /* StructureGenerator.kt:166 */
|
77 94 | pub fn consistent_read(&self) -> ::std::option::Option<bool> {
|
95 + | /* StructureGenerator.kt:168 */
|
78 96 | self.consistent_read
|
97 + | /* StructureGenerator.kt:166 */
|
79 98 | }
|
80 - | /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
99 + | /// /* StructureGenerator.kt:231 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
81 100 | /// <ul>
|
82 101 | /// <li>
|
83 102 | /// <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>
|
84 103 | /// <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>
|
85 104 | /// <li>
|
86 105 | /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
|
87 106 | /// <li>
|
88 107 | /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
|
89 108 | /// </ul>
|
109 + | /* StructureGenerator.kt:166 */
|
90 110 | pub fn return_consumed_capacity(&self) -> ::std::option::Option<&crate::types::ReturnConsumedCapacity> {
|
111 + | /* StructureGenerator.kt:170 */
|
91 112 | self.return_consumed_capacity.as_ref()
|
113 + | /* StructureGenerator.kt:166 */
|
92 114 | }
|
93 - | /// <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>
|
115 + | /// /* StructureGenerator.kt:231 */<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>
|
94 116 | /// <p>If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result.</p>
|
95 117 | /// <p>For more information, 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>
|
118 + | /* StructureGenerator.kt:166 */
|
96 119 | pub fn projection_expression(&self) -> ::std::option::Option<&str> {
|
120 + | /* StructureGenerator.kt:169 */
|
97 121 | self.projection_expression.as_deref()
|
122 + | /* StructureGenerator.kt:166 */
|
98 123 | }
|
99 - | /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
124 + | /// /* StructureGenerator.kt:231 */<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
100 125 | /// <ul>
|
101 126 | /// <li>
|
102 127 | /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
|
103 128 | /// <li>
|
104 129 | /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
|
105 130 | /// <li>
|
106 131 | /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
|
107 132 | /// </ul>
|
108 133 | /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
|
109 134 | /// <ul>
|
110 135 | /// <li>
|
111 136 | /// <p><code>Percentile</code></p></li>
|
112 137 | /// </ul>
|
113 138 | /// <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>
|
114 139 | /// <ul>
|
115 140 | /// <li>
|
116 141 | /// <p><code>{"#P":"Percentile"}</code></p></li>
|
117 142 | /// </ul>
|
118 143 | /// <p>You could then use this substitution in an expression, as in this example:</p>
|
119 144 | /// <ul>
|
120 145 | /// <li>
|
121 146 | /// <p><code>#P = :val</code></p></li>
|
122 147 | /// </ul><note>
|
123 148 | /// <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>
|
124 149 | /// </note>
|
125 150 | /// <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>
|
151 + | /* StructureGenerator.kt:166 */
|
126 152 | pub fn expression_attribute_names(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
153 + | /* StructureGenerator.kt:170 */
|
127 154 | self.expression_attribute_names.as_ref()
|
155 + | /* StructureGenerator.kt:166 */
|
128 156 | }
|
157 + | /* StructureGenerator.kt:135 */
|
129 158 | }
|
159 + | /* ClientCodegenVisitor.kt:237 */
|
130 160 | impl GetItemInput {
|
131 - | /// Creates a new builder-style object to manufacture [`GetItemInput`](crate::operation::get_item::GetItemInput).
|
161 + | /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`GetItemInput`](crate::operation::get_item::GetItemInput).
|
162 + | /* BuilderGenerator.kt:175 */
|
132 163 | pub fn builder() -> crate::operation::get_item::builders::GetItemInputBuilder {
|
164 + | /* BuilderGenerator.kt:176 */
|
133 165 | crate::operation::get_item::builders::GetItemInputBuilder::default()
|
166 + | /* BuilderGenerator.kt:175 */
|
134 167 | }
|
168 + | /* ClientCodegenVisitor.kt:237 */
|
135 169 | }
|
136 170 |
|
137 - | /// A builder for [`GetItemInput`](crate::operation::get_item::GetItemInput).
|
171 + | /// /* BuilderGenerator.kt:342 */A builder for [`GetItemInput`](crate::operation::get_item::GetItemInput).
|
172 + | /* RustType.kt:516 */
|
138 173 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
174 + | /* RustType.kt:516 */
|
139 175 | #[non_exhaustive]
|
176 + | /* BuilderGenerator.kt:345 */
|
140 177 | pub struct GetItemInputBuilder {
|
141 - | pub(crate) table_name: ::std::option::Option<::std::string::String>,
|
178 + | /* BuilderGenerator.kt:275 */ pub(crate) table_name: ::std::option::Option<::std::string::String>,
|
179 + | /* BuilderGenerator.kt:275 */
|
142 180 | pub(crate) key: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
|
143 - | pub(crate) attributes_to_get: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
144 - | pub(crate) consistent_read: ::std::option::Option<bool>,
|
145 - | pub(crate) return_consumed_capacity: ::std::option::Option<crate::types::ReturnConsumedCapacity>,
|
146 - | pub(crate) projection_expression: ::std::option::Option<::std::string::String>,
|
181 + | /* BuilderGenerator.kt:275 */ pub(crate) attributes_to_get: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
182 + | /* BuilderGenerator.kt:275 */ pub(crate) consistent_read: ::std::option::Option<bool>,
|
183 + | /* BuilderGenerator.kt:275 */ pub(crate) return_consumed_capacity: ::std::option::Option<crate::types::ReturnConsumedCapacity>,
|
184 + | /* BuilderGenerator.kt:275 */ pub(crate) projection_expression: ::std::option::Option<::std::string::String>,
|
185 + | /* BuilderGenerator.kt:275 */
|
147 186 | pub(crate) expression_attribute_names: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
187 + | /* BuilderGenerator.kt:345 */
|
148 188 | }
|
189 + | /* BuilderGenerator.kt:355 */
|
149 190 | impl GetItemInputBuilder {
|
150 - | /// <p>The name of the table containing the requested item.</p>
|
151 - | /// This field is required.
|
191 + | /// /* BuilderGenerator.kt:286 */<p>The name of the table containing the requested item.</p>
|
192 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
193 + | /* BuilderGenerator.kt:291 */
|
152 194 | pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
195 + | /* BuilderGenerator.kt:292 */
|
153 196 | self.table_name = ::std::option::Option::Some(input.into());
|
197 + | /* BuilderGenerator.kt:293 */
|
154 198 | self
|
199 + | /* BuilderGenerator.kt:291 */
|
155 200 | }
|
156 - | /// <p>The name of the table containing the requested item.</p>
|
201 + | /// /* BuilderGenerator.kt:312 */<p>The name of the table containing the requested item.</p>
|
202 + | /* BuilderGenerator.kt:314 */
|
157 203 | pub fn set_table_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
204 + | /* BuilderGenerator.kt:315 */
|
158 205 | self.table_name = input;
|
159 206 | self
|
207 + | /* BuilderGenerator.kt:314 */
|
160 208 | }
|
161 - | /// <p>The name of the table containing the requested item.</p>
|
209 + | /// /* BuilderGenerator.kt:334 */<p>The name of the table containing the requested item.</p>
|
210 + | /* BuilderGenerator.kt:336 */
|
162 211 | pub fn get_table_name(&self) -> &::std::option::Option<::std::string::String> {
|
212 + | /* BuilderGenerator.kt:337 */
|
163 213 | &self.table_name
|
214 + | /* BuilderGenerator.kt:336 */
|
164 215 | }
|
165 - | /// Adds a key-value pair to `key`.
|
216 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `key`.
|
217 + | /* BuilderGenerator.kt:437 */
|
166 218 | ///
|
167 - | /// To override the contents of this collection use [`set_key`](Self::set_key).
|
219 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_key`](Self::set_key).
|
220 + | /* BuilderGenerator.kt:439 */
|
168 221 | ///
|
169 - | /// <p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of the item to retrieve.</p>
|
222 + | /// /* BuilderGenerator.kt:440 */<p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of the item to retrieve.</p>
|
170 223 | /// <p>For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.</p>
|
224 + | /* BuilderGenerator.kt:445 */
|
171 225 | pub fn key(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::AttributeValue) -> Self {
|
226 + | /* BuilderGenerator.kt:448 */
|
172 227 | let mut hash_map = self.key.unwrap_or_default();
|
173 228 | hash_map.insert(k.into(), v);
|
174 229 | self.key = ::std::option::Option::Some(hash_map);
|
175 230 | self
|
231 + | /* BuilderGenerator.kt:445 */
|
176 232 | }
|
177 - | /// <p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of the item to retrieve.</p>
|
233 + | /// /* BuilderGenerator.kt:312 */<p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of the item to retrieve.</p>
|
178 234 | /// <p>For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.</p>
|
235 + | /* BuilderGenerator.kt:314 */
|
179 236 | pub fn set_key(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>) -> Self {
|
237 + | /* BuilderGenerator.kt:315 */
|
180 238 | self.key = input;
|
181 239 | self
|
240 + | /* BuilderGenerator.kt:314 */
|
182 241 | }
|
183 - | /// <p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of the item to retrieve.</p>
|
242 + | /// /* BuilderGenerator.kt:334 */<p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of the item to retrieve.</p>
|
184 243 | /// <p>For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.</p>
|
244 + | /* BuilderGenerator.kt:336 */
|
185 245 | pub fn get_key(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>> {
|
246 + | /* BuilderGenerator.kt:337 */
|
186 247 | &self.key
|
248 + | /* BuilderGenerator.kt:336 */
|
187 249 | }
|
188 - | /// Appends an item to `attributes_to_get`.
|
250 + | /// /* BuilderGenerator.kt:410 */Appends an item to `attributes_to_get`.
|
251 + | /* BuilderGenerator.kt:411 */
|
189 252 | ///
|
190 - | /// To override the contents of this collection use [`set_attributes_to_get`](Self::set_attributes_to_get).
|
253 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_attributes_to_get`](Self::set_attributes_to_get).
|
254 + | /* BuilderGenerator.kt:413 */
|
191 255 | ///
|
192 - | /// <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>
|
256 + | /// /* BuilderGenerator.kt:414 */<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>
|
257 + | /* BuilderGenerator.kt:418 */
|
193 258 | pub fn attributes_to_get(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
259 + | /* BuilderGenerator.kt:419 */
|
194 260 | let mut v = self.attributes_to_get.unwrap_or_default();
|
195 261 | v.push(input.into());
|
196 262 | self.attributes_to_get = ::std::option::Option::Some(v);
|
197 263 | self
|
264 + | /* BuilderGenerator.kt:418 */
|
198 265 | }
|
199 - | /// <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>
|
266 + | /// /* BuilderGenerator.kt:312 */<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>
|
267 + | /* BuilderGenerator.kt:314 */
|
200 268 | pub fn set_attributes_to_get(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
|
269 + | /* BuilderGenerator.kt:315 */
|
201 270 | self.attributes_to_get = input;
|
202 271 | self
|
272 + | /* BuilderGenerator.kt:314 */
|
203 273 | }
|
204 - | /// <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>
|
274 + | /// /* BuilderGenerator.kt:334 */<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>
|
275 + | /* BuilderGenerator.kt:336 */
|
205 276 | pub fn get_attributes_to_get(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
|
277 + | /* BuilderGenerator.kt:337 */
|
206 278 | &self.attributes_to_get
|
279 + | /* BuilderGenerator.kt:336 */
|
207 280 | }
|
208 - | /// <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>
|
281 + | /// /* BuilderGenerator.kt:286 */<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>
|
282 + | /* BuilderGenerator.kt:291 */
|
209 283 | pub fn consistent_read(mut self, input: bool) -> Self {
|
284 + | /* BuilderGenerator.kt:292 */
|
210 285 | self.consistent_read = ::std::option::Option::Some(input);
|
286 + | /* BuilderGenerator.kt:293 */
|
211 287 | self
|
288 + | /* BuilderGenerator.kt:291 */
|
212 289 | }
|
213 - | /// <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>
|
290 + | /// /* BuilderGenerator.kt:312 */<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>
|
291 + | /* BuilderGenerator.kt:314 */
|
214 292 | pub fn set_consistent_read(mut self, input: ::std::option::Option<bool>) -> Self {
|
293 + | /* BuilderGenerator.kt:315 */
|
215 294 | self.consistent_read = input;
|
216 295 | self
|
296 + | /* BuilderGenerator.kt:314 */
|
217 297 | }
|
218 - | /// <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>
|
298 + | /// /* BuilderGenerator.kt:334 */<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>
|
299 + | /* BuilderGenerator.kt:336 */
|
219 300 | pub fn get_consistent_read(&self) -> &::std::option::Option<bool> {
|
301 + | /* BuilderGenerator.kt:337 */
|
220 302 | &self.consistent_read
|
303 + | /* BuilderGenerator.kt:336 */
|
221 304 | }
|
222 - | /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
305 + | /// /* BuilderGenerator.kt:286 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
223 306 | /// <ul>
|
224 307 | /// <li>
|
225 308 | /// <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>
|
226 309 | /// <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>
|
227 310 | /// <li>
|
228 311 | /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
|
229 312 | /// <li>
|
230 313 | /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
|
231 314 | /// </ul>
|
315 + | /* BuilderGenerator.kt:291 */
|
232 316 | pub fn return_consumed_capacity(mut self, input: crate::types::ReturnConsumedCapacity) -> Self {
|
317 + | /* BuilderGenerator.kt:292 */
|
233 318 | self.return_consumed_capacity = ::std::option::Option::Some(input);
|
319 + | /* BuilderGenerator.kt:293 */
|
234 320 | self
|
321 + | /* BuilderGenerator.kt:291 */
|
235 322 | }
|
236 - | /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
323 + | /// /* BuilderGenerator.kt:312 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
237 324 | /// <ul>
|
238 325 | /// <li>
|
239 326 | /// <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>
|
240 327 | /// <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>
|
241 328 | /// <li>
|
242 329 | /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
|
243 330 | /// <li>
|
244 331 | /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
|
245 332 | /// </ul>
|
333 + | /* BuilderGenerator.kt:314 */
|
246 334 | pub fn set_return_consumed_capacity(mut self, input: ::std::option::Option<crate::types::ReturnConsumedCapacity>) -> Self {
|
335 + | /* BuilderGenerator.kt:315 */
|
247 336 | self.return_consumed_capacity = input;
|
248 337 | self
|
338 + | /* BuilderGenerator.kt:314 */
|
249 339 | }
|
250 - | /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
340 + | /// /* BuilderGenerator.kt:334 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
251 341 | /// <ul>
|
252 342 | /// <li>
|
253 343 | /// <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>
|
254 344 | /// <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>
|
255 345 | /// <li>
|
256 346 | /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
|
257 347 | /// <li>
|
258 348 | /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
|
259 349 | /// </ul>
|
350 + | /* BuilderGenerator.kt:336 */
|
260 351 | pub fn get_return_consumed_capacity(&self) -> &::std::option::Option<crate::types::ReturnConsumedCapacity> {
|
352 + | /* BuilderGenerator.kt:337 */
|
261 353 | &self.return_consumed_capacity
|
354 + | /* BuilderGenerator.kt:336 */
|
262 355 | }
|
263 - | /// <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>
|
356 + | /// /* BuilderGenerator.kt:286 */<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>
|
264 357 | /// <p>If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result.</p>
|
265 358 | /// <p>For more information, 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>
|
359 + | /* BuilderGenerator.kt:291 */
|
266 360 | pub fn projection_expression(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
361 + | /* BuilderGenerator.kt:292 */
|
267 362 | self.projection_expression = ::std::option::Option::Some(input.into());
|
363 + | /* BuilderGenerator.kt:293 */
|
268 364 | self
|
365 + | /* BuilderGenerator.kt:291 */
|
269 366 | }
|
270 - | /// <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>
|
367 + | /// /* BuilderGenerator.kt:312 */<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>
|
271 368 | /// <p>If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result.</p>
|
272 369 | /// <p>For more information, 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>
|
370 + | /* BuilderGenerator.kt:314 */
|
273 371 | pub fn set_projection_expression(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
372 + | /* BuilderGenerator.kt:315 */
|
274 373 | self.projection_expression = input;
|
275 374 | self
|
375 + | /* BuilderGenerator.kt:314 */
|
276 376 | }
|
277 - | /// <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>
|
377 + | /// /* BuilderGenerator.kt:334 */<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>
|
278 378 | /// <p>If no attribute names are specified, then all attributes are returned. If any of the requested attributes are not found, they do not appear in the result.</p>
|
279 379 | /// <p>For more information, 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>
|
380 + | /* BuilderGenerator.kt:336 */
|
280 381 | pub fn get_projection_expression(&self) -> &::std::option::Option<::std::string::String> {
|
382 + | /* BuilderGenerator.kt:337 */
|
281 383 | &self.projection_expression
|
384 + | /* BuilderGenerator.kt:336 */
|
282 385 | }
|
283 - | /// Adds a key-value pair to `expression_attribute_names`.
|
386 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `expression_attribute_names`.
|
387 + | /* BuilderGenerator.kt:437 */
|
284 388 | ///
|
285 - | /// To override the contents of this collection use [`set_expression_attribute_names`](Self::set_expression_attribute_names).
|
389 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_expression_attribute_names`](Self::set_expression_attribute_names).
|
390 + | /* BuilderGenerator.kt:439 */
|
286 391 | ///
|
287 - | /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
392 + | /// /* BuilderGenerator.kt:440 */<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
288 393 | /// <ul>
|
289 394 | /// <li>
|
290 395 | /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
|
291 396 | /// <li>
|
292 397 | /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
|
293 398 | /// <li>
|
294 399 | /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
|
295 400 | /// </ul>
|
296 401 | /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
|
297 402 | /// <ul>
|
298 403 | /// <li>
|
299 404 | /// <p><code>Percentile</code></p></li>
|
300 405 | /// </ul>
|
301 406 | /// <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>
|
302 407 | /// <ul>
|
303 408 | /// <li>
|
304 409 | /// <p><code>{"#P":"Percentile"}</code></p></li>
|
305 410 | /// </ul>
|
306 411 | /// <p>You could then use this substitution in an expression, as in this example:</p>
|
307 412 | /// <ul>
|
308 413 | /// <li>
|
309 414 | /// <p><code>#P = :val</code></p></li>
|
310 415 | /// </ul><note>
|
311 416 | /// <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>
|
312 417 | /// </note>
|
313 418 | /// <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>
|
419 + | /* BuilderGenerator.kt:445 */
|
314 420 | pub fn expression_attribute_names(
|
315 421 | mut self,
|
316 422 | k: impl ::std::convert::Into<::std::string::String>,
|
317 423 | v: impl ::std::convert::Into<::std::string::String>,
|
318 424 | ) -> Self {
|
425 + | /* BuilderGenerator.kt:448 */
|
319 426 | let mut hash_map = self.expression_attribute_names.unwrap_or_default();
|
320 427 | hash_map.insert(k.into(), v.into());
|
321 428 | self.expression_attribute_names = ::std::option::Option::Some(hash_map);
|
322 429 | self
|
430 + | /* BuilderGenerator.kt:445 */
|
323 431 | }
|
324 - | /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
432 + | /// /* BuilderGenerator.kt:312 */<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
325 433 | /// <ul>
|
326 434 | /// <li>
|
327 435 | /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
|
328 436 | /// <li>
|
329 437 | /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
|
330 438 | /// <li>
|
331 439 | /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
|
332 440 | /// </ul>
|
333 441 | /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
|
334 442 | /// <ul>
|
335 443 | /// <li>
|
336 444 | /// <p><code>Percentile</code></p></li>
|
337 445 | /// </ul>
|
338 446 | /// <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>
|
339 447 | /// <ul>
|
340 448 | /// <li>
|
341 449 | /// <p><code>{"#P":"Percentile"}</code></p></li>
|
342 450 | /// </ul>
|
343 451 | /// <p>You could then use this substitution in an expression, as in this example:</p>
|
344 452 | /// <ul>
|
345 453 | /// <li>
|
346 454 | /// <p><code>#P = :val</code></p></li>
|
347 455 | /// </ul><note>
|
348 456 | /// <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>
|
349 457 | /// </note>
|
350 458 | /// <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>
|
459 + | /* BuilderGenerator.kt:314 */
|
351 460 | pub fn set_expression_attribute_names(
|
352 461 | mut self,
|
353 462 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
354 463 | ) -> Self {
|
464 + | /* BuilderGenerator.kt:315 */
|
355 465 | self.expression_attribute_names = input;
|
356 466 | self
|
467 + | /* BuilderGenerator.kt:314 */
|
357 468 | }
|
358 - | /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
469 + | /// /* BuilderGenerator.kt:334 */<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
359 470 | /// <ul>
|
360 471 | /// <li>
|
361 472 | /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
|
362 473 | /// <li>
|
363 474 | /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
|
364 475 | /// <li>
|
365 476 | /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
|
366 477 | /// </ul>
|
367 478 | /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
|
368 479 | /// <ul>
|
369 480 | /// <li>
|
370 481 | /// <p><code>Percentile</code></p></li>
|
371 482 | /// </ul>
|
372 483 | /// <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>
|
373 484 | /// <ul>
|
374 485 | /// <li>
|
375 486 | /// <p><code>{"#P":"Percentile"}</code></p></li>
|
376 487 | /// </ul>
|
377 488 | /// <p>You could then use this substitution in an expression, as in this example:</p>
|
378 489 | /// <ul>
|
379 490 | /// <li>
|
380 491 | /// <p><code>#P = :val</code></p></li>
|
381 492 | /// </ul><note>
|
382 493 | /// <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>
|
383 494 | /// </note>
|
384 495 | /// <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>
|
496 + | /* BuilderGenerator.kt:336 */
|
385 497 | pub fn get_expression_attribute_names(
|
386 498 | &self,
|
387 499 | ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
500 + | /* BuilderGenerator.kt:337 */
|
388 501 | &self.expression_attribute_names
|
502 + | /* BuilderGenerator.kt:336 */
|
389 503 | }
|
390 - | /// Consumes the builder and constructs a [`GetItemInput`](crate::operation::get_item::GetItemInput).
|
504 + | /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`GetItemInput`](crate::operation::get_item::GetItemInput).
|
505 + | /* BuilderGenerator.kt:253 */
|
391 506 | pub fn build(self) -> ::std::result::Result<crate::operation::get_item::GetItemInput, ::aws_smithy_types::error::operation::BuildError> {
|
392 - | ::std::result::Result::Ok(crate::operation::get_item::GetItemInput {
|
393 - | table_name: self.table_name,
|
507 + | /* BuilderGenerator.kt:254 */
|
508 + | ::std::result::Result::Ok(
|
509 + | /* BuilderGenerator.kt:477 */
|
510 + | crate::operation::get_item::GetItemInput {
|
511 + | /* BuilderGenerator.kt:481 */ table_name: self.table_name,
|
512 + | /* BuilderGenerator.kt:481 */
|
394 513 | key: self.key,
|
514 + | /* BuilderGenerator.kt:481 */
|
395 515 | attributes_to_get: self.attributes_to_get,
|
516 + | /* BuilderGenerator.kt:481 */
|
396 517 | consistent_read: self.consistent_read,
|
518 + | /* BuilderGenerator.kt:481 */
|
397 519 | return_consumed_capacity: self.return_consumed_capacity,
|
520 + | /* BuilderGenerator.kt:481 */
|
398 521 | projection_expression: self.projection_expression,
|
522 + | /* BuilderGenerator.kt:481 */
|
399 523 | expression_attribute_names: self.expression_attribute_names,
|
400 - | })
|
524 + | /* BuilderGenerator.kt:477 */
|
525 + | }, /* BuilderGenerator.kt:254 */
|
526 + | )
|
527 + | /* BuilderGenerator.kt:253 */
|
401 528 | }
|
529 + | /* BuilderGenerator.kt:355 */
|
402 530 | }
|