localstack-core 4.4.1.dev12__py3-none-any.whl → 4.4.1.dev14__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.
Files changed (52) hide show
  1. localstack/aws/api/acm/__init__.py +19 -19
  2. localstack/aws/api/apigateway/__init__.py +202 -187
  3. localstack/aws/api/cloudcontrol/__init__.py +19 -19
  4. localstack/aws/api/cloudformation/__init__.py +240 -236
  5. localstack/aws/api/cloudwatch/__init__.py +108 -108
  6. localstack/aws/api/config/__init__.py +190 -174
  7. localstack/aws/api/dynamodb/__init__.py +176 -170
  8. localstack/aws/api/dynamodbstreams/__init__.py +7 -7
  9. localstack/aws/api/ec2/__init__.py +2415 -2348
  10. localstack/aws/api/es/__init__.py +81 -73
  11. localstack/aws/api/events/__init__.py +114 -110
  12. localstack/aws/api/firehose/__init__.py +43 -36
  13. localstack/aws/api/iam/__init__.py +189 -185
  14. localstack/aws/api/kinesis/__init__.py +70 -70
  15. localstack/aws/api/kms/__init__.py +126 -122
  16. localstack/aws/api/lambda_/__init__.py +191 -191
  17. localstack/aws/api/logs/__init__.py +150 -150
  18. localstack/aws/api/opensearch/__init__.py +138 -130
  19. localstack/aws/api/pipes/__init__.py +25 -25
  20. localstack/aws/api/redshift/__init__.py +420 -420
  21. localstack/aws/api/resource_groups/__init__.py +44 -44
  22. localstack/aws/api/resourcegroupstaggingapi/__init__.py +17 -17
  23. localstack/aws/api/route53/__init__.py +86 -82
  24. localstack/aws/api/route53resolver/__init__.py +103 -103
  25. localstack/aws/api/s3/__init__.py +489 -489
  26. localstack/aws/api/s3control/__init__.py +69 -69
  27. localstack/aws/api/scheduler/__init__.py +36 -32
  28. localstack/aws/api/secretsmanager/__init__.py +51 -51
  29. localstack/aws/api/ses/__init__.py +55 -55
  30. localstack/aws/api/sns/__init__.py +35 -31
  31. localstack/aws/api/sqs/__init__.py +24 -24
  32. localstack/aws/api/ssm/__init__.py +439 -439
  33. localstack/aws/api/stepfunctions/__init__.py +58 -58
  34. localstack/aws/api/sts/__init__.py +25 -25
  35. localstack/aws/api/support/__init__.py +29 -29
  36. localstack/aws/api/swf/__init__.py +88 -84
  37. localstack/aws/api/transcribe/__init__.py +80 -80
  38. localstack/aws/scaffold.py +1 -1
  39. localstack/services/s3/provider.py +37 -6
  40. localstack/testing/aws/asf_utils.py +7 -3
  41. localstack/version.py +2 -2
  42. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/METADATA +1 -1
  43. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/RECORD +51 -51
  44. localstack_core-4.4.1.dev14.dist-info/plux.json +1 -0
  45. localstack_core-4.4.1.dev12.dist-info/plux.json +0 -1
  46. {localstack_core-4.4.1.dev12.data → localstack_core-4.4.1.dev14.data}/scripts/localstack +0 -0
  47. {localstack_core-4.4.1.dev12.data → localstack_core-4.4.1.dev14.data}/scripts/localstack-supervisor +0 -0
  48. {localstack_core-4.4.1.dev12.data → localstack_core-4.4.1.dev14.data}/scripts/localstack.bat +0 -0
  49. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/WHEEL +0 -0
  50. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/entry_points.txt +0 -0
  51. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/licenses/LICENSE.txt +0 -0
  52. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/top_level.txt +0 -0
@@ -2290,7 +2290,7 @@ class DynamodbApi:
2290
2290
  self,
2291
2291
  context: RequestContext,
2292
2292
  statements: PartiQLBatchRequest,
2293
- return_consumed_capacity: ReturnConsumedCapacity = None,
2293
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2294
2294
  **kwargs,
2295
2295
  ) -> BatchExecuteStatementOutput:
2296
2296
  raise NotImplementedError
@@ -2300,7 +2300,7 @@ class DynamodbApi:
2300
2300
  self,
2301
2301
  context: RequestContext,
2302
2302
  request_items: BatchGetRequestMap,
2303
- return_consumed_capacity: ReturnConsumedCapacity = None,
2303
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2304
2304
  **kwargs,
2305
2305
  ) -> BatchGetItemOutput:
2306
2306
  raise NotImplementedError
@@ -2310,8 +2310,8 @@ class DynamodbApi:
2310
2310
  self,
2311
2311
  context: RequestContext,
2312
2312
  request_items: BatchWriteItemRequestMap,
