mypy-boto3-dynamodb 1.40.56__py3-none-any.whl → 1.42.3__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.
@@ -12,9 +12,9 @@ def print_info() -> None:
12
12
  Print package info to stdout.
13
13
  """
14
14
  sys.stdout.write(
15
- "Type annotations for boto3 DynamoDB 1.40.56\n"
16
- "Version: 1.40.56\n"
17
- "Builder version: 8.11.0\n"
15
+ "Type annotations for boto3 DynamoDB 1.42.3\n"
16
+ "Version: 1.42.3\n"
17
+ "Builder version: 8.12.0\n"
18
18
  "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb//\n"
19
19
  "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#dynamodb\n"
20
20
  "Other services: https://pypi.org/project/boto3-stubs/\n"
@@ -26,7 +26,7 @@ def print_version() -> None:
26
26
  """
27
27
  Print package version to stdout.
28
28
  """
29
- sys.stdout.write("1.40.56\n")
29
+ sys.stdout.write("1.42.3\n")
30
30
 
31
31
 
32
32
  def main() -> None:
@@ -19,6 +19,7 @@ Usage::
19
19
  from __future__ import annotations
20
20
 
21
21
  import sys
22
+ from collections.abc import Mapping
22
23
  from typing import Any, overload
23
24
 
24
25
  from botocore.client import BaseClient, ClientMeta
@@ -146,11 +147,6 @@ from .type_defs import (
146
147
  )
147
148
  from .waiter import TableExistsWaiter, TableNotExistsWaiter
148
149
 
149
- if sys.version_info >= (3, 9):
150
- from builtins import type as Type
151
- from collections.abc import Mapping
152
- else:
153
- from typing import Mapping, Type
154
150
  if sys.version_info >= (3, 12):
155
151
  from typing import Literal, Unpack
156
152
  else:
@@ -161,41 +157,41 @@ __all__ = ("DynamoDBClient",)
161
157
 
162
158
 
163
159
  class Exceptions(BaseClientExceptions):
164
- BackupInUseException: Type[BotocoreClientError]
165
- BackupNotFoundException: Type[BotocoreClientError]
166
- ClientError: Type[BotocoreClientError]
167
- ConditionalCheckFailedException: Type[BotocoreClientError]
168
- ContinuousBackupsUnavailableException: Type[BotocoreClientError]
169
- DuplicateItemException: Type[BotocoreClientError]
170
- ExportConflictException: Type[BotocoreClientError]
171
- ExportNotFoundException: Type[BotocoreClientError]
172
- GlobalTableAlreadyExistsException: Type[BotocoreClientError]
173
- GlobalTableNotFoundException: Type[BotocoreClientError]
174
- IdempotentParameterMismatchException: Type[BotocoreClientError]
175
- ImportConflictException: Type[BotocoreClientError]
176
- ImportNotFoundException: Type[BotocoreClientError]
177
- IndexNotFoundException: Type[BotocoreClientError]
178
- InternalServerError: Type[BotocoreClientError]
179
- InvalidExportTimeException: Type[BotocoreClientError]
180
- InvalidRestoreTimeException: Type[BotocoreClientError]
181
- ItemCollectionSizeLimitExceededException: Type[BotocoreClientError]
182
- LimitExceededException: Type[BotocoreClientError]
183
- PointInTimeRecoveryUnavailableException: Type[BotocoreClientError]
184
- PolicyNotFoundException: Type[BotocoreClientError]
185
- ProvisionedThroughputExceededException: Type[BotocoreClientError]
186
- ReplicaAlreadyExistsException: Type[BotocoreClientError]
187
- ReplicaNotFoundException: Type[BotocoreClientError]
188
- ReplicatedWriteConflictException: Type[BotocoreClientError]
189
- RequestLimitExceeded: Type[BotocoreClientError]
190
- ResourceInUseException: Type[BotocoreClientError]
191
- ResourceNotFoundException: Type[BotocoreClientError]
192
- TableAlreadyExistsException: Type[BotocoreClientError]
193
- TableInUseException: Type[BotocoreClientError]
194
- TableNotFoundException: Type[BotocoreClientError]
195
- ThrottlingException: Type[BotocoreClientError]
196
- TransactionCanceledException: Type[BotocoreClientError]
197
- TransactionConflictException: Type[BotocoreClientError]
198
- TransactionInProgressException: Type[BotocoreClientError]
160
+ BackupInUseException: type[BotocoreClientError]
161
+ BackupNotFoundException: type[BotocoreClientError]
162
+ ClientError: type[BotocoreClientError]
163
+ ConditionalCheckFailedException: type[BotocoreClientError]
164
+ ContinuousBackupsUnavailableException: type[BotocoreClientError]
165
+ DuplicateItemException: type[BotocoreClientError]
166
+ ExportConflictException: type[BotocoreClientError]
167
+ ExportNotFoundException: type[BotocoreClientError]
168
+ GlobalTableAlreadyExistsException: type[BotocoreClientError]
169
+ GlobalTableNotFoundException: type[BotocoreClientError]
170
+ IdempotentParameterMismatchException: type[BotocoreClientError]
171
+ ImportConflictException: type[BotocoreClientError]
172
+ ImportNotFoundException: type[BotocoreClientError]
173
+ IndexNotFoundException: type[BotocoreClientError]
174
+ InternalServerError: type[BotocoreClientError]
175
+ InvalidExportTimeException: type[BotocoreClientError]
176
+ InvalidRestoreTimeException: type[BotocoreClientError]
177
+ ItemCollectionSizeLimitExceededException: type[BotocoreClientError]
178
+ LimitExceededException: type[BotocoreClientError]
179
+ PointInTimeRecoveryUnavailableException: type[BotocoreClientError]
180
+ PolicyNotFoundException: type[BotocoreClientError]
181
+ ProvisionedThroughputExceededException: type[BotocoreClientError]
182
+ ReplicaAlreadyExistsException: type[BotocoreClientError]
183
+ ReplicaNotFoundException: type[BotocoreClientError]
184
+ ReplicatedWriteConflictException: type[BotocoreClientError]
185
+ RequestLimitExceeded: type[BotocoreClientError]
186
+ ResourceInUseException: type[BotocoreClientError]
187
+ ResourceNotFoundException: type[BotocoreClientError]
188
+ TableAlreadyExistsException: type[BotocoreClientError]
189
+ TableInUseException: type[BotocoreClientError]
190
+ TableNotFoundException: type[BotocoreClientError]
191
+ ThrottlingException: type[BotocoreClientError]
192
+ TransactionCanceledException: type[BotocoreClientError]
193
+ TransactionConflictException: type[BotocoreClientError]
194
+ TransactionInProgressException: type[BotocoreClientError]
199
195
 
200
196
 
201
197
  class DynamoDBClient(BaseClient):
@@ -19,6 +19,7 @@ Usage::
19
19
  from __future__ import annotations
20
20
 
21
21
  import sys
22
+ from collections.abc import Mapping
22
23
  from typing import Any, overload
23
24
 
24
25
  from botocore.client import BaseClient, ClientMeta
@@ -146,11 +147,6 @@ from .type_defs import (
146
147
  )
147
148
  from .waiter import TableExistsWaiter, TableNotExistsWaiter
148
149
 
149
- if sys.version_info >= (3, 9):
150
- from builtins import type as Type
151
- from collections.abc import Mapping
152
- else:
153
- from typing import Mapping, Type
154
150
  if sys.version_info >= (3, 12):
155
151
  from typing import Literal, Unpack
156
152
  else:
@@ -159,41 +155,41 @@ else:
159
155
  __all__ = ("DynamoDBClient",)
160
156
 
161
157
  class Exceptions(BaseClientExceptions):
162
- BackupInUseException: Type[BotocoreClientError]
163
- BackupNotFoundException: Type[BotocoreClientError]
164
- ClientError: Type[BotocoreClientError]
165
- ConditionalCheckFailedException: Type[BotocoreClientError]
166
- ContinuousBackupsUnavailableException: Type[BotocoreClientError]
167
- DuplicateItemException: Type[BotocoreClientError]
168
- ExportConflictException: Type[BotocoreClientError]
169
- ExportNotFoundException: Type[BotocoreClientError]
170
- GlobalTableAlreadyExistsException: Type[BotocoreClientError]
171
- GlobalTableNotFoundException: Type[BotocoreClientError]
172
- IdempotentParameterMismatchException: Type[BotocoreClientError]
173
- ImportConflictException: Type[BotocoreClientError]
174
- ImportNotFoundException: Type[BotocoreClientError]
175
- IndexNotFoundException: Type[BotocoreClientError]
176
- InternalServerError: Type[BotocoreClientError]
177
- InvalidExportTimeException: Type[BotocoreClientError]
178
- InvalidRestoreTimeException: Type[BotocoreClientError]
179
- ItemCollectionSizeLimitExceededException: Type[BotocoreClientError]
180
- LimitExceededException: Type[BotocoreClientError]
181
- PointInTimeRecoveryUnavailableException: Type[BotocoreClientError]
182
- PolicyNotFoundException: Type[BotocoreClientError]
183
- ProvisionedThroughputExceededException: Type[BotocoreClientError]
184
- ReplicaAlreadyExistsException: Type[BotocoreClientError]
185
- ReplicaNotFoundException: Type[BotocoreClientError]
186
- ReplicatedWriteConflictException: Type[BotocoreClientError]
187
- RequestLimitExceeded: Type[BotocoreClientError]
188
- ResourceInUseException: Type[BotocoreClientError]
189
- ResourceNotFoundException: Type[BotocoreClientError]
190
- TableAlreadyExistsException: Type[BotocoreClientError]
191
- TableInUseException: Type[BotocoreClientError]
192
- TableNotFoundException: Type[BotocoreClientError]
193
- ThrottlingException: Type[BotocoreClientError]
194
- TransactionCanceledException: Type[BotocoreClientError]
195
- TransactionConflictException: Type[BotocoreClientError]
196
- TransactionInProgressException: Type[BotocoreClientError]
158
+ BackupInUseException: type[BotocoreClientError]
159
+ BackupNotFoundException: type[BotocoreClientError]
160
+ ClientError: type[BotocoreClientError]
161
+ ConditionalCheckFailedException: type[BotocoreClientError]
162
+ ContinuousBackupsUnavailableException: type[BotocoreClientError]
163
+ DuplicateItemException: type[BotocoreClientError]
164
+ ExportConflictException: type[BotocoreClientError]
165
+ ExportNotFoundException: type[BotocoreClientError]
166
+ GlobalTableAlreadyExistsException: type[BotocoreClientError]
167
+ GlobalTableNotFoundException: type[BotocoreClientError]
168
+ IdempotentParameterMismatchException: type[BotocoreClientError]
169
+ ImportConflictException: type[BotocoreClientError]
170
+ ImportNotFoundException: type[BotocoreClientError]
171
+ IndexNotFoundException: type[BotocoreClientError]
172
+ InternalServerError: type[BotocoreClientError]
173
+ InvalidExportTimeException: type[BotocoreClientError]
174
+ InvalidRestoreTimeException: type[BotocoreClientError]
175
+ ItemCollectionSizeLimitExceededException: type[BotocoreClientError]
176
+ LimitExceededException: type[BotocoreClientError]
177
+ PointInTimeRecoveryUnavailableException: type[BotocoreClientError]
178
+ PolicyNotFoundException: type[BotocoreClientError]
179
+ ProvisionedThroughputExceededException: type[BotocoreClientError]
180
+ ReplicaAlreadyExistsException: type[BotocoreClientError]
181
+ ReplicaNotFoundException: type[BotocoreClientError]
182
+ ReplicatedWriteConflictException: type[BotocoreClientError]
183
+ RequestLimitExceeded: type[BotocoreClientError]
184
+ ResourceInUseException: type[BotocoreClientError]
185
+ ResourceNotFoundException: type[BotocoreClientError]
186
+ TableAlreadyExistsException: type[BotocoreClientError]
187
+ TableInUseException: type[BotocoreClientError]
188
+ TableNotFoundException: type[BotocoreClientError]
189
+ ThrottlingException: type[BotocoreClientError]
190
+ TransactionCanceledException: type[BotocoreClientError]
191
+ TransactionConflictException: type[BotocoreClientError]
192
+ TransactionInProgressException: type[BotocoreClientError]
197
193
 
198
194
  class DynamoDBClient(BaseClient):
199
195
  """
