mypy-boto3-dynamodb 1.34.67__tar.gz → 1.34.97__tar.gz
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-1.34.67 → mypy_boto3_dynamodb-1.34.97}/PKG-INFO +4 -4
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/README.md +2 -2
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/__main__.py +4 -4
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/client.py +19 -14
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/client.pyi +19 -14
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/literals.py +4 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/literals.pyi +4 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/service_resource.py +19 -14
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/service_resource.pyi +19 -14
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/type_defs.py +469 -362
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/type_defs.pyi +469 -362
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/version.py +1 -1
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb.egg-info/PKG-INFO +4 -4
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/setup.py +2 -2
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/LICENSE +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/__init__.py +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/__init__.pyi +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/paginator.py +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/paginator.pyi +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/py.typed +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/waiter.py +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/waiter.pyi +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb.egg-info/SOURCES.txt +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb.egg-info/dependency_links.txt +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb.egg-info/not-zip-safe +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb.egg-info/requires.txt +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb.egg-info/top_level.txt +0 -0
- {mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-dynamodb
|
|
3
|
-
Version: 1.34.
|
|
4
|
-
Summary: Type annotations for boto3.DynamoDB 1.34.
|
|
3
|
+
Version: 1.34.97
|
|
4
|
+
Summary: Type annotations for boto3.DynamoDB 1.34.97 service generated with mypy-boto3-builder 7.24.0
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -43,7 +43,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
43
43
|

|
|
44
44
|
|
|
45
45
|
Type annotations for
|
|
46
|
-
[boto3.DynamoDB 1.34.
|
|
46
|
+
[boto3.DynamoDB 1.34.97](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB)
|
|
47
47
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
48
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -52,7 +52,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
54
|
Generated by
|
|
55
|
-
[mypy-boto3-builder 7.
|
|
55
|
+
[mypy-boto3-builder 7.24.0](https://github.com/youtype/mypy_boto3_builder).
|
|
56
56
|
|
|
57
57
|
More information can be found on
|
|
58
58
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3.DynamoDB 1.34.
|
|
13
|
+
[boto3.DynamoDB 1.34.97](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB)
|
|
14
14
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
15
15
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
16
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -19,7 +19,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
19
19
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
20
|
|
|
21
21
|
Generated by
|
|
22
|
-
[mypy-boto3-builder 7.
|
|
22
|
+
[mypy-boto3-builder 7.24.0](https://github.com/youtype/mypy_boto3_builder).
|
|
23
23
|
|
|
24
24
|
More information can be found on
|
|
25
25
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -10,9 +10,9 @@ def print_info() -> None:
|
|
|
10
10
|
Print package info to stdout.
|
|
11
11
|
"""
|
|
12
12
|
print(
|
|
13
|
-
"Type annotations for boto3.DynamoDB 1.34.
|
|
14
|
-
"Version: 1.34.
|
|
15
|
-
"Builder version: 7.
|
|
13
|
+
"Type annotations for boto3.DynamoDB 1.34.97\n"
|
|
14
|
+
"Version: 1.34.97\n"
|
|
15
|
+
"Builder version: 7.24.0\n"
|
|
16
16
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb//\n"
|
|
17
17
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB\n"
|
|
18
18
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
@@ -24,7 +24,7 @@ def print_version() -> None:
|
|
|
24
24
|
"""
|
|
25
25
|
Print package version to stdout.
|
|
26
26
|
"""
|
|
27
|
-
print("1.34.
|
|
27
|
+
print("1.34.97")
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def main() -> None:
|
|
@@ -81,13 +81,13 @@ from .type_defs import (
|
|
|
81
81
|
GetItemOutputTypeDef,
|
|
82
82
|
GetResourcePolicyOutputTypeDef,
|
|
83
83
|
GlobalSecondaryIndexAutoScalingUpdateTypeDef,
|
|
84
|
-
|
|
84
|
+
GlobalSecondaryIndexUnionTypeDef,
|
|
85
85
|
GlobalSecondaryIndexUpdateTypeDef,
|
|
86
86
|
GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef,
|
|
87
87
|
ImportTableOutputTypeDef,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
IncrementalExportSpecificationUnionTypeDef,
|
|
89
|
+
InputFormatOptionsUnionTypeDef,
|
|
90
|
+
KeysAndAttributesUnionTypeDef,
|
|
91
91
|
KeySchemaElementTypeDef,
|
|
92
92
|
KinesisStreamingDestinationOutputTypeDef,
|
|
93
93
|
ListBackupsOutputTypeDef,
|
|
@@ -98,6 +98,7 @@ from .type_defs import (
|
|
|
98
98
|
ListTablesOutputTypeDef,
|
|
99
99
|
ListTagsOfResourceOutputTypeDef,
|
|
100
100
|
LocalSecondaryIndexTypeDef,
|
|
101
|
+
OnDemandThroughputTypeDef,
|
|
101
102
|
ParameterizedStatementTypeDef,
|
|
102
103
|
PointInTimeRecoverySpecificationTypeDef,
|
|
103
104
|
ProvisionedThroughputTypeDef,
|
|
@@ -115,7 +116,7 @@ from .type_defs import (
|
|
|
115
116
|
ScanOutputTypeDef,
|
|
116
117
|
SSESpecificationTypeDef,
|
|
117
118
|
StreamSpecificationTypeDef,
|
|
118
|
-
|
|
119
|
+
TableCreationParametersUnionTypeDef,
|
|
119
120
|
TagTypeDef,
|
|
120
121
|
TimestampTypeDef,
|
|
121
122
|
TimeToLiveSpecificationTypeDef,
|
|
@@ -134,7 +135,7 @@ from .type_defs import (
|
|
|
134
135
|
UpdateTableOutputTypeDef,
|
|
135
136
|
UpdateTableReplicaAutoScalingOutputTypeDef,
|
|
136
137
|
UpdateTimeToLiveOutputTypeDef,
|
|
137
|
-
|
|
138
|
+
WriteRequestUnionTypeDef,
|
|
138
139
|
)
|
|
139
140
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
140
141
|
|
|
@@ -225,7 +226,7 @@ class DynamoDBClient(BaseClient):
|
|
|
225
226
|
def batch_get_item(
|
|
226
227
|
self,
|
|
227
228
|
*,
|
|
228
|
-
RequestItems: Mapping[str,
|
|
229
|
+
RequestItems: Mapping[str, KeysAndAttributesUnionTypeDef],
|
|
229
230
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
230
231
|
) -> BatchGetItemOutputTypeDef:
|
|
231
232
|
"""
|
|
@@ -240,7 +241,7 @@ class DynamoDBClient(BaseClient):
|
|
|
240
241
|
def batch_write_item(
|
|
241
242
|
self,
|
|
242
243
|
*,
|
|
243
|
-
RequestItems: Mapping[str, Sequence[
|
|
244
|
+
RequestItems: Mapping[str, Sequence[WriteRequestUnionTypeDef]],
|
|
244
245
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
245
246
|
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
246
247
|
) -> BatchWriteItemOutputTypeDef:
|
|
@@ -293,7 +294,7 @@ class DynamoDBClient(BaseClient):
|
|
|
293
294
|
TableName: str,
|
|
294
295
|
KeySchema: Sequence[KeySchemaElementTypeDef],
|
|
295
296
|
LocalSecondaryIndexes: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
296
|
-
GlobalSecondaryIndexes: Sequence[
|
|
297
|
+
GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
297
298
|
BillingMode: BillingModeType = ...,
|
|
298
299
|
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
299
300
|
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
@@ -302,6 +303,7 @@ class DynamoDBClient(BaseClient):
|
|
|
302
303
|
TableClass: TableClassType = ...,
|
|
303
304
|
DeletionProtectionEnabled: bool = ...,
|
|
304
305
|
ResourcePolicy: str = ...,
|
|
306
|
+
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
305
307
|
) -> CreateTableOutputTypeDef:
|
|
306
308
|
"""
|
|
307
309
|
The `CreateTable` operation adds a new table to your account.
|
|
@@ -562,7 +564,7 @@ class DynamoDBClient(BaseClient):
|
|
|
562
564
|
S3SseKmsKeyId: str = ...,
|
|
563
565
|
ExportFormat: ExportFormatType = ...,
|
|
564
566
|
ExportType: ExportTypeType = ...,
|
|
565
|
-
IncrementalExportSpecification:
|
|
567
|
+
IncrementalExportSpecification: IncrementalExportSpecificationUnionTypeDef = ...,
|
|
566
568
|
) -> ExportTableToPointInTimeOutputTypeDef:
|
|
567
569
|
"""
|
|
568
570
|
Exports table data to an S3 bucket.
|
|
@@ -620,9 +622,9 @@ class DynamoDBClient(BaseClient):
|
|
|
620
622
|
*,
|
|
621
623
|
S3BucketSource: S3BucketSourceTypeDef,
|
|
622
624
|
InputFormat: InputFormatType,
|
|
623
|
-
TableCreationParameters:
|
|
625
|
+
TableCreationParameters: TableCreationParametersUnionTypeDef,
|
|
624
626
|
ClientToken: str = ...,
|
|
625
|
-
InputFormatOptions:
|
|
627
|
+
InputFormatOptions: InputFormatOptionsUnionTypeDef = ...,
|
|
626
628
|
InputCompressionType: InputCompressionTypeType = ...,
|
|
627
629
|
) -> ImportTableOutputTypeDef:
|
|
628
630
|
"""
|
|
@@ -789,9 +791,10 @@ class DynamoDBClient(BaseClient):
|
|
|
789
791
|
TargetTableName: str,
|
|
790
792
|
BackupArn: str,
|
|
791
793
|
BillingModeOverride: BillingModeType = ...,
|
|
792
|
-
GlobalSecondaryIndexOverride: Sequence[
|
|
794
|
+
GlobalSecondaryIndexOverride: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
793
795
|
LocalSecondaryIndexOverride: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
794
796
|
ProvisionedThroughputOverride: ProvisionedThroughputTypeDef = ...,
|
|
797
|
+
OnDemandThroughputOverride: OnDemandThroughputTypeDef = ...,
|
|
795
798
|
SSESpecificationOverride: SSESpecificationTypeDef = ...,
|
|
796
799
|
) -> RestoreTableFromBackupOutputTypeDef:
|
|
797
800
|
"""
|
|
@@ -810,9 +813,10 @@ class DynamoDBClient(BaseClient):
|
|
|
810
813
|
UseLatestRestorableTime: bool = ...,
|
|
811
814
|
RestoreDateTime: TimestampTypeDef = ...,
|
|
812
815
|
BillingModeOverride: BillingModeType = ...,
|
|
813
|
-
GlobalSecondaryIndexOverride: Sequence[
|
|
816
|
+
GlobalSecondaryIndexOverride: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
814
817
|
LocalSecondaryIndexOverride: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
815
818
|
ProvisionedThroughputOverride: ProvisionedThroughputTypeDef = ...,
|
|
819
|
+
OnDemandThroughputOverride: OnDemandThroughputTypeDef = ...,
|
|
816
820
|
SSESpecificationOverride: SSESpecificationTypeDef = ...,
|
|
817
821
|
) -> RestoreTableToPointInTimeOutputTypeDef:
|
|
818
822
|
"""
|
|
@@ -1017,6 +1021,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1017
1021
|
ReplicaUpdates: Sequence[ReplicationGroupUpdateTypeDef] = ...,
|
|
1018
1022
|
TableClass: TableClassType = ...,
|
|
1019
1023
|
DeletionProtectionEnabled: bool = ...,
|
|
1024
|
+
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
1020
1025
|
) -> UpdateTableOutputTypeDef:
|
|
1021
1026
|
"""
|
|
1022
1027
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
@@ -81,13 +81,13 @@ from .type_defs import (
|
|
|
81
81
|
GetItemOutputTypeDef,
|
|
82
82
|
GetResourcePolicyOutputTypeDef,
|
|
83
83
|
GlobalSecondaryIndexAutoScalingUpdateTypeDef,
|
|
84
|
-
|
|
84
|
+
GlobalSecondaryIndexUnionTypeDef,
|
|
85
85
|
GlobalSecondaryIndexUpdateTypeDef,
|
|
86
86
|
GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef,
|
|
87
87
|
ImportTableOutputTypeDef,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
IncrementalExportSpecificationUnionTypeDef,
|
|
89
|
+
InputFormatOptionsUnionTypeDef,
|
|
90
|
+
KeysAndAttributesUnionTypeDef,
|
|
91
91
|
KeySchemaElementTypeDef,
|
|
92
92
|
KinesisStreamingDestinationOutputTypeDef,
|
|
93
93
|
ListBackupsOutputTypeDef,
|
|
@@ -98,6 +98,7 @@ from .type_defs import (
|
|
|
98
98
|
ListTablesOutputTypeDef,
|
|
99
99
|
ListTagsOfResourceOutputTypeDef,
|
|
100
100
|
LocalSecondaryIndexTypeDef,
|
|
101
|
+
OnDemandThroughputTypeDef,
|
|
101
102
|
ParameterizedStatementTypeDef,
|
|
102
103
|
PointInTimeRecoverySpecificationTypeDef,
|
|
103
104
|
ProvisionedThroughputTypeDef,
|
|
@@ -115,7 +116,7 @@ from .type_defs import (
|
|
|
115
116
|
ScanOutputTypeDef,
|
|
116
117
|
SSESpecificationTypeDef,
|
|
117
118
|
StreamSpecificationTypeDef,
|
|
118
|
-
|
|
119
|
+
TableCreationParametersUnionTypeDef,
|
|
119
120
|
TagTypeDef,
|
|
120
121
|
TimestampTypeDef,
|
|
121
122
|
TimeToLiveSpecificationTypeDef,
|
|
@@ -134,7 +135,7 @@ from .type_defs import (
|
|
|
134
135
|
UpdateTableOutputTypeDef,
|
|
135
136
|
UpdateTableReplicaAutoScalingOutputTypeDef,
|
|
136
137
|
UpdateTimeToLiveOutputTypeDef,
|
|
137
|
-
|
|
138
|
+
WriteRequestUnionTypeDef,
|
|
138
139
|
)
|
|
139
140
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
140
141
|
|
|
@@ -222,7 +223,7 @@ class DynamoDBClient(BaseClient):
|
|
|
222
223
|
def batch_get_item(
|
|
223
224
|
self,
|
|
224
225
|
*,
|
|
225
|
-
RequestItems: Mapping[str,
|
|
226
|
+
RequestItems: Mapping[str, KeysAndAttributesUnionTypeDef],
|
|
226
227
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
227
228
|
) -> BatchGetItemOutputTypeDef:
|
|
228
229
|
"""
|
|
@@ -237,7 +238,7 @@ class DynamoDBClient(BaseClient):
|
|
|
237
238
|
def batch_write_item(
|
|
238
239
|
self,
|
|
239
240
|
*,
|
|
240
|
-
RequestItems: Mapping[str, Sequence[
|
|
241
|
+
RequestItems: Mapping[str, Sequence[WriteRequestUnionTypeDef]],
|
|
241
242
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
242
243
|
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
243
244
|
) -> BatchWriteItemOutputTypeDef:
|
|
@@ -290,7 +291,7 @@ class DynamoDBClient(BaseClient):
|
|
|
290
291
|
TableName: str,
|
|
291
292
|
KeySchema: Sequence[KeySchemaElementTypeDef],
|
|
292
293
|
LocalSecondaryIndexes: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
293
|
-
GlobalSecondaryIndexes: Sequence[
|
|
294
|
+
GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
294
295
|
BillingMode: BillingModeType = ...,
|
|
295
296
|
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
296
297
|
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
@@ -299,6 +300,7 @@ class DynamoDBClient(BaseClient):
|
|
|
299
300
|
TableClass: TableClassType = ...,
|
|
300
301
|
DeletionProtectionEnabled: bool = ...,
|
|
301
302
|
ResourcePolicy: str = ...,
|
|
303
|
+
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
302
304
|
) -> CreateTableOutputTypeDef:
|
|
303
305
|
"""
|
|
304
306
|
The `CreateTable` operation adds a new table to your account.
|
|
@@ -559,7 +561,7 @@ class DynamoDBClient(BaseClient):
|
|
|
559
561
|
S3SseKmsKeyId: str = ...,
|
|
560
562
|
ExportFormat: ExportFormatType = ...,
|
|
561
563
|
ExportType: ExportTypeType = ...,
|
|
562
|
-
IncrementalExportSpecification:
|
|
564
|
+
IncrementalExportSpecification: IncrementalExportSpecificationUnionTypeDef = ...,
|
|
563
565
|
) -> ExportTableToPointInTimeOutputTypeDef:
|
|
564
566
|
"""
|
|
565
567
|
Exports table data to an S3 bucket.
|
|
@@ -617,9 +619,9 @@ class DynamoDBClient(BaseClient):
|
|
|
617
619
|
*,
|
|
618
620
|
S3BucketSource: S3BucketSourceTypeDef,
|
|
619
621
|
InputFormat: InputFormatType,
|
|
620
|
-
TableCreationParameters:
|
|
622
|
+
TableCreationParameters: TableCreationParametersUnionTypeDef,
|
|
621
623
|
ClientToken: str = ...,
|
|
622
|
-
InputFormatOptions:
|
|
624
|
+
InputFormatOptions: InputFormatOptionsUnionTypeDef = ...,
|
|
623
625
|
InputCompressionType: InputCompressionTypeType = ...,
|
|
624
626
|
) -> ImportTableOutputTypeDef:
|
|
625
627
|
"""
|
|
@@ -786,9 +788,10 @@ class DynamoDBClient(BaseClient):
|
|
|
786
788
|
TargetTableName: str,
|
|
787
789
|
BackupArn: str,
|
|
788
790
|
BillingModeOverride: BillingModeType = ...,
|
|
789
|
-
GlobalSecondaryIndexOverride: Sequence[
|
|
791
|
+
GlobalSecondaryIndexOverride: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
790
792
|
LocalSecondaryIndexOverride: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
791
793
|
ProvisionedThroughputOverride: ProvisionedThroughputTypeDef = ...,
|
|
794
|
+
OnDemandThroughputOverride: OnDemandThroughputTypeDef = ...,
|
|
792
795
|
SSESpecificationOverride: SSESpecificationTypeDef = ...,
|
|
793
796
|
) -> RestoreTableFromBackupOutputTypeDef:
|
|
794
797
|
"""
|
|
@@ -807,9 +810,10 @@ class DynamoDBClient(BaseClient):
|
|
|
807
810
|
UseLatestRestorableTime: bool = ...,
|
|
808
811
|
RestoreDateTime: TimestampTypeDef = ...,
|
|
809
812
|
BillingModeOverride: BillingModeType = ...,
|
|
810
|
-
GlobalSecondaryIndexOverride: Sequence[
|
|
813
|
+
GlobalSecondaryIndexOverride: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
811
814
|
LocalSecondaryIndexOverride: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
812
815
|
ProvisionedThroughputOverride: ProvisionedThroughputTypeDef = ...,
|
|
816
|
+
OnDemandThroughputOverride: OnDemandThroughputTypeDef = ...,
|
|
813
817
|
SSESpecificationOverride: SSESpecificationTypeDef = ...,
|
|
814
818
|
) -> RestoreTableToPointInTimeOutputTypeDef:
|
|
815
819
|
"""
|
|
@@ -1014,6 +1018,7 @@ class DynamoDBClient(BaseClient):
|
|
|
1014
1018
|
ReplicaUpdates: Sequence[ReplicationGroupUpdateTypeDef] = ...,
|
|
1015
1019
|
TableClass: TableClassType = ...,
|
|
1016
1020
|
DeletionProtectionEnabled: bool = ...,
|
|
1021
|
+
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
1017
1022
|
) -> UpdateTableOutputTypeDef:
|
|
1018
1023
|
"""
|
|
1019
1024
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
@@ -236,6 +236,7 @@ ServiceName = Literal[
|
|
|
236
236
|
"codebuild",
|
|
237
237
|
"codecatalyst",
|
|
238
238
|
"codecommit",
|
|
239
|
+
"codeconnections",
|
|
239
240
|
"codedeploy",
|
|
240
241
|
"codeguru-reviewer",
|
|
241
242
|
"codeguru-security",
|
|
@@ -256,6 +257,7 @@ ServiceName = Literal[
|
|
|
256
257
|
"connectcampaigns",
|
|
257
258
|
"connectcases",
|
|
258
259
|
"connectparticipant",
|
|
260
|
+
"controlcatalog",
|
|
259
261
|
"controltower",
|
|
260
262
|
"cost-optimization-hub",
|
|
261
263
|
"cur",
|
|
@@ -266,6 +268,7 @@ ServiceName = Literal[
|
|
|
266
268
|
"datasync",
|
|
267
269
|
"datazone",
|
|
268
270
|
"dax",
|
|
271
|
+
"deadline",
|
|
269
272
|
"detective",
|
|
270
273
|
"devicefarm",
|
|
271
274
|
"devops-guru",
|
|
@@ -470,6 +473,7 @@ ServiceName = Literal[
|
|
|
470
473
|
"route53-recovery-control-config",
|
|
471
474
|
"route53-recovery-readiness",
|
|
472
475
|
"route53domains",
|
|
476
|
+
"route53profiles",
|
|
473
477
|
"route53resolver",
|
|
474
478
|
"rum",
|
|
475
479
|
"s3",
|
{mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/literals.pyi
RENAMED
|
@@ -236,6 +236,7 @@ ServiceName = Literal[
|
|
|
236
236
|
"codebuild",
|
|
237
237
|
"codecatalyst",
|
|
238
238
|
"codecommit",
|
|
239
|
+
"codeconnections",
|
|
239
240
|
"codedeploy",
|
|
240
241
|
"codeguru-reviewer",
|
|
241
242
|
"codeguru-security",
|
|
@@ -256,6 +257,7 @@ ServiceName = Literal[
|
|
|
256
257
|
"connectcampaigns",
|
|
257
258
|
"connectcases",
|
|
258
259
|
"connectparticipant",
|
|
260
|
+
"controlcatalog",
|
|
259
261
|
"controltower",
|
|
260
262
|
"cost-optimization-hub",
|
|
261
263
|
"cur",
|
|
@@ -266,6 +268,7 @@ ServiceName = Literal[
|
|
|
266
268
|
"datasync",
|
|
267
269
|
"datazone",
|
|
268
270
|
"dax",
|
|
271
|
+
"deadline",
|
|
269
272
|
"detective",
|
|
270
273
|
"devicefarm",
|
|
271
274
|
"devops-guru",
|
|
@@ -470,6 +473,7 @@ ServiceName = Literal[
|
|
|
470
473
|
"route53-recovery-control-config",
|
|
471
474
|
"route53-recovery-readiness",
|
|
472
475
|
"route53domains",
|
|
476
|
+
"route53profiles",
|
|
473
477
|
"route53resolver",
|
|
474
478
|
"rum",
|
|
475
479
|
"s3",
|
{mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/service_resource.py
RENAMED
|
@@ -47,16 +47,18 @@ from .type_defs import (
|
|
|
47
47
|
ConditionBaseImportTypeDef,
|
|
48
48
|
ConditionTableTypeDef,
|
|
49
49
|
DeleteItemOutputTableTypeDef,
|
|
50
|
-
|
|
50
|
+
DeleteTableOutputTypeDef,
|
|
51
51
|
ExpectedAttributeValueTableTypeDef,
|
|
52
52
|
GetItemOutputTableTypeDef,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
GlobalSecondaryIndexDescriptionTypeDef,
|
|
54
|
+
GlobalSecondaryIndexUnionTypeDef,
|
|
55
|
+
GlobalSecondaryIndexUpdateTypeDef,
|
|
56
|
+
KeysAndAttributesServiceResourceUnionTypeDef,
|
|
57
57
|
KeySchemaElementTypeDef,
|
|
58
|
-
|
|
58
|
+
LocalSecondaryIndexDescriptionTypeDef,
|
|
59
59
|
LocalSecondaryIndexTypeDef,
|
|
60
|
+
OnDemandThroughputResponseTypeDef,
|
|
61
|
+
OnDemandThroughputTypeDef,
|
|
60
62
|
ProvisionedThroughputDescriptionResponseTypeDef,
|
|
61
63
|
ProvisionedThroughputTypeDef,
|
|
62
64
|
PutItemOutputTableTypeDef,
|
|
@@ -73,7 +75,7 @@ from .type_defs import (
|
|
|
73
75
|
TableClassSummaryResponseTypeDef,
|
|
74
76
|
TagTypeDef,
|
|
75
77
|
UpdateItemOutputTableTypeDef,
|
|
76
|
-
|
|
78
|
+
WriteRequestServiceResourceUnionTypeDef,
|
|
77
79
|
)
|
|
78
80
|
|
|
79
81
|
__all__ = ("DynamoDBServiceResource", "Table", "ServiceResourceTablesCollection")
|
|
@@ -153,8 +155,8 @@ class Table(ServiceResource):
|
|
|
153
155
|
table_arn: str
|
|
154
156
|
table_id: str
|
|
155
157
|
billing_mode_summary: BillingModeSummaryResponseTypeDef
|
|
156
|
-
local_secondary_indexes: List[
|
|
157
|
-
global_secondary_indexes: List[
|
|
158
|
+
local_secondary_indexes: List[LocalSecondaryIndexDescriptionTypeDef]
|
|
159
|
+
global_secondary_indexes: List[GlobalSecondaryIndexDescriptionTypeDef]
|
|
158
160
|
stream_specification: StreamSpecificationResponseTypeDef
|
|
159
161
|
latest_stream_label: str
|
|
160
162
|
latest_stream_arn: str
|
|
@@ -165,6 +167,7 @@ class Table(ServiceResource):
|
|
|
165
167
|
archival_summary: ArchivalSummaryResponseTypeDef
|
|
166
168
|
table_class_summary: TableClassSummaryResponseTypeDef
|
|
167
169
|
deletion_protection_enabled: bool
|
|
170
|
+
on_demand_throughput: OnDemandThroughputResponseTypeDef
|
|
168
171
|
name: str
|
|
169
172
|
meta: "DynamoDBResourceMeta"
|
|
170
173
|
|
|
@@ -176,7 +179,7 @@ class Table(ServiceResource):
|
|
|
176
179
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablebatch_writer-method)
|
|
177
180
|
"""
|
|
178
181
|
|
|
179
|
-
def delete(self) ->
|
|
182
|
+
def delete(self) -> DeleteTableOutputTypeDef:
|
|
180
183
|
"""
|
|
181
184
|
The `DeleteTable` operation deletes a table and all of its items.
|
|
182
185
|
|
|
@@ -336,12 +339,13 @@ class Table(ServiceResource):
|
|
|
336
339
|
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef] = ...,
|
|
337
340
|
BillingMode: BillingModeType = ...,
|
|
338
341
|
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
339
|
-
GlobalSecondaryIndexUpdates: Sequence[
|
|
342
|
+
GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexUpdateTypeDef] = ...,
|
|
340
343
|
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
341
344
|
SSESpecification: SSESpecificationTypeDef = ...,
|
|
342
345
|
ReplicaUpdates: Sequence[ReplicationGroupUpdateTypeDef] = ...,
|
|
343
346
|
TableClass: TableClassType = ...,
|
|
344
347
|
DeletionProtectionEnabled: bool = ...,
|
|
348
|
+
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
345
349
|
) -> "_Table":
|
|
346
350
|
"""
|
|
347
351
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
@@ -421,7 +425,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
421
425
|
def batch_get_item(
|
|
422
426
|
self,
|
|
423
427
|
*,
|
|
424
|
-
RequestItems: Mapping[str,
|
|
428
|
+
RequestItems: Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef],
|
|
425
429
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
426
430
|
) -> BatchGetItemOutputServiceResourceTypeDef:
|
|
427
431
|
"""
|
|
@@ -436,7 +440,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
436
440
|
def batch_write_item(
|
|
437
441
|
self,
|
|
438
442
|
*,
|
|
439
|
-
RequestItems: Mapping[str, Sequence[
|
|
443
|
+
RequestItems: Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]],
|
|
440
444
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
441
445
|
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
442
446
|
) -> BatchWriteItemOutputServiceResourceTypeDef:
|
|
@@ -455,7 +459,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
455
459
|
TableName: str,
|
|
456
460
|
KeySchema: Sequence[KeySchemaElementTypeDef],
|
|
457
461
|
LocalSecondaryIndexes: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
458
|
-
GlobalSecondaryIndexes: Sequence[
|
|
462
|
+
GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
459
463
|
BillingMode: BillingModeType = ...,
|
|
460
464
|
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
461
465
|
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
@@ -464,6 +468,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
464
468
|
TableClass: TableClassType = ...,
|
|
465
469
|
DeletionProtectionEnabled: bool = ...,
|
|
466
470
|
ResourcePolicy: str = ...,
|
|
471
|
+
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
467
472
|
) -> "_Table":
|
|
468
473
|
"""
|
|
469
474
|
The `CreateTable` operation adds a new table to your account.
|
{mypy-boto3-dynamodb-1.34.67 → mypy_boto3_dynamodb-1.34.97}/mypy_boto3_dynamodb/service_resource.pyi
RENAMED
|
@@ -47,16 +47,18 @@ from .type_defs import (
|
|
|
47
47
|
ConditionBaseImportTypeDef,
|
|
48
48
|
ConditionTableTypeDef,
|
|
49
49
|
DeleteItemOutputTableTypeDef,
|
|
50
|
-
|
|
50
|
+
DeleteTableOutputTypeDef,
|
|
51
51
|
ExpectedAttributeValueTableTypeDef,
|
|
52
52
|
GetItemOutputTableTypeDef,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
GlobalSecondaryIndexDescriptionTypeDef,
|
|
54
|
+
GlobalSecondaryIndexUnionTypeDef,
|
|
55
|
+
GlobalSecondaryIndexUpdateTypeDef,
|
|
56
|
+
KeysAndAttributesServiceResourceUnionTypeDef,
|
|
57
57
|
KeySchemaElementTypeDef,
|
|
58
|
-
|
|
58
|
+
LocalSecondaryIndexDescriptionTypeDef,
|
|
59
59
|
LocalSecondaryIndexTypeDef,
|
|
60
|
+
OnDemandThroughputResponseTypeDef,
|
|
61
|
+
OnDemandThroughputTypeDef,
|
|
60
62
|
ProvisionedThroughputDescriptionResponseTypeDef,
|
|
61
63
|
ProvisionedThroughputTypeDef,
|
|
62
64
|
PutItemOutputTableTypeDef,
|
|
@@ -73,7 +75,7 @@ from .type_defs import (
|
|
|
73
75
|
TableClassSummaryResponseTypeDef,
|
|
74
76
|
TagTypeDef,
|
|
75
77
|
UpdateItemOutputTableTypeDef,
|
|
76
|
-
|
|
78
|
+
WriteRequestServiceResourceUnionTypeDef,
|
|
77
79
|
)
|
|
78
80
|
|
|
79
81
|
__all__ = ("DynamoDBServiceResource", "Table", "ServiceResourceTablesCollection")
|
|
@@ -151,8 +153,8 @@ class Table(ServiceResource):
|
|
|
151
153
|
table_arn: str
|
|
152
154
|
table_id: str
|
|
153
155
|
billing_mode_summary: BillingModeSummaryResponseTypeDef
|
|
154
|
-
local_secondary_indexes: List[
|
|
155
|
-
global_secondary_indexes: List[
|
|
156
|
+
local_secondary_indexes: List[LocalSecondaryIndexDescriptionTypeDef]
|
|
157
|
+
global_secondary_indexes: List[GlobalSecondaryIndexDescriptionTypeDef]
|
|
156
158
|
stream_specification: StreamSpecificationResponseTypeDef
|
|
157
159
|
latest_stream_label: str
|
|
158
160
|
latest_stream_arn: str
|
|
@@ -163,6 +165,7 @@ class Table(ServiceResource):
|
|
|
163
165
|
archival_summary: ArchivalSummaryResponseTypeDef
|
|
164
166
|
table_class_summary: TableClassSummaryResponseTypeDef
|
|
165
167
|
deletion_protection_enabled: bool
|
|
168
|
+
on_demand_throughput: OnDemandThroughputResponseTypeDef
|
|
166
169
|
name: str
|
|
167
170
|
meta: "DynamoDBResourceMeta"
|
|
168
171
|
|
|
@@ -174,7 +177,7 @@ class Table(ServiceResource):
|
|
|
174
177
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablebatch_writer-method)
|
|
175
178
|
"""
|
|
176
179
|
|
|
177
|
-
def delete(self) ->
|
|
180
|
+
def delete(self) -> DeleteTableOutputTypeDef:
|
|
178
181
|
"""
|
|
179
182
|
The `DeleteTable` operation deletes a table and all of its items.
|
|
180
183
|
|
|
@@ -334,12 +337,13 @@ class Table(ServiceResource):
|
|
|
334
337
|
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef] = ...,
|
|
335
338
|
BillingMode: BillingModeType = ...,
|
|
336
339
|
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
337
|
-
GlobalSecondaryIndexUpdates: Sequence[
|
|
340
|
+
GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexUpdateTypeDef] = ...,
|
|
338
341
|
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
339
342
|
SSESpecification: SSESpecificationTypeDef = ...,
|
|
340
343
|
ReplicaUpdates: Sequence[ReplicationGroupUpdateTypeDef] = ...,
|
|
341
344
|
TableClass: TableClassType = ...,
|
|
342
345
|
DeletionProtectionEnabled: bool = ...,
|
|
346
|
+
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
343
347
|
) -> "_Table":
|
|
344
348
|
"""
|
|
345
349
|
Modifies the provisioned throughput settings, global secondary indexes, or
|
|
@@ -416,7 +420,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
416
420
|
def batch_get_item(
|
|
417
421
|
self,
|
|
418
422
|
*,
|
|
419
|
-
RequestItems: Mapping[str,
|
|
423
|
+
RequestItems: Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef],
|
|
420
424
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
421
425
|
) -> BatchGetItemOutputServiceResourceTypeDef:
|
|
422
426
|
"""
|
|
@@ -431,7 +435,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
431
435
|
def batch_write_item(
|
|
432
436
|
self,
|
|
433
437
|
*,
|
|
434
|
-
RequestItems: Mapping[str, Sequence[
|
|
438
|
+
RequestItems: Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]],
|
|
435
439
|
ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
|
|
436
440
|
ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
|
|
437
441
|
) -> BatchWriteItemOutputServiceResourceTypeDef:
|
|
@@ -450,7 +454,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
450
454
|
TableName: str,
|
|
451
455
|
KeySchema: Sequence[KeySchemaElementTypeDef],
|
|
452
456
|
LocalSecondaryIndexes: Sequence[LocalSecondaryIndexTypeDef] = ...,
|
|
453
|
-
GlobalSecondaryIndexes: Sequence[
|
|
457
|
+
GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
|
|
454
458
|
BillingMode: BillingModeType = ...,
|
|
455
459
|
ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
|
|
456
460
|
StreamSpecification: StreamSpecificationTypeDef = ...,
|
|
@@ -459,6 +463,7 @@ class DynamoDBServiceResource(ServiceResource):
|
|
|
459
463
|
TableClass: TableClassType = ...,
|
|
460
464
|
DeletionProtectionEnabled: bool = ...,
|
|
461
465
|
ResourcePolicy: str = ...,
|
|
466
|
+
OnDemandThroughput: OnDemandThroughputTypeDef = ...,
|
|
462
467
|
) -> "_Table":
|
|
463
468
|
"""
|
|
464
469
|
The `CreateTable` operation adds a new table to your account.
|