2313
- return_consumed_capacity: ReturnConsumedCapacity = None,
2314
- return_item_collection_metrics: ReturnItemCollectionMetrics = None,
2313
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2314
+ return_item_collection_metrics: ReturnItemCollectionMetrics | None = None,
2315
2315
  **kwargs,
2316
2316
  ) -> BatchWriteItemOutput:
2317
2317
  raise NotImplementedError
@@ -2339,18 +2339,18 @@ class DynamodbApi:
2339
2339
  attribute_definitions: AttributeDefinitions,
2340
2340
  table_name: TableArn,
2341
2341
  key_schema: KeySchema,
2342
- local_secondary_indexes: LocalSecondaryIndexList = None,
2343
- global_secondary_indexes: GlobalSecondaryIndexList = None,
2344
- billing_mode: BillingMode = None,
2345
- provisioned_throughput: ProvisionedThroughput = None,
2346
- stream_specification: StreamSpecification = None,
2347
- sse_specification: SSESpecification = None,
2348
- tags: TagList = None,
2349
- table_class: TableClass = None,
2350
- deletion_protection_enabled: DeletionProtectionEnabled = None,
2351
- warm_throughput: WarmThroughput = None,
2352
- resource_policy: ResourcePolicy = None,
2353
- on_demand_throughput: OnDemandThroughput = None,
2342
+ local_secondary_indexes: LocalSecondaryIndexList | None = None,
2343
+ global_secondary_indexes: GlobalSecondaryIndexList | None = None,
2344
+ billing_mode: BillingMode | None = None,
2345
+ provisioned_throughput: ProvisionedThroughput | None = None,
2346
+ stream_specification: StreamSpecification | None = None,
2347
+ sse_specification: SSESpecification | None = None,
2348
+ tags: TagList | None = None,
2349
+ table_class: TableClass | None = None,
2350
+ deletion_protection_enabled: DeletionProtectionEnabled | None = None,
2351
+ warm_throughput: WarmThroughput | None = None,
2352
+ resource_policy: ResourcePolicy | None = None,
2353
+ on_demand_throughput: OnDemandThroughput | None = None,
2354
2354
  **kwargs,
2355
2355
  ) -> CreateTableOutput:
2356
2356
  raise NotImplementedError
@@ -2367,15 +2367,15 @@ class DynamodbApi:
2367
2367
  context: RequestContext,
2368
2368
  table_name: TableArn,
2369
2369
  key: Key,
2370
- expected: ExpectedAttributeMap = None,
2371
- conditional_operator: ConditionalOperator = None,
2372
- return_values: ReturnValue = None,
2373
- return_consumed_capacity: ReturnConsumedCapacity = None,
2374
- return_item_collection_metrics: ReturnItemCollectionMetrics = None,
2375
- condition_expression: ConditionExpression = None,
2376
- expression_attribute_names: ExpressionAttributeNameMap = None,
2377
- expression_attribute_values: ExpressionAttributeValueMap = None,
2378
- return_values_on_condition_check_failure: ReturnValuesOnConditionCheckFailure = None,
2370
+ expected: ExpectedAttributeMap | None = None,
2371
+ conditional_operator: ConditionalOperator | None = None,
2372
+ return_values: ReturnValue | None = None,
2373
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2374
+ return_item_collection_metrics: ReturnItemCollectionMetrics | None = None,
2375
+ condition_expression: ConditionExpression | None = None,
2376
+ expression_attribute_names: ExpressionAttributeNameMap | None = None,
2377
+ expression_attribute_values: ExpressionAttributeValueMap | None = None,
2378
+ return_values_on_condition_check_failure: ReturnValuesOnConditionCheckFailure | None = None,
2379
2379
  **kwargs,
2380
2380
  ) -> DeleteItemOutput:
2381
2381
  raise NotImplementedError
@@ -2385,7 +2385,7 @@ class DynamodbApi:
2385
2385
  self,
2386
2386
  context: RequestContext,
2387
2387
  resource_arn: ResourceArnString,
2388
- expected_revision_id: PolicyRevisionId = None,
2388
+ expected_revision_id: PolicyRevisionId | None = None,
2389
2389
  **kwargs,
2390
2390
  ) -> DeleteResourcePolicyOutput:
2391
2391
  raise NotImplementedError
@@ -2410,7 +2410,11 @@ class DynamodbApi:
2410
2410
 
2411
2411
  @handler("DescribeContributorInsights")
2412
2412
  def describe_contributor_insights(
2413
- self, context: RequestContext, table_name: TableArn, index_name: IndexName = None, **kwargs
2413
+ self,
2414
+ context: RequestContext,
2415
+ table_name: TableArn,
2416
+ index_name: IndexName | None = None,
2417
+ **kwargs,
2414
2418
  ) -> DescribeContributorInsightsOutput:
2415
2419
  raise NotImplementedError
2416
2420
 
@@ -2476,7 +2480,7 @@ class DynamodbApi:
2476
2480
  context: RequestContext,
2477
2481
  table_name: TableArn,
