mypy-boto3-dynamodb 1.35.0__py3-none-any.whl → 1.35.15__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.
@@ -15,27 +15,10 @@ Usage::
15
15
  """
16
16
 
17
17
  import sys
18
- from typing import Any, Dict, Mapping, Sequence, Type, overload
18
+ from typing import Any, Dict, Mapping, Type, overload
19
19
 
20
20
  from botocore.client import BaseClient, ClientMeta
21
21
 
22
- from .literals import (
23
- BackupTypeFilterType,
24
- BillingModeType,
25
- ConditionalOperatorType,
26
- ContributorInsightsActionType,
27
- ExportFormatType,
28
- ExportTypeType,
29
- InputCompressionTypeType,
30
- InputFormatType,
31
- ReturnConsumedCapacityType,
32
- ReturnItemCollectionMetricsType,
33
- ReturnValuesOnConditionCheckFailureType,
34
- ReturnValueType,
35
- S3SseAlgorithmType,
36
- SelectType,
37
- TableClassType,
38
- )
39
22
  from .paginator import (
40
23
  ListBackupsPaginator,
41
24
  ListTablesPaginator,
@@ -44,98 +27,115 @@ from .paginator import (
44
27
  ScanPaginator,
45
28
  )
46
29
  from .type_defs import (
47
- AttributeDefinitionTypeDef,
48
- AttributeValueUpdateTypeDef,
49
- AutoScalingSettingsUpdateTypeDef,
30
+ BatchExecuteStatementInputRequestTypeDef,
50
31
  BatchExecuteStatementOutputTypeDef,
32
+ BatchGetItemInputRequestTypeDef,
51
33
  BatchGetItemOutputTypeDef,
52
- BatchStatementRequestTypeDef,
34
+ BatchWriteItemInputRequestTypeDef,
53
35
  BatchWriteItemOutputTypeDef,
54
- ConditionTypeDef,
36
+ CreateBackupInputRequestTypeDef,
55
37
  CreateBackupOutputTypeDef,
38
+ CreateGlobalTableInputRequestTypeDef,
56
39
  CreateGlobalTableOutputTypeDef,
40
+ CreateTableInputRequestTypeDef,
57
41
  CreateTableOutputTypeDef,
42
+ DeleteBackupInputRequestTypeDef,
58
43
  DeleteBackupOutputTypeDef,
44
+ DeleteItemInputRequestTypeDef,
59
45
  DeleteItemOutputTypeDef,
46
+ DeleteResourcePolicyInputRequestTypeDef,
60
47
  DeleteResourcePolicyOutputTypeDef,
48
+ DeleteTableInputRequestTypeDef,
61
49
  DeleteTableOutputTypeDef,
50
+ DescribeBackupInputRequestTypeDef,
62
51
  DescribeBackupOutputTypeDef,
52
+ DescribeContinuousBackupsInputRequestTypeDef,
63
53
  DescribeContinuousBackupsOutputTypeDef,
54
+ DescribeContributorInsightsInputRequestTypeDef,
64
55
  DescribeContributorInsightsOutputTypeDef,
65
56
  DescribeEndpointsResponseTypeDef,
57
+ DescribeExportInputRequestTypeDef,
66
58
  DescribeExportOutputTypeDef,
59
+ DescribeGlobalTableInputRequestTypeDef,
67
60
  DescribeGlobalTableOutputTypeDef,
61
+ DescribeGlobalTableSettingsInputRequestTypeDef,
68
62
  DescribeGlobalTableSettingsOutputTypeDef,
63
+ DescribeImportInputRequestTypeDef,
69
64
  DescribeImportOutputTypeDef,
65
+ DescribeKinesisStreamingDestinationInputRequestTypeDef,
70
66
  DescribeKinesisStreamingDestinationOutputTypeDef,
71
67
  DescribeLimitsOutputTypeDef,
68
+ DescribeTableInputRequestTypeDef,
72
69
  DescribeTableOutputTypeDef,
70
+ DescribeTableReplicaAutoScalingInputRequestTypeDef,
73
71
  DescribeTableReplicaAutoScalingOutputTypeDef,
72
+ DescribeTimeToLiveInputRequestTypeDef,
74
73
  DescribeTimeToLiveOutputTypeDef,
75
74
  EmptyResponseMetadataTypeDef,
76
- EnableKinesisStreamingConfigurationTypeDef,
75
+ ExecuteStatementInputRequestTypeDef,
77
76
  ExecuteStatementOutputTypeDef,
77
+ ExecuteTransactionInputRequestTypeDef,
78
78
  ExecuteTransactionOutputTypeDef,
79
- ExpectedAttributeValueTypeDef,
79
+ ExportTableToPointInTimeInputRequestTypeDef,
80
80
  ExportTableToPointInTimeOutputTypeDef,
81
+ GetItemInputRequestTypeDef,
81
82
  GetItemOutputTypeDef,
83
+ GetResourcePolicyInputRequestTypeDef,
82
84
  GetResourcePolicyOutputTypeDef,
83
- GlobalSecondaryIndexAutoScalingUpdateTypeDef,
84
- GlobalSecondaryIndexUnionTypeDef,
85
- GlobalSecondaryIndexUpdateTypeDef,
86
- GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef,
85
+ ImportTableInputRequestTypeDef,
87
86
  ImportTableOutputTypeDef,
88
- IncrementalExportSpecificationUnionTypeDef,
89
- InputFormatOptionsUnionTypeDef,
90
- KeysAndAttributesUnionTypeDef,
91
- KeySchemaElementTypeDef,
87
+ KinesisStreamingDestinationInputRequestTypeDef,
92
88
  KinesisStreamingDestinationOutputTypeDef,
89
+ ListBackupsInputRequestTypeDef,
93
90
  ListBackupsOutputTypeDef,
91
+ ListContributorInsightsInputRequestTypeDef,
94
92
  ListContributorInsightsOutputTypeDef,
93
+ ListExportsInputRequestTypeDef,
95
94
  ListExportsOutputTypeDef,
95
+ ListGlobalTablesInputRequestTypeDef,
96
96
  ListGlobalTablesOutputTypeDef,
97
+ ListImportsInputRequestTypeDef,
97
98
  ListImportsOutputTypeDef,
99
+ ListTablesInputRequestTypeDef,
98
100
  ListTablesOutputTypeDef,
101
+ ListTagsOfResourceInputRequestTypeDef,
99
102
  ListTagsOfResourceOutputTypeDef,
100
- LocalSecondaryIndexTypeDef,
101
- OnDemandThroughputTypeDef,
102
- ParameterizedStatementTypeDef,
103
- PointInTimeRecoverySpecificationTypeDef,
104
- ProvisionedThroughputTypeDef,
103
+ PutItemInputRequestTypeDef,
105
104
  PutItemOutputTypeDef,
105
+ PutResourcePolicyInputRequestTypeDef,
106
106
  PutResourcePolicyOutputTypeDef,
107
+ QueryInputRequestTypeDef,
107
108
  QueryOutputTypeDef,
108
- ReplicaAutoScalingUpdateTypeDef,
109
- ReplicaSettingsUpdateTypeDef,
110
- ReplicationGroupUpdateTypeDef,
111
- ReplicaTypeDef,
112
- ReplicaUpdateTypeDef,
109
+ RestoreTableFromBackupInputRequestTypeDef,
113
110
  RestoreTableFromBackupOutputTypeDef,
111
+ RestoreTableToPointInTimeInputRequestTypeDef,
114
112
  RestoreTableToPointInTimeOutputTypeDef,
115
- S3BucketSourceTypeDef,
113
+ ScanInputRequestTypeDef,
116
114
  ScanOutputTypeDef,
117
- SSESpecificationTypeDef,
118
- StreamSpecificationTypeDef,
119
- TableCreationParametersUnionTypeDef,
120
- TagTypeDef,
121
- TimestampTypeDef,
122
- TimeToLiveSpecificationTypeDef,
115
+ TagResourceInputRequestTypeDef,
116
+ TransactGetItemsInputRequestTypeDef,
123
117
  TransactGetItemsOutputTypeDef,
124
- TransactGetItemTypeDef,
118
+ TransactWriteItemsInputRequestTypeDef,
125
119
  TransactWriteItemsOutputTypeDef,
126
- TransactWriteItemTypeDef,
127
- UniversalAttributeValueTypeDef,
120
+ UntagResourceInputRequestTypeDef,
121
+ UpdateContinuousBackupsInputRequestTypeDef,
128
122
  UpdateContinuousBackupsOutputTypeDef,
123
+ UpdateContributorInsightsInputRequestTypeDef,
129
124
  UpdateContributorInsightsOutputTypeDef,
125
+ UpdateGlobalTableInputRequestTypeDef,
130
126
  UpdateGlobalTableOutputTypeDef,
127
+ UpdateGlobalTableSettingsInputRequestTypeDef,
131
128
  UpdateGlobalTableSettingsOutputTypeDef,
129
+ UpdateItemInputRequestTypeDef,
132
130
  UpdateItemOutputTypeDef,
133
- UpdateKinesisStreamingConfigurationTypeDef,
131
+ UpdateKinesisStreamingDestinationInputRequestTypeDef,
134
132
  UpdateKinesisStreamingDestinationOutputTypeDef,
133
+ UpdateTableInputRequestTypeDef,
135
134
  UpdateTableOutputTypeDef,
135
+ UpdateTableReplicaAutoScalingInputRequestTypeDef,
136
136
  UpdateTableReplicaAutoScalingOutputTypeDef,
137
+ UpdateTimeToLiveInputRequestTypeDef,
137
138
  UpdateTimeToLiveOutputTypeDef,
138
- WriteRequestUnionTypeDef,
139
139
  )
140
140
  from .waiter import TableExistsWaiter, TableNotExistsWaiter
141
141
 
@@ -143,6 +143,10 @@ if sys.version_info >= (3, 12):
143
143
  from typing import Literal
144
144
  else:
145
145
  from typing_extensions import Literal
146
+ if sys.version_info >= (3, 12):
147
+ from typing import Unpack
148
+ else:
149
+ from typing_extensions import Unpack
146
150
 
147
151
  __all__ = ("DynamoDBClient",)
148
152
 
@@ -206,10 +210,7 @@ class DynamoDBClient(BaseClient):
206
210
  """
