mypy-boto3-dynamodb 1.34.57__py3-none-any.whl → 1.34.91__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.
@@ -47,15 +47,15 @@ from .type_defs import (
47
47
  ConditionBaseImportTypeDef,
48
48
  ConditionTableTypeDef,
49
49
  DeleteItemOutputTableTypeDef,
50
- DeleteTableOutputTableTypeDef,
50
+ DeleteTableOutputTypeDef,
51
51
  ExpectedAttributeValueTableTypeDef,
52
52
  GetItemOutputTableTypeDef,
53
- GlobalSecondaryIndexDescriptionTableTypeDef,
54
- GlobalSecondaryIndexTypeDef,
55
- GlobalSecondaryIndexUpdateTableTypeDef,
56
- KeysAndAttributesServiceResourceTypeDef,
53
+ GlobalSecondaryIndexDescriptionTypeDef,
54
+ GlobalSecondaryIndexUnionTypeDef,
55
+ GlobalSecondaryIndexUpdateTypeDef,
56
+ KeysAndAttributesServiceResourceUnionTypeDef,
57
57
  KeySchemaElementTypeDef,
58
- LocalSecondaryIndexDescriptionTableTypeDef,
58
+ LocalSecondaryIndexDescriptionTypeDef,
59
59
  LocalSecondaryIndexTypeDef,
60
60
  ProvisionedThroughputDescriptionResponseTypeDef,
61
61
  ProvisionedThroughputTypeDef,
@@ -73,7 +73,7 @@ from .type_defs import (
73
73
  TableClassSummaryResponseTypeDef,
74
74
  TagTypeDef,
75
75
  UpdateItemOutputTableTypeDef,
76
- WriteRequestServiceResourceTypeDef,
76
+ WriteRequestServiceResourceUnionTypeDef,
77
77
  )
78
78
 
79
79
  __all__ = ("DynamoDBServiceResource", "Table", "ServiceResourceTablesCollection")
@@ -151,8 +151,8 @@ class Table(ServiceResource):
151
151
  table_arn: str
152
152
  table_id: str
153
153
  billing_mode_summary: BillingModeSummaryResponseTypeDef
154
- local_secondary_indexes: List[LocalSecondaryIndexDescriptionTableTypeDef]
155
- global_secondary_indexes: List[GlobalSecondaryIndexDescriptionTableTypeDef]
154
+ local_secondary_indexes: List[LocalSecondaryIndexDescriptionTypeDef]
155
+ global_secondary_indexes: List[GlobalSecondaryIndexDescriptionTypeDef]
156
156
  stream_specification: StreamSpecificationResponseTypeDef
157
157
  latest_stream_label: str
158
158
  latest_stream_arn: str
@@ -174,7 +174,7 @@ class Table(ServiceResource):
174
174
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablebatch_writer-method)
175
175
  """
176
176
 
177
- def delete(self) -> DeleteTableOutputTableTypeDef:
177
+ def delete(self) -> DeleteTableOutputTypeDef:
178
178
  """
179
179
  The `DeleteTable` operation deletes a table and all of its items.
180
180
 
@@ -334,7 +334,7 @@ class Table(ServiceResource):
334
334
  AttributeDefinitions: Sequence[AttributeDefinitionTypeDef] = ...,
335
335
  BillingMode: BillingModeType = ...,
336
336
  ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
337
- GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexUpdateTableTypeDef] = ...,
337
+ GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexUpdateTypeDef] = ...,
338
338
  StreamSpecification: StreamSpecificationTypeDef = ...,
339
339
  SSESpecification: SSESpecificationTypeDef = ...,
340
340
  ReplicaUpdates: Sequence[ReplicationGroupUpdateTypeDef] = ...,
@@ -416,7 +416,7 @@ class DynamoDBServiceResource(ServiceResource):
416
416
  def batch_get_item(
417
417
  self,
418
418
  *,
419
- RequestItems: Mapping[str, KeysAndAttributesServiceResourceTypeDef],
419
+ RequestItems: Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef],
420
420
  ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
421
421
  ) -> BatchGetItemOutputServiceResourceTypeDef:
422
422
  """
@@ -431,7 +431,7 @@ class DynamoDBServiceResource(ServiceResource):
431
431
  def batch_write_item(
432
432
  self,
433
433
  *,
434
- RequestItems: Mapping[str, Sequence[WriteRequestServiceResourceTypeDef]],
434
+ RequestItems: Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]],
435
435
  ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
436
436
  ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
437
437
  ) -> BatchWriteItemOutputServiceResourceTypeDef:
@@ -450,7 +450,7 @@ class DynamoDBServiceResource(ServiceResource):
450
450
  TableName: str,
451
451
  KeySchema: Sequence[KeySchemaElementTypeDef],
452
452
  LocalSecondaryIndexes: Sequence[LocalSecondaryIndexTypeDef] = ...,
453
- GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexTypeDef] = ...,
453
+ GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
454
454
  BillingMode: BillingModeType = ...,
455
455
  ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
456
456
  StreamSpecification: StreamSpecificationTypeDef = ...,
@@ -458,6 +458,7 @@ class DynamoDBServiceResource(ServiceResource):
458
458
  Tags: Sequence[TagTypeDef] = ...,
459
459
  TableClass: TableClassType = ...,
460
460
  DeletionProtectionEnabled: bool = ...,
461
+ ResourcePolicy: str = ...,
461
462
  ) -> "_Table":
462
463
  """
463
464
  The `CreateTable` operation adds a new table to your account.