2478
2482
  stream_arn: StreamArn,
2479
- enable_kinesis_streaming_configuration: EnableKinesisStreamingConfiguration = None,
2483
+ enable_kinesis_streaming_configuration: EnableKinesisStreamingConfiguration | None = None,
2480
2484
  **kwargs,
2481
2485
  ) -> KinesisStreamingDestinationOutput:
2482
2486
  raise NotImplementedError
@@ -2487,7 +2491,7 @@ class DynamodbApi:
2487
2491
  context: RequestContext,
2488
2492
  table_name: TableArn,
2489
2493
  stream_arn: StreamArn,
2490
- enable_kinesis_streaming_configuration: EnableKinesisStreamingConfiguration = None,
2494
+ enable_kinesis_streaming_configuration: EnableKinesisStreamingConfiguration | None = None,
2491
2495
  **kwargs,
2492
2496
  ) -> KinesisStreamingDestinationOutput:
2493
2497
  raise NotImplementedError
@@ -2497,12 +2501,12 @@ class DynamodbApi:
2497
2501
  self,
2498
2502
  context: RequestContext,
2499
2503
  statement: PartiQLStatement,
2500
- parameters: PreparedStatementParameters = None,
2501
- consistent_read: ConsistentRead = None,
2502
- next_token: PartiQLNextToken = None,
2503
- return_consumed_capacity: ReturnConsumedCapacity = None,
2504
- limit: PositiveIntegerObject = None,
2505
- return_values_on_condition_check_failure: ReturnValuesOnConditionCheckFailure = None,
2504
+ parameters: PreparedStatementParameters | None = None,
2505
+ consistent_read: ConsistentRead | None = None,
2506
+ next_token: PartiQLNextToken | None = None,
2507
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2508
+ limit: PositiveIntegerObject | None = None,
2509
+ return_values_on_condition_check_failure: ReturnValuesOnConditionCheckFailure | None = None,
2506
2510
  **kwargs,
2507
2511
  ) -> ExecuteStatementOutput:
2508
2512
  raise NotImplementedError
@@ -2512,8 +2516,8 @@ class DynamodbApi:
2512
2516
  self,
2513
2517
  context: RequestContext,
2514
2518
  transact_statements: ParameterizedStatements,
2515
- client_request_token: ClientRequestToken = None,
2516
- return_consumed_capacity: ReturnConsumedCapacity = None,
2519
+ client_request_token: ClientRequestToken | None = None,
2520
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2517
2521
  **kwargs,
2518
2522
  ) -> ExecuteTransactionOutput:
2519
2523
  raise NotImplementedError
@@ -2524,15 +2528,15 @@ class DynamodbApi:
2524
2528
  context: RequestContext,
2525
2529
  table_arn: TableArn,
2526
2530
  s3_bucket: S3Bucket,
2527
- export_time: ExportTime = None,
2528
- client_token: ClientToken = None,
2529
- s3_bucket_owner: S3BucketOwner = None,
2530
- s3_prefix: S3Prefix = None,
2531
- s3_sse_algorithm: S3SseAlgorithm = None,
2532
- s3_sse_kms_key_id: S3SseKmsKeyId = None,
2533
- export_format: ExportFormat = None,
2534
- export_type: ExportType = None,
2535
- incremental_export_specification: IncrementalExportSpecification = None,
2531
+ export_time: ExportTime | None = None,
2532
+ client_token: ClientToken | None = None,
2533
+ s3_bucket_owner: S3BucketOwner | None = None,
2534
+ s3_prefix: S3Prefix | None = None,
2535
+ s3_sse_algorithm: S3SseAlgorithm | None = None,
2536
+ s3_sse_kms_key_id: S3SseKmsKeyId | None = None,
2537
+ export_format: ExportFormat | None = None,
2538
+ export_type: ExportType | None = None,
2539
+ incremental_export_specification: IncrementalExportSpecification | None = None,
2536
2540
  **kwargs,
2537
2541
  ) -> ExportTableToPointInTimeOutput:
2538
2542
  raise NotImplementedError
@@ -2543,11 +2547,11 @@ class DynamodbApi:
2543
2547
  context: RequestContext,
2544
2548
  table_name: TableArn,
2545
2549
  key: Key,
2546
- attributes_to_get: AttributeNameList = None,
2547
- consistent_read: ConsistentRead = None,
2548
- return_consumed_capacity: ReturnConsumedCapacity = None,
2549
- projection_expression: ProjectionExpression = None,
2550
- expression_attribute_names: ExpressionAttributeNameMap = None,
2550
+ attributes_to_get: AttributeNameList | None = None,
2551
+ consistent_read: ConsistentRead | None = None,
2552
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2553
+ projection_expression: ProjectionExpression | None = None,
2554
+ expression_attribute_names: ExpressionAttributeNameMap | None = None,
2551
2555
  **kwargs,
2552
2556
  ) -> GetItemOutput:
2553
2557
  raise NotImplementedError