207
211
 
208
212
  def batch_execute_statement(
209
- self,
210
- *,
211
- Statements: Sequence[BatchStatementRequestTypeDef],
212
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
213
+ self, **kwargs: Unpack[BatchExecuteStatementInputRequestTypeDef]
213
214
  ) -> BatchExecuteStatementOutputTypeDef:
214
215
  """
215
216
  This operation allows you to perform batch reads or writes on data stored in
@@ -221,10 +222,7 @@ class DynamoDBClient(BaseClient):
221
222
  """
222
223
 
223
224
  def batch_get_item(
224
- self,
225
- *,
226
- RequestItems: Mapping[str, KeysAndAttributesUnionTypeDef],
227
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
225
+ self, **kwargs: Unpack[BatchGetItemInputRequestTypeDef]
228
226
  ) -> BatchGetItemOutputTypeDef:
229
227
  """
230
228
  The `BatchGetItem` operation returns the attributes of one or more items from
@@ -236,11 +234,7 @@ class DynamoDBClient(BaseClient):
236
234
  """
237
235
 
238
236
  def batch_write_item(
239
- self,
240
- *,
241
- RequestItems: Mapping[str, Sequence[WriteRequestUnionTypeDef]],
242
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
243
- ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
237
+ self, **kwargs: Unpack[BatchWriteItemInputRequestTypeDef]
244
238
  ) -> BatchWriteItemOutputTypeDef:
245
239
  """
246
240
  The `BatchWriteItem` operation puts or deletes multiple items in one or more
@@ -266,7 +260,9 @@ class DynamoDBClient(BaseClient):
266
260
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#close)
267
261
  """
268
262
 
269
- def create_backup(self, *, TableName: str, BackupName: str) -> CreateBackupOutputTypeDef:
263
+ def create_backup(
264
+ self, **kwargs: Unpack[CreateBackupInputRequestTypeDef]
265
+ ) -> CreateBackupOutputTypeDef:
270
266
  """
271
267
  Creates a backup for an existing table.
272
268
 
@@ -275,7 +271,7 @@ class DynamoDBClient(BaseClient):
275
271
  """
276
272
 
277
273
  def create_global_table(
278
- self, *, GlobalTableName: str, ReplicationGroup: Sequence[ReplicaTypeDef]
274
+ self, **kwargs: Unpack[CreateGlobalTableInputRequestTypeDef]
279
275
  ) -> CreateGlobalTableOutputTypeDef:
280
276
  """
281
277
  Creates a global table from an existing table.
@@ -285,22 +281,7 @@ class DynamoDBClient(BaseClient):
285
281
  """
286
282
 
287
283
  def create_table(
288
- self,
289
- *,
290
- AttributeDefinitions: Sequence[AttributeDefinitionTypeDef],
291
- TableName: str,
292
- KeySchema: Sequence[KeySchemaElementTypeDef],
293
- LocalSecondaryIndexes: Sequence[LocalSecondaryIndexTypeDef] = ...,
294
- GlobalSecondaryIndexes: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
295
- BillingMode: BillingModeType = ...,
296
- ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
297
- StreamSpecification: StreamSpecificationTypeDef = ...,
298
- SSESpecification: SSESpecificationTypeDef = ...,
299
- Tags: Sequence[TagTypeDef] = ...,
300
- TableClass: TableClassType = ...,
301
- DeletionProtectionEnabled: bool = ...,
302
- ResourcePolicy: str = ...,
303
- OnDemandThroughput: OnDemandThroughputTypeDef = ...,
284
+ self, **kwargs: Unpack[CreateTableInputRequestTypeDef]
304
285
  ) -> CreateTableOutputTypeDef:
305
286
  """
306
287
  The `CreateTable` operation adds a new table to your account.
@@ -309,7 +290,9 @@ class DynamoDBClient(BaseClient):
309
290
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#create_table)
310
291
  """
311
292
 
312
- def delete_backup(self, *, BackupArn: str) -> DeleteBackupOutputTypeDef:
293
+ def delete_backup(
294
+ self, **kwargs: Unpack[DeleteBackupInputRequestTypeDef]
295
+ ) -> DeleteBackupOutputTypeDef:
313
296
  """
314
297
  Deletes an existing backup of a table.
315
298
 
@@ -318,19 +301,7 @@ class DynamoDBClient(BaseClient):
318
301
  """
319
302
 
320
303
  def delete_item(
321
- self,
322
- *,
323
- TableName: str,
324
- Key: Mapping[str, UniversalAttributeValueTypeDef],
325
- Expected: Mapping[str, ExpectedAttributeValueTypeDef] = ...,
326
- ConditionalOperator: ConditionalOperatorType = ...,
327
- ReturnValues: ReturnValueType = ...,
328
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
329
- ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
330
- ConditionExpression: str = ...,
331
- ExpressionAttributeNames: Mapping[str, str] = ...,
332
- ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
333
- ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
304
+ self, **kwargs: Unpack[DeleteItemInputRequestTypeDef]
334
305
  ) -> DeleteItemOutputTypeDef:
335
306
  """
336
307
  Deletes a single item in a table by primary key.
@@ -340,7 +311,7 @@ class DynamoDBClient(BaseClient):
340
311
  """
341
312
 
342
313
  def delete_resource_policy(
343
- self, *, ResourceArn: str, ExpectedRevisionId: str = ...
314
+ self, **kwargs: Unpack[DeleteResourcePolicyInputRequestTypeDef]
344
315
  ) -> DeleteResourcePolicyOutputTypeDef:
345
316
  """
346
317
  Deletes the resource-based policy attached to the resource, which can be a
@@ -351,7 +322,9 @@ class DynamoDBClient(BaseClient):
351
322
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_resource_policy)
352
323
  """
353
324
 
354
- def delete_table(self, *, TableName: str) -> DeleteTableOutputTypeDef:
325
+ def delete_table(
326
+ self, **kwargs: Unpack[DeleteTableInputRequestTypeDef]
327
+ ) -> DeleteTableOutputTypeDef:
355
328
  """
356
329
  The `DeleteTable` operation deletes a table and all of its items.
357
330
 
@@ -359,7 +332,9 @@ class DynamoDBClient(BaseClient):
359
332
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#delete_table)
360
333
  """
361
334
 
362
- def describe_backup(self, *, BackupArn: str) -> DescribeBackupOutputTypeDef:
335
+ def describe_backup(
336
+ self, **kwargs: Unpack[DescribeBackupInputRequestTypeDef]
337
+ ) -> DescribeBackupOutputTypeDef:
363
338
  """
364
339
  Describes an existing backup of a table.
365
340
 
@@ -368,7 +343,7 @@ class DynamoDBClient(BaseClient):
368
343
  """
369
344
 
370
345
  def describe_continuous_backups(
371
- self, *, TableName: str
346
+ self, **kwargs: Unpack[DescribeContinuousBackupsInputRequestTypeDef]
372
347
  ) -> DescribeContinuousBackupsOutputTypeDef:
373
348
  """
374
349
  Checks the status of continuous backups and point in time recovery on the
@@ -380,7 +355,7 @@ class DynamoDBClient(BaseClient):
380
355
  """
