1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - |
|
3 - | /// <p>Represents the input of a <code>Query</code> operation.</p>
|
2 + | /* StructureGenerator.kt:197 */
|
3 + | /// /* StructureGenerator.kt:197 */<p>Represents the input 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 QueryInput {
|
7 - | /// <p>The name of the table containing the requested items.</p>
|
8 + | pub /* StructureGenerator.kt:201 */ struct QueryInput {
|
9 + | /// /* StructureGenerator.kt:231 */<p>The name of the table containing the requested items.</p>
|
8 10 | pub table_name: ::std::option::Option<::std::string::String>,
|
9 - | /// <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>
|
11 + | /// /* StructureGenerator.kt:231 */<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>
|
10 12 | pub index_name: ::std::option::Option<::std::string::String>,
|
11 - | /// <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>
|
13 + | /// /* StructureGenerator.kt:231 */<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>
|
12 14 | /// <ul>
|
13 15 | /// <li>
|
14 16 | /// <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>
|
15 17 | /// <li>
|
16 18 | /// <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>
|
17 19 | /// <li>
|
18 20 | /// <p><code>COUNT</code> - Returns the number of matching items, rather than the matching items themselves.</p></li>
|
19 21 | /// <li>
|
20 22 | /// <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>
|
21 23 | /// <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>
|
22 24 | /// <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>
|
23 25 | /// </ul>
|
24 26 | /// <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>
|
25 27 | /// <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>
|
26 28 | /// </note>
|
27 29 | pub select: ::std::option::Option<crate::types::Select>,
|
28 - | /// <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>
|
30 + | /// /* 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>
|
29 31 | pub attributes_to_get: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
30 - | /// <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>
|
32 + | /// /* StructureGenerator.kt:231 */<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>
|
31 33 | pub limit: ::std::option::Option<i32>,
|
32 - | /// <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>
|
34 + | /// /* 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>
|
33 35 | /// <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>
|
34 36 | pub consistent_read: ::std::option::Option<bool>,
|
35 - | /// <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>
|
37 + | /// /* StructureGenerator.kt:231 */<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>
|
36 38 | pub key_conditions: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>>,
|
37 - | /// <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>
|
39 + | /// /* StructureGenerator.kt:231 */<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>
|
38 40 | pub query_filter: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>>,
|
39 - | /// <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>
|
41 + | /// /* StructureGenerator.kt:231 */<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>
|
40 42 | pub conditional_operator: ::std::option::Option<crate::types::ConditionalOperator>,
|
41 - | /// <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>
|
43 + | /// /* StructureGenerator.kt:231 */<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>
|
42 44 | /// <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>
|
43 45 | /// <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>
|
44 46 | pub scan_index_forward: ::std::option::Option<bool>,
|
45 - | /// <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>
|
47 + | /// /* StructureGenerator.kt:231 */<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>
|
46 48 | /// <p>The data type for <code>ExclusiveStartKey</code> must be String, Number, or Binary. No set data types are allowed.</p>
|
47 49 | pub exclusive_start_key: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
|
48 - | /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
50 + | /// /* StructureGenerator.kt:231 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
49 51 | /// <ul>
|
50 52 | /// <li>
|
51 53 | /// <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>
|
52 54 | /// <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>
|
53 55 | /// <li>
|
54 56 | /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
|
55 57 | /// <li>
|
56 58 | /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
|
57 59 | /// </ul>
|
58 60 | pub return_consumed_capacity: ::std::option::Option<crate::types::ReturnConsumedCapacity>,
|
59 - | /// <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>
|
61 + | /// /* 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>
|
60 62 | /// <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>
|
61 63 | /// <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>
|
62 64 | pub projection_expression: ::std::option::Option<::std::string::String>,
|
63 - | /// <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>
|
65 + | /// /* StructureGenerator.kt:231 */<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>
|
64 66 | /// <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>
|
65 67 | /// <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>
|
66 68 | /// </note>
|
67 69 | /// <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>
|
68 70 | pub filter_expression: ::std::option::Option<::std::string::String>,
|
69 - | /// <p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
|
71 + | /// /* StructureGenerator.kt:231 */<p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
|
70 72 | /// <p>The condition must perform an equality test on a single partition key value.</p>
|
71 73 | /// <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>
|
72 74 | /// <p>The partition key equality test is required, and must be specified in the following format:</p>
|
73 75 | /// <p><code>partitionKeyName</code> <i>=</i> <code>:partitionkeyval</code></p>
|
74 76 | /// <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>
|
75 77 | /// <p><code>partitionKeyName</code> <code>=</code> <code>:partitionkeyval</code> <code>AND</code> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code></p>
|
76 78 | /// <p>Valid comparisons for the sort key condition are as follows:</p>
|
77 79 | /// <ul>
|
78 80 | /// <li>
|
79 81 | /// <p><code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p></li>
|
80 82 | /// <li>
|
81 83 | /// <p><code>sortKeyName</code> <code><</code> <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p></li>
|
82 84 | /// <li>
|
83 85 | /// <p><code>sortKeyName</code> <code><=</code> <code>:sortkeyval</code> - true if the sort key value is less than or equal to <code>:sortkeyval</code>.</p></li>
|
84 86 | /// <li>
|
85 87 | /// <p><code>sortKeyName</code> <code>></code> <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p></li>
|
86 88 | /// <li>
|
87 89 | /// <p><code>sortKeyName</code> <code>>= </code> <code>:sortkeyval</code> - true if the sort key value is greater than or equal to <code>:sortkeyval</code>.</p></li>
|
88 90 | /// <li>
|
89 91 | /// <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>
|
90 92 | /// <li>
|
91 93 | /// <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>
|
92 94 | /// </ul>
|
93 95 | /// <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>
|
94 96 | /// <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>
|
95 97 | /// <ul>
|
96 98 | /// <li>
|
97 99 | /// <p><code>Size = :myval</code></p></li>
|
98 100 | /// </ul>
|
99 101 | /// <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>
|
100 102 | /// <ul>
|
101 103 | /// <li>
|
102 104 | /// <p><code>#S = :myval</code></p></li>
|
103 105 | /// </ul>
|
104 106 | /// <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>
|
105 107 | /// <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>
|
106 108 | pub key_condition_expression: ::std::option::Option<::std::string::String>,
|
107 - | /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
109 + | /// /* 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>
|
108 110 | /// <ul>
|
109 111 | /// <li>
|
110 112 | /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
|
111 113 | /// <li>
|
112 114 | /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
|
113 115 | /// <li>
|
114 116 | /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
|
115 117 | /// </ul>
|
116 118 | /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
|
117 119 | /// <ul>
|
118 120 | /// <li>
|
119 121 | /// <p><code>Percentile</code></p></li>
|
120 122 | /// </ul>
|
121 123 | /// <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>
|
122 124 | /// <ul>
|
123 125 | /// <li>
|
124 126 | /// <p><code>{"#P":"Percentile"}</code></p></li>
|
125 127 | /// </ul>
|
126 128 | /// <p>You could then use this substitution in an expression, as in this example:</p>
|
127 129 | /// <ul>
|
128 130 | /// <li>
|
129 131 | /// <p><code>#P = :val</code></p></li>
|
130 132 | /// </ul><note>
|
131 133 | /// <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>
|
132 134 | /// </note>
|
133 135 | /// <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>
|
134 136 | pub expression_attribute_names: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
135 - | /// <p>One or more values that can be substituted in an expression.</p>
|
137 + | /// /* StructureGenerator.kt:231 */<p>One or more values that can be substituted in an expression.</p>
|
136 138 | /// <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>
|
137 139 | /// <p><code>Available | Backordered | Discontinued</code></p>
|
138 140 | /// <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>
|
139 141 | /// <p><code>{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }</code></p>
|
140 142 | /// <p>You could then use these values in an expression, such as this:</p>
|
141 143 | /// <p><code>ProductStatus IN (:avail, :back, :disc)</code></p>
|
142 144 | /// <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>
|
143 145 | pub expression_attribute_values: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
|
146 + | /* StructureGenerator.kt:201 */
|
144 147 | }
|
148 + | /* StructureGenerator.kt:135 */
|
145 149 | impl QueryInput {
|
146 - | /// <p>The name of the table containing the requested items.</p>
|
150 + | /// /* StructureGenerator.kt:231 */<p>The name of the table containing the requested items.</p>
|
151 + | /* StructureGenerator.kt:166 */
|
147 152 | pub fn table_name(&self) -> ::std::option::Option<&str> {
|
153 + | /* StructureGenerator.kt:169 */
|
148 154 | self.table_name.as_deref()
|
155 + | /* StructureGenerator.kt:166 */
|
149 156 | }
|
150 - | /// <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>
|
157 + | /// /* StructureGenerator.kt:231 */<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>
|
158 + | /* StructureGenerator.kt:166 */
|
151 159 | pub fn index_name(&self) -> ::std::option::Option<&str> {
|
160 + | /* StructureGenerator.kt:169 */
|
152 161 | self.index_name.as_deref()
|
162 + | /* StructureGenerator.kt:166 */
|
153 163 | }
|
154 - | /// <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>
|
164 + | /// /* StructureGenerator.kt:231 */<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>
|
155 165 | /// <ul>
|
156 166 | /// <li>
|
157 167 | /// <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>
|
158 168 | /// <li>
|
159 169 | /// <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>
|
160 170 | /// <li>
|
161 171 | /// <p><code>COUNT</code> - Returns the number of matching items, rather than the matching items themselves.</p></li>
|
162 172 | /// <li>
|
163 173 | /// <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>
|
164 174 | /// <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>
|
165 175 | /// <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>
|
166 176 | /// </ul>
|
167 177 | /// <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>
|
168 178 | /// <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>
|
169 179 | /// </note>
|
180 + | /* StructureGenerator.kt:166 */
|
170 181 | pub fn select(&self) -> ::std::option::Option<&crate::types::Select> {
|
182 + | /* StructureGenerator.kt:170 */
|
171 183 | self.select.as_ref()
|
184 + | /* StructureGenerator.kt:166 */
|
172 185 | }
|
173 - | /// <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>
|
174 - | ///
|
175 - | /// 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()`.
|
186 + | /// /* 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>
|
187 + | /// /* StructureGenerator.kt:162 */
|
188 + | /// /* 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()`.
|
189 + | /* StructureGenerator.kt:166 */
|
176 190 | pub fn attributes_to_get(&self) -> &[::std::string::String] {
|
177 - | self.attributes_to_get.as_deref().unwrap_or_default()
|
178 - | }
|
179 - | /// <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>
|
191 + | /* StructureGenerator.kt:169 */
|
192 + | self.attributes_to_get
|
193 + | .as_deref()
|
194 + | /* StructureGenerator.kt:175 */
|
195 + | .unwrap_or_default()
|
196 + | /* StructureGenerator.kt:166 */
|
197 + | }
|
198 + | /// /* StructureGenerator.kt:231 */<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>
|
199 + | /* StructureGenerator.kt:166 */
|
180 200 | pub fn limit(&self) -> ::std::option::Option<i32> {
|
201 + | /* StructureGenerator.kt:168 */
|
181 202 | self.limit
|
203 + | /* StructureGenerator.kt:166 */
|
182 204 | }
|
183 - | /// <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>
|
205 + | /// /* 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>
|
184 206 | /// <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>
|
207 + | /* StructureGenerator.kt:166 */
|
185 208 | pub fn consistent_read(&self) -> ::std::option::Option<bool> {
|
209 + | /* StructureGenerator.kt:168 */
|
186 210 | self.consistent_read
|
211 + | /* StructureGenerator.kt:166 */
|
187 212 | }
|
188 - | /// <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>
|
213 + | /// /* StructureGenerator.kt:231 */<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>
|
214 + | /* StructureGenerator.kt:166 */
|
189 215 | pub fn key_conditions(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::Condition>> {
|
216 + | /* StructureGenerator.kt:170 */
|
190 217 | self.key_conditions.as_ref()
|
218 + | /* StructureGenerator.kt:166 */
|
191 219 | }
|
192 - | /// <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>
|
220 + | /// /* StructureGenerator.kt:231 */<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>
|
221 + | /* StructureGenerator.kt:166 */
|
193 222 | pub fn query_filter(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::Condition>> {
|
223 + | /* StructureGenerator.kt:170 */
|
194 224 | self.query_filter.as_ref()
|
225 + | /* StructureGenerator.kt:166 */
|
195 226 | }
|
196 - | /// <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>
|
227 + | /// /* StructureGenerator.kt:231 */<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>
|
228 + | /* StructureGenerator.kt:166 */
|
197 229 | pub fn conditional_operator(&self) -> ::std::option::Option<&crate::types::ConditionalOperator> {
|
230 + | /* StructureGenerator.kt:170 */
|
198 231 | self.conditional_operator.as_ref()
|
232 + | /* StructureGenerator.kt:166 */
|
199 233 | }
|
200 - | /// <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>
|
234 + | /// /* StructureGenerator.kt:231 */<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>
|
201 235 | /// <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>
|
202 236 | /// <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>
|
237 + | /* StructureGenerator.kt:166 */
|
203 238 | pub fn scan_index_forward(&self) -> ::std::option::Option<bool> {
|
239 + | /* StructureGenerator.kt:168 */
|
204 240 | self.scan_index_forward
|
241 + | /* StructureGenerator.kt:166 */
|
205 242 | }
|
206 - | /// <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>
|
243 + | /// /* StructureGenerator.kt:231 */<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>
|
207 244 | /// <p>The data type for <code>ExclusiveStartKey</code> must be String, Number, or Binary. No set data types are allowed.</p>
|
245 + | /* StructureGenerator.kt:166 */
|
208 246 | pub fn exclusive_start_key(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>> {
|
247 + | /* StructureGenerator.kt:170 */
|
209 248 | self.exclusive_start_key.as_ref()
|
249 + | /* StructureGenerator.kt:166 */
|
210 250 | }
|
211 - | /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
251 + | /// /* StructureGenerator.kt:231 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
212 252 | /// <ul>
|
213 253 | /// <li>
|
214 254 | /// <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>
|
215 255 | /// <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>
|
216 256 | /// <li>
|
217 257 | /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
|
218 258 | /// <li>
|
219 259 | /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
|
220 260 | /// </ul>
|
261 + | /* StructureGenerator.kt:166 */
|
221 262 | pub fn return_consumed_capacity(&self) -> ::std::option::Option<&crate::types::ReturnConsumedCapacity> {
|
263 + | /* StructureGenerator.kt:170 */
|
222 264 | self.return_consumed_capacity.as_ref()
|
265 + | /* StructureGenerator.kt:166 */
|
223 266 | }
|
224 - | /// <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>
|
267 + | /// /* 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>
|
225 268 | /// <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>
|
226 269 | /// <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>
|
270 + | /* StructureGenerator.kt:166 */
|
227 271 | pub fn projection_expression(&self) -> ::std::option::Option<&str> {
|
272 + | /* StructureGenerator.kt:169 */
|
228 273 | self.projection_expression.as_deref()
|
274 + | /* StructureGenerator.kt:166 */
|
229 275 | }
|
230 - | /// <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>
|
276 + | /// /* StructureGenerator.kt:231 */<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>
|
231 277 | /// <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>
|
232 278 | /// <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>
|
233 279 | /// </note>
|
234 280 | /// <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>
|
281 + | /* StructureGenerator.kt:166 */
|
235 282 | pub fn filter_expression(&self) -> ::std::option::Option<&str> {
|
283 + | /* StructureGenerator.kt:169 */
|
236 284 | self.filter_expression.as_deref()
|
285 + | /* StructureGenerator.kt:166 */
|
237 286 | }
|
238 - | /// <p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
|
287 + | /// /* StructureGenerator.kt:231 */<p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
|
239 288 | /// <p>The condition must perform an equality test on a single partition key value.</p>
|
240 289 | /// <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>
|
241 290 | /// <p>The partition key equality test is required, and must be specified in the following format:</p>
|
242 291 | /// <p><code>partitionKeyName</code> <i>=</i> <code>:partitionkeyval</code></p>
|
243 292 | /// <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>
|
244 293 | /// <p><code>partitionKeyName</code> <code>=</code> <code>:partitionkeyval</code> <code>AND</code> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code></p>
|
245 294 | /// <p>Valid comparisons for the sort key condition are as follows:</p>
|
246 295 | /// <ul>
|
247 296 | /// <li>
|
248 297 | /// <p><code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p></li>
|
249 298 | /// <li>
|
250 299 | /// <p><code>sortKeyName</code> <code><</code> <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p></li>
|
251 300 | /// <li>
|
252 301 | /// <p><code>sortKeyName</code> <code><=</code> <code>:sortkeyval</code> - true if the sort key value is less than or equal to <code>:sortkeyval</code>.</p></li>
|
253 302 | /// <li>
|
254 303 | /// <p><code>sortKeyName</code> <code>></code> <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p></li>
|
255 304 | /// <li>
|
256 305 | /// <p><code>sortKeyName</code> <code>>= </code> <code>:sortkeyval</code> - true if the sort key value is greater than or equal to <code>:sortkeyval</code>.</p></li>
|
257 306 | /// <li>
|
258 307 | /// <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>
|
259 308 | /// <li>
|
260 309 | /// <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>
|
261 310 | /// </ul>
|
262 311 | /// <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>
|
263 312 | /// <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>
|
264 313 | /// <ul>
|
265 314 | /// <li>
|
266 315 | /// <p><code>Size = :myval</code></p></li>
|
267 316 | /// </ul>
|
268 317 | /// <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>
|
269 318 | /// <ul>
|
270 319 | /// <li>
|
271 320 | /// <p><code>#S = :myval</code></p></li>
|
272 321 | /// </ul>
|
273 322 | /// <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>
|
274 323 | /// <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>
|
324 + | /* StructureGenerator.kt:166 */
|
275 325 | pub fn key_condition_expression(&self) -> ::std::option::Option<&str> {
|
326 + | /* StructureGenerator.kt:169 */
|
276 327 | self.key_condition_expression.as_deref()
|
328 + | /* StructureGenerator.kt:166 */
|
277 329 | }
|
278 - | /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
330 + | /// /* 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>
|
279 331 | /// <ul>
|
280 332 | /// <li>
|
281 333 | /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
|
282 334 | /// <li>
|
283 335 | /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
|
284 336 | /// <li>
|
285 337 | /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
|
286 338 | /// </ul>
|
287 339 | /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
|
288 340 | /// <ul>
|
289 341 | /// <li>
|
290 342 | /// <p><code>Percentile</code></p></li>
|
291 343 | /// </ul>
|
292 344 | /// <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>
|
293 345 | /// <ul>
|
294 346 | /// <li>
|
295 347 | /// <p><code>{"#P":"Percentile"}</code></p></li>
|
296 348 | /// </ul>
|
297 349 | /// <p>You could then use this substitution in an expression, as in this example:</p>
|
298 350 | /// <ul>
|
299 351 | /// <li>
|
300 352 | /// <p><code>#P = :val</code></p></li>
|
301 353 | /// </ul><note>
|
302 354 | /// <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>
|
303 355 | /// </note>
|
304 356 | /// <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>
|
357 + | /* StructureGenerator.kt:166 */
|
305 358 | pub fn expression_attribute_names(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
359 + | /* StructureGenerator.kt:170 */
|
306 360 | self.expression_attribute_names.as_ref()
|
361 + | /* StructureGenerator.kt:166 */
|
307 362 | }
|
308 - | /// <p>One or more values that can be substituted in an expression.</p>
|
363 + | /// /* StructureGenerator.kt:231 */<p>One or more values that can be substituted in an expression.</p>
|
309 364 | /// <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>
|
310 365 | /// <p><code>Available | Backordered | Discontinued</code></p>
|
311 366 | /// <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>
|
312 367 | /// <p><code>{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }</code></p>
|
313 368 | /// <p>You could then use these values in an expression, such as this:</p>
|
314 369 | /// <p><code>ProductStatus IN (:avail, :back, :disc)</code></p>
|
315 370 | /// <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>
|
371 + | /* StructureGenerator.kt:166 */
|
316 372 | pub fn expression_attribute_values(
|
317 373 | &self,
|
318 374 | ) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>> {
|
375 + | /* StructureGenerator.kt:170 */
|
319 376 | self.expression_attribute_values.as_ref()
|
377 + | /* StructureGenerator.kt:166 */
|
320 378 | }
|
379 + | /* StructureGenerator.kt:135 */
|
321 380 | }
|
381 + | /* ClientCodegenVisitor.kt:237 */
|
322 382 | impl QueryInput {
|
323 - | /// Creates a new builder-style object to manufacture [`QueryInput`](crate::operation::query::QueryInput).
|
383 + | /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`QueryInput`](crate::operation::query::QueryInput).
|
384 + | /* BuilderGenerator.kt:175 */
|
324 385 | pub fn builder() -> crate::operation::query::builders::QueryInputBuilder {
|
386 + | /* BuilderGenerator.kt:176 */
|
325 387 | crate::operation::query::builders::QueryInputBuilder::default()
|
388 + | /* BuilderGenerator.kt:175 */
|
326 389 | }
|
390 + | /* ClientCodegenVisitor.kt:237 */
|
327 391 | }
|
328 392 |
|
329 - | /// A builder for [`QueryInput`](crate::operation::query::QueryInput).
|
393 + | /// /* BuilderGenerator.kt:342 */A builder for [`QueryInput`](crate::operation::query::QueryInput).
|
394 + | /* RustType.kt:516 */
|
330 395 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
396 + | /* RustType.kt:516 */
|
331 397 | #[non_exhaustive]
|
398 + | /* BuilderGenerator.kt:345 */
|
332 399 | pub struct QueryInputBuilder {
|
333 - | pub(crate) table_name: ::std::option::Option<::std::string::String>,
|
334 - | pub(crate) index_name: ::std::option::Option<::std::string::String>,
|
335 - | pub(crate) select: ::std::option::Option<crate::types::Select>,
|
336 - | pub(crate) attributes_to_get: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
337 - | pub(crate) limit: ::std::option::Option<i32>,
|
338 - | pub(crate) consistent_read: ::std::option::Option<bool>,
|
400 + | /* BuilderGenerator.kt:275 */ pub(crate) table_name: ::std::option::Option<::std::string::String>,
|
401 + | /* BuilderGenerator.kt:275 */ pub(crate) index_name: ::std::option::Option<::std::string::String>,
|
402 + | /* BuilderGenerator.kt:275 */ pub(crate) select: ::std::option::Option<crate::types::Select>,
|
403 + | /* BuilderGenerator.kt:275 */ pub(crate) attributes_to_get: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
|
404 + | /* BuilderGenerator.kt:275 */ pub(crate) limit: ::std::option::Option<i32>,
|
405 + | /* BuilderGenerator.kt:275 */ pub(crate) consistent_read: ::std::option::Option<bool>,
|
406 + | /* BuilderGenerator.kt:275 */
|
339 407 | pub(crate) key_conditions: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>>,
|
408 + | /* BuilderGenerator.kt:275 */
|
340 409 | pub(crate) query_filter: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>>,
|
341 - | pub(crate) conditional_operator: ::std::option::Option<crate::types::ConditionalOperator>,
|
342 - | pub(crate) scan_index_forward: ::std::option::Option<bool>,
|
410 + | /* BuilderGenerator.kt:275 */ pub(crate) conditional_operator: ::std::option::Option<crate::types::ConditionalOperator>,
|
411 + | /* BuilderGenerator.kt:275 */ pub(crate) scan_index_forward: ::std::option::Option<bool>,
|
412 + | /* BuilderGenerator.kt:275 */
|
343 413 | pub(crate) exclusive_start_key: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
|
344 - | pub(crate) return_consumed_capacity: ::std::option::Option<crate::types::ReturnConsumedCapacity>,
|
345 - | pub(crate) projection_expression: ::std::option::Option<::std::string::String>,
|
346 - | pub(crate) filter_expression: ::std::option::Option<::std::string::String>,
|
347 - | pub(crate) key_condition_expression: ::std::option::Option<::std::string::String>,
|
414 + | /* BuilderGenerator.kt:275 */ pub(crate) return_consumed_capacity: ::std::option::Option<crate::types::ReturnConsumedCapacity>,
|
415 + | /* BuilderGenerator.kt:275 */ pub(crate) projection_expression: ::std::option::Option<::std::string::String>,
|
416 + | /* BuilderGenerator.kt:275 */ pub(crate) filter_expression: ::std::option::Option<::std::string::String>,
|
417 + | /* BuilderGenerator.kt:275 */ pub(crate) key_condition_expression: ::std::option::Option<::std::string::String>,
|
418 + | /* BuilderGenerator.kt:275 */
|
348 419 | pub(crate) expression_attribute_names: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
420 + | /* BuilderGenerator.kt:275 */
|
349 421 | pub(crate) expression_attribute_values: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
|
422 + | /* BuilderGenerator.kt:345 */
|
350 423 | }
|
424 + | /* BuilderGenerator.kt:355 */
|
351 425 | impl QueryInputBuilder {
|
352 - | /// <p>The name of the table containing the requested items.</p>
|
353 - | /// This field is required.
|
426 + | /// /* BuilderGenerator.kt:286 */<p>The name of the table containing the requested items.</p>
|
427 + | /// /* BuilderGenerator.kt:288 */This field is required.
|
428 + | /* BuilderGenerator.kt:291 */
|
354 429 | pub fn table_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
430 + | /* BuilderGenerator.kt:292 */
|
355 431 | self.table_name = ::std::option::Option::Some(input.into());
|
432 + | /* BuilderGenerator.kt:293 */
|
356 433 | self
|
434 + | /* BuilderGenerator.kt:291 */
|
357 435 | }
|
358 - | /// <p>The name of the table containing the requested items.</p>
|
436 + | /// /* BuilderGenerator.kt:312 */<p>The name of the table containing the requested items.</p>
|
437 + | /* BuilderGenerator.kt:314 */
|
359 438 | pub fn set_table_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
439 + | /* BuilderGenerator.kt:315 */
|
360 440 | self.table_name = input;
|
361 441 | self
|
442 + | /* BuilderGenerator.kt:314 */
|
362 443 | }
|
363 - | /// <p>The name of the table containing the requested items.</p>
|
444 + | /// /* BuilderGenerator.kt:334 */<p>The name of the table containing the requested items.</p>
|
445 + | /* BuilderGenerator.kt:336 */
|
364 446 | pub fn get_table_name(&self) -> &::std::option::Option<::std::string::String> {
|
447 + | /* BuilderGenerator.kt:337 */
|
365 448 | &self.table_name
|
449 + | /* BuilderGenerator.kt:336 */
|
366 450 | }
|
367 - | /// <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>
|
451 + | /// /* BuilderGenerator.kt:286 */<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>
|
452 + | /* BuilderGenerator.kt:291 */
|
368 453 | pub fn index_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
454 + | /* BuilderGenerator.kt:292 */
|
369 455 | self.index_name = ::std::option::Option::Some(input.into());
|
456 + | /* BuilderGenerator.kt:293 */
|
370 457 | self
|
458 + | /* BuilderGenerator.kt:291 */
|
371 459 | }
|
372 - | /// <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>
|
460 + | /// /* BuilderGenerator.kt:312 */<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>
|
461 + | /* BuilderGenerator.kt:314 */
|
373 462 | pub fn set_index_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
463 + | /* BuilderGenerator.kt:315 */
|
374 464 | self.index_name = input;
|
375 465 | self
|
466 + | /* BuilderGenerator.kt:314 */
|
376 467 | }
|
377 - | /// <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>
|
468 + | /// /* BuilderGenerator.kt:334 */<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>
|
469 + | /* BuilderGenerator.kt:336 */
|
378 470 | pub fn get_index_name(&self) -> &::std::option::Option<::std::string::String> {
|
471 + | /* BuilderGenerator.kt:337 */
|
379 472 | &self.index_name
|
473 + | /* BuilderGenerator.kt:336 */
|
380 474 | }
|
381 - | /// <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>
|
475 + | /// /* BuilderGenerator.kt:286 */<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>
|
382 476 | /// <ul>
|
383 477 | /// <li>
|
384 478 | /// <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>
|
385 479 | /// <li>
|
386 480 | /// <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>
|
387 481 | /// <li>
|
388 482 | /// <p><code>COUNT</code> - Returns the number of matching items, rather than the matching items themselves.</p></li>
|
389 483 | /// <li>
|
390 484 | /// <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>
|
391 485 | /// <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>
|
392 486 | /// <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>
|
393 487 | /// </ul>
|
394 488 | /// <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>
|
395 489 | /// <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>
|
396 490 | /// </note>
|
491 + | /* BuilderGenerator.kt:291 */
|
397 492 | pub fn select(mut self, input: crate::types::Select) -> Self {
|
493 + | /* BuilderGenerator.kt:292 */
|
398 494 | self.select = ::std::option::Option::Some(input);
|
495 + | /* BuilderGenerator.kt:293 */
|
399 496 | self
|
497 + | /* BuilderGenerator.kt:291 */
|
400 498 | }
|
401 - | /// <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>
|
499 + | /// /* BuilderGenerator.kt:312 */<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>
|
402 500 | /// <ul>
|
403 501 | /// <li>
|
404 502 | /// <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>
|
405 503 | /// <li>
|
406 504 | /// <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>
|
407 505 | /// <li>
|
408 506 | /// <p><code>COUNT</code> - Returns the number of matching items, rather than the matching items themselves.</p></li>
|
409 507 | /// <li>
|
410 508 | /// <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>
|
411 509 | /// <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>
|
412 510 | /// <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>
|
413 511 | /// </ul>
|
414 512 | /// <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>
|
415 513 | /// <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>
|
416 514 | /// </note>
|
515 + | /* BuilderGenerator.kt:314 */
|
417 516 | pub fn set_select(mut self, input: ::std::option::Option<crate::types::Select>) -> Self {
|
517 + | /* BuilderGenerator.kt:315 */
|
418 518 | self.select = input;
|
419 519 | self
|
520 + | /* BuilderGenerator.kt:314 */
|
420 521 | }
|
421 - | /// <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>
|
522 + | /// /* BuilderGenerator.kt:334 */<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>
|
422 523 | /// <ul>
|
423 524 | /// <li>
|
424 525 | /// <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>
|
425 526 | /// <li>
|
426 527 | /// <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>
|
427 528 | /// <li>
|
428 529 | /// <p><code>COUNT</code> - Returns the number of matching items, rather than the matching items themselves.</p></li>
|
429 530 | /// <li>
|
430 531 | /// <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>
|
431 532 | /// <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>
|
432 533 | /// <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>
|
433 534 | /// </ul>
|
434 535 | /// <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>
|
435 536 | /// <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>
|
436 537 | /// </note>
|
538 + | /* BuilderGenerator.kt:336 */
|
437 539 | pub fn get_select(&self) -> &::std::option::Option<crate::types::Select> {
|
540 + | /* BuilderGenerator.kt:337 */
|
438 541 | &self.select
|
542 + | /* BuilderGenerator.kt:336 */
|
439 543 | }
|
440 - | /// Appends an item to `attributes_to_get`.
|
544 + | /// /* BuilderGenerator.kt:410 */Appends an item to `attributes_to_get`.
|
545 + | /* BuilderGenerator.kt:411 */
|
441 546 | ///
|
442 - | /// To override the contents of this collection use [`set_attributes_to_get`](Self::set_attributes_to_get).
|
547 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_attributes_to_get`](Self::set_attributes_to_get).
|
548 + | /* BuilderGenerator.kt:413 */
|
443 549 | ///
|
444 - | /// <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>
|
550 + | /// /* 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>
|
551 + | /* BuilderGenerator.kt:418 */
|
445 552 | pub fn attributes_to_get(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
553 + | /* BuilderGenerator.kt:419 */
|
446 554 | let mut v = self.attributes_to_get.unwrap_or_default();
|
447 555 | v.push(input.into());
|
448 556 | self.attributes_to_get = ::std::option::Option::Some(v);
|
449 557 | self
|
558 + | /* BuilderGenerator.kt:418 */
|
450 559 | }
|
451 - | /// <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>
|
560 + | /// /* 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>
|
561 + | /* BuilderGenerator.kt:314 */
|
452 562 | pub fn set_attributes_to_get(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
|
563 + | /* BuilderGenerator.kt:315 */
|
453 564 | self.attributes_to_get = input;
|
454 565 | self
|
566 + | /* BuilderGenerator.kt:314 */
|
455 567 | }
|
456 - | /// <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>
|
568 + | /// /* 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>
|
569 + | /* BuilderGenerator.kt:336 */
|
457 570 | pub fn get_attributes_to_get(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
|
571 + | /* BuilderGenerator.kt:337 */
|
458 572 | &self.attributes_to_get
|
573 + | /* BuilderGenerator.kt:336 */
|
459 574 | }
|
460 - | /// <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>
|
575 + | /// /* BuilderGenerator.kt:286 */<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>
|
576 + | /* BuilderGenerator.kt:291 */
|
461 577 | pub fn limit(mut self, input: i32) -> Self {
|
578 + | /* BuilderGenerator.kt:292 */
|
462 579 | self.limit = ::std::option::Option::Some(input);
|
580 + | /* BuilderGenerator.kt:293 */
|
463 581 | self
|
582 + | /* BuilderGenerator.kt:291 */
|
464 583 | }
|
465 - | /// <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>
|
584 + | /// /* BuilderGenerator.kt:312 */<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>
|
585 + | /* BuilderGenerator.kt:314 */
|
466 586 | pub fn set_limit(mut self, input: ::std::option::Option<i32>) -> Self {
|
587 + | /* BuilderGenerator.kt:315 */
|
467 588 | self.limit = input;
|
468 589 | self
|
590 + | /* BuilderGenerator.kt:314 */
|
469 591 | }
|
470 - | /// <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>
|
592 + | /// /* BuilderGenerator.kt:334 */<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>
|
593 + | /* BuilderGenerator.kt:336 */
|
471 594 | pub fn get_limit(&self) -> &::std::option::Option<i32> {
|
595 + | /* BuilderGenerator.kt:337 */
|
472 596 | &self.limit
|
597 + | /* BuilderGenerator.kt:336 */
|
473 598 | }
|
474 - | /// <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>
|
599 + | /// /* 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>
|
475 600 | /// <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>
|
601 + | /* BuilderGenerator.kt:291 */
|
476 602 | pub fn consistent_read(mut self, input: bool) -> Self {
|
603 + | /* BuilderGenerator.kt:292 */
|
477 604 | self.consistent_read = ::std::option::Option::Some(input);
|
605 + | /* BuilderGenerator.kt:293 */
|
478 606 | self
|
607 + | /* BuilderGenerator.kt:291 */
|
479 608 | }
|
480 - | /// <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>
|
609 + | /// /* 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>
|
481 610 | /// <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>
|
611 + | /* BuilderGenerator.kt:314 */
|
482 612 | pub fn set_consistent_read(mut self, input: ::std::option::Option<bool>) -> Self {
|
613 + | /* BuilderGenerator.kt:315 */
|
483 614 | self.consistent_read = input;
|
484 615 | self
|
616 + | /* BuilderGenerator.kt:314 */
|
485 617 | }
|
486 - | /// <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>
|
618 + | /// /* 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>
|
487 619 | /// <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>
|
620 + | /* BuilderGenerator.kt:336 */
|
488 621 | pub fn get_consistent_read(&self) -> &::std::option::Option<bool> {
|
622 + | /* BuilderGenerator.kt:337 */
|
489 623 | &self.consistent_read
|
624 + | /* BuilderGenerator.kt:336 */
|
490 625 | }
|
491 - | /// Adds a key-value pair to `key_conditions`.
|
626 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `key_conditions`.
|
627 + | /* BuilderGenerator.kt:437 */
|
492 628 | ///
|
493 - | /// To override the contents of this collection use [`set_key_conditions`](Self::set_key_conditions).
|
629 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_key_conditions`](Self::set_key_conditions).
|
630 + | /* BuilderGenerator.kt:439 */
|
494 631 | ///
|
495 - | /// <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>
|
632 + | /// /* BuilderGenerator.kt:440 */<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>
|
633 + | /* BuilderGenerator.kt:445 */
|
496 634 | pub fn key_conditions(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::Condition) -> Self {
|
635 + | /* BuilderGenerator.kt:448 */
|
497 636 | let mut hash_map = self.key_conditions.unwrap_or_default();
|
498 637 | hash_map.insert(k.into(), v);
|
499 638 | self.key_conditions = ::std::option::Option::Some(hash_map);
|
500 639 | self
|
640 + | /* BuilderGenerator.kt:445 */
|
501 641 | }
|
502 - | /// <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>
|
642 + | /// /* BuilderGenerator.kt:312 */<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>
|
643 + | /* BuilderGenerator.kt:314 */
|
503 644 | pub fn set_key_conditions(
|
504 645 | mut self,
|
505 646 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>>,
|
506 647 | ) -> Self {
|
648 + | /* BuilderGenerator.kt:315 */
|
507 649 | self.key_conditions = input;
|
508 650 | self
|
651 + | /* BuilderGenerator.kt:314 */
|
509 652 | }
|
510 - | /// <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>
|
653 + | /// /* BuilderGenerator.kt:334 */<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>
|
654 + | /* BuilderGenerator.kt:336 */
|
511 655 | pub fn get_key_conditions(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>> {
|
656 + | /* BuilderGenerator.kt:337 */
|
512 657 | &self.key_conditions
|
658 + | /* BuilderGenerator.kt:336 */
|
513 659 | }
|
514 - | /// Adds a key-value pair to `query_filter`.
|
660 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `query_filter`.
|
661 + | /* BuilderGenerator.kt:437 */
|
515 662 | ///
|
516 - | /// To override the contents of this collection use [`set_query_filter`](Self::set_query_filter).
|
663 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_query_filter`](Self::set_query_filter).
|
664 + | /* BuilderGenerator.kt:439 */
|
517 665 | ///
|
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>
|
666 + | /// /* BuilderGenerator.kt:440 */<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>
|
667 + | /* BuilderGenerator.kt:445 */
|
519 668 | pub fn query_filter(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::Condition) -> Self {
|
669 + | /* BuilderGenerator.kt:448 */
|
520 670 | let mut hash_map = self.query_filter.unwrap_or_default();
|
521 671 | hash_map.insert(k.into(), v);
|
522 672 | self.query_filter = ::std::option::Option::Some(hash_map);
|
523 673 | self
|
674 + | /* BuilderGenerator.kt:445 */
|
524 675 | }
|
525 - | /// <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>
|
676 + | /// /* BuilderGenerator.kt:312 */<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>
|
677 + | /* BuilderGenerator.kt:314 */
|
526 678 | pub fn set_query_filter(
|
527 679 | mut self,
|
528 680 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>>,
|
529 681 | ) -> Self {
|
682 + | /* BuilderGenerator.kt:315 */
|
530 683 | self.query_filter = input;
|
531 684 | self
|
685 + | /* BuilderGenerator.kt:314 */
|
532 686 | }
|
533 - | /// <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>
|
687 + | /// /* BuilderGenerator.kt:334 */<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>
|
688 + | /* BuilderGenerator.kt:336 */
|
534 689 | pub fn get_query_filter(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::Condition>> {
|
690 + | /* BuilderGenerator.kt:337 */
|
535 691 | &self.query_filter
|
692 + | /* BuilderGenerator.kt:336 */
|
536 693 | }
|
537 - | /// <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>
|
694 + | /// /* BuilderGenerator.kt:286 */<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>
|
695 + | /* BuilderGenerator.kt:291 */
|
538 696 | pub fn conditional_operator(mut self, input: crate::types::ConditionalOperator) -> Self {
|
697 + | /* BuilderGenerator.kt:292 */
|
539 698 | self.conditional_operator = ::std::option::Option::Some(input);
|
699 + | /* BuilderGenerator.kt:293 */
|
540 700 | self
|
701 + | /* BuilderGenerator.kt:291 */
|
541 702 | }
|
542 - | /// <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>
|
703 + | /// /* BuilderGenerator.kt:312 */<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>
|
704 + | /* BuilderGenerator.kt:314 */
|
543 705 | pub fn set_conditional_operator(mut self, input: ::std::option::Option<crate::types::ConditionalOperator>) -> Self {
|
706 + | /* BuilderGenerator.kt:315 */
|
544 707 | self.conditional_operator = input;
|
545 708 | self
|
709 + | /* BuilderGenerator.kt:314 */
|
546 710 | }
|
547 - | /// <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>
|
711 + | /// /* BuilderGenerator.kt:334 */<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>
|
712 + | /* BuilderGenerator.kt:336 */
|
548 713 | pub fn get_conditional_operator(&self) -> &::std::option::Option<crate::types::ConditionalOperator> {
|
714 + | /* BuilderGenerator.kt:337 */
|
549 715 | &self.conditional_operator
|
716 + | /* BuilderGenerator.kt:336 */
|
550 717 | }
|
551 - | /// <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>
|
718 + | /// /* BuilderGenerator.kt:286 */<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>
|
552 719 | /// <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>
|
553 720 | /// <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>
|
721 + | /* BuilderGenerator.kt:291 */
|
554 722 | pub fn scan_index_forward(mut self, input: bool) -> Self {
|
723 + | /* BuilderGenerator.kt:292 */
|
555 724 | self.scan_index_forward = ::std::option::Option::Some(input);
|
725 + | /* BuilderGenerator.kt:293 */
|
556 726 | self
|
727 + | /* BuilderGenerator.kt:291 */
|
557 728 | }
|
558 - | /// <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>
|
729 + | /// /* BuilderGenerator.kt:312 */<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>
|
559 730 | /// <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>
|
560 731 | /// <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>
|
732 + | /* BuilderGenerator.kt:314 */
|
561 733 | pub fn set_scan_index_forward(mut self, input: ::std::option::Option<bool>) -> Self {
|
734 + | /* BuilderGenerator.kt:315 */
|
562 735 | self.scan_index_forward = input;
|
563 736 | self
|
737 + | /* BuilderGenerator.kt:314 */
|
564 738 | }
|
565 - | /// <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>
|
739 + | /// /* BuilderGenerator.kt:334 */<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>
|
566 740 | /// <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>
|
567 741 | /// <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>
|
742 + | /* BuilderGenerator.kt:336 */
|
568 743 | pub fn get_scan_index_forward(&self) -> &::std::option::Option<bool> {
|
744 + | /* BuilderGenerator.kt:337 */
|
569 745 | &self.scan_index_forward
|
746 + | /* BuilderGenerator.kt:336 */
|
570 747 | }
|
571 - | /// Adds a key-value pair to `exclusive_start_key`.
|
748 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `exclusive_start_key`.
|
749 + | /* BuilderGenerator.kt:437 */
|
572 750 | ///
|
573 - | /// To override the contents of this collection use [`set_exclusive_start_key`](Self::set_exclusive_start_key).
|
751 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_exclusive_start_key`](Self::set_exclusive_start_key).
|
752 + | /* BuilderGenerator.kt:439 */
|
574 753 | ///
|
575 - | /// <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>
|
754 + | /// /* BuilderGenerator.kt:440 */<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>
|
576 755 | /// <p>The data type for <code>ExclusiveStartKey</code> must be String, Number, or Binary. No set data types are allowed.</p>
|
756 + | /* BuilderGenerator.kt:445 */
|
577 757 | pub fn exclusive_start_key(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::AttributeValue) -> Self {
|
758 + | /* BuilderGenerator.kt:448 */
|
578 759 | let mut hash_map = self.exclusive_start_key.unwrap_or_default();
|
579 760 | hash_map.insert(k.into(), v);
|
580 761 | self.exclusive_start_key = ::std::option::Option::Some(hash_map);
|
581 762 | self
|
763 + | /* BuilderGenerator.kt:445 */
|
582 764 | }
|
583 - | /// <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>
|
765 + | /// /* BuilderGenerator.kt:312 */<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>
|
584 766 | /// <p>The data type for <code>ExclusiveStartKey</code> must be String, Number, or Binary. No set data types are allowed.</p>
|
767 + | /* BuilderGenerator.kt:314 */
|
585 768 | pub fn set_exclusive_start_key(
|
586 769 | mut self,
|
587 770 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
|
588 771 | ) -> Self {
|
772 + | /* BuilderGenerator.kt:315 */
|
589 773 | self.exclusive_start_key = input;
|
590 774 | self
|
775 + | /* BuilderGenerator.kt:314 */
|
591 776 | }
|
592 - | /// <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>
|
777 + | /// /* BuilderGenerator.kt: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>
|
593 778 | /// <p>The data type for <code>ExclusiveStartKey</code> must be String, Number, or Binary. No set data types are allowed.</p>
|
779 + | /* BuilderGenerator.kt:336 */
|
594 780 | pub fn get_exclusive_start_key(
|
595 781 | &self,
|
596 782 | ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>> {
|
783 + | /* BuilderGenerator.kt:337 */
|
597 784 | &self.exclusive_start_key
|
785 + | /* BuilderGenerator.kt:336 */
|
598 786 | }
|
599 - | /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
787 + | /// /* BuilderGenerator.kt:286 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
600 788 | /// <ul>
|
601 789 | /// <li>
|
602 790 | /// <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>
|
603 791 | /// <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>
|
604 792 | /// <li>
|
605 793 | /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
|
606 794 | /// <li>
|
607 795 | /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
|
608 796 | /// </ul>
|
797 + | /* BuilderGenerator.kt:291 */
|
609 798 | pub fn return_consumed_capacity(mut self, input: crate::types::ReturnConsumedCapacity) -> Self {
|
799 + | /* BuilderGenerator.kt:292 */
|
610 800 | self.return_consumed_capacity = ::std::option::Option::Some(input);
|
801 + | /* BuilderGenerator.kt:293 */
|
611 802 | self
|
803 + | /* BuilderGenerator.kt:291 */
|
612 804 | }
|
613 - | /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
805 + | /// /* BuilderGenerator.kt:312 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
614 806 | /// <ul>
|
615 807 | /// <li>
|
616 808 | /// <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>
|
617 809 | /// <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>
|
618 810 | /// <li>
|
619 811 | /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
|
620 812 | /// <li>
|
621 813 | /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
|
622 814 | /// </ul>
|
815 + | /* BuilderGenerator.kt:314 */
|
623 816 | pub fn set_return_consumed_capacity(mut self, input: ::std::option::Option<crate::types::ReturnConsumedCapacity>) -> Self {
|
817 + | /* BuilderGenerator.kt:315 */
|
624 818 | self.return_consumed_capacity = input;
|
625 819 | self
|
820 + | /* BuilderGenerator.kt:314 */
|
626 821 | }
|
627 - | /// <p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
822 + | /// /* BuilderGenerator.kt:334 */<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>
|
628 823 | /// <ul>
|
629 824 | /// <li>
|
630 825 | /// <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>
|
631 826 | /// <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>
|
632 827 | /// <li>
|
633 828 | /// <p><code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p></li>
|
634 829 | /// <li>
|
635 830 | /// <p><code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p></li>
|
636 831 | /// </ul>
|
832 + | /* BuilderGenerator.kt:336 */
|
637 833 | pub fn get_return_consumed_capacity(&self) -> &::std::option::Option<crate::types::ReturnConsumedCapacity> {
|
834 + | /* BuilderGenerator.kt:337 */
|
638 835 | &self.return_consumed_capacity
|
836 + | /* BuilderGenerator.kt:336 */
|
639 837 | }
|
640 - | /// <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>
|
838 + | /// /* 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>
|
641 839 | /// <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>
|
642 840 | /// <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>
|
841 + | /* BuilderGenerator.kt:291 */
|
643 842 | pub fn projection_expression(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
843 + | /* BuilderGenerator.kt:292 */
|
644 844 | self.projection_expression = ::std::option::Option::Some(input.into());
|
845 + | /* BuilderGenerator.kt:293 */
|
645 846 | self
|
847 + | /* BuilderGenerator.kt:291 */
|
646 848 | }
|
647 - | /// <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>
|
849 + | /// /* 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>
|
648 850 | /// <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>
|
649 851 | /// <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>
|
852 + | /* BuilderGenerator.kt:314 */
|
650 853 | pub fn set_projection_expression(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
854 + | /* BuilderGenerator.kt:315 */
|
651 855 | self.projection_expression = input;
|
652 856 | self
|
857 + | /* BuilderGenerator.kt:314 */
|
653 858 | }
|
654 - | /// <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>
|
859 + | /// /* 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>
|
655 860 | /// <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>
|
656 861 | /// <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>
|
862 + | /* BuilderGenerator.kt:336 */
|
657 863 | pub fn get_projection_expression(&self) -> &::std::option::Option<::std::string::String> {
|
864 + | /* BuilderGenerator.kt:337 */
|
658 865 | &self.projection_expression
|
866 + | /* BuilderGenerator.kt:336 */
|
659 867 | }
|
660 - | /// <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>
|
868 + | /// /* BuilderGenerator.kt:286 */<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>
|
661 869 | /// <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>
|
662 870 | /// <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>
|
663 871 | /// </note>
|
664 872 | /// <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>
|
873 + | /* BuilderGenerator.kt:291 */
|
665 874 | pub fn filter_expression(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
875 + | /* BuilderGenerator.kt:292 */
|
666 876 | self.filter_expression = ::std::option::Option::Some(input.into());
|
877 + | /* BuilderGenerator.kt:293 */
|
667 878 | self
|
879 + | /* BuilderGenerator.kt:291 */
|
668 880 | }
|
669 - | /// <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>
|
881 + | /// /* BuilderGenerator.kt:312 */<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>
|
670 882 | /// <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>
|
671 883 | /// <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>
|
672 884 | /// </note>
|
673 885 | /// <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>
|
886 + | /* BuilderGenerator.kt:314 */
|
674 887 | pub fn set_filter_expression(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
888 + | /* BuilderGenerator.kt:315 */
|
675 889 | self.filter_expression = input;
|
676 890 | self
|
891 + | /* BuilderGenerator.kt:314 */
|
677 892 | }
|
678 - | /// <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>
|
893 + | /// /* BuilderGenerator.kt:334 */<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>
|
679 894 | /// <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>
|
680 895 | /// <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>
|
681 896 | /// </note>
|
682 897 | /// <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>
|
898 + | /* BuilderGenerator.kt:336 */
|
683 899 | pub fn get_filter_expression(&self) -> &::std::option::Option<::std::string::String> {
|
900 + | /* BuilderGenerator.kt:337 */
|
684 901 | &self.filter_expression
|
902 + | /* BuilderGenerator.kt:336 */
|
685 903 | }
|
686 - | /// <p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
|
904 + | /// /* BuilderGenerator.kt:286 */<p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
|
687 905 | /// <p>The condition must perform an equality test on a single partition key value.</p>
|
688 906 | /// <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>
|
689 907 | /// <p>The partition key equality test is required, and must be specified in the following format:</p>
|
690 908 | /// <p><code>partitionKeyName</code> <i>=</i> <code>:partitionkeyval</code></p>
|
691 909 | /// <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>
|
692 910 | /// <p><code>partitionKeyName</code> <code>=</code> <code>:partitionkeyval</code> <code>AND</code> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code></p>
|
693 911 | /// <p>Valid comparisons for the sort key condition are as follows:</p>
|
694 912 | /// <ul>
|
695 913 | /// <li>
|
696 914 | /// <p><code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p></li>
|
697 915 | /// <li>
|
698 916 | /// <p><code>sortKeyName</code> <code><</code> <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p></li>
|
699 917 | /// <li>
|
700 918 | /// <p><code>sortKeyName</code> <code><=</code> <code>:sortkeyval</code> - true if the sort key value is less than or equal to <code>:sortkeyval</code>.</p></li>
|
701 919 | /// <li>
|
702 920 | /// <p><code>sortKeyName</code> <code>></code> <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p></li>
|
703 921 | /// <li>
|
704 922 | /// <p><code>sortKeyName</code> <code>>= </code> <code>:sortkeyval</code> - true if the sort key value is greater than or equal to <code>:sortkeyval</code>.</p></li>
|
705 923 | /// <li>
|
706 924 | /// <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>
|
707 925 | /// <li>
|
708 926 | /// <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>
|
709 927 | /// </ul>
|
710 928 | /// <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>
|
711 929 | /// <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>
|
712 930 | /// <ul>
|
713 931 | /// <li>
|
714 932 | /// <p><code>Size = :myval</code></p></li>
|
715 933 | /// </ul>
|
716 934 | /// <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>
|
717 935 | /// <ul>
|
718 936 | /// <li>
|
719 937 | /// <p><code>#S = :myval</code></p></li>
|
720 938 | /// </ul>
|
721 939 | /// <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>
|
722 940 | /// <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>
|
941 + | /* BuilderGenerator.kt:291 */
|
723 942 | pub fn key_condition_expression(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
943 + | /* BuilderGenerator.kt:292 */
|
724 944 | self.key_condition_expression = ::std::option::Option::Some(input.into());
|
945 + | /* BuilderGenerator.kt:293 */
|
725 946 | self
|
947 + | /* BuilderGenerator.kt:291 */
|
726 948 | }
|
727 - | /// <p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
|
949 + | /// /* BuilderGenerator.kt:312 */<p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
|
728 950 | /// <p>The condition must perform an equality test on a single partition key value.</p>
|
729 951 | /// <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>
|
730 952 | /// <p>The partition key equality test is required, and must be specified in the following format:</p>
|
731 953 | /// <p><code>partitionKeyName</code> <i>=</i> <code>:partitionkeyval</code></p>
|
732 954 | /// <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>
|
733 955 | /// <p><code>partitionKeyName</code> <code>=</code> <code>:partitionkeyval</code> <code>AND</code> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code></p>
|
734 956 | /// <p>Valid comparisons for the sort key condition are as follows:</p>
|
735 957 | /// <ul>
|
736 958 | /// <li>
|
737 959 | /// <p><code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p></li>
|
738 960 | /// <li>
|
739 961 | /// <p><code>sortKeyName</code> <code><</code> <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p></li>
|
740 962 | /// <li>
|
741 963 | /// <p><code>sortKeyName</code> <code><=</code> <code>:sortkeyval</code> - true if the sort key value is less than or equal to <code>:sortkeyval</code>.</p></li>
|
742 964 | /// <li>
|
743 965 | /// <p><code>sortKeyName</code> <code>></code> <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p></li>
|
744 966 | /// <li>
|
745 967 | /// <p><code>sortKeyName</code> <code>>= </code> <code>:sortkeyval</code> - true if the sort key value is greater than or equal to <code>:sortkeyval</code>.</p></li>
|
746 968 | /// <li>
|
747 969 | /// <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>
|
748 970 | /// <li>
|
749 971 | /// <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>
|
750 972 | /// </ul>
|
751 973 | /// <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>
|
752 974 | /// <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>
|
753 975 | /// <ul>
|
754 976 | /// <li>
|
755 977 | /// <p><code>Size = :myval</code></p></li>
|
756 978 | /// </ul>
|
757 979 | /// <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>
|
758 980 | /// <ul>
|
759 981 | /// <li>
|
760 982 | /// <p><code>#S = :myval</code></p></li>
|
761 983 | /// </ul>
|
762 984 | /// <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>
|
763 985 | /// <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>
|
986 + | /* BuilderGenerator.kt:314 */
|
764 987 | pub fn set_key_condition_expression(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
988 + | /* BuilderGenerator.kt:315 */
|
765 989 | self.key_condition_expression = input;
|
766 990 | self
|
991 + | /* BuilderGenerator.kt:314 */
|
767 992 | }
|
768 - | /// <p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
|
993 + | /// /* BuilderGenerator.kt:334 */<p>The condition that specifies the key values for items to be retrieved by the <code>Query</code> action.</p>
|
769 994 | /// <p>The condition must perform an equality test on a single partition key value.</p>
|
770 995 | /// <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>
|
771 996 | /// <p>The partition key equality test is required, and must be specified in the following format:</p>
|
772 997 | /// <p><code>partitionKeyName</code> <i>=</i> <code>:partitionkeyval</code></p>
|
773 998 | /// <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>
|
774 999 | /// <p><code>partitionKeyName</code> <code>=</code> <code>:partitionkeyval</code> <code>AND</code> <code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code></p>
|
775 1000 | /// <p>Valid comparisons for the sort key condition are as follows:</p>
|
776 1001 | /// <ul>
|
777 1002 | /// <li>
|
778 1003 | /// <p><code>sortKeyName</code> <code>=</code> <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p></li>
|
779 1004 | /// <li>
|
780 1005 | /// <p><code>sortKeyName</code> <code><</code> <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p></li>
|
781 1006 | /// <li>
|
782 1007 | /// <p><code>sortKeyName</code> <code><=</code> <code>:sortkeyval</code> - true if the sort key value is less than or equal to <code>:sortkeyval</code>.</p></li>
|
783 1008 | /// <li>
|
784 1009 | /// <p><code>sortKeyName</code> <code>></code> <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p></li>
|
785 1010 | /// <li>
|
786 1011 | /// <p><code>sortKeyName</code> <code>>= </code> <code>:sortkeyval</code> - true if the sort key value is greater than or equal to <code>:sortkeyval</code>.</p></li>
|
787 1012 | /// <li>
|
788 1013 | /// <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>
|
789 1014 | /// <li>
|
790 1015 | /// <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>
|
791 1016 | /// </ul>
|
792 1017 | /// <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>
|
793 1018 | /// <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>
|
794 1019 | /// <ul>
|
795 1020 | /// <li>
|
796 1021 | /// <p><code>Size = :myval</code></p></li>
|
797 1022 | /// </ul>
|
798 1023 | /// <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>
|
799 1024 | /// <ul>
|
800 1025 | /// <li>
|
801 1026 | /// <p><code>#S = :myval</code></p></li>
|
802 1027 | /// </ul>
|
803 1028 | /// <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>
|
804 1029 | /// <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>
|
1030 + | /* BuilderGenerator.kt:336 */
|
805 1031 | pub fn get_key_condition_expression(&self) -> &::std::option::Option<::std::string::String> {
|
1032 + | /* BuilderGenerator.kt:337 */
|
806 1033 | &self.key_condition_expression
|
1034 + | /* BuilderGenerator.kt:336 */
|
807 1035 | }
|
808 - | /// Adds a key-value pair to `expression_attribute_names`.
|
1036 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `expression_attribute_names`.
|
1037 + | /* BuilderGenerator.kt:437 */
|
809 1038 | ///
|
810 - | /// To override the contents of this collection use [`set_expression_attribute_names`](Self::set_expression_attribute_names).
|
1039 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_expression_attribute_names`](Self::set_expression_attribute_names).
|
1040 + | /* BuilderGenerator.kt:439 */
|
811 1041 | ///
|
812 - | /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
1042 + | /// /* 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>
|
813 1043 | /// <ul>
|
814 1044 | /// <li>
|
815 1045 | /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
|
816 1046 | /// <li>
|
817 1047 | /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
|
818 1048 | /// <li>
|
819 1049 | /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
|
820 1050 | /// </ul>
|
821 1051 | /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
|
822 1052 | /// <ul>
|
823 1053 | /// <li>
|
824 1054 | /// <p><code>Percentile</code></p></li>
|
825 1055 | /// </ul>
|
826 1056 | /// <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>
|
827 1057 | /// <ul>
|
828 1058 | /// <li>
|
829 1059 | /// <p><code>{"#P":"Percentile"}</code></p></li>
|
830 1060 | /// </ul>
|
831 1061 | /// <p>You could then use this substitution in an expression, as in this example:</p>
|
832 1062 | /// <ul>
|
833 1063 | /// <li>
|
834 1064 | /// <p><code>#P = :val</code></p></li>
|
835 1065 | /// </ul><note>
|
836 1066 | /// <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>
|
837 1067 | /// </note>
|
838 1068 | /// <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>
|
1069 + | /* BuilderGenerator.kt:445 */
|
839 1070 | pub fn expression_attribute_names(
|
840 1071 | mut self,
|
841 1072 | k: impl ::std::convert::Into<::std::string::String>,
|
842 1073 | v: impl ::std::convert::Into<::std::string::String>,
|
843 1074 | ) -> Self {
|
1075 + | /* BuilderGenerator.kt:448 */
|
844 1076 | let mut hash_map = self.expression_attribute_names.unwrap_or_default();
|
845 1077 | hash_map.insert(k.into(), v.into());
|
846 1078 | self.expression_attribute_names = ::std::option::Option::Some(hash_map);
|
847 1079 | self
|
1080 + | /* BuilderGenerator.kt:445 */
|
848 1081 | }
|
849 - | /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
1082 + | /// /* 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>
|
850 1083 | /// <ul>
|
851 1084 | /// <li>
|
852 1085 | /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
|
853 1086 | /// <li>
|
854 1087 | /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
|
855 1088 | /// <li>
|
856 1089 | /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
|
857 1090 | /// </ul>
|
858 1091 | /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
|
859 1092 | /// <ul>
|
860 1093 | /// <li>
|
861 1094 | /// <p><code>Percentile</code></p></li>
|
862 1095 | /// </ul>
|
863 1096 | /// <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>
|
864 1097 | /// <ul>
|
865 1098 | /// <li>
|
866 1099 | /// <p><code>{"#P":"Percentile"}</code></p></li>
|
867 1100 | /// </ul>
|
868 1101 | /// <p>You could then use this substitution in an expression, as in this example:</p>
|
869 1102 | /// <ul>
|
870 1103 | /// <li>
|
871 1104 | /// <p><code>#P = :val</code></p></li>
|
872 1105 | /// </ul><note>
|
873 1106 | /// <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>
|
874 1107 | /// </note>
|
875 1108 | /// <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>
|
1109 + | /* BuilderGenerator.kt:314 */
|
876 1110 | pub fn set_expression_attribute_names(
|
877 1111 | mut self,
|
878 1112 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
|
879 1113 | ) -> Self {
|
1114 + | /* BuilderGenerator.kt:315 */
|
880 1115 | self.expression_attribute_names = input;
|
881 1116 | self
|
1117 + | /* BuilderGenerator.kt:314 */
|
882 1118 | }
|
883 - | /// <p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>
|
1119 + | /// /* 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>
|
884 1120 | /// <ul>
|
885 1121 | /// <li>
|
886 1122 | /// <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p></li>
|
887 1123 | /// <li>
|
888 1124 | /// <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p></li>
|
889 1125 | /// <li>
|
890 1126 | /// <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p></li>
|
891 1127 | /// </ul>
|
892 1128 | /// <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>
|
893 1129 | /// <ul>
|
894 1130 | /// <li>
|
895 1131 | /// <p><code>Percentile</code></p></li>
|
896 1132 | /// </ul>
|
897 1133 | /// <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>
|
898 1134 | /// <ul>
|
899 1135 | /// <li>
|
900 1136 | /// <p><code>{"#P":"Percentile"}</code></p></li>
|
901 1137 | /// </ul>
|
902 1138 | /// <p>You could then use this substitution in an expression, as in this example:</p>
|
903 1139 | /// <ul>
|
904 1140 | /// <li>
|
905 1141 | /// <p><code>#P = :val</code></p></li>
|
906 1142 | /// </ul><note>
|
907 1143 | /// <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>
|
908 1144 | /// </note>
|
909 1145 | /// <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>
|
1146 + | /* BuilderGenerator.kt:336 */
|
910 1147 | pub fn get_expression_attribute_names(
|
911 1148 | &self,
|
912 1149 | ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
|
1150 + | /* BuilderGenerator.kt:337 */
|
913 1151 | &self.expression_attribute_names
|
1152 + | /* BuilderGenerator.kt:336 */
|
914 1153 | }
|
915 - | /// Adds a key-value pair to `expression_attribute_values`.
|
1154 + | /// /* BuilderGenerator.kt:436 */Adds a key-value pair to `expression_attribute_values`.
|
1155 + | /* BuilderGenerator.kt:437 */
|
916 1156 | ///
|
917 - | /// To override the contents of this collection use [`set_expression_attribute_values`](Self::set_expression_attribute_values).
|
1157 + | /// /* BuilderGenerator.kt:438 */To override the contents of this collection use [`set_expression_attribute_values`](Self::set_expression_attribute_values).
|
1158 + | /* BuilderGenerator.kt:439 */
|
918 1159 | ///
|
919 - | /// <p>One or more values that can be substituted in an expression.</p>
|
1160 + | /// /* BuilderGenerator.kt:440 */<p>One or more values that can be substituted in an expression.</p>
|
920 1161 | /// <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>
|
921 1162 | /// <p><code>Available | Backordered | Discontinued</code></p>
|
922 1163 | /// <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>
|
923 1164 | /// <p><code>{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }</code></p>
|
924 1165 | /// <p>You could then use these values in an expression, such as this:</p>
|
925 1166 | /// <p><code>ProductStatus IN (:avail, :back, :disc)</code></p>
|
926 1167 | /// <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>
|
1168 + | /* BuilderGenerator.kt:445 */
|
927 1169 | pub fn expression_attribute_values(mut self, k: impl ::std::convert::Into<::std::string::String>, v: crate::types::AttributeValue) -> Self {
|
1170 + | /* BuilderGenerator.kt:448 */
|
928 1171 | let mut hash_map = self.expression_attribute_values.unwrap_or_default();
|
929 1172 | hash_map.insert(k.into(), v);
|
930 1173 | self.expression_attribute_values = ::std::option::Option::Some(hash_map);
|
931 1174 | self
|
1175 + | /* BuilderGenerator.kt:445 */
|
932 1176 | }
|
933 - | /// <p>One or more values that can be substituted in an expression.</p>
|
1177 + | /// /* BuilderGenerator.kt:312 */<p>One or more values that can be substituted in an expression.</p>
|
934 1178 | /// <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>
|
935 1179 | /// <p><code>Available | Backordered | Discontinued</code></p>
|
936 1180 | /// <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>
|
937 1181 | /// <p><code>{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }</code></p>
|
938 1182 | /// <p>You could then use these values in an expression, such as this:</p>
|
939 1183 | /// <p><code>ProductStatus IN (:avail, :back, :disc)</code></p>
|
940 1184 | /// <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>
|
1185 + | /* BuilderGenerator.kt:314 */
|
941 1186 | pub fn set_expression_attribute_values(
|
942 1187 | mut self,
|
943 1188 | input: ::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>,
|
944 1189 | ) -> Self {
|
1190 + | /* BuilderGenerator.kt:315 */
|
945 1191 | self.expression_attribute_values = input;
|
946 1192 | self
|
1193 + | /* BuilderGenerator.kt:314 */
|
947 1194 | }
|
948 - | /// <p>One or more values that can be substituted in an expression.</p>
|
1195 + | /// /* BuilderGenerator.kt:334 */<p>One or more values that can be substituted in an expression.</p>
|
949 1196 | /// <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>
|
950 1197 | /// <p><code>Available | Backordered | Discontinued</code></p>
|
951 1198 | /// <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>
|
952 1199 | /// <p><code>{ ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} }</code></p>
|
953 1200 | /// <p>You could then use these values in an expression, such as this:</p>
|
954 1201 | /// <p><code>ProductStatus IN (:avail, :back, :disc)</code></p>
|
955 1202 | /// <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>
|
1203 + | /* BuilderGenerator.kt:336 */
|
956 1204 | pub fn get_expression_attribute_values(
|
957 1205 | &self,
|
958 1206 | ) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>> {
|
1207 + | /* BuilderGenerator.kt:337 */
|
959 1208 | &self.expression_attribute_values
|
1209 + | /* BuilderGenerator.kt:336 */
|
960 1210 | }
|
961 - | /// Consumes the builder and constructs a [`QueryInput`](crate::operation::query::QueryInput).
|
1211 + | /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`QueryInput`](crate::operation::query::QueryInput).
|
1212 + | /* BuilderGenerator.kt:253 */
|
962 1213 | pub fn build(self) -> ::std::result::Result<crate::operation::query::QueryInput, ::aws_smithy_types::error::operation::BuildError> {
|
963 - | ::std::result::Result::Ok(crate::operation::query::QueryInput {
|
964 - | table_name: self.table_name,
|
1214 + | /* BuilderGenerator.kt:254 */
|
1215 + | ::std::result::Result::Ok(
|
1216 + | /* BuilderGenerator.kt:477 */
|
1217 + | crate::operation::query::QueryInput {
|
1218 + | /* BuilderGenerator.kt:481 */ table_name: self.table_name,
|
1219 + | /* BuilderGenerator.kt:481 */
|
965 1220 | index_name: self.index_name,
|
1221 + | /* BuilderGenerator.kt:481 */
|
966 1222 | select: self.select,
|
1223 + | /* BuilderGenerator.kt:481 */
|
967 1224 | attributes_to_get: self.attributes_to_get,
|
1225 + | /* BuilderGenerator.kt:481 */
|
968 1226 | limit: self.limit,
|
1227 + | /* BuilderGenerator.kt:481 */
|
969 1228 | consistent_read: self.consistent_read,
|
1229 + | /* BuilderGenerator.kt:481 */
|
970 1230 | key_conditions: self.key_conditions,
|
1231 + | /* BuilderGenerator.kt:481 */
|
971 1232 | query_filter: self.query_filter,
|
1233 + | /* BuilderGenerator.kt:481 */
|
972 1234 | conditional_operator: self.conditional_operator,
|
1235 + | /* BuilderGenerator.kt:481 */
|
973 1236 | scan_index_forward: self.scan_index_forward,
|
1237 + | /* BuilderGenerator.kt:481 */
|
974 1238 | exclusive_start_key: self.exclusive_start_key,
|
1239 + | /* BuilderGenerator.kt:481 */
|
975 1240 | return_consumed_capacity: self.return_consumed_capacity,
|
1241 + | /* BuilderGenerator.kt:481 */
|
976 1242 | projection_expression: self.projection_expression,
|
1243 + | /* BuilderGenerator.kt:481 */
|
977 1244 | filter_expression: self.filter_expression,
|
1245 + | /* BuilderGenerator.kt:481 */
|
978 1246 | key_condition_expression: self.key_condition_expression,
|
1247 + | /* BuilderGenerator.kt:481 */
|
979 1248 | expression_attribute_names: self.expression_attribute_names,
|
1249 + | /* BuilderGenerator.kt:481 */
|
980 1250 | expression_attribute_values: self.expression_attribute_values,
|
981 - | })
|
1251 + | /* BuilderGenerator.kt:477 */
|
1252 + | }, /* BuilderGenerator.kt:254 */
|
1253 + | )
|
1254 + | /* BuilderGenerator.kt:253 */
|
982 1255 | }
|
1256 + | /* BuilderGenerator.kt:355 */
|
983 1257 | }
|