@@ -2565,9 +2569,9 @@ class DynamodbApi:
2565
2569
  s3_bucket_source: S3BucketSource,
2566
2570
  input_format: InputFormat,
2567
2571
  table_creation_parameters: TableCreationParameters,
2568
- client_token: ClientToken = None,
2569
- input_format_options: InputFormatOptions = None,
2570
- input_compression_type: InputCompressionType = None,
2572
+ client_token: ClientToken | None = None,
2573
+ input_format_options: InputFormatOptions | None = None,
2574
+ input_compression_type: InputCompressionType | None = None,
2571
2575
  **kwargs,
2572
2576
  ) -> ImportTableOutput:
2573
2577
  raise NotImplementedError
@@ -2576,12 +2580,12 @@ class DynamodbApi:
2576
2580
  def list_backups(
2577
2581
  self,
2578
2582
  context: RequestContext,
2579
- table_name: TableArn = None,
2580
- limit: BackupsInputLimit = None,
2581
- time_range_lower_bound: TimeRangeLowerBound = None,
2582
- time_range_upper_bound: TimeRangeUpperBound = None,
2583
- exclusive_start_backup_arn: BackupArn = None,
2584
- backup_type: BackupTypeFilter = None,
2583
+ table_name: TableArn | None = None,
2584
+ limit: BackupsInputLimit | None = None,
2585
+ time_range_lower_bound: TimeRangeLowerBound | None = None,
2586
+ time_range_upper_bound: TimeRangeUpperBound | None = None,
2587
+ exclusive_start_backup_arn: BackupArn | None = None,
2588
+ backup_type: BackupTypeFilter | None = None,
2585
2589
  **kwargs,
2586
2590
  ) -> ListBackupsOutput:
2587
2591
  raise NotImplementedError
@@ -2590,9 +2594,9 @@ class DynamodbApi:
2590
2594
  def list_contributor_insights(
2591
2595
  self,
2592
2596
  context: RequestContext,
2593
- table_name: TableArn = None,
2594
- next_token: NextTokenString = None,
2595
- max_results: ListContributorInsightsLimit = None,
2597
+ table_name: TableArn | None = None,
2598
+ next_token: NextTokenString | None = None,
2599
+ max_results: ListContributorInsightsLimit | None = None,
2596
2600
  **kwargs,
2597
2601
  ) -> ListContributorInsightsOutput:
2598
2602
  raise NotImplementedError
@@ -2601,9 +2605,9 @@ class DynamodbApi:
2601
2605
  def list_exports(
2602
2606
  self,
2603
2607
  context: RequestContext,
2604
- table_arn: TableArn = None,
2605
- max_results: ListExportsMaxLimit = None,
2606
- next_token: ExportNextToken = None,
2608
+ table_arn: TableArn | None = None,
2609
+ max_results: ListExportsMaxLimit | None = None,
2610
+ next_token: ExportNextToken | None = None,
2607
2611
  **kwargs,
2608
2612
  ) -> ListExportsOutput:
2609
2613
  raise NotImplementedError
@@ -2612,9 +2616,9 @@ class DynamodbApi:
2612
2616
  def list_global_tables(
2613
2617
  self,
2614
2618
  context: RequestContext,
2615
- exclusive_start_global_table_name: TableName = None,
2616
- limit: PositiveIntegerObject = None,
2617
- region_name: RegionName = None,
2619
+ exclusive_start_global_table_name: TableName | None = None,
2620
+ limit: PositiveIntegerObject | None = None,
2621
+ region_name: RegionName | None = None,
2618
2622
  **kwargs,
2619
2623
  ) -> ListGlobalTablesOutput:
2620
2624
  raise NotImplementedError
@@ -2623,9 +2627,9 @@ class DynamodbApi:
2623
2627
  def list_imports(
2624
2628
  self,
2625
2629
  context: RequestContext,
2626
- table_arn: TableArn = None,
2627
- page_size: ListImportsMaxLimit = None,
2628
- next_token: ImportNextToken = None,
2630
+ table_arn: TableArn | None = None,
2631
+ page_size: ListImportsMaxLimit | None = None,
2632
+ next_token: ImportNextToken | None = None,
2629
2633
  **kwargs,
2630
2634
  ) -> ListImportsOutput:
2631
2635
  raise NotImplementedError
@@ -2634,8 +2638,8 @@ class DynamodbApi:
2634
2638
  def list_tables(
2635
2639
  self,
2636
2640
  context: RequestContext,
2637
- exclusive_start_table_name: TableName = None,
2638
- limit: ListTablesInputLimit = None,
2641
+ exclusive_start_table_name: TableName | None = None,
2642
+ limit: ListTablesInputLimit | None = None,
2639
2643
  **kwargs,
2640
2644
  ) -> ListTablesOutput:
2641
2645
  raise NotImplementedError
@@ -2645,7 +2649,7 @@ class DynamodbApi:
2645
2649
  self,
