@@ -101,16 +101,16 @@ def put_item(self, **kwargs) -> dict[str, Any]:
101
101
"""
102
102
Put a single item to a table. Encrypts the item before writing to DynamoDB.
103
103
104
- The parameters and return value match the boto3 DynamoDB put_item API:
104
+ The input and output dicts' keys match the input and output dicts' keys for the boto3 DynamoDB ` put_item` API:
105
105
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. These match the boto3 put_item API parameters.
109
+ **kwargs: Keyword arguments to pass to the operation. These match the boto3 ` put_item` API parameters' argument names .
110
110
The "Item" argument 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 API response.
113
+ dict: The response from DynamoDB. This matches the boto3 ` put_item` API response shape .
114
114
115
115
"""
116
116
return self ._client_operation_logic (
@@ -131,6 +131,7 @@ def get_item(self, **kwargs) -> dict[str, Any]:
131
131
Get a single item from a table. Decrypts the item after reading from DynamoDB.
132
132
133
133
The parameters and return value match the boto3 DynamoDB get_item API:
134
+
134
135
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/get_item.html
135
136
136
137
Args:
@@ -159,6 +160,7 @@ def query(self, **kwargs) -> dict[str, Any]:
159
160
Query items from a table or index. Decrypts any returned items.
160
161
161
162
The parameters and return value match the boto3 DynamoDB query API:
163
+
162
164
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/query.html
163
165
164
166
Args:
@@ -187,6 +189,7 @@ def scan(self, **kwargs) -> dict[str, Any]:
187
189
Scan an entire table or index. Decrypts any returned items.
188
190
189
191
The parameters and return value match the boto3 DynamoDB scan API:
192
+
190
193
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/scan.html
191
194
192
195
Args:
@@ -217,6 +220,7 @@ def batch_write_item(self, **kwargs) -> dict[str, Any]:
217
220
For put operations, encrypts items before writing.
218
221
219
222
The parameters and return value match the boto3 DynamoDB batch_write_item API:
223
+
220
224
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/batch_write_item.html
221
225
222
226
Args:
@@ -246,6 +250,7 @@ def batch_get_item(self, **kwargs) -> dict[str, Any]:
246
250
Get multiple items from one or more tables. Decrypts any returned items.
247
251
248
252
The parameters and return value match the boto3 DynamoDB batch_get_item API:
253
+
249
254
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/batch_get_item.html
250
255
251
256
Args:
@@ -274,6 +279,7 @@ def transact_get_items(self, **kwargs) -> dict[str, Any]:
274
279
Get multiple items in a single transaction. Decrypts any returned items.
275
280
276
281
The parameters and return value match the boto3 DynamoDB transact_get_items API:
282
+
277
283
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/transact_get_items.html
278
284
279
285
Args:
@@ -304,6 +310,7 @@ def transact_write_items(self, **kwargs) -> dict[str, Any]:
304
310
For put operations, encrypts items before writing.
305
311
306
312
The parameters and return value match the boto3 DynamoDB transact_write_items API:
313
+
307
314
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/transact_write_items.html
308
315
309
316
Args:
0 commit comments