@@ -106,11 +106,11 @@ def put_item(self, **kwargs) -> dict[str, Any]:
106
106
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/put_item.html
107
107
108
108
Args:
109
- **kwargs: Keyword arguments to pass to the operation. This matches the boto3 ``put_item`` request syntax.
110
- The value in ``"Item"`` will be encrypted locally before being written to DynamoDB.
109
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 client ``put_item`` request
110
+ syntax. The value in ``"Item"`` will be encrypted locally before being written to DynamoDB.
111
111
112
112
Returns:
113
- dict: The response from DynamoDB. This matches the boto3 ``put_item`` response syntax.
113
+ dict: The response from DynamoDB. This matches the boto3 client ``put_item`` response syntax.
114
114
115
115
"""
116
116
return self ._client_operation_logic (
@@ -135,10 +135,11 @@ def get_item(self, **kwargs) -> dict[str, Any]:
135
135
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_item.html
136
136
137
137
Args:
138
- **kwargs: Keyword arguments to pass to the operation. This matches the boto3 ``get_item`` request syntax.
138
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 client ``get_item`` request
139
+ syntax.
139
140
140
141
Returns:
141
- dict: The response from DynamoDB. This matches the boto3 ``get_item`` response syntax.
142
+ dict: The response from DynamoDB. This matches the boto3 client ``get_item`` response syntax.
142
143
The value in ``"Item"`` field be decrypted locally after being read from DynamoDB.
143
144
144
145
"""
@@ -159,16 +160,16 @@ def query(self, **kwargs) -> dict[str, Any]:
159
160
"""
160
161
Query items from a table or index. Decrypts any returned items.
161
162
162
- The parameters and return value match the boto3 DynamoDB query API:
163
+ The input and output syntaxes match those for the boto3 DynamoDB client `` query`` API:
163
164
164
165
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/query.html
165
166
166
167
Args:
167
168
**kwargs: Keyword arguments to pass to the operation. These match the boto3 query API parameters.
168
169
169
170
Returns:
170
- dict: The response from DynamoDB. This matches the boto3 query API response.
171
- The "Items" field will be decrypted locally after being read from DynamoDB.
171
+ dict: The response from DynamoDB. This matches the boto3 client `` query`` API response.
172
+ The `` "Items"`` field will be decrypted locally after being read from DynamoDB.
172
173
173
174
"""
174
175
return self ._client_operation_logic (
@@ -193,10 +194,10 @@ def scan(self, **kwargs) -> dict[str, Any]:
193
194
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/scan.html
194
195
195
196
Args:
196
- **kwargs: Keyword arguments to pass to the operation. This matches the boto3 ``scan`` request syntax.
197
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 client ``scan`` request syntax.
197
198
198
199
Returns:
199
- dict: The response from DynamoDB. This matches the boto3 ``scan`` response syntax.
200
+ dict: The response from DynamoDB. This matches the boto3 client ``scan`` response syntax.
200
201
The values in ``"Items"`` will be decrypted locally after being read from DynamoDB.
201
202
202
203
"""
@@ -224,12 +225,12 @@ def batch_write_item(self, **kwargs) -> dict[str, Any]:
224
225
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/batch_write_item.html
225
226
226
227
Args:
227
- **kwargs: Keyword arguments to pass to the operation. This matches the boto3 ``batch_write_item``
228
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 client ``batch_write_item``
228
229
request syntax. Items in ``"PutRequest"`` values in the ``"RequestItems"`` argument will be encrypted
229
230
locally before being written to DynamoDB.
230
231
231
232
Returns:
232
- dict: The response from DynamoDB. This matches the boto3 ``batch_write_item`` response syntax.
233
+ dict: The response from DynamoDB. This matches the boto3 client ``batch_write_item`` response syntax.
233
234
234
235
"""
235
236
return self ._client_operation_logic (
@@ -258,7 +259,7 @@ def batch_get_item(self, **kwargs) -> dict[str, Any]:
258
259
request syntax.
259
260
260
261
Returns:
261
- dict: The response from DynamoDB. This matches the boto3 ``batch_get_item`` response syntax.
262
+ dict: The response from DynamoDB. This matches the boto3 client ``batch_get_item`` response syntax.
262
263
The values in ``"Responses"`` will be decrypted locally after being read from DynamoDB.
263
264
264
265
"""
@@ -284,11 +285,11 @@ def transact_get_items(self, **kwargs) -> dict[str, Any]:
284
285
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/transact_get_items.html
285
286
286
287
Args:
287
- **kwargs: Keyword arguments to pass to the operation. This matches the boto3 ``transact_get_items``
288
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 client ``transact_get_items``
288
289
request syntax.
289
290
290
291
Returns:
291
- dict: The response from DynamoDB. This matches the boto3 ``transact_get_items`` response syntax.
292
+ dict: The response from DynamoDB. This matches the boto3 client ``transact_get_items`` response syntax.
292
293
293
294
"""
294
295
return self ._client_operation_logic (
@@ -310,17 +311,17 @@ def transact_write_items(self, **kwargs) -> dict[str, Any]:
310
311
311
312
For put operations, encrypts items before writing.
312
313
313
- The input and output syntaxes match those for the boto3 DynamoDB ``transact_write_items`` API:
314
+ The input and output syntaxes match those for the boto3 DynamoDB client ``transact_write_items`` API:
314
315
315
316
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/transact_write_items.html
316
317
317
318
Args:
318
- **kwargs: Keyword arguments to pass to the operation. This matches the boto3 ``transact_write_items``
319
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 client ``transact_write_items``
319
320
request syntax. Any ``"PutRequest"`` values in the ``"TransactItems"`` argument will be encrypted
320
321
locally before being written to DynamoDB.
321
322
322
323
Returns:
323
- dict: The response from DynamoDB. This matches the boto3 ``transact_write_items`` response syntax.
324
+ dict: The response from DynamoDB. This matches the boto3 client ``transact_write_items`` response syntax.
324
325
325
326
"""
326
327
return self ._client_operation_logic (
@@ -431,7 +432,7 @@ def _client_operation_logic(
431
432
transformed_request = input_transform_method (input_transform_shape (sdk_input = sdk_input )).transformed_input
432
433
433
434
# If _expect_standard_dictionaries is true, the boto3 client expects items to be standard dictionaries,
434
- # and needs to convert the DDB-JSON to a standard dictionary before passing the request to the boto3 client.
435
+ # and need to be converted from DDB-JSON to a standard dictionary before being passed to the boto3 client.
435
436
if self ._expect_standard_dictionaries :
436
437
transformed_request = input_item_to_dict_transform_method (transformed_request )
437
438
0 commit comments