2646
2650
  context: RequestContext,
2647
2651
  resource_arn: ResourceArnString,
2648
- next_token: NextTokenString = None,
2652
+ next_token: NextTokenString | None = None,
2649
2653
  **kwargs,
2650
2654
  ) -> ListTagsOfResourceOutput:
2651
2655
  raise NotImplementedError
@@ -2656,15 +2660,15 @@ class DynamodbApi:
2656
2660
  context: RequestContext,
2657
2661
  table_name: TableArn,
2658
2662
  item: PutItemInputAttributeMap,
2659
- expected: ExpectedAttributeMap = None,
2660
- return_values: ReturnValue = None,
2661
- return_consumed_capacity: ReturnConsumedCapacity = None,
2662
- return_item_collection_metrics: ReturnItemCollectionMetrics = None,
2663
- conditional_operator: ConditionalOperator = None,
2664
- condition_expression: ConditionExpression = None,
2665
- expression_attribute_names: ExpressionAttributeNameMap = None,
2666
- expression_attribute_values: ExpressionAttributeValueMap = None,
2667
- return_values_on_condition_check_failure: ReturnValuesOnConditionCheckFailure = None,
2663
+ expected: ExpectedAttributeMap | None = None,
2664
+ return_values: ReturnValue | None = None,
2665
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2666
+ return_item_collection_metrics: ReturnItemCollectionMetrics | None = None,
2667
+ conditional_operator: ConditionalOperator | None = None,
2668
+ condition_expression: ConditionExpression | None = None,
2669
+ expression_attribute_names: ExpressionAttributeNameMap | None = None,
2670
+ expression_attribute_values: ExpressionAttributeValueMap | None = None,
2671
+ return_values_on_condition_check_failure: ReturnValuesOnConditionCheckFailure | None = None,
2668
2672
  **kwargs,
2669
2673
  ) -> PutItemOutput:
2670
2674
  raise NotImplementedError
@@ -2675,8 +2679,8 @@ class DynamodbApi:
2675
2679
  context: RequestContext,
2676
2680
  resource_arn: ResourceArnString,
2677
2681
  policy: ResourcePolicy,
2678
- expected_revision_id: PolicyRevisionId = None,
2679
- confirm_remove_self_resource_access: ConfirmRemoveSelfResourceAccess = None,
2682
+ expected_revision_id: PolicyRevisionId | None = None,
2683
+ confirm_remove_self_resource_access: ConfirmRemoveSelfResourceAccess | None = None,
2680
2684
  **kwargs,
2681
2685
  ) -> PutResourcePolicyOutput:
2682
2686
  raise NotImplementedError
@@ -2686,22 +2690,22 @@ class DynamodbApi:
2686
2690
  self,
2687
2691
  context: RequestContext,
2688
2692
  table_name: TableArn,
2689
- index_name: IndexName = None,
2690
- select: Select = None,
2691
- attributes_to_get: AttributeNameList = None,
2692
- limit: PositiveIntegerObject = None,
2693
- consistent_read: ConsistentRead = None,
2694
- key_conditions: KeyConditions = None,
2695
- query_filter: FilterConditionMap = None,
2696
- conditional_operator: ConditionalOperator = None,
2697
- scan_index_forward: BooleanObject = None,
2698
- exclusive_start_key: Key = None,
2699
- return_consumed_capacity: ReturnConsumedCapacity = None,
2700
- projection_expression: ProjectionExpression = None,
2701
- filter_expression: ConditionExpression = None,
2702
- key_condition_expression: KeyExpression = None,
2703
- expression_attribute_names: ExpressionAttributeNameMap = None,
2704
- expression_attribute_values: ExpressionAttributeValueMap = None,
2693
+ index_name: IndexName | None = None,
2694
+ select: Select | None = None,
2695
+ attributes_to_get: AttributeNameList | None = None,
2696
+ limit: PositiveIntegerObject | None = None,
2697
+ consistent_read: ConsistentRead | None = None,
2698
+ key_conditions: KeyConditions | None = None,
2699
+ query_filter: FilterConditionMap | None = None,
2700
+ conditional_operator: ConditionalOperator | None = None,
2701
+ scan_index_forward: BooleanObject | None = None,
2702
+ exclusive_start_key: Key | None = None,
2703
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2704
+ projection_expression: ProjectionExpression | None = None,
2705
+ filter_expression: ConditionExpression | None = None,
2706
+ key_condition_expression: KeyExpression | None = None,
2707
+ expression_attribute_names: ExpressionAttributeNameMap | None = None,
2708
+ expression_attribute_values: ExpressionAttributeValueMap | None = None,
2705
2709
  **kwargs,
2706
2710
  ) -> QueryOutput:
2707
2711
  raise NotImplementedError
@@ -2712,12 +2716,12 @@ class DynamodbApi:
2712
2716
  context: RequestContext,
2713
2717
  target_table_name: TableName,
2714
2718
  backup_arn: BackupArn,