@@ -205,7 +205,6 @@ ServiceName = Literal[
205
205
  "apprunner",
206
206
  "appstream",
207
207
  "appsync",
208
- "apptest",
209
208
  "arc-region-switch",
210
209
  "arc-zonal-shift",
211
210
  "artifact",
@@ -275,6 +274,7 @@ ServiceName = Literal[
275
274
  "comprehend",
276
275
  "comprehendmedical",
277
276
  "compute-optimizer",
277
+ "compute-optimizer-automation",
278
278
  "config",
279
279
  "connect",
280
280
  "connect-contact-lens",
@@ -373,7 +373,6 @@ ServiceName = Literal[
373
373
  "iotdeviceadvisor",
374
374
  "iotevents",
375
375
  "iotevents-data",
376
- "iotfleethub",
377
376
  "iotfleetwise",
378
377
  "iotsecuretunneling",
379
378
  "iotsitewise",
@@ -412,8 +411,6 @@ ServiceName = Literal[
412
411
  "location",
413
412
  "logs",
414
413
  "lookoutequipment",
415
- "lookoutmetrics",
416
- "lookoutvision",
417
414
  "m2",
418
415
  "machinelearning",
419
416
  "macie2",
@@ -448,6 +445,7 @@ ServiceName = Literal[
448
445
  "mq",
449
446
  "mturk",
450
447
  "mwaa",
448
+ "mwaa-serverless",
451
449
  "neptune",
452
450
  "neptune-graph",
453
451
  "neptunedata",
@@ -457,6 +455,7 @@ ServiceName = Literal[
457
455
  "networkmonitor",
458
456
  "notifications",
459
457
  "notificationscontacts",
458
+ "nova-act",
460
459
  "oam",
461
460
  "observabilityadmin",
462
461
  "odb",
@@ -467,6 +466,9 @@ ServiceName = Literal[
467
466
  "osis",
468
467
  "outposts",
469
468
  "panorama",
469
+ "partnercentral-account",
470
+ "partnercentral-benefits",
471
+ "partnercentral-channel",
470
472
  "partnercentral-selling",
471
473
  "payment-cryptography",
472
474
  "payment-cryptography-data",
@@ -488,8 +490,6 @@ ServiceName = Literal[
488
490
  "qapps",
489
491
  "qbusiness",
490
492
  "qconnect",
491
- "qldb",
492
- "qldb-session",
493
493
  "quicksight",
494
494
  "ram",
495
495
  "rbin",
@@ -504,15 +504,16 @@ ServiceName = Literal[
504
504
  "resource-explorer-2",
505
505
  "resource-groups",
506
506
  "resourcegroupstaggingapi",
507
- "robomaker",
508
507
  "rolesanywhere",
509
508
  "route53",
510
509
  "route53-recovery-cluster",
511
510
  "route53-recovery-control-config",
512
511
  "route53-recovery-readiness",
513
512
  "route53domains",
513
+ "route53globalresolver",
514
514
  "route53profiles",
515
515
  "route53resolver",
516
+ "rtbfabric",
516
517
  "rum",
517
518
  "s3",
518
519
  "s3control",
@@ -543,6 +544,7 @@ ServiceName = Literal[
543
544
  "sesv2",
544
545
  "shield",
545
546
  "signer",
547
+ "signin",
546
548
  "simspaceweaver",
547
549
  "snow-device-management",
548
550
  "snowball",
@@ -203,7 +203,6 @@ ServiceName = Literal[
203
203
  "apprunner",
204
204
  "appstream",
205
205
  "appsync",
206
- "apptest",
207
206
  "arc-region-switch",
208
207
  "arc-zonal-shift",
209
208
  "artifact",
@@ -273,6 +272,7 @@ ServiceName = Literal[
273
272
  "comprehend",
274
273
  "comprehendmedical",
275
274
  "compute-optimizer",
275
+ "compute-optimizer-automation",
276
276
  "config",
277
277
  "connect",
278
278
  "connect-contact-lens",
@@ -371,7 +371,6 @@ ServiceName = Literal[
371
371
  "iotdeviceadvisor",
372
372
  "iotevents",
373
373
  "iotevents-data",
374
- "iotfleethub",
375
374
  "iotfleetwise",
376
375
  "iotsecuretunneling",
377
376
  "iotsitewise",
@@ -410,8 +409,6 @@ ServiceName = Literal[
410
409
  "location",
411
410
  "logs",
412
411
  "lookoutequipment",
413
- "lookoutmetrics",
414
- "lookoutvision",
415
412
  "m2",
416
413
  "machinelearning",
417
414
  "macie2",
@@ -446,6 +443,7 @@ ServiceName = Literal[
446
443
  "mq",
447
444
  "mturk",
448
445
  "mwaa",
446
+ "mwaa-serverless",
449
447
  "neptune",
450
448
  "neptune-graph",
451
449
  "neptunedata",
@@ -455,6 +453,7 @@ ServiceName = Literal[
455
453
  "networkmonitor",
456
454
  "notifications",
457
455
  "notificationscontacts",
456
+ "nova-act",
458
457
  "oam",
459
458
  "observabilityadmin",
460
459
  "odb",
@@ -465,6 +464,9 @@ ServiceName = Literal[
465
464
  "osis",
466
465
  "outposts",
467
466
  "panorama",
467
+ "partnercentral-account",
468
+ "partnercentral-benefits",
469
+ "partnercentral-channel",
468
470
  "partnercentral-selling",
469
471
  "payment-cryptography",
470
472
  "payment-cryptography-data",
@@ -486,8 +488,6 @@ ServiceName = Literal[
486
488
  "qapps",
487
489
  "qbusiness",
488
490
  "qconnect",
489
- "qldb",
490
- "qldb-session",
491
491
  "quicksight",
492
492
  "ram",
493
493
  "rbin",
@@ -502,15 +502,16 @@ ServiceName = Literal[
502
502
  "resource-explorer-2",
503
503
  "resource-groups",
504
504
  "resourcegroupstaggingapi",
505
- "robomaker",
506
505
  "rolesanywhere",
507
506
  "route53",
508
507
  "route53-recovery-cluster",
509
508
  "route53-recovery-control-config",
510
509
  "route53-recovery-readiness",
511
510
  "route53domains",
511
+ "route53globalresolver",
512
512
  "route53profiles",
513
513
  "route53resolver",
514
+ "rtbfabric",
514
515
  "rum",
515
516
  "s3",
516
517
  "s3control",
@@ -541,6 +542,7 @@ ServiceName = Literal[
541
542
  "sesv2",
542
543
  "shield",
543
544
  "signer",
545
+ "signin",
544
546
  "simspaceweaver",
545
547
  "snow-device-management",
546
548
  "snowball",
@@ -23,6 +23,7 @@ Usage::
23
23
  from __future__ import annotations
24
24
 
25
25
  import sys
26
+ from collections.abc import Iterator, Sequence
26
27
  from datetime import datetime
27
28
 
28
29
  from boto3.dynamodb.table import BatchWriter
@@ -68,11 +69,6 @@ from .type_defs import (
68
69
  UpdateTableInputTableUpdateTypeDef,
69
70
  )
70
71
 
71
- if sys.version_info >= (3, 9):
72
- from builtins import list as List
73
- from collections.abc import Iterator, Sequence
74
- else:
75
- from typing import Iterator, List, Sequence
76
72
  if sys.version_info >= (3, 12):
77
73
  from typing import Unpack
78
74
  else:
@@ -125,7 +121,7 @@ class ServiceResourceTablesCollection(ResourceCollection):
125
121
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
126
122
  """
127
123
 
128
- def pages(self) -> Iterator[List[Table]]:
124
+ def pages(self) -> Iterator[list[Table]]:
129
125
  """
130
126
  A generator which yields pages of Tables.
131
127
 
@@ -149,9 +145,9 @@ class Table(ServiceResource):
149
145
  """
150
146
 
151
147
  name: str
152
- attribute_definitions: List[AttributeDefinitionTypeDef]
148
+ attribute_definitions: list[AttributeDefinitionTypeDef]
153
149
  table_name: str
154
- key_schema: List[KeySchemaElementTypeDef]
150
+ key_schema: list[KeySchemaElementTypeDef]
155
151
  table_status: TableStatusType
156
152
  creation_date_time: datetime
157
153
  provisioned_throughput: ProvisionedThroughputDescriptionTypeDef
@@ -160,14 +156,14 @@ class Table(ServiceResource):
160
156
  table_arn: str
161
157
  table_id: str
162
158
  billing_mode_summary: BillingModeSummaryTypeDef
163
- local_secondary_indexes: List[LocalSecondaryIndexDescriptionTypeDef]
164
- global_secondary_indexes: List[GlobalSecondaryIndexDescriptionTypeDef]
159
+ local_secondary_indexes: list[LocalSecondaryIndexDescriptionTypeDef]
160
+ global_secondary_indexes: list[GlobalSecondaryIndexDescriptionTypeDef]
165
161
  stream_specification: StreamSpecificationTypeDef
166
162
  latest_stream_label: str
167
163
  latest_stream_arn: str
168
164
  global_table_version: str
169
- replicas: List[ReplicaDescriptionTypeDef]
170
- global_table_witnesses: List[GlobalTableWitnessDescriptionTypeDef]
165
+ replicas: list[ReplicaDescriptionTypeDef]
166
+ global_table_witnesses: list[GlobalTableWitnessDescriptionTypeDef]
171
167
  restore_summary: RestoreSummaryTypeDef
172
168
  sse_description: SSEDescriptionTypeDef
173
169
  archival_summary: ArchivalSummaryTypeDef
@@ -279,7 +275,7 @@ class Table(ServiceResource):
279
275
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablewait_until_not_exists-method)
280
276
  """
281
277
 
282
- def batch_writer(self, overwrite_by_pkeys: List[str] = ...) -> BatchWriter:
278
+ def batch_writer(self, overwrite_by_pkeys: list[str] = ...) -> BatchWriter:
283
279
  """
284
280
  Create a batch writer object.
285
281
 
@@ -23,6 +23,7 @@ Usage::
23
23
  from __future__ import annotations
24
24
 
25
25
  import sys
26
+ from collections.abc import Iterator, Sequence
26
27
  from datetime import datetime
27
28
 
28
29
  from boto3.dynamodb.table import BatchWriter
@@ -68,11 +69,6 @@ from .type_defs import (
68
69
  UpdateTableInputTableUpdateTypeDef,
69
70
  )
70
71
 
71
- if sys.version_info >= (3, 9):
72
- from builtins import list as List
73
- from collections.abc import Iterator, Sequence
74
- else:
75
- from typing import Iterator, List, Sequence
76
72
  if sys.version_info >= (3, 12):
77
73
  from typing import Unpack
78
74
  else:
@@ -122,7 +118,7 @@ class ServiceResourceTablesCollection(ResourceCollection):
122
118
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
123
119
  """
124
120
 
125
- def pages(self) -> Iterator[List[Table]]:
121
+ def pages(self) -> Iterator[list[Table]]:
126
122
  """
127
123
  A generator which yields pages of Tables.
128
124
 
@@ -145,9 +141,9 @@ class Table(ServiceResource):
145
141
  """
146
142
 
147
143
  name: str
148
- attribute_definitions: List[AttributeDefinitionTypeDef]
144
+ attribute_definitions: list[AttributeDefinitionTypeDef]
149
145
  table_name: str
150
- key_schema: List[KeySchemaElementTypeDef]
146
+ key_schema: list[KeySchemaElementTypeDef]
151
147
  table_status: TableStatusType
152
148
  creation_date_time: datetime
153
149
  provisioned_throughput: ProvisionedThroughputDescriptionTypeDef
@@ -156,14 +152,14 @@ class Table(ServiceResource):
156
152
  table_arn: str
157
153
  table_id: str
158
154
  billing_mode_summary: BillingModeSummaryTypeDef
159
- local_secondary_indexes: List[LocalSecondaryIndexDescriptionTypeDef]
160
- global_secondary_indexes: List[GlobalSecondaryIndexDescriptionTypeDef]
155
+ local_secondary_indexes: list[LocalSecondaryIndexDescriptionTypeDef]
156
+ global_secondary_indexes: list[GlobalSecondaryIndexDescriptionTypeDef]
161
157
  stream_specification: StreamSpecificationTypeDef
162
158
  latest_stream_label: str
163
159
  latest_stream_arn: str
164
160
  global_table_version: str
165
- replicas: List[ReplicaDescriptionTypeDef]
166
- global_table_witnesses: List[GlobalTableWitnessDescriptionTypeDef]
161
+ replicas: list[ReplicaDescriptionTypeDef]
162
+ global_table_witnesses: list[GlobalTableWitnessDescriptionTypeDef]
167
163
  restore_summary: RestoreSummaryTypeDef
168
164
  sse_description: SSEDescriptionTypeDef
169
165
  archival_summary: ArchivalSummaryTypeDef
@@ -275,7 +271,7 @@ class Table(ServiceResource):
275
271
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablewait_until_not_exists-method)
276
272
  """
277
273
 
278
- def batch_writer(self, overwrite_by_pkeys: List[str] = ...) -> BatchWriter:
274
+ def batch_writer(self, overwrite_by_pkeys: list[str] = ...) -> BatchWriter:
279
275
  """
280
276
  Create a batch writer object.
281
277