@@ -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 input and output dicts' keys match the input and output dicts' keys for the boto3 DynamoDB `put_item` API:
104
+ The input and output syntaxes match those 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' argument names .
110
- The "Item" argument will be encrypted locally before being written to DynamoDB.
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.
111
111
112
112
Returns:
113
- dict: The response from DynamoDB. This matches the boto3 `put_item` API response shape .
113
+ dict: The response from DynamoDB. This matches the boto3 `` put_item`` response syntax .
114
114
115
115
"""
116
116
return self ._client_operation_logic (
@@ -130,16 +130,16 @@ def get_item(self, **kwargs) -> dict[str, Any]:
130
130
"""
131
131
Get a single item from a table. Decrypts the item after reading from DynamoDB.
132
132
133
- The parameters and return value match the boto3 DynamoDB get_item API:
133
+ The input and output syntaxes match those for the boto3 DynamoDB `` get_item`` API:
134
134
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. These match the boto3 get_item API parameters .
138
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 `` get_item`` request syntax .
139
139
140
140
Returns:
141
- dict: The response from DynamoDB. This matches the boto3 get_item API response.
142
- The "Item" field will be decrypted locally after being read from DynamoDB.
141
+ dict: The response from DynamoDB. This matches the boto3 `` get_item`` response syntax .
142
+ The value in `` "Item"`` field be decrypted locally after being read from DynamoDB.
143
143
144
144
"""
145
145
return self ._client_operation_logic (
@@ -188,16 +188,16 @@ def scan(self, **kwargs) -> dict[str, Any]:
188
188
"""
189
189
Scan an entire table or index. Decrypts any returned items.
190
190
191
- The parameters and return value match the boto3 DynamoDB scan API:
191
+ The input and output syntaxes match those for the boto3 DynamoDB `` scan`` API:
192
192
193
193
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/scan.html
194
194
195
195
Args:
196
- **kwargs: Keyword arguments to pass to the operation. These match the boto3 scan API parameters .
196
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 `` scan`` request syntax .
197
197
198
198
Returns:
199
- dict: The response from DynamoDB. This matches the boto3 scan API response.
200
- The "Items" field will be decrypted locally after being read from DynamoDB.
199
+ dict: The response from DynamoDB. This matches the boto3 `` scan`` response syntax .
200
+ The values in `` "Items"`` will be decrypted locally after being read from DynamoDB.
201
201
202
202
"""
203
203
return self ._client_operation_logic (
@@ -219,17 +219,17 @@ def batch_write_item(self, **kwargs) -> dict[str, Any]:
219
219
220
220
For put operations, encrypts items before writing.
221
221
222
- The parameters and return value match the boto3 DynamoDB batch_write_item API:
222
+ The input and output syntaxes match those for the boto3 DynamoDB `` batch_write_item`` API:
223
223
224
224
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/batch_write_item.html
225
225
226
226
Args:
227
- **kwargs: Keyword arguments to pass to the operation. These match the boto3 batch_write_item API parameters.
228
- Any put operations in the "RequestItems" argument will be encrypted locally
229
- before being written to DynamoDB.
227
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 `` batch_write_item``
228
+ request syntax. Any ``"PutRequest"`` values in the `` "RequestItems"`` argument will be encrypted
229
+ locally before being written to DynamoDB.
230
230
231
231
Returns:
232
- dict: The response from DynamoDB. This matches the boto3 batch_write_item API response.
232
+ dict: The response from DynamoDB. This matches the boto3 `` batch_write_item`` response syntax .
233
233
234
234
"""
235
235
return self ._client_operation_logic (
@@ -249,16 +249,17 @@ def batch_get_item(self, **kwargs) -> dict[str, Any]:
249
249
"""
250
250
Get multiple items from one or more tables. Decrypts any returned items.
251
251
252
- The parameters and return value match the boto3 DynamoDB batch_get_item API:
252
+ The input and output syntaxes match those for the boto3 DynamoDB `` batch_get_item`` API:
253
253
254
254
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/batch_get_item.html
255
255
256
256
Args:
257
- **kwargs: Keyword arguments to pass to the operation. These match the boto3 batch_get_item API parameters.
257
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 ``batch_get_item``
258
+ request syntax.
258
259
259
260
Returns:
260
- dict: The response from DynamoDB. This matches the boto3 batch_get_item API response.
261
- The "Responses" field will be decrypted locally after being read from DynamoDB.
261
+ dict: The response from DynamoDB. This matches the boto3 `` batch_get_item`` response syntax .
262
+ The values in `` "Responses"`` will be decrypted locally after being read from DynamoDB.
262
263
263
264
"""
264
265
return self ._client_operation_logic (
@@ -278,16 +279,16 @@ def transact_get_items(self, **kwargs) -> dict[str, Any]:
278
279
"""
279
280
Get multiple items in a single transaction. Decrypts any returned items.
280
281
281
- The parameters and return value match the boto3 DynamoDB transact_get_items API:
282
+ The input and output syntaxes match those for the boto3 DynamoDB `` transact_get_items`` API:
282
283
283
284
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/transact_get_items.html
284
285
285
286
Args:
286
- **kwargs: Keyword arguments to pass to the operation. These match the boto3 transact_get_items API
287
- parameters .
287
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 `` transact_get_items``
288
+ request syntax .
288
289
289
290
Returns:
290
- dict: The response from DynamoDB. This matches the boto3 transact_get_items API response.
291
+ dict: The response from DynamoDB. This matches the boto3 `` transact_get_items`` response syntax .
291
292
292
293
"""
293
294
return self ._client_operation_logic (
@@ -309,17 +310,17 @@ def transact_write_items(self, **kwargs) -> dict[str, Any]:
309
310
310
311
For put operations, encrypts items before writing.
311
312
312
- The parameters and return value match the boto3 DynamoDB transact_write_items API:
313
+ The input and output syntaxes match those for the boto3 DynamoDB `` transact_write_items`` API:
313
314
314
315
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/transact_write_items.html
315
316
316
317
Args:
317
- **kwargs: Keyword arguments to pass to the operation. These match the boto3 transact_write_items API
318
- parameters . Any put operations in the "TransactItems" argument will be encrypted locally
319
- before being written to DynamoDB.
318
+ **kwargs: Keyword arguments to pass to the operation. This matches the boto3 `` transact_write_items``
319
+ request syntax . Any ``"PutRequest"`` values in the `` "TransactItems"`` argument will be encrypted
320
+ locally before being written to DynamoDB.
320
321
321
322
Returns:
322
- dict: The response from DynamoDB. This matches the boto3 transact_write_items API response.
323
+ dict: The response from DynamoDB. This matches the boto3 `` transact_write_items`` response syntax .
323
324
324
325
"""
325
326
return self ._client_operation_logic (
@@ -361,8 +362,8 @@ def get_paginator(self, operation_name: str) -> EncryptedPaginator | botocore.cl
361
362
operation_name (str): Name of operation for which to get paginator
362
363
363
364
Returns:
364
- EncryptedPaginator | botocore.client.Paginator: A paginator that will transparently decrypt items
365
- for scan/ query operations, or the standard paginator for other operations .
365
+ EncryptedPaginator | botocore.client.Paginator: An EncryptedPaginator that will transparently decrypt items
366
+ for `` scan``/`` query`` operations; for other operations, the standard paginator.
366
367
367
368
"""
368
369
paginator = self ._client .get_paginator (operation_name )
0 commit comments