mypy-boto3-dynamodb 1.26.152__py3-none-any.whl → 1.26.164__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mypy_boto3_dynamodb/__main__.py +2 -2
- mypy_boto3_dynamodb/client.py +9 -4
- mypy_boto3_dynamodb/client.pyi +9 -4
- mypy_boto3_dynamodb/literals.py +3 -0
- mypy_boto3_dynamodb/literals.pyi +3 -0
- mypy_boto3_dynamodb/paginator.py +5 -5
- mypy_boto3_dynamodb/paginator.pyi +5 -5
- mypy_boto3_dynamodb/service_resource.py +7 -3
- mypy_boto3_dynamodb/service_resource.pyi +7 -3
- mypy_boto3_dynamodb/type_defs.py +421 -411
- mypy_boto3_dynamodb/type_defs.pyi +424 -414
- mypy_boto3_dynamodb/version.py +1 -1
- {mypy_boto3_dynamodb-1.26.152.dist-info → mypy_boto3_dynamodb-1.26.164.dist-info}/METADATA +26 -26
- mypy_boto3_dynamodb-1.26.164.dist-info/RECORD +22 -0
- mypy_boto3_dynamodb-1.26.152.dist-info/RECORD +0 -22
- {mypy_boto3_dynamodb-1.26.152.dist-info → mypy_boto3_dynamodb-1.26.164.dist-info}/LICENSE +0 -0
- {mypy_boto3_dynamodb-1.26.152.dist-info → mypy_boto3_dynamodb-1.26.164.dist-info}/WHEEL +0 -0
- {mypy_boto3_dynamodb-1.26.152.dist-info → mypy_boto3_dynamodb-1.26.164.dist-info}/top_level.txt +0 -0
mypy_boto3_dynamodb/__main__.py
CHANGED
|
@@ -9,7 +9,7 @@ def print_info() -> None:
|
|
|
9
9
|
Print package info to stdout.
|
|
10
10
|
"""
|
|
11
11
|
print(
|
|
12
|
-
"Type annotations for boto3.DynamoDB 1.26.
|
|
12
|
+
"Type annotations for boto3.DynamoDB 1.26.164\nVersion: 1.26.164\nBuilder version:"
|
|
13
13
|
" 7.14.5\nDocs: "
|
|
14
14
|
" https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb//\nBoto3 docs: "
|
|
15
15
|
" https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB\nOther"
|
|
@@ -22,7 +22,7 @@ def print_version() -> None:
|
|
|
22
22
|
"""
|
|
23
23
|
Print package version to stdout.
|
|
24
24
|
"""
|
|
25
|
-
print("1.26.
|
|
25
|
+
print("1.26.164")
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
def main() -> None:
|
mypy_boto3_dynamodb/client.py
CHANGED
|
@@ -30,6 +30,7 @@ from .literals import (
|
|
|
30
30
|
InputFormatType,
|
|
31
31
|
ReturnConsumedCapacityType,
|
|
32
32
|
ReturnItemCollectionMetricsType,
|
|
33
|
+
ReturnValuesOnConditionCheckFailureType,
|
|
33
34
|
ReturnValueType,
|
|
34
35
|
S3SseAlgorithmType,
|
|
35
36
|
SelectType,
|
|
@@ -360,7 +361,8 @@ class DynamoDBClient(BaseClient):
|
|
|
360
361
|
None,
|
|
361
362
|
],
|
|
362
363
|
],
|
|
363
|
-
] =
|
|
364
|
+
] = ...,
|
|
365
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
364
366
|
) -> DeleteItemOutputTypeDef:
|
|
365
367
|
"""
|
|
366
368
|
Deletes a single item in a table by primary key.
|
|
@@ -545,7 +547,8 @@ class DynamoDBClient(BaseClient):
|
|
|
545
547
|
ConsistentRead: bool = ...,
|
|
546
548
|
NextToken: str = ...,
|
|
547
549
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
548
|
-
Limit: int =
|
|
550
|
+
Limit: int = ...,
|
|
551
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
549
552
|
) -> ExecuteStatementOutputTypeDef:
|
|
550
553
|
"""
|
|
551
554
|
This operation allows you to perform reads and singleton writes on data stored
|
|
@@ -794,7 +797,8 @@ class DynamoDBClient(BaseClient):
|
|
|
794
797
|
None,
|
|
795
798
|
],
|
|
796
799
|
],
|
|
797
|
-
] =
|
|
800
|
+
] = ...,
|
|
801
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
798
802
|
) -> PutItemOutputTypeDef:
|
|
799
803
|
"""
|
|
800
804
|
Creates a new item, or replaces an old item with a new item.
|
|
@@ -1148,7 +1152,8 @@ class DynamoDBClient(BaseClient):
|
|
|
1148
1152
|
None,
|
|
1149
1153
|
],
|
|
1150
1154
|
],
|
|
1151
|
-
] =
|
|
1155
|
+
] = ...,
|
|
1156
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
1152
1157
|
) -> UpdateItemOutputTypeDef:
|
|
1153
1158
|
"""
|
|
1154
1159
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
mypy_boto3_dynamodb/client.pyi
CHANGED
|
@@ -30,6 +30,7 @@ from .literals import (
|
|
|
30
30
|
InputFormatType,
|
|
31
31
|
ReturnConsumedCapacityType,
|
|
32
32
|
ReturnItemCollectionMetricsType,
|
|
33
|
+
ReturnValuesOnConditionCheckFailureType,
|
|
33
34
|
ReturnValueType,
|
|
34
35
|
S3SseAlgorithmType,
|
|
35
36
|
SelectType,
|
|
@@ -346,7 +347,8 @@ class DynamoDBClient(BaseClient):
|
|
|
346
347
|
None,
|
|
347
348
|
],
|
|
348
349
|
],
|
|
349
|
-
] =
|
|
350
|
+
] = ...,
|
|
351
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
350
352
|
) -> DeleteItemOutputTypeDef:
|
|
351
353
|
"""
|
|
352
354
|
Deletes a single item in a table by primary key.
|
|
@@ -514,7 +516,8 @@ class DynamoDBClient(BaseClient):
|
|
|
514
516
|
ConsistentRead: bool = ...,
|
|
515
517
|
NextToken: str = ...,
|
|
516
518
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
517
|
-
Limit: int =
|
|
519
|
+
Limit: int = ...,
|
|
520
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
518
521
|
) -> ExecuteStatementOutputTypeDef:
|
|
519
522
|
"""
|
|
520
523
|
This operation allows you to perform reads and singleton writes on data stored
|
|
@@ -750,7 +753,8 @@ class DynamoDBClient(BaseClient):
|
|
|
750
753
|
None,
|
|
751
754
|
],
|
|
752
755
|
],
|
|
753
|
-
] =
|
|
756
|
+
] = ...,
|
|
757
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
754
758
|
) -> PutItemOutputTypeDef:
|
|
755
759
|
"""
|
|
756
760
|
Creates a new item, or replaces an old item with a new item.
|
|
@@ -1091,7 +1095,8 @@ class DynamoDBClient(BaseClient):
|
|
|
1091
1095
|
None,
|
|
1092
1096
|
],
|
|
1093
1097
|
],
|
|
1094
|
-
] =
|
|
1098
|
+
] = ...,
|
|
1099
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
1095
1100
|
) -> UpdateItemOutputTypeDef:
|
|
1096
1101
|
"""
|
|
1097
1102
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
mypy_boto3_dynamodb/literals.py
CHANGED
|
@@ -173,6 +173,7 @@ ServiceName = Literal[
|
|
|
173
173
|
"apigatewayv2",
|
|
174
174
|
"appconfig",
|
|
175
175
|
"appconfigdata",
|
|
176
|
+
"appfabric",
|
|
176
177
|
"appflow",
|
|
177
178
|
"appintegrations",
|
|
178
179
|
"application-autoscaling",
|
|
@@ -220,6 +221,7 @@ ServiceName = Literal[
|
|
|
220
221
|
"codecommit",
|
|
221
222
|
"codedeploy",
|
|
222
223
|
"codeguru-reviewer",
|
|
224
|
+
"codeguru-security",
|
|
223
225
|
"codeguruprofiler",
|
|
224
226
|
"codepipeline",
|
|
225
227
|
"codestar",
|
|
@@ -492,6 +494,7 @@ ServiceName = Literal[
|
|
|
492
494
|
"transcribe",
|
|
493
495
|
"transfer",
|
|
494
496
|
"translate",
|
|
497
|
+
"verifiedpermissions",
|
|
495
498
|
"voice-id",
|
|
496
499
|
"vpc-lattice",
|
|
497
500
|
"waf",
|
mypy_boto3_dynamodb/literals.pyi
CHANGED
|
@@ -171,6 +171,7 @@ ServiceName = Literal[
|
|
|
171
171
|
"apigatewayv2",
|
|
172
172
|
"appconfig",
|
|
173
173
|
"appconfigdata",
|
|
174
|
+
"appfabric",
|
|
174
175
|
"appflow",
|
|
175
176
|
"appintegrations",
|
|
176
177
|
"application-autoscaling",
|
|
@@ -218,6 +219,7 @@ ServiceName = Literal[
|
|
|
218
219
|
"codecommit",
|
|
219
220
|
"codedeploy",
|
|
220
221
|
"codeguru-reviewer",
|
|
222
|
+
"codeguru-security",
|
|
221
223
|
"codeguruprofiler",
|
|
222
224
|
"codepipeline",
|
|
223
225
|
"codestar",
|
|
@@ -490,6 +492,7 @@ ServiceName = Literal[
|
|
|
490
492
|
"transcribe",
|
|
491
493
|
"transfer",
|
|
492
494
|
"translate",
|
|
495
|
+
"verifiedpermissions",
|
|
493
496
|
"voice-id",
|
|
494
497
|
"vpc-lattice",
|
|
495
498
|
"waf",
|
mypy_boto3_dynamodb/paginator.py
CHANGED
|
@@ -81,7 +81,7 @@ class ListBackupsPaginator(Paginator):
|
|
|
81
81
|
TimeRangeLowerBound: Union[datetime, str] = ...,
|
|
82
82
|
TimeRangeUpperBound: Union[datetime, str] = ...,
|
|
83
83
|
BackupType: BackupTypeFilterType = ...,
|
|
84
|
-
PaginationConfig:
|
|
84
|
+
PaginationConfig: PaginatorConfigTypeDef = ...
|
|
85
85
|
) -> _PageIterator[ListBackupsOutputTableTypeDef]:
|
|
86
86
|
"""
|
|
87
87
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListBackups.paginate)
|
|
@@ -96,7 +96,7 @@ class ListTablesPaginator(Paginator):
|
|
|
96
96
|
"""
|
|
97
97
|
|
|
98
98
|
def paginate(
|
|
99
|
-
self, *, PaginationConfig:
|
|
99
|
+
self, *, PaginationConfig: PaginatorConfigTypeDef = ...
|
|
100
100
|
) -> _PageIterator[ListTablesOutputTableTypeDef]:
|
|
101
101
|
"""
|
|
102
102
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTables.paginate)
|
|
@@ -111,7 +111,7 @@ class ListTagsOfResourcePaginator(Paginator):
|
|
|
111
111
|
"""
|
|
112
112
|
|
|
113
113
|
def paginate(
|
|
114
|
-
self, *, ResourceArn: str, PaginationConfig:
|
|
114
|
+
self, *, ResourceArn: str, PaginationConfig: PaginatorConfigTypeDef = ...
|
|
115
115
|
) -> _PageIterator[ListTagsOfResourceOutputTableTypeDef]:
|
|
116
116
|
"""
|
|
117
117
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTagsOfResource.paginate)
|
|
@@ -161,7 +161,7 @@ class QueryPaginator(Paginator):
|
|
|
161
161
|
None,
|
|
162
162
|
],
|
|
163
163
|
] = ...,
|
|
164
|
-
PaginationConfig:
|
|
164
|
+
PaginationConfig: PaginatorConfigTypeDef = ...
|
|
165
165
|
) -> _PageIterator[QueryOutputTableTypeDef]:
|
|
166
166
|
"""
|
|
167
167
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Query.paginate)
|
|
@@ -210,7 +210,7 @@ class ScanPaginator(Paginator):
|
|
|
210
210
|
],
|
|
211
211
|
] = ...,
|
|
212
212
|
ConsistentRead: bool = ...,
|
|
213
|
-
PaginationConfig:
|
|
213
|
+
PaginationConfig: PaginatorConfigTypeDef = ...
|
|
214
214
|
) -> _PageIterator[ScanOutputTableTypeDef]:
|
|
215
215
|
"""
|
|
216
216
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Scan.paginate)
|
|
@@ -78,7 +78,7 @@ class ListBackupsPaginator(Paginator):
|
|
|
78
78
|
TimeRangeLowerBound: Union[datetime, str] = ...,
|
|
79
79
|
TimeRangeUpperBound: Union[datetime, str] = ...,
|
|
80
80
|
BackupType: BackupTypeFilterType = ...,
|
|
81
|
-
PaginationConfig:
|
|
81
|
+
PaginationConfig: PaginatorConfigTypeDef = ...
|
|
82
82
|
) -> _PageIterator[ListBackupsOutputTableTypeDef]:
|
|
83
83
|
"""
|
|
84
84
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListBackups.paginate)
|
|
@@ -92,7 +92,7 @@ class ListTablesPaginator(Paginator):
|
|
|
92
92
|
"""
|
|
93
93
|
|
|
94
94
|
def paginate(
|
|
95
|
-
self, *, PaginationConfig:
|
|
95
|
+
self, *, PaginationConfig: PaginatorConfigTypeDef = ...
|
|
96
96
|
) -> _PageIterator[ListTablesOutputTableTypeDef]:
|
|
97
97
|
"""
|
|
98
98
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTables.paginate)
|
|
@@ -106,7 +106,7 @@ class ListTagsOfResourcePaginator(Paginator):
|
|
|
106
106
|
"""
|
|
107
107
|
|
|
108
108
|
def paginate(
|
|
109
|
-
self, *, ResourceArn: str, PaginationConfig:
|
|
109
|
+
self, *, ResourceArn: str, PaginationConfig: PaginatorConfigTypeDef = ...
|
|
110
110
|
) -> _PageIterator[ListTagsOfResourceOutputTableTypeDef]:
|
|
111
111
|
"""
|
|
112
112
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTagsOfResource.paginate)
|
|
@@ -155,7 +155,7 @@ class QueryPaginator(Paginator):
|
|
|
155
155
|
None,
|
|
156
156
|
],
|
|
157
157
|
] = ...,
|
|
158
|
-
PaginationConfig:
|
|
158
|
+
PaginationConfig: PaginatorConfigTypeDef = ...
|
|
159
159
|
) -> _PageIterator[QueryOutputTableTypeDef]:
|
|
160
160
|
"""
|
|
161
161
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Query.paginate)
|
|
@@ -203,7 +203,7 @@ class ScanPaginator(Paginator):
|
|
|
203
203
|
],
|
|
204
204
|
] = ...,
|
|
205
205
|
ConsistentRead: bool = ...,
|
|
206
|
-
PaginationConfig:
|
|
206
|
+
PaginationConfig: PaginatorConfigTypeDef = ...
|
|
207
207
|
) -> _PageIterator[ScanOutputTableTypeDef]:
|
|
208
208
|
"""
|
|
209
209
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Scan.paginate)
|
|
@@ -32,6 +32,7 @@ from .literals import (
|
|
|
32
32
|
ConditionalOperatorType,
|
|
33
33
|
ReturnConsumedCapacityType,
|
|
34
34
|
ReturnItemCollectionMetricsType,
|
|
35
|
+
ReturnValuesOnConditionCheckFailureType,
|
|
35
36
|
ReturnValueType,
|
|
36
37
|
SelectType,
|
|
37
38
|
TableClassType,
|
|
@@ -233,7 +234,8 @@ class Table(ServiceResource):
|
|
|
233
234
|
Mapping[str, Any],
|
|
234
235
|
None,
|
|
235
236
|
],
|
|
236
|
-
] =
|
|
237
|
+
] = ...,
|
|
238
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
237
239
|
) -> DeleteItemOutputTableTypeDef:
|
|
238
240
|
"""
|
|
239
241
|
Deletes a single item in a table by primary key.
|
|
@@ -342,7 +344,8 @@ class Table(ServiceResource):
|
|
|
342
344
|
Mapping[str, Any],
|
|
343
345
|
None,
|
|
344
346
|
],
|
|
345
|
-
] =
|
|
347
|
+
] = ...,
|
|
348
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
346
349
|
) -> PutItemOutputTableTypeDef:
|
|
347
350
|
"""
|
|
348
351
|
Creates a new item, or replaces an old item with a new item.
|
|
@@ -557,7 +560,8 @@ class Table(ServiceResource):
|
|
|
557
560
|
Mapping[str, Any],
|
|
558
561
|
None,
|
|
559
562
|
],
|
|
560
|
-
] =
|
|
563
|
+
] = ...,
|
|
564
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
561
565
|
) -> UpdateItemOutputTableTypeDef:
|
|
562
566
|
"""
|
|
563
567
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
|
@@ -32,6 +32,7 @@ from .literals import (
|
|
|
32
32
|
ConditionalOperatorType,
|
|
33
33
|
ReturnConsumedCapacityType,
|
|
34
34
|
ReturnItemCollectionMetricsType,
|
|
35
|
+
ReturnValuesOnConditionCheckFailureType,
|
|
35
36
|
ReturnValueType,
|
|
36
37
|
SelectType,
|
|
37
38
|
TableClassType,
|
|
@@ -224,7 +225,8 @@ class Table(ServiceResource):
|
|
|
224
225
|
Mapping[str, Any],
|
|
225
226
|
None,
|
|
226
227
|
],
|
|
227
|
-
] =
|
|
228
|
+
] = ...,
|
|
229
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
228
230
|
) -> DeleteItemOutputTableTypeDef:
|
|
229
231
|
"""
|
|
230
232
|
Deletes a single item in a table by primary key.
|
|
@@ -329,7 +331,8 @@ class Table(ServiceResource):
|
|
|
329
331
|
Mapping[str, Any],
|
|
330
332
|
None,
|
|
331
333
|
],
|
|
332
|
-
] =
|
|
334
|
+
] = ...,
|
|
335
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
333
336
|
) -> PutItemOutputTableTypeDef:
|
|
334
337
|
"""
|
|
335
338
|
Creates a new item, or replaces an old item with a new item.
|
|
@@ -539,7 +542,8 @@ class Table(ServiceResource):
|
|
|
539
542
|
Mapping[str, Any],
|
|
540
543
|
None,
|
|
541
544
|
],
|
|
542
|
-
] =
|
|
545
|
+
] = ...,
|
|
546
|
+
ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...
|
|
543
547
|
) -> UpdateItemOutputTableTypeDef:
|
|
544
548
|
"""
|
|
545
549
|
Edits an existing item's attributes, or adds a new item to the table if it does
|