381
356
 
382
357
  def describe_contributor_insights(
383
- self, *, TableName: str, IndexName: str = ...
358
+ self, **kwargs: Unpack[DescribeContributorInsightsInputRequestTypeDef]
384
359
  ) -> DescribeContributorInsightsOutputTypeDef:
385
360
  """
386
361
  Returns information about contributor insights for a given table or global
@@ -399,7 +374,9 @@ class DynamoDBClient(BaseClient):
399
374
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_endpoints)
400
375
  """
401
376
 
402
- def describe_export(self, *, ExportArn: str) -> DescribeExportOutputTypeDef:
377
+ def describe_export(
378
+ self, **kwargs: Unpack[DescribeExportInputRequestTypeDef]
379
+ ) -> DescribeExportOutputTypeDef:
403
380
  """
404
381
  Describes an existing table export.
405
382
 
@@ -407,7 +384,9 @@ class DynamoDBClient(BaseClient):
407
384
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_export)
408
385
  """
409
386
 
410
- def describe_global_table(self, *, GlobalTableName: str) -> DescribeGlobalTableOutputTypeDef:
387
+ def describe_global_table(
388
+ self, **kwargs: Unpack[DescribeGlobalTableInputRequestTypeDef]
389
+ ) -> DescribeGlobalTableOutputTypeDef:
411
390
  """
412
391
  Returns information about the specified global table.
413
392
 
@@ -416,7 +395,7 @@ class DynamoDBClient(BaseClient):
416
395
  """
417
396
 
418
397
  def describe_global_table_settings(
419
- self, *, GlobalTableName: str
398
+ self, **kwargs: Unpack[DescribeGlobalTableSettingsInputRequestTypeDef]
420
399
  ) -> DescribeGlobalTableSettingsOutputTypeDef:
421
400
  """
422
401
  Describes Region-specific settings for a global table.
@@ -425,7 +404,9 @@ class DynamoDBClient(BaseClient):
425
404
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_global_table_settings)
426
405
  """
427
406
 
428
- def describe_import(self, *, ImportArn: str) -> DescribeImportOutputTypeDef:
407
+ def describe_import(
408
+ self, **kwargs: Unpack[DescribeImportInputRequestTypeDef]
409
+ ) -> DescribeImportOutputTypeDef:
429
410
  """
430
411
  Represents the properties of the import.
431
412
 
@@ -434,7 +415,7 @@ class DynamoDBClient(BaseClient):
434
415
  """
435
416
 
436
417
  def describe_kinesis_streaming_destination(
437
- self, *, TableName: str
418
+ self, **kwargs: Unpack[DescribeKinesisStreamingDestinationInputRequestTypeDef]
438
419
  ) -> DescribeKinesisStreamingDestinationOutputTypeDef:
439
420
  """
440
421
  Returns information about the status of Kinesis streaming.
@@ -454,7 +435,9 @@ class DynamoDBClient(BaseClient):
454
435
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_limits)
455
436
  """
456
437
 
457
- def describe_table(self, *, TableName: str) -> DescribeTableOutputTypeDef:
438
+ def describe_table(
439
+ self, **kwargs: Unpack[DescribeTableInputRequestTypeDef]
440
+ ) -> DescribeTableOutputTypeDef:
458
441
  """
459
442
  Returns information about the table, including the current status of the table,
460
443
  when it was created, the primary key schema, and any indexes on the
@@ -465,7 +448,7 @@ class DynamoDBClient(BaseClient):
465
448
  """
466
449
 
467
450
  def describe_table_replica_auto_scaling(
468
- self, *, TableName: str
451
+ self, **kwargs: Unpack[DescribeTableReplicaAutoScalingInputRequestTypeDef]
469
452
  ) -> DescribeTableReplicaAutoScalingOutputTypeDef:
470
453
  """
471
454
  Describes auto scaling settings across replicas of the global table at once.
@@ -474,7 +457,9 @@ class DynamoDBClient(BaseClient):
474
457
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#describe_table_replica_auto_scaling)
475
458
  """
476
459
 
477
- def describe_time_to_live(self, *, TableName: str) -> DescribeTimeToLiveOutputTypeDef:
460
+ def describe_time_to_live(
461
+ self, **kwargs: Unpack[DescribeTimeToLiveInputRequestTypeDef]
462
+ ) -> DescribeTimeToLiveOutputTypeDef:
478
463
  """
479
464
  Gives a description of the Time to Live (TTL) status on the specified table.
480
465
 
@@ -483,11 +468,7 @@ class DynamoDBClient(BaseClient):
483
468
  """
484
469
 
485
470
  def disable_kinesis_streaming_destination(
486
- self,
487
- *,
488
- TableName: str,
489
- StreamArn: str,
490
- EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef = ...,
471
+ self, **kwargs: Unpack[KinesisStreamingDestinationInputRequestTypeDef]
491
472
  ) -> KinesisStreamingDestinationOutputTypeDef:
492
473
  """
493
474
  Stops replication from the DynamoDB table to the Kinesis data stream.
@@ -497,11 +478,7 @@ class DynamoDBClient(BaseClient):
497
478
  """
498
479
 
499
480
  def enable_kinesis_streaming_destination(
500
- self,
501
- *,
502
- TableName: str,
503
- StreamArn: str,
504
- EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef = ...,
481
+ self, **kwargs: Unpack[KinesisStreamingDestinationInputRequestTypeDef]
505
482
  ) -> KinesisStreamingDestinationOutputTypeDef:
506
483
  """
507
484
  Starts table data replication to the specified Kinesis data stream at a
@@ -513,15 +490,7 @@ class DynamoDBClient(BaseClient):
513
490
  """
514
491
 