2715
- billing_mode_override: BillingMode = None,
2716
- global_secondary_index_override: GlobalSecondaryIndexList = None,
2717
- local_secondary_index_override: LocalSecondaryIndexList = None,
2718
- provisioned_throughput_override: ProvisionedThroughput = None,
2719
- on_demand_throughput_override: OnDemandThroughput = None,
2720
- sse_specification_override: SSESpecification = None,
2719
+ billing_mode_override: BillingMode | None = None,
2720
+ global_secondary_index_override: GlobalSecondaryIndexList | None = None,
2721
+ local_secondary_index_override: LocalSecondaryIndexList | None = None,
2722
+ provisioned_throughput_override: ProvisionedThroughput | None = None,
2723
+ on_demand_throughput_override: OnDemandThroughput | None = None,
2724
+ sse_specification_override: SSESpecification | None = None,
2721
2725
  **kwargs,
2722
2726
  ) -> RestoreTableFromBackupOutput:
2723
2727
  raise NotImplementedError
@@ -2727,16 +2731,16 @@ class DynamodbApi:
2727
2731
  self,
2728
2732
  context: RequestContext,
2729
2733
  target_table_name: TableName,
2730
- source_table_arn: TableArn = None,
2731
- source_table_name: TableName = None,
2732
- use_latest_restorable_time: BooleanObject = None,
2733
- restore_date_time: Date = None,
2734
- billing_mode_override: BillingMode = None,
2735
- global_secondary_index_override: GlobalSecondaryIndexList = None,
2736
- local_secondary_index_override: LocalSecondaryIndexList = None,
2737
- provisioned_throughput_override: ProvisionedThroughput = None,
2738
- on_demand_throughput_override: OnDemandThroughput = None,
2739
- sse_specification_override: SSESpecification = None,
2734
+ source_table_arn: TableArn | None = None,
2735
+ source_table_name: TableName | None = None,
2736
+ use_latest_restorable_time: BooleanObject | None = None,
2737
+ restore_date_time: Date | None = None,
2738
+ billing_mode_override: BillingMode | None = None,
2739
+ global_secondary_index_override: GlobalSecondaryIndexList | None = None,
2740
+ local_secondary_index_override: LocalSecondaryIndexList | None = None,
2741
+ provisioned_throughput_override: ProvisionedThroughput | None = None,
2742
+ on_demand_throughput_override: OnDemandThroughput | None = None,
2743
+ sse_specification_override: SSESpecification | None = None,
2740
2744
  **kwargs,
2741
2745
  ) -> RestoreTableToPointInTimeOutput:
2742
2746
  raise NotImplementedError
@@ -2746,21 +2750,21 @@ class DynamodbApi:
2746
2750
  self,
2747
2751
  context: RequestContext,
2748
2752
  table_name: TableArn,
2749
- index_name: IndexName = None,
2750
- attributes_to_get: AttributeNameList = None,
2751
- limit: PositiveIntegerObject = None,
2752
- select: Select = None,
2753
- scan_filter: FilterConditionMap = None,
2754
- conditional_operator: ConditionalOperator = None,
2755
- exclusive_start_key: Key = None,
2756
- return_consumed_capacity: ReturnConsumedCapacity = None,
2757
- total_segments: ScanTotalSegments = None,
2758
- segment: ScanSegment = None,
2759
- projection_expression: ProjectionExpression = None,
2760
- filter_expression: ConditionExpression = None,
2761
- expression_attribute_names: ExpressionAttributeNameMap = None,
2762
- expression_attribute_values: ExpressionAttributeValueMap = None,
2763
- consistent_read: ConsistentRead = None,
2753
+ index_name: IndexName | None = None,
2754
+ attributes_to_get: AttributeNameList | None = None,
2755
+ limit: PositiveIntegerObject | None = None,
2756
+ select: Select | None = None,
2757
+ scan_filter: FilterConditionMap | None = None,
2758
+ conditional_operator: ConditionalOperator | None = None,
2759
+ exclusive_start_key: Key | None = None,
2760
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2761
+ total_segments: ScanTotalSegments | None = None,
2762
+ segment: ScanSegment | None = None,
2763
+ projection_expression: ProjectionExpression | None = None,
2764
+ filter_expression: ConditionExpression | None = None,
2765
+ expression_attribute_names: ExpressionAttributeNameMap | None = None,
2766
+ expression_attribute_values: ExpressionAttributeValueMap | None = None,
2767
+ consistent_read: ConsistentRead | None = None,
2764
2768
  **kwargs,
2765
2769
  ) -> ScanOutput:
2766
2770
  raise NotImplementedError
@@ -2776,7 +2780,7 @@ class DynamodbApi:
2776
2780
  self,
2777
2781
  context: RequestContext,
2778
2782
  transact_items: TransactGetItemList,
2779
- return_consumed_capacity: ReturnConsumedCapacity = None,
2783
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2780
2784
  **kwargs,
