mypy-boto3-dynamodb 1.35.54__py3-none-any.whl → 1.35.74__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.
@@ -16,6 +16,8 @@ Usage::
16
16
 
17
17
  my_table: dynamodb_resources.Table = resource.Table(...)
18
18
  ```
19
+
20
+ Copyright 2024 Vlad Emelianov
19
21
  """
20
22
 
21
23
  import sys
@@ -27,7 +29,7 @@ from boto3.resources.base import ResourceMeta, ServiceResource
27
29
  from boto3.resources.collection import ResourceCollection
28
30
 
29
31
  from .client import DynamoDBClient
30
- from .literals import TableStatusType
32
+ from .literals import MultiRegionConsistencyType, TableStatusType
31
33
  from .type_defs import (
32
34
  ArchivalSummaryTypeDef,
33
35
  AttributeDefinitionTypeDef,
@@ -58,6 +60,7 @@ from .type_defs import (
58
60
  SSEDescriptionTypeDef,
59
61
  StreamSpecificationTypeDef,
60
62
  TableClassSummaryTypeDef,
63
+ TableWarmThroughputDescriptionTypeDef,
61
64
  UpdateItemInputTableUpdateItemTypeDef,
62
65
  UpdateItemOutputTableTypeDef,
63
66
  UpdateTableInputTableUpdateTypeDef,
@@ -74,15 +77,16 @@ __all__ = ("DynamoDBServiceResource", "ServiceResourceTablesCollection", "Table"
74
77
 
75
78
  class ServiceResourceTablesCollection(ResourceCollection):
76
79
  """
77
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.tables)
80
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/tables.html#DynamoDB.ServiceResource.tables)
78
81
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
79
82
  """
80
83
 
81
84
  def all(self) -> "ServiceResourceTablesCollection":
82
85
  """
83
- Get all items from the collection, optionally with a custom page size and item count limit.
86
+ Get all items from the collection, optionally with a custom page size and item
87
+ count limit.
84
88
 
85
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.tables)
89
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/tables.html#DynamoDB.ServiceResource.all)
86
90
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
87
91
  """
88
92
 
@@ -90,9 +94,11 @@ class ServiceResourceTablesCollection(ResourceCollection):
90
94
  self, *, ExclusiveStartTableName: str = ..., Limit: int = ...
91
95
  ) -> "ServiceResourceTablesCollection":
92
96
  """
93
- Get items from the collection, passing keyword arguments along as parameters to the underlying service operation, which are typically used to filter the results.
97
+ Get items from the collection, passing keyword arguments along as parameters to
98
+ the underlying service operation, which are typically used to filter the
99
+ results.
94
100
 
95
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.tables)
101
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/tables.html#filter)
96
102
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
97
103
  """
98
104
 
@@ -100,7 +106,7 @@ class ServiceResourceTablesCollection(ResourceCollection):
100
106
  """
101
107
  Return at most this many Tables.
102
108
 
103
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.tables)
109
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/tables.html#limit)
104
110
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
105
111
  """
106
112
 
@@ -108,7 +114,7 @@ class ServiceResourceTablesCollection(ResourceCollection):
108
114
  """
109
115
  Fetch at most this many Tables per service request.
110
116
 
111
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.tables)
117
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/tables.html#page_size)
112
118
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
113
119
  """
114
120
 
@@ -116,7 +122,7 @@ class ServiceResourceTablesCollection(ResourceCollection):
116
122
  """
117
123
  A generator which yields pages of Tables.
118
124
 
119
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.tables)
125
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/tables.html#pages)
120
126
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
121
127
  """
122
128
 
@@ -124,17 +130,18 @@ class ServiceResourceTablesCollection(ResourceCollection):
124
130
  """
125
131
  A generator which yields Tables.
126
132
 
127
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.tables)
133
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/tables.html#__iter__)
128
134
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
129
135
  """
130
136
 
131
137
 
132
138
  class Table(ServiceResource):
133
139
  """
134
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.Table)
140
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/index.html#DynamoDB.Table)
135
141
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#table)
136
142
  """
137
143
 
144
+ name: str
138
145
  attribute_definitions: List[AttributeDefinitionTypeDef]
139
146
  table_name: str
140
147
  key_schema: List[KeySchemaElementTypeDef]
@@ -159,22 +166,23 @@ class Table(ServiceResource):
159
166
  table_class_summary: TableClassSummaryTypeDef
160
167
  deletion_protection_enabled: bool
161
168
  on_demand_throughput: OnDemandThroughputTypeDef
162
- name: str
169
+ warm_throughput: TableWarmThroughputDescriptionTypeDef
170
+ multi_region_consistency: MultiRegionConsistencyType
163
171
  meta: "DynamoDBResourceMeta" # type: ignore
164
172
 
165
- def batch_writer(self, overwrite_by_pkeys: List[str] = ...) -> BatchWriter:
173
+ def get_available_subresources(self) -> Sequence[str]:
166
174
  """
167
- Create a batch writer object.
175
+ Returns a list of all the available sub-resources for this Table.
168
176
 
169
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.batch_writer)
170
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablebatch_writer-method)
177
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/get_available_subresources.html)
178
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tableget_available_subresources-method)
171
179
  """
172
180
 
173
181
  def delete(self) -> DeleteTableOutputTypeDef:
174
182
  """
175
- The `DeleteTable` operation deletes a table and all of its items.
183
+ The <code>DeleteTable</code> operation deletes a table and all of its items.
176
184
 
177
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.delete)
185
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/delete.html)
178
186
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tabledelete-method)
179
187
  """
180
188
 
@@ -184,87 +192,55 @@ class Table(ServiceResource):
184
192
  """
185
193
  Deletes a single item in a table by primary key.
186
194
 
187
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.delete_item)
195
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/delete_item.html)
188
196
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tabledelete_item-method)
189
197
  """
190
198
 
191
- def get_available_subresources(self) -> Sequence[str]:
192
- """
193
- Returns a list of all the available sub-resources for this Resource.
194
-
195
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.get_available_subresources)
196
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tableget_available_subresources-method)
197
- """
198
-
199
199
  def get_item(
200
200
  self, **kwargs: Unpack[GetItemInputTableGetItemTypeDef]
201
201
  ) -> GetItemOutputTableTypeDef:
202
202
  """
203
- The `GetItem` operation returns a set of attributes for the item with the given
204
- primary
205
- key.
203
+ The <code>GetItem</code> operation returns a set of attributes for the item
204
+ with the given primary key.
206
205
 
207
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.get_item)
206
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/get_item.html)
208
207
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tableget_item-method)
209
208
  """
210
209
 
211
- def load(self) -> None:
212
- """
213
- Calls :py:meth:`DynamoDB.Client.describe_table` to update the attributes of the
214
- Table
215
- resource.
216
-
217
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.load)
218
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tableload-method)
219
- """
220
-
221
210
  def put_item(
222
211
  self, **kwargs: Unpack[PutItemInputTablePutItemTypeDef]
223
212
  ) -> PutItemOutputTableTypeDef:
224
213
  """
225
214
  Creates a new item, or replaces an old item with a new item.
226
215
 
227
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.put_item)
216
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/put_item.html)
228
217
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tableput_item-method)
229
218
  """
230
219
 
231
220
  def query(self, **kwargs: Unpack[QueryInputTableQueryTypeDef]) -> QueryOutputTableTypeDef:
232
221
  """
233
222
  You must provide the name of the partition key attribute and a single value for
234
- that
235
- attribute.
223
+ that attribute.
236
224
 
237
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.query)
225
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/query.html)
238
226
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablequery-method)
239
227
  """
240
228
 
241
- def reload(self) -> None:
242
- """
243
- Calls :py:meth:`DynamoDB.Client.describe_table` to update the attributes of the
244
- Table
245
- resource.
246
-
247
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.reload)
248
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablereload-method)
249
- """
250
-
251
229
  def scan(self, **kwargs: Unpack[ScanInputTableScanTypeDef]) -> ScanOutputTableTypeDef:
252
230
  """
253
- The `Scan` operation returns one or more items and item attributes by accessing
254
- every item in a table or a secondary
255
- index.
231
+ The <code>Scan</code> operation returns one or more items and item attributes
232
+ by accessing every item in a table or a secondary index.
256
233
 
257
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.scan)
234
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/scan.html)
258
235
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablescan-method)
259
236
  """
260
237
 
261
238
  def update(self, **kwargs: Unpack[UpdateTableInputTableUpdateTypeDef]) -> "_Table":
262
239
  """
263
240
  Modifies the provisioned throughput settings, global secondary indexes, or
264
- DynamoDB Streams settings for a given
265
- table.
241
+ DynamoDB Streams settings for a given table.
266
242
 
267
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.update)
243
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/update.html)
268
244
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tableupdate-method)
269
245
  """
270
246
 
@@ -273,29 +249,48 @@ class Table(ServiceResource):
273
249
  ) -> UpdateItemOutputTableTypeDef:
274
250
  """
275
251
  Edits an existing item's attributes, or adds a new item to the table if it does
276
- not already
277
- exist.
252
+ not already exist.
278
253
 
279
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.update_item)
254
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/update_item.html)
280
255
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tableupdate_item-method)
281
256
  """
282
257
 
283
258
  def wait_until_exists(self) -> None:
284
259
  """
285
- Waits until this Table is exists.
260
+ Waits until Table is exists.
286
261
 
287
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.wait_until_exists)
262
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/wait_until_exists.html)
288
263
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablewait_until_exists-method)
289
264
  """
290
265
 
291
266
  def wait_until_not_exists(self) -> None:
292
267
  """
293
- Waits until this Table is not exists.
268
+ Waits until Table is not_exists.
294
269
 
295
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Table.wait_until_not_exists)
270
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/wait_until_not_exists.html)
296
271
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablewait_until_not_exists-method)
297
272
  """
298
273
 
274
+ def batch_writer(self, overwrite_by_pkeys: List[str] = ...) -> BatchWriter:
275
+ """
276
+ Create a batch writer object.
277
+
278
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/batch_writer.html)
279
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablebatch_writer-method)
280
+ """
281
+
282
+ def load(self) -> None:
283
+ """
284
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/load.html)
285
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tableload-method)
286
+ """
287
+
288
+ def reload(self) -> None:
289
+ """
290
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/reload.html)
291
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablereload-method)
292
+ """
293
+
299
294
 
300
295
  _Table = Table
301
296
 
@@ -306,30 +301,29 @@ class DynamoDBResourceMeta(ResourceMeta):
306
301
 
307
302
  class DynamoDBServiceResource(ServiceResource):
308
303
  """
309
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource)
304
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/index.html)
310
305
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/)
311
306
  """
312
307
 
313
308
  meta: "DynamoDBResourceMeta" # type: ignore
314
309
  tables: ServiceResourceTablesCollection
315
310
 
316
- def Table(self, name: str) -> "_Table":
311
+ def get_available_subresources(self) -> Sequence[str]:
317
312
  """
318
- Creates a Table resource.
313
+ Returns a list of all the available sub-resources for this resource.
319
314
 
320
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.Table)
321
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#dynamodbserviceresourcetable-method)
315
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/get_available_subresources.html)
316
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#dynamodbserviceresourceget_available_subresources-method)
322
317
  """
323
318
 
324
319
  def batch_get_item(
325
320
  self, **kwargs: Unpack[BatchGetItemInputServiceResourceBatchGetItemTypeDef]
326
321
  ) -> BatchGetItemOutputServiceResourceTypeDef:
327
322
  """
328
- The `BatchGetItem` operation returns the attributes of one or more items from
329
- one or more
330
- tables.
323
+ The <code>BatchGetItem</code> operation returns the attributes of one or more
324
+ items from one or more tables.
331
325
 
332
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.batch_get_item)
326
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/batch_get_item.html)
333
327
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#dynamodbserviceresourcebatch_get_item-method)
334
328
  """
335
329
 
@@ -337,10 +331,10 @@ class DynamoDBServiceResource(ServiceResource):
337
331
  self, **kwargs: Unpack[BatchWriteItemInputServiceResourceBatchWriteItemTypeDef]
338
332
  ) -> BatchWriteItemOutputServiceResourceTypeDef:
339
333
  """
340
- The `BatchWriteItem` operation puts or deletes multiple items in one or more
341
- tables.
334
+ The <code>BatchWriteItem</code> operation puts or deletes multiple items in one
335
+ or more tables.
342
336
 
343
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.batch_write_item)
337
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/batch_write_item.html)
344
338
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#dynamodbserviceresourcebatch_write_item-method)
345
339
  """
346
340
 
@@ -348,16 +342,16 @@ class DynamoDBServiceResource(ServiceResource):
348
342
  self, **kwargs: Unpack[CreateTableInputServiceResourceCreateTableTypeDef]
349
343
  ) -> "_Table":
350
344
  """
351
- The `CreateTable` operation adds a new table to your account.
345
+ The <code>CreateTable</code> operation adds a new table to your account.
352
346
 
353
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.create_table)
347
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/create_table.html)
354
348
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#dynamodbserviceresourcecreate_table-method)
355
349
  """
356
350
 
357
- def get_available_subresources(self) -> Sequence[str]:
351
+ def Table(self, name: str) -> "_Table":
358
352
  """
359
- Returns a list of all the available sub-resources for this Resource.
353
+ Creates a Table resource.
360
354
 
361
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.ServiceResource.get_available_subresources)
362
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#dynamodbserviceresourceget_available_subresources-method)
355
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/service-resource/Table.html)
356
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#dynamodbserviceresourcetable-method)
363
357
  """