515
492
  def execute_statement(
516
- self,
517
- *,
518
- Statement: str,
519
- Parameters: Sequence[UniversalAttributeValueTypeDef] = ...,
520
- ConsistentRead: bool = ...,
521
- NextToken: str = ...,
522
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
523
- Limit: int = ...,
524
- ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
493
+ self, **kwargs: Unpack[ExecuteStatementInputRequestTypeDef]
525
494
  ) -> ExecuteStatementOutputTypeDef:
526
495
  """
527
496
  This operation allows you to perform reads and singleton writes on data stored
@@ -533,11 +502,7 @@ class DynamoDBClient(BaseClient):
533
502
  """
534
503
 
535
504
  def execute_transaction(
536
- self,
537
- *,
538
- TransactStatements: Sequence[ParameterizedStatementTypeDef],
539
- ClientRequestToken: str = ...,
540
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
505
+ self, **kwargs: Unpack[ExecuteTransactionInputRequestTypeDef]
541
506
  ) -> ExecuteTransactionOutputTypeDef:
542
507
  """
543
508
  This operation allows you to perform transactional reads or writes on data
@@ -549,19 +514,7 @@ class DynamoDBClient(BaseClient):
549
514
  """
550
515
 
551
516
  def export_table_to_point_in_time(
552
- self,
553
- *,
554
- TableArn: str,
555
- S3Bucket: str,
556
- ExportTime: TimestampTypeDef = ...,
557
- ClientToken: str = ...,
558
- S3BucketOwner: str = ...,
559
- S3Prefix: str = ...,
560
- S3SseAlgorithm: S3SseAlgorithmType = ...,
561
- S3SseKmsKeyId: str = ...,
562
- ExportFormat: ExportFormatType = ...,
563
- ExportType: ExportTypeType = ...,
564
- IncrementalExportSpecification: IncrementalExportSpecificationUnionTypeDef = ...,
517
+ self, **kwargs: Unpack[ExportTableToPointInTimeInputRequestTypeDef]
565
518
  ) -> ExportTableToPointInTimeOutputTypeDef:
566
519
  """
567
520
  Exports table data to an S3 bucket.
@@ -584,17 +537,7 @@ class DynamoDBClient(BaseClient):
584
537
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#generate_presigned_url)
585
538
  """
586
539
 
587
- def get_item(
588
- self,
589
- *,
590
- TableName: str,
591
- Key: Mapping[str, UniversalAttributeValueTypeDef],
592
- AttributesToGet: Sequence[str] = ...,
593
- ConsistentRead: bool = ...,
594
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
595
- ProjectionExpression: str = ...,
596
- ExpressionAttributeNames: Mapping[str, str] = ...,
597
- ) -> GetItemOutputTypeDef:
540
+ def get_item(self, **kwargs: Unpack[GetItemInputRequestTypeDef]) -> GetItemOutputTypeDef:
598
541
  """
599
542
  The `GetItem` operation returns a set of attributes for the item with the given
600
543
  primary
@@ -604,7 +547,9 @@ class DynamoDBClient(BaseClient):
604
547
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_item)
605
548
  """
606
549
 
607
- def get_resource_policy(self, *, ResourceArn: str) -> GetResourcePolicyOutputTypeDef:
550
+ def get_resource_policy(
551
+ self, **kwargs: Unpack[GetResourcePolicyInputRequestTypeDef]
552
+ ) -> GetResourcePolicyOutputTypeDef:
608
553
  """
609
554
  Returns the resource-based policy document attached to the resource, which can
610
555
  be a table or stream, in JSON
@@ -615,14 +560,7 @@ class DynamoDBClient(BaseClient):
615
560
  """
616
561
 
617
562
  def import_table(
618
- self,
619
- *,
620
- S3BucketSource: S3BucketSourceTypeDef,
621
- InputFormat: InputFormatType,
622
- TableCreationParameters: TableCreationParametersUnionTypeDef,
623
- ClientToken: str = ...,
624
- InputFormatOptions: InputFormatOptionsUnionTypeDef = ...,
625
- InputCompressionType: InputCompressionTypeType = ...,
563
+ self, **kwargs: Unpack[ImportTableInputRequestTypeDef]
626
564
  ) -> ImportTableOutputTypeDef:
627
565
  """
628
566
  Imports table data from an S3 bucket.
@@ -632,14 +570,7 @@ class DynamoDBClient(BaseClient):
632
570
  """
633
571
 
634
572
  def list_backups(
635
- self,
636
- *,
637
- TableName: str = ...,
638
- Limit: int = ...,
639
- TimeRangeLowerBound: TimestampTypeDef = ...,
640
- TimeRangeUpperBound: TimestampTypeDef = ...,
641
- ExclusiveStartBackupArn: str = ...,
642
- BackupType: BackupTypeFilterType = ...,
573
+ self, **kwargs: Unpack[ListBackupsInputRequestTypeDef]
643
574
  ) -> ListBackupsOutputTypeDef:
644
575
  """
645
576
  List DynamoDB backups that are associated with an Amazon Web Services account
@@ -651,7 +582,7 @@ class DynamoDBClient(BaseClient):
651
582
  """
652
583
 
653
584
  def list_contributor_insights(
654
- self, *, TableName: str = ..., NextToken: str = ..., MaxResults: int = ...
585
+ self, **kwargs: Unpack[ListContributorInsightsInputRequestTypeDef]
655
586
  ) -> ListContributorInsightsOutputTypeDef:
656
587
  """
657
588
  Returns a list of ContributorInsightsSummary for a table and all its global
@@ -663,7 +594,7 @@ class DynamoDBClient(BaseClient):
663
594
  """
664
595
 
665
596
  def list_exports(
666
- self, *, TableArn: str = ..., MaxResults: int = ..., NextToken: str = ...
597
+ self, **kwargs: Unpack[ListExportsInputRequestTypeDef]
667
598
  ) -> ListExportsOutputTypeDef:
668
599
  """
669
600
  Lists completed exports within the past 90 days.
@@ -673,7 +604,7 @@ class DynamoDBClient(BaseClient):
673
604
  """
674
605
 
675
606
  def list_global_tables(
676
- self, *, ExclusiveStartGlobalTableName: str = ..., Limit: int = ..., RegionName: str = ...
607
+ self, **kwargs: Unpack[ListGlobalTablesInputRequestTypeDef]
677
608
  ) -> ListGlobalTablesOutputTypeDef:
678
609
  """
679
610
  Lists all global tables that have a replica in the specified Region.
@@ -683,7 +614,7 @@ class DynamoDBClient(BaseClient):
683
614
  """
684
615
 
685
616
  def list_imports(
686
- self, *, TableArn: str = ..., PageSize: int = ..., NextToken: str = ...
617
+ self, **kwargs: Unpack[ListImportsInputRequestTypeDef]
687
618
  ) -> ListImportsOutputTypeDef:
688
619
  """
689
620
  Lists completed imports within the past 90 days.
@@ -693,7 +624,7 @@ class DynamoDBClient(BaseClient):
693
624
  """
694
625
 
695
626
  def list_tables(
696
- self, *, ExclusiveStartTableName: str = ..., Limit: int = ...
627
+ self, **kwargs: Unpack[ListTablesInputRequestTypeDef]
697
628
  ) -> ListTablesOutputTypeDef:
698
629
  """
699
630
  Returns an array of table names associated with the current account and
@@ -704,7 +635,7 @@ class DynamoDBClient(BaseClient):
704
635
  """
705
636
 
706
637
  def list_tags_of_resource(
707
- self, *, ResourceArn: str, NextToken: str = ...
638
+ self, **kwargs: Unpack[ListTagsOfResourceInputRequestTypeDef]
708
639
  ) -> ListTagsOfResourceOutputTypeDef:
709
640
  """
710
641
  List all tags on an Amazon DynamoDB resource.
@@ -713,21 +644,7 @@ class DynamoDBClient(BaseClient):
713
644
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#list_tags_of_resource)
714
645
  """
715
646
 
716
- def put_item(
717
- self,
718
- *,
719
- TableName: str,
720
- Item: Mapping[str, UniversalAttributeValueTypeDef],
721
- Expected: Mapping[str, ExpectedAttributeValueTypeDef] = ...,
722
- ReturnValues: ReturnValueType = ...,
723
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
724
- ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
725
- ConditionalOperator: ConditionalOperatorType = ...,
726
- ConditionExpression: str = ...,
727
- ExpressionAttributeNames: Mapping[str, str] = ...,
728
- ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
729
- ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
730
- ) -> PutItemOutputTypeDef:
647
+ def put_item(self, **kwargs: Unpack[PutItemInputRequestTypeDef]) -> PutItemOutputTypeDef:
731
648
  """
732
649
  Creates a new item, or replaces an old item with a new item.
733
650
 
@@ -736,12 +653,7 @@ class DynamoDBClient(BaseClient):
736
653
  """
737
654
 
738
655
  def put_resource_policy(
739
- self,
740
- *,
741
- ResourceArn: str,
742
- Policy: str,
743
- ExpectedRevisionId: str = ...,
744
- ConfirmRemoveSelfResourceAccess: bool = ...,
656
+ self, **kwargs: Unpack[PutResourcePolicyInputRequestTypeDef]
745
657
  ) -> PutResourcePolicyOutputTypeDef:
746
658
  """
747
659
  Attaches a resource-based policy document to the resource, which can be a table
@@ -752,27 +664,7 @@ class DynamoDBClient(BaseClient):
752
664
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#put_resource_policy)
753
665
  """
754
666
 
755
- def query(
756
- self,
757
- *,
758
- TableName: str,
759
- IndexName: str = ...,
760
- Select: SelectType = ...,
761
- AttributesToGet: Sequence[str] = ...,
762
- Limit: int = ...,
763
- ConsistentRead: bool = ...,
764
- KeyConditions: Mapping[str, ConditionTypeDef] = ...,
765
- QueryFilter: Mapping[str, ConditionTypeDef] = ...,
766
- ConditionalOperator: ConditionalOperatorType = ...,
767
- ScanIndexForward: bool = ...,
768
- ExclusiveStartKey: Mapping[str, UniversalAttributeValueTypeDef] = ...,
769
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
770
- ProjectionExpression: str = ...,
771
- FilterExpression: str = ...,
772
- KeyConditionExpression: str = ...,
773
- ExpressionAttributeNames: Mapping[str, str] = ...,
774
- ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
775
- ) -> QueryOutputTypeDef:
667
+ def query(self, **kwargs: Unpack[QueryInputRequestTypeDef]) -> QueryOutputTypeDef:
776
668
  """
777
669
  You must provide the name of the partition key attribute and a single value for
778
670
  that
@@ -783,16 +675,7 @@ class DynamoDBClient(BaseClient):
783
675
  """
784
676
 
785
677
  def restore_table_from_backup(
786
- self,
787
- *,
788
- TargetTableName: str,
789
- BackupArn: str,
790
- BillingModeOverride: BillingModeType = ...,
791
- GlobalSecondaryIndexOverride: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
792
- LocalSecondaryIndexOverride: Sequence[LocalSecondaryIndexTypeDef] = ...,
793
- ProvisionedThroughputOverride: ProvisionedThroughputTypeDef = ...,
794
- OnDemandThroughputOverride: OnDemandThroughputTypeDef = ...,
795
- SSESpecificationOverride: SSESpecificationTypeDef = ...,
678
+ self, **kwargs: Unpack[RestoreTableFromBackupInputRequestTypeDef]
796
679
  ) -> RestoreTableFromBackupOutputTypeDef:
797
680
  """
798
681
  Creates a new table from an existing backup.
@@ -802,19 +685,7 @@ class DynamoDBClient(BaseClient):
802
685
  """