2781
2785
  ) -> TransactGetItemsOutput:
2782
2786
  raise NotImplementedError
@@ -2786,9 +2790,9 @@ class DynamodbApi:
2786
2790
  self,
2787
2791
  context: RequestContext,
2788
2792
  transact_items: TransactWriteItemList,
2789
- return_consumed_capacity: ReturnConsumedCapacity = None,
2790
- return_item_collection_metrics: ReturnItemCollectionMetrics = None,
2791
- client_request_token: ClientRequestToken = None,
2793
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2794
+ return_item_collection_metrics: ReturnItemCollectionMetrics | None = None,
2795
+ client_request_token: ClientRequestToken | None = None,
2792
2796
  **kwargs,
2793
2797
  ) -> TransactWriteItemsOutput:
2794
2798
  raise NotImplementedError
@@ -2819,7 +2823,7 @@ class DynamodbApi:
2819
2823
  context: RequestContext,
2820
2824
  table_name: TableArn,
2821
2825
  contributor_insights_action: ContributorInsightsAction,
2822
- index_name: IndexName = None,
2826
+ index_name: IndexName | None = None,
2823
2827
  **kwargs,
2824
2828
  ) -> UpdateContributorInsightsOutput:
2825
2829
  raise NotImplementedError
@@ -2839,11 +2843,13 @@ class DynamodbApi:
2839
2843
  self,
2840
2844
  context: RequestContext,
2841
2845
  global_table_name: TableName,
2842
- global_table_billing_mode: BillingMode = None,
2843
- global_table_provisioned_write_capacity_units: PositiveLongObject = None,
2844
- global_table_provisioned_write_capacity_auto_scaling_settings_update: AutoScalingSettingsUpdate = None,
2845
- global_table_global_secondary_index_settings_update: GlobalTableGlobalSecondaryIndexSettingsUpdateList = None,
2846
- replica_settings_update: ReplicaSettingsUpdateList = None,
2846
+ global_table_billing_mode: BillingMode | None = None,
2847
+ global_table_provisioned_write_capacity_units: PositiveLongObject | None = None,
2848
+ global_table_provisioned_write_capacity_auto_scaling_settings_update: AutoScalingSettingsUpdate
2849
+ | None = None,
2850
+ global_table_global_secondary_index_settings_update: GlobalTableGlobalSecondaryIndexSettingsUpdateList
2851
+ | None = None,
2852
+ replica_settings_update: ReplicaSettingsUpdateList | None = None,
2847
2853
  **kwargs,
2848
2854
  ) -> UpdateGlobalTableSettingsOutput:
2849
2855
  raise NotImplementedError
@@ -2854,17 +2860,17 @@ class DynamodbApi:
2854
2860
  context: RequestContext,
2855
2861
  table_name: TableArn,
2856
2862
  key: Key,
2857
- attribute_updates: AttributeUpdates = None,
2858
- expected: ExpectedAttributeMap = None,
2859
- conditional_operator: ConditionalOperator = None,
2860
- return_values: ReturnValue = None,
2861
- return_consumed_capacity: ReturnConsumedCapacity = None,
2862
- return_item_collection_metrics: ReturnItemCollectionMetrics = None,
2863
- update_expression: UpdateExpression = None,
2864
- condition_expression: ConditionExpression = None,
2865
- expression_attribute_names: ExpressionAttributeNameMap = None,
2866
- expression_attribute_values: ExpressionAttributeValueMap = None,
2867
- return_values_on_condition_check_failure: ReturnValuesOnConditionCheckFailure = None,
2863
+ attribute_updates: AttributeUpdates | None = None,
2864
+ expected: ExpectedAttributeMap | None = None,
2865
+ conditional_operator: ConditionalOperator | None = None,
2866
+ return_values: ReturnValue | None = None,
2867
+ return_consumed_capacity: ReturnConsumedCapacity | None = None,
2868
+ return_item_collection_metrics: ReturnItemCollectionMetrics | None = None,
2869
+ update_expression: UpdateExpression | None = None,
2870
+ condition_expression: ConditionExpression | None = None,
2871
+ expression_attribute_names: ExpressionAttributeNameMap | None = None,
2872
+ expression_attribute_values: ExpressionAttributeValueMap | None = None,
2873
+ return_values_on_condition_check_failure: ReturnValuesOnConditionCheckFailure | None = None,
2868
2874
  **kwargs,
2869
2875
  ) -> UpdateItemOutput:
2870
2876
  raise NotImplementedError
@@ -2875,7 +2881,7 @@ class DynamodbApi:
2875
2881
  context: RequestContext,
2876
2882
  table_name: TableArn,
2877
2883
  stream_arn: StreamArn,
2878
- update_kinesis_streaming_configuration: UpdateKinesisStreamingConfiguration = None,
2884
+ update_kinesis_streaming_configuration: UpdateKinesisStreamingConfiguration | None = None,
2879
2885
  **kwargs,
