mypy-boto3-dynamodb 1.28.36__py3-none-any.whl → 1.28.66__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/__init__.py +1 -0
- mypy_boto3_dynamodb/__init__.pyi +1 -0
- mypy_boto3_dynamodb/__main__.py +4 -3
- mypy_boto3_dynamodb/client.py +50 -23
- mypy_boto3_dynamodb/client.pyi +113 -23
- mypy_boto3_dynamodb/literals.py +10 -0
- mypy_boto3_dynamodb/literals.pyi +10 -0
- mypy_boto3_dynamodb/paginator.py +1 -0
- mypy_boto3_dynamodb/paginator.pyi +1 -0
- mypy_boto3_dynamodb/service_resource.py +17 -8
- mypy_boto3_dynamodb/service_resource.pyi +39 -8
- mypy_boto3_dynamodb/type_defs.py +62 -44
- mypy_boto3_dynamodb/type_defs.pyi +62 -44
- mypy_boto3_dynamodb/version.py +2 -1
- mypy_boto3_dynamodb/waiter.py +1 -0
- mypy_boto3_dynamodb/waiter.pyi +1 -0
- {mypy_boto3_dynamodb-1.28.36.dist-info → mypy_boto3_dynamodb-1.28.66.dist-info}/METADATA +5 -6
- mypy_boto3_dynamodb-1.28.66.dist-info/RECORD +22 -0
- mypy_boto3_dynamodb-1.28.36.dist-info/RECORD +0 -22
- {mypy_boto3_dynamodb-1.28.36.dist-info → mypy_boto3_dynamodb-1.28.66.dist-info}/LICENSE +0 -0
- {mypy_boto3_dynamodb-1.28.36.dist-info → mypy_boto3_dynamodb-1.28.66.dist-info}/WHEEL +0 -0
- {mypy_boto3_dynamodb-1.28.36.dist-info → mypy_boto3_dynamodb-1.28.66.dist-info}/top_level.txt +0 -0
mypy_boto3_dynamodb/__init__.py
CHANGED
mypy_boto3_dynamodb/__init__.pyi
CHANGED
mypy_boto3_dynamodb/__main__.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import sys
|
|
5
6
|
|
|
6
7
|
|
|
@@ -9,8 +10,8 @@ def print_info() -> None:
|
|
|
9
10
|
Print package info to stdout.
|
|
10
11
|
"""
|
|
11
12
|
print(
|
|
12
|
-
"Type annotations for boto3.DynamoDB 1.28.
|
|
13
|
-
" 7.
|
|
13
|
+
"Type annotations for boto3.DynamoDB 1.28.66\nVersion: 1.28.66\nBuilder version:"
|
|
14
|
+
" 7.19.0\nDocs: "
|
|
14
15
|
" https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb//\nBoto3 docs: "
|
|
15
16
|
" https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB\nOther"
|
|
16
17
|
" services: https://pypi.org/project/boto3-stubs/\nChangelog: "
|
|
@@ -22,7 +23,7 @@ def print_version() -> None:
|
|
|
22
23
|
"""
|
|
23
24
|
Print package version to stdout.
|
|
24
25
|
"""
|
|
25
|
-
print("1.28.
|
|
26
|
+
print("1.28.66")
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
def main() -> None:
|
mypy_boto3_dynamodb/client.py
CHANGED
|
@@ -13,6 +13,7 @@ Usage::
|
|
|
13
13
|
client: DynamoDBClient = session.client("dynamodb")
|
|
14
14
|
```
|
|
15
15
|
"""
|
|
16
|
+
|
|
16
17
|
import sys
|
|
17
18
|
from typing import Any, Dict, Mapping, Sequence, Type, overload
|
|
18
19
|
|
|
@@ -24,6 +25,7 @@ from .literals import (
|
|
|
24
25
|
ConditionalOperatorType,
|
|
25
26
|
ContributorInsightsActionType,
|
|
26
27
|
ExportFormatType,
|
|
28
|
+
ExportTypeType,
|
|
27
29
|
InputCompressionTypeType,
|
|
28
30
|
InputFormatType,
|
|
29
31
|
ReturnConsumedCapacityType,
|
|
@@ -80,6 +82,7 @@ from .type_defs import (
|
|
|
80
82
|
GlobalSecondaryIndexUpdateTypeDef,
|
|
81
83
|
GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef,
|
|
82
84
|
ImportTableOutputTypeDef,
|
|
85
|
+
IncrementalExportSpecificationTypeDef,
|
|
83
86
|
InputFormatOptionsTypeDef,
|
|
84
87
|
KeysAndAttributesTypeDef,
|
|
85
88
|
KeySchemaElementTypeDef,
|
|
@@ -206,7 +209,8 @@ class DynamoDBClient(BaseClient):
|
|
|
206
209
|
) -> BatchExecuteStatementOutputTypeDef:
|
|
207
210
|
"""
|
|
208
211
|
This operation allows you to perform batch reads or writes on data stored in
|
|
209
|
-
DynamoDB, using
|
|
212
|
+
DynamoDB, using
|
|
213
|
+
PartiQL.
|
|
210
214
|
|
|
211
215
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.batch_execute_statement)
|
|
212
216
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#batch_execute_statement)
|
|
@@ -220,7 +224,8 @@ class DynamoDBClient(BaseClient):
|
|
|
220
224
|
) -> BatchGetItemOutputTypeDef:
|
|
221
225
|
"""
|
|
222
226
|
The `BatchGetItem` operation returns the attributes of one or more items from
|
|
223
|
-
one or more
|
|
227
|
+
one or more
|
|
228
|
+
tables.
|
|
224
229
|
|
|
225
230
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.batch_get_item)
|
|
226
231
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#batch_get_item)
|
|
@@ -349,7 +354,8 @@ class DynamoDBClient(BaseClient):
|
|
|
349
354
|
) -> DescribeContinuousBackupsOutputTypeDef:
|
|
350
355
|
"""
|
|
351
356
|
Checks the status of continuous backups and point in time recovery on the
|
|
352
|
-
specified
|
|
357
|
+
specified
|
|
358
|
+
table.
|
|
353
359
|
|
|
354
360
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.describe_continuous_backups)
|
|
355
361
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_continuous_backups)
|
|
@@ -360,7 +366,8 @@ class DynamoDBClient(BaseClient):
|
|
|
360
366
|
) -> DescribeContributorInsightsOutputTypeDef:
|
|
361
367
|
"""
|
|
362
368
|
Returns information about contributor insights for a given table or global
|
|
363
|
-
secondary
|
|
369
|
+
secondary
|
|
370
|
+
index.
|
|
364
371
|
|
|
365
372
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.describe_contributor_insights)
|
|
366
373
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_contributor_insights)
|
|
@@ -422,7 +429,8 @@ class DynamoDBClient(BaseClient):
|
|
|
422
429
|
"""
|
|
423
430
|
Returns the current provisioned-capacity quotas for your Amazon Web Services
|
|
424
431
|
account in a Region, both for the Region as a whole and for any one DynamoDB
|
|
425
|
-
table that you create
|
|
432
|
+
table that you create
|
|
433
|
+
there.
|
|
426
434
|
|
|
427
435
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.describe_limits)
|
|
428
436
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_limits)
|
|
@@ -431,7 +439,8 @@ class DynamoDBClient(BaseClient):
|
|
|
431
439
|
def describe_table(self, *, TableName: str) -> DescribeTableOutputTypeDef:
|
|
432
440
|
"""
|
|
433
441
|
Returns information about the table, including the current status of the table,
|
|
434
|
-
when it was created, the primary key schema, and any indexes on the
|
|
442
|
+
when it was created, the primary key schema, and any indexes on the
|
|
443
|
+
table.
|
|
435
444
|
|
|
436
445
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.describe_table)
|
|
437
446
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_table)
|
|
@@ -470,7 +479,8 @@ class DynamoDBClient(BaseClient):
|
|
|
470
479
|
) -> KinesisStreamingDestinationOutputTypeDef:
|
|
471
480
|
"""
|
|
472
481
|
Starts table data replication to the specified Kinesis data stream at a
|
|
473
|
-
timestamp chosen during the enable
|
|
482
|
+
timestamp chosen during the enable
|
|
483
|
+
workflow.
|
|
474
484
|
|
|
475
485
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.enable_kinesis_streaming_destination)
|
|
476
486
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#enable_kinesis_streaming_destination)
|
|
@@ -489,7 +499,8 @@ class DynamoDBClient(BaseClient):
|
|
|
489
499
|
) -> ExecuteStatementOutputTypeDef:
|
|
490
500
|
"""
|
|
491
501
|
This operation allows you to perform reads and singleton writes on data stored
|
|
492
|
-
in DynamoDB, using
|
|
502
|
+
in DynamoDB, using
|
|
503
|
+
PartiQL.
|
|
493
504
|
|
|
494
505
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.execute_statement)
|
|
495
506
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#execute_statement)
|
|
@@ -504,7 +515,8 @@ class DynamoDBClient(BaseClient):
|
|
|
504
515
|
) -> ExecuteTransactionOutputTypeDef:
|
|
505
516
|
"""
|
|
506
517
|
This operation allows you to perform transactional reads or writes on data
|
|
507
|
-
stored in DynamoDB, using
|
|
518
|
+
stored in DynamoDB, using
|
|
519
|
+
PartiQL.
|
|
508
520
|
|
|
509
521
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.execute_transaction)
|
|
510
522
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#execute_transaction)
|
|
@@ -521,7 +533,9 @@ class DynamoDBClient(BaseClient):
|
|
|
521
533
|
S3Prefix: str = ...,
|
|
522
534
|
S3SseAlgorithm: S3SseAlgorithmType = ...,
|
|
523
535
|
S3SseKmsKeyId: str = ...,
|
|
524
|
-
ExportFormat: ExportFormatType =
|
|
536
|
+
ExportFormat: ExportFormatType = ...,
|
|
537
|
+
ExportType: ExportTypeType = ...,
|
|
538
|
+
IncrementalExportSpecification: IncrementalExportSpecificationTypeDef = ...
|
|
525
539
|
) -> ExportTableToPointInTimeOutputTypeDef:
|
|
526
540
|
"""
|
|
527
541
|
Exports table data to an S3 bucket.
|
|
@@ -557,7 +571,8 @@ class DynamoDBClient(BaseClient):
|
|
|
557
571
|
) -> GetItemOutputTypeDef:
|
|
558
572
|
"""
|
|
559
573
|
The `GetItem` operation returns a set of attributes for the item with the given
|
|
560
|
-
primary
|
|
574
|
+
primary
|
|
575
|
+
key.
|
|
561
576
|
|
|
562
577
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.get_item)
|
|
563
578
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_item)
|
|
@@ -591,7 +606,9 @@ class DynamoDBClient(BaseClient):
|
|
|
591
606
|
BackupType: BackupTypeFilterType = ...
|
|
592
607
|
) -> ListBackupsOutputTypeDef:
|
|
593
608
|
"""
|
|
594
|
-
List backups associated with an Amazon Web Services account
|
|
609
|
+
List DynamoDB backups that are associated with an Amazon Web Services account
|
|
610
|
+
and weren't made with Amazon Web Services
|
|
611
|
+
Backup.
|
|
595
612
|
|
|
596
613
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.list_backups)
|
|
597
614
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_backups)
|
|
@@ -602,7 +619,8 @@ class DynamoDBClient(BaseClient):
|
|
|
602
619
|
) -> ListContributorInsightsOutputTypeDef:
|
|
603
620
|
"""
|
|
604
621
|
Returns a list of ContributorInsightsSummary for a table and all its global
|
|
605
|
-
secondary
|
|
622
|
+
secondary
|
|
623
|
+
indexes.
|
|
606
624
|
|
|
607
625
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.list_contributor_insights)
|
|
608
626
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_contributor_insights)
|
|
@@ -704,7 +722,8 @@ class DynamoDBClient(BaseClient):
|
|
|
704
722
|
) -> QueryOutputTypeDef:
|
|
705
723
|
"""
|
|
706
724
|
You must provide the name of the partition key attribute and a single value for
|
|
707
|
-
that
|
|
725
|
+
that
|
|
726
|
+
attribute.
|
|
708
727
|
|
|
709
728
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.query)
|
|
710
729
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#query)
|
|
@@ -744,7 +763,8 @@ class DynamoDBClient(BaseClient):
|
|
|
744
763
|
) -> RestoreTableToPointInTimeOutputTypeDef:
|
|
745
764
|
"""
|
|
746
765
|
Restores the specified table to the specified point in time within
|
|
747
|
-
`EarliestRestorableDateTime` and
|
|
766
|
+
`EarliestRestorableDateTime` and
|
|
767
|
+
`LatestRestorableDateTime`.
|
|
748
768
|
|
|
749
769
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.restore_table_to_point_in_time)
|
|
750
770
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#restore_table_to_point_in_time)
|
|
@@ -772,7 +792,8 @@ class DynamoDBClient(BaseClient):
|
|
|
772
792
|
) -> ScanOutputTypeDef:
|
|
773
793
|
"""
|
|
774
794
|
The `Scan` operation returns one or more items and item attributes by accessing
|
|
775
|
-
every item in a table or a secondary
|
|
795
|
+
every item in a table or a secondary
|
|
796
|
+
index.
|
|
776
797
|
|
|
777
798
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.scan)
|
|
778
799
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#scan)
|
|
@@ -795,8 +816,9 @@ class DynamoDBClient(BaseClient):
|
|
|
795
816
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...
|
|
796
817
|
) -> TransactGetItemsOutputTypeDef:
|
|
797
818
|
"""
|
|
798
|
-
`TransactGetItems` is a synchronous operation that atomically retrieves
|
|
799
|
-
items from one or more tables (but not from indexes) in a single
|
|
819
|
+
`TransactGetItems` is a synchronous operation that atomically retrieves
|
|
820
|
+
multiple items from one or more tables (but not from indexes) in a single
|
|
821
|
+
account and
|
|
800
822
|
Region.
|
|
801
823
|
|
|
802
824
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.transact_get_items)
|
|
@@ -813,7 +835,8 @@ class DynamoDBClient(BaseClient):
|
|
|
813
835
|
) -> TransactWriteItemsOutputTypeDef:
|
|
814
836
|
"""
|
|
815
837
|
`TransactWriteItems` is a synchronous write operation that groups up to 100
|
|
816
|
-
action
|
|
838
|
+
action
|
|
839
|
+
requests.
|
|
817
840
|
|
|
818
841
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.transact_write_items)
|
|
819
842
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#transact_write_items)
|
|
@@ -837,7 +860,8 @@ class DynamoDBClient(BaseClient):
|
|
|
837
860
|
) -> UpdateContinuousBackupsOutputTypeDef:
|
|
838
861
|
"""
|
|
839
862
|
`UpdateContinuousBackups` enables or disables point in time recovery for the
|
|
840
|
-
specified
|
|
863
|
+
specified
|
|
864
|
+
table.
|
|
841
865
|
|
|
842
866
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.update_continuous_backups)
|
|
843
867
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_continuous_backups)
|
|
@@ -905,7 +929,8 @@ class DynamoDBClient(BaseClient):
|
|
|
905
929
|
) -> UpdateItemOutputTypeDef:
|
|
906
930
|
"""
|
|
907
931
|
Edits an existing item's attributes, or adds a new item to the table if it does
|
|
908
|
-
not already
|
|
932
|
+
not already
|
|
933
|
+
exist.
|
|
909
934
|
|
|
910
935
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.update_item)
|
|
911
936
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_item)
|
|
@@ -927,7 +952,8 @@ class DynamoDBClient(BaseClient):
|
|
|
927
952
|
) -> UpdateTableOutputTypeDef:
|
|
928
953
|
"""
|
|
929
954
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
930
|
-
DynamoDB Streams settings for a given
|
|
955
|
+
DynamoDB Streams settings for a given
|
|
956
|
+
table.
|
|
931
957
|
|
|
932
958
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.update_table)
|
|
933
959
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_table)
|
|
@@ -953,7 +979,8 @@ class DynamoDBClient(BaseClient):
|
|
|
953
979
|
) -> UpdateTimeToLiveOutputTypeDef:
|
|
954
980
|
"""
|
|
955
981
|
The `UpdateTimeToLive` method enables or disables Time to Live (TTL) for the
|
|
956
|
-
specified
|
|
982
|
+
specified
|
|
983
|
+
table.
|
|
957
984
|
|
|
958
985
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Client.update_time_to_live)
|
|
959
986
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_time_to_live)
|