803
686
 
804
687
  def restore_table_to_point_in_time(
805
- self,
806
- *,
807
- TargetTableName: str,
808
- SourceTableArn: str = ...,
809
- SourceTableName: str = ...,
810
- UseLatestRestorableTime: bool = ...,
811
- RestoreDateTime: TimestampTypeDef = ...,
812
- BillingModeOverride: BillingModeType = ...,
813
- GlobalSecondaryIndexOverride: Sequence[GlobalSecondaryIndexUnionTypeDef] = ...,
814
- LocalSecondaryIndexOverride: Sequence[LocalSecondaryIndexTypeDef] = ...,
815
- ProvisionedThroughputOverride: ProvisionedThroughputTypeDef = ...,
816
- OnDemandThroughputOverride: OnDemandThroughputTypeDef = ...,
817
- SSESpecificationOverride: SSESpecificationTypeDef = ...,
688
+ self, **kwargs: Unpack[RestoreTableToPointInTimeInputRequestTypeDef]
818
689
  ) -> RestoreTableToPointInTimeOutputTypeDef:
819
690
  """
820
691
  Restores the specified table to the specified point in time within
@@ -825,26 +696,7 @@ class DynamoDBClient(BaseClient):
825
696
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#restore_table_to_point_in_time)
826
697
  """
827
698
 
828
- def scan(
829
- self,
830
- *,
831
- TableName: str,
832
- IndexName: str = ...,
833
- AttributesToGet: Sequence[str] = ...,
834
- Limit: int = ...,
835
- Select: SelectType = ...,
836
- ScanFilter: Mapping[str, ConditionTypeDef] = ...,
837
- ConditionalOperator: ConditionalOperatorType = ...,
838
- ExclusiveStartKey: Mapping[str, UniversalAttributeValueTypeDef] = ...,
839
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
840
- TotalSegments: int = ...,
841
- Segment: int = ...,
842
- ProjectionExpression: str = ...,
843
- FilterExpression: str = ...,
844
- ExpressionAttributeNames: Mapping[str, str] = ...,
845
- ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
846
- ConsistentRead: bool = ...,
847
- ) -> ScanOutputTypeDef:
699
+ def scan(self, **kwargs: Unpack[ScanInputRequestTypeDef]) -> ScanOutputTypeDef:
848
700
  """
849
701
  The `Scan` operation returns one or more items and item attributes by accessing
850
702
  every item in a table or a secondary
@@ -855,7 +707,7 @@ class DynamoDBClient(BaseClient):
855
707
  """
856
708
 
857
709
  def tag_resource(
858
- self, *, ResourceArn: str, Tags: Sequence[TagTypeDef]
710
+ self, **kwargs: Unpack[TagResourceInputRequestTypeDef]
859
711
  ) -> EmptyResponseMetadataTypeDef:
860
712
  """
861
713
  Associate a set of tags with an Amazon DynamoDB resource.
@@ -865,10 +717,7 @@ class DynamoDBClient(BaseClient):
865
717
  """
866
718
 
867
719
  def transact_get_items(
868
- self,
869
- *,
870
- TransactItems: Sequence[TransactGetItemTypeDef],
871
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
720
+ self, **kwargs: Unpack[TransactGetItemsInputRequestTypeDef]
872
721
  ) -> TransactGetItemsOutputTypeDef:
873
722
  """
874
723
  `TransactGetItems` is a synchronous operation that atomically retrieves
@@ -881,12 +730,7 @@ class DynamoDBClient(BaseClient):
881
730
  """
882
731
 
883
732
  def transact_write_items(
884
- self,
885
- *,
886
- TransactItems: Sequence[TransactWriteItemTypeDef],
887
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
888
- ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
889
- ClientRequestToken: str = ...,
733
+ self, **kwargs: Unpack[TransactWriteItemsInputRequestTypeDef]
890
734
  ) -> TransactWriteItemsOutputTypeDef:
891
735
  """
892
736
  `TransactWriteItems` is a synchronous write operation that groups up to 100
@@ -898,7 +742,7 @@ class DynamoDBClient(BaseClient):
898
742
  """
899
743
 
900
744
  def untag_resource(
901
- self, *, ResourceArn: str, TagKeys: Sequence[str]
745
+ self, **kwargs: Unpack[UntagResourceInputRequestTypeDef]
902
746
  ) -> EmptyResponseMetadataTypeDef:
903
747
  """
904
748
  Removes the association of tags from an Amazon DynamoDB resource.
@@ -908,10 +752,7 @@ class DynamoDBClient(BaseClient):
908
752
  """
909
753
 
910
754
  def update_continuous_backups(
911
- self,
912
- *,
913
- TableName: str,
914
- PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef,
755
+ self, **kwargs: Unpack[UpdateContinuousBackupsInputRequestTypeDef]
915
756
  ) -> UpdateContinuousBackupsOutputTypeDef:
916
757
  """
917
758
  `UpdateContinuousBackups` enables or disables point in time recovery for the
@@ -923,11 +764,7 @@ class DynamoDBClient(BaseClient):
923
764
  """
924
765
 
925
766
  def update_contributor_insights(
926
- self,
927
- *,
928
- TableName: str,
929
- ContributorInsightsAction: ContributorInsightsActionType,
930
- IndexName: str = ...,
767
+ self, **kwargs: Unpack[UpdateContributorInsightsInputRequestTypeDef]
931
768
  ) -> UpdateContributorInsightsOutputTypeDef:
932
769
  """
933
770
  Updates the status for contributor insights for a specific table or index.
@@ -937,7 +774,7 @@ class DynamoDBClient(BaseClient):
937
774
  """
938
775
 
939
776
  def update_global_table(
940
- self, *, GlobalTableName: str, ReplicaUpdates: Sequence[ReplicaUpdateTypeDef]
777
+ self, **kwargs: Unpack[UpdateGlobalTableInputRequestTypeDef]
941
778
  ) -> UpdateGlobalTableOutputTypeDef:
942
779
  """
943
780
  Adds or removes replicas in the specified global table.
@@ -947,16 +784,7 @@ class DynamoDBClient(BaseClient):
947
784
  """
948
785
 
949
786
  def update_global_table_settings(
950
- self,
951
- *,
952
- GlobalTableName: str,
953
- GlobalTableBillingMode: BillingModeType = ...,
954
- GlobalTableProvisionedWriteCapacityUnits: int = ...,
955
- GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: AutoScalingSettingsUpdateTypeDef = ...,
956
- GlobalTableGlobalSecondaryIndexSettingsUpdate: Sequence[
957
- GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef
958
- ] = ...,
959
- ReplicaSettingsUpdate: Sequence[ReplicaSettingsUpdateTypeDef] = ...,
787
+ self, **kwargs: Unpack[UpdateGlobalTableSettingsInputRequestTypeDef]
960
788
  ) -> UpdateGlobalTableSettingsOutputTypeDef:
961
789
  """
962
790
  Updates settings for a global table.
@@ -966,21 +794,7 @@ class DynamoDBClient(BaseClient):
966
794
  """
967
795
 
968
796
  def update_item(
969
- self,
970
- *,
971
- TableName: str,
972
- Key: Mapping[str, UniversalAttributeValueTypeDef],
973
- AttributeUpdates: Mapping[str, AttributeValueUpdateTypeDef] = ...,
974
- Expected: Mapping[str, ExpectedAttributeValueTypeDef] = ...,
975
- ConditionalOperator: ConditionalOperatorType = ...,
976
- ReturnValues: ReturnValueType = ...,
977
- ReturnConsumedCapacity: ReturnConsumedCapacityType = ...,
978
- ReturnItemCollectionMetrics: ReturnItemCollectionMetricsType = ...,
979
- UpdateExpression: str = ...,
980
- ConditionExpression: str = ...,
981
- ExpressionAttributeNames: Mapping[str, str] = ...,
982
- ExpressionAttributeValues: Mapping[str, UniversalAttributeValueTypeDef] = ...,
983
- ReturnValuesOnConditionCheckFailure: ReturnValuesOnConditionCheckFailureType = ...,
797
+ self, **kwargs: Unpack[UpdateItemInputRequestTypeDef]
984
798
  ) -> UpdateItemOutputTypeDef:
985
799
  """
986
800
  Edits an existing item's attributes, or adds a new item to the table if it does
@@ -992,11 +806,7 @@ class DynamoDBClient(BaseClient):
992
806
  """
993
807
 
994
808
  def update_kinesis_streaming_destination(
995
- self,
996
- *,
997
- TableName: str,
998
- StreamArn: str,
999
- UpdateKinesisStreamingConfiguration: UpdateKinesisStreamingConfigurationTypeDef = ...,
809
+ self, **kwargs: Unpack[UpdateKinesisStreamingDestinationInputRequestTypeDef]
1000
810
  ) -> UpdateKinesisStreamingDestinationOutputTypeDef:
1001
811
  """
1002
812
  The command to update the Kinesis stream destination.
@@ -1006,19 +816,7 @@ class DynamoDBClient(BaseClient):
1006
816
  """
1007
817
 
1008
818
  def update_table(
1009
- self,
1010
- *,
1011
- TableName: str,
1012
- AttributeDefinitions: Sequence[AttributeDefinitionTypeDef] = ...,
1013
- BillingMode: BillingModeType = ...,
1014
- ProvisionedThroughput: ProvisionedThroughputTypeDef = ...,
1015
- GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexUpdateTypeDef] = ...,
1016
- StreamSpecification: StreamSpecificationTypeDef = ...,
1017
- SSESpecification: SSESpecificationTypeDef = ...,
1018
- ReplicaUpdates: Sequence[ReplicationGroupUpdateTypeDef] = ...,
1019
- TableClass: TableClassType = ...,
1020
- DeletionProtectionEnabled: bool = ...,
1021
- OnDemandThroughput: OnDemandThroughputTypeDef = ...,
819
+ self, **kwargs: Unpack[UpdateTableInputRequestTypeDef]
1022
820
  ) -> UpdateTableOutputTypeDef:
1023
821
  """
1024
822
  Modifies the provisioned throughput settings, global secondary indexes, or
@@ -1030,12 +828,7 @@ class DynamoDBClient(BaseClient):
1030
828
  """
1031
829
 
1032
830
  def update_table_replica_auto_scaling(
1033
- self,
1034
- *,
1035
- TableName: str,
1036
- GlobalSecondaryIndexUpdates: Sequence[GlobalSecondaryIndexAutoScalingUpdateTypeDef] = ...,
1037
- ProvisionedWriteCapacityAutoScalingUpdate: AutoScalingSettingsUpdateTypeDef = ...,
1038
- ReplicaUpdates: Sequence[ReplicaAutoScalingUpdateTypeDef] = ...,
831
+ self, **kwargs: Unpack[UpdateTableReplicaAutoScalingInputRequestTypeDef]
1039
832
  ) -> UpdateTableReplicaAutoScalingOutputTypeDef:
1040
833
  """
1041
834
  Updates auto scaling settings on your global tables at once.
@@ -1045,7 +838,7 @@ class DynamoDBClient(BaseClient):
1045
838
  """
1046
839
 
1047
840
  def update_time_to_live(
1048
- self, *, TableName: str, TimeToLiveSpecification: TimeToLiveSpecificationTypeDef
841
+ self, **kwargs: Unpack[UpdateTimeToLiveInputRequestTypeDef]
1049
842
  ) -> UpdateTimeToLiveOutputTypeDef:
1050
843
  """
1051
844
  The `UpdateTimeToLive` method enables or disables Time to Live (TTL) for the