2880
2886
  ) -> UpdateKinesisStreamingDestinationOutput:
2881
2887
  raise NotImplementedError
@@ -2885,18 +2891,18 @@ class DynamodbApi:
2885
2891
  self,
2886
2892
  context: RequestContext,
2887
2893
  table_name: TableArn,
2888
- attribute_definitions: AttributeDefinitions = None,
2889
- billing_mode: BillingMode = None,
2890
- provisioned_throughput: ProvisionedThroughput = None,
2891
- global_secondary_index_updates: GlobalSecondaryIndexUpdateList = None,
2892
- stream_specification: StreamSpecification = None,
2893
- sse_specification: SSESpecification = None,
2894
- replica_updates: ReplicationGroupUpdateList = None,
2895
- table_class: TableClass = None,
2896
- deletion_protection_enabled: DeletionProtectionEnabled = None,
2897
- multi_region_consistency: MultiRegionConsistency = None,
2898
- on_demand_throughput: OnDemandThroughput = None,
2899
- warm_throughput: WarmThroughput = None,
2894
+ attribute_definitions: AttributeDefinitions | None = None,
2895
+ billing_mode: BillingMode | None = None,
2896
+ provisioned_throughput: ProvisionedThroughput | None = None,
2897
+ global_secondary_index_updates: GlobalSecondaryIndexUpdateList | None = None,
2898
+ stream_specification: StreamSpecification | None = None,
2899
+ sse_specification: SSESpecification | None = None,
2900
+ replica_updates: ReplicationGroupUpdateList | None = None,
2901
+ table_class: TableClass | None = None,
2902
+ deletion_protection_enabled: DeletionProtectionEnabled | None = None,
2903
+ multi_region_consistency: MultiRegionConsistency | None = None,
2904
+ on_demand_throughput: OnDemandThroughput | None = None,
2905
+ warm_throughput: WarmThroughput | None = None,
2900
2906
  **kwargs,
2901
2907
  ) -> UpdateTableOutput:
2902
2908
  raise NotImplementedError
@@ -2906,9 +2912,9 @@ class DynamodbApi:
2906
2912
  self,
2907
2913
  context: RequestContext,
2908
2914
  table_name: TableArn,
2909
- global_secondary_index_updates: GlobalSecondaryIndexAutoScalingUpdateList = None,
2910
- provisioned_write_capacity_auto_scaling_update: AutoScalingSettingsUpdate = None,
2911
- replica_updates: ReplicaAutoScalingUpdateList = None,
2915
+ global_secondary_index_updates: GlobalSecondaryIndexAutoScalingUpdateList | None = None,
2916
+ provisioned_write_capacity_auto_scaling_update: AutoScalingSettingsUpdate | None = None,
2917
+ replica_updates: ReplicaAutoScalingUpdateList | None = None,
2912
2918
  **kwargs,
2913
2919
  ) -> UpdateTableReplicaAutoScalingOutput:
2914
2920
  raise NotImplementedError
@@ -230,8 +230,8 @@ class DynamodbstreamsApi:
230
230
  self,
231
231
  context: RequestContext,
232
232
  stream_arn: StreamArn,
233
- limit: PositiveIntegerObject = None,
234
- exclusive_start_shard_id: ShardId = None,
233
+ limit: PositiveIntegerObject | None = None,
234
+ exclusive_start_shard_id: ShardId | None = None,
235
235
  **kwargs,
236
236
  ) -> DescribeStreamOutput:
237
237
  raise NotImplementedError
@@ -241,7 +241,7 @@ class DynamodbstreamsApi:
241
241
  self,
242
242
  context: RequestContext,
243
243
  shard_iterator: ShardIterator,
244
- limit: PositiveIntegerObject = None,
244
+ limit: PositiveIntegerObject | None = None,
245
245
  **kwargs,
246
246
  ) -> GetRecordsOutput:
247
247
  raise NotImplementedError
@@ -253,7 +253,7 @@ class DynamodbstreamsApi:
253
253
  stream_arn: StreamArn,
254
254
  shard_id: ShardId,
255
255
  shard_iterator_type: ShardIteratorType,
256
- sequence_number: SequenceNumber = None,
256
+ sequence_number: SequenceNumber | None = None,
257
257
  **kwargs,
258
258
  ) -> GetShardIteratorOutput:
259
259
  raise NotImplementedError
@@ -262,9 +262,9 @@ class DynamodbstreamsApi:
262
262
  def list_streams(
263
263
  self,
264
264
  context: RequestContext,
265
- table_name: TableName = None,
266
- limit: PositiveIntegerObject = None,
267
- exclusive_start_stream_arn: StreamArn = None,
265
+ table_name: TableName | None = None,
266
+ limit: PositiveIntegerObject | None = None,
267
+ exclusive_start_stream_arn: StreamArn | None = None,
268
268
  **kwargs,
269
269
  ) -> ListStreamsOutput:
270
270
  raise NotImplementedError