aws-sdk-glue 1.192.0 → 1.194.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +82 -10
- data/lib/aws-sdk-glue/client_api.rb +78 -1
- data/lib/aws-sdk-glue/endpoints.rb +224 -896
- data/lib/aws-sdk-glue/errors.rb +16 -0
- data/lib/aws-sdk-glue/plugins/endpoints.rb +10 -1
- data/lib/aws-sdk-glue/types.rb +275 -5
- data/lib/aws-sdk-glue.rb +1 -1
- data/sig/client.rbs +34 -8
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +80 -8
- metadata +4 -4
data/lib/aws-sdk-glue/errors.rb
CHANGED
@@ -61,6 +61,7 @@ module Aws::Glue
|
|
61
61
|
# * {SchedulerNotRunningException}
|
62
62
|
# * {SchedulerRunningException}
|
63
63
|
# * {SchedulerTransitioningException}
|
64
|
+
# * {ThrottlingException}
|
64
65
|
# * {ValidationException}
|
65
66
|
# * {VersionMismatchException}
|
66
67
|
#
|
@@ -600,6 +601,21 @@ module Aws::Glue
|
|
600
601
|
end
|
601
602
|
end
|
602
603
|
|
604
|
+
class ThrottlingException < ServiceError
|
605
|
+
|
606
|
+
# @param [Seahorse::Client::RequestContext] context
|
607
|
+
# @param [String] message
|
608
|
+
# @param [Aws::Glue::Types::ThrottlingException] data
|
609
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
610
|
+
super(context, message, data)
|
611
|
+
end
|
612
|
+
|
613
|
+
# @return [String]
|
614
|
+
def message
|
615
|
+
@message || @data[:message]
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
603
619
|
class ValidationException < ServiceError
|
604
620
|
|
605
621
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -40,11 +40,20 @@ module Aws::Glue
|
|
40
40
|
context[:auth_scheme] =
|
41
41
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
42
42
|
|
43
|
-
@handler.call(context)
|
43
|
+
with_metrics(context) { @handler.call(context) }
|
44
44
|
end
|
45
45
|
|
46
46
|
private
|
47
47
|
|
48
|
+
def with_metrics(context, &block)
|
49
|
+
metrics = []
|
50
|
+
metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
|
51
|
+
if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
|
52
|
+
metrics << 'SIGV4A_SIGNING'
|
53
|
+
end
|
54
|
+
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
55
|
+
end
|
56
|
+
|
48
57
|
def apply_endpoint_headers(context, headers)
|
49
58
|
headers.each do |key, values|
|
50
59
|
value = values
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -1383,7 +1383,7 @@ module Aws::Glue
|
|
1383
1383
|
#
|
1384
1384
|
# @!attribute [rw] table_optimizer
|
1385
1385
|
# A `TableOptimizer` object that contains details on the configuration
|
1386
|
-
# and last run of a table
|
1386
|
+
# and last run of a table optimizer.
|
1387
1387
|
# @return [Types::TableOptimizer]
|
1388
1388
|
#
|
1389
1389
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchTableOptimizer AWS API Documentation
|
@@ -3000,6 +3000,21 @@ module Aws::Glue
|
|
3000
3000
|
include Aws::Structure
|
3001
3001
|
end
|
3002
3002
|
|
3003
|
+
# A structure that contains compaction metrics for the optimizer run.
|
3004
|
+
#
|
3005
|
+
# @!attribute [rw] iceberg_metrics
|
3006
|
+
# A structure containing the Iceberg compaction metrics for the
|
3007
|
+
# optimizer run.
|
3008
|
+
# @return [Types::IcebergCompactionMetrics]
|
3009
|
+
#
|
3010
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CompactionMetrics AWS API Documentation
|
3011
|
+
#
|
3012
|
+
class CompactionMetrics < Struct.new(
|
3013
|
+
:iceberg_metrics)
|
3014
|
+
SENSITIVE = []
|
3015
|
+
include Aws::Structure
|
3016
|
+
end
|
3017
|
+
|
3003
3018
|
# Two processes are trying to modify a resource simultaneously.
|
3004
3019
|
#
|
3005
3020
|
# @!attribute [rw] message
|
@@ -13361,6 +13376,35 @@ module Aws::Glue
|
|
13361
13376
|
include Aws::Structure
|
13362
13377
|
end
|
13363
13378
|
|
13379
|
+
# Compaction metrics for Iceberg for the optimizer run.
|
13380
|
+
#
|
13381
|
+
# @!attribute [rw] number_of_bytes_compacted
|
13382
|
+
# The number of bytes removed by the compaction job run.
|
13383
|
+
# @return [Integer]
|
13384
|
+
#
|
13385
|
+
# @!attribute [rw] number_of_files_compacted
|
13386
|
+
# The number of files removed by the compaction job run.
|
13387
|
+
# @return [Integer]
|
13388
|
+
#
|
13389
|
+
# @!attribute [rw] number_of_dpus
|
13390
|
+
# The number of DPU hours consumed by the job.
|
13391
|
+
# @return [Integer]
|
13392
|
+
#
|
13393
|
+
# @!attribute [rw] job_duration_in_hour
|
13394
|
+
# The duration of the job in hours.
|
13395
|
+
# @return [Float]
|
13396
|
+
#
|
13397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergCompactionMetrics AWS API Documentation
|
13398
|
+
#
|
13399
|
+
class IcebergCompactionMetrics < Struct.new(
|
13400
|
+
:number_of_bytes_compacted,
|
13401
|
+
:number_of_files_compacted,
|
13402
|
+
:number_of_dpus,
|
13403
|
+
:job_duration_in_hour)
|
13404
|
+
SENSITIVE = []
|
13405
|
+
include Aws::Structure
|
13406
|
+
end
|
13407
|
+
|
13364
13408
|
# A structure that defines an Apache Iceberg metadata table to create in
|
13365
13409
|
# the catalog.
|
13366
13410
|
#
|
@@ -13381,6 +13425,118 @@ module Aws::Glue
|
|
13381
13425
|
include Aws::Structure
|
13382
13426
|
end
|
13383
13427
|
|
13428
|
+
# The configuration for an Iceberg orphan file deletion optimizer.
|
13429
|
+
#
|
13430
|
+
# @!attribute [rw] orphan_file_retention_period_in_days
|
13431
|
+
# The number of days that orphan files should be retained before file
|
13432
|
+
# deletion. If an input is not provided, the default value 3 will be
|
13433
|
+
# used.
|
13434
|
+
# @return [Integer]
|
13435
|
+
#
|
13436
|
+
# @!attribute [rw] location
|
13437
|
+
# Specifies a directory in which to look for files (defaults to the
|
13438
|
+
# table's location). You may choose a sub-directory rather than the
|
13439
|
+
# top-level table location.
|
13440
|
+
# @return [String]
|
13441
|
+
#
|
13442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergOrphanFileDeletionConfiguration AWS API Documentation
|
13443
|
+
#
|
13444
|
+
class IcebergOrphanFileDeletionConfiguration < Struct.new(
|
13445
|
+
:orphan_file_retention_period_in_days,
|
13446
|
+
:location)
|
13447
|
+
SENSITIVE = []
|
13448
|
+
include Aws::Structure
|
13449
|
+
end
|
13450
|
+
|
13451
|
+
# Orphan file deletion metrics for Iceberg for the optimizer run.
|
13452
|
+
#
|
13453
|
+
# @!attribute [rw] number_of_orphan_files_deleted
|
13454
|
+
# The number of orphan files deleted by the orphan file deletion job
|
13455
|
+
# run.
|
13456
|
+
# @return [Integer]
|
13457
|
+
#
|
13458
|
+
# @!attribute [rw] number_of_dpus
|
13459
|
+
# The number of DPU hours consumed by the job.
|
13460
|
+
# @return [Integer]
|
13461
|
+
#
|
13462
|
+
# @!attribute [rw] job_duration_in_hour
|
13463
|
+
# The duration of the job in hours.
|
13464
|
+
# @return [Float]
|
13465
|
+
#
|
13466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergOrphanFileDeletionMetrics AWS API Documentation
|
13467
|
+
#
|
13468
|
+
class IcebergOrphanFileDeletionMetrics < Struct.new(
|
13469
|
+
:number_of_orphan_files_deleted,
|
13470
|
+
:number_of_dpus,
|
13471
|
+
:job_duration_in_hour)
|
13472
|
+
SENSITIVE = []
|
13473
|
+
include Aws::Structure
|
13474
|
+
end
|
13475
|
+
|
13476
|
+
# The configuration for an Iceberg snapshot retention optimizer.
|
13477
|
+
#
|
13478
|
+
# @!attribute [rw] snapshot_retention_period_in_days
|
13479
|
+
# The number of days to retain the Iceberg snapshots. If an input is
|
13480
|
+
# not provided, the corresponding Iceberg table configuration field
|
13481
|
+
# will be used or if not present, the default value 5 will be used.
|
13482
|
+
# @return [Integer]
|
13483
|
+
#
|
13484
|
+
# @!attribute [rw] number_of_snapshots_to_retain
|
13485
|
+
# The number of Iceberg snapshots to retain within the retention
|
13486
|
+
# period. If an input is not provided, the corresponding Iceberg table
|
13487
|
+
# configuration field will be used or if not present, the default
|
13488
|
+
# value 1 will be used.
|
13489
|
+
# @return [Integer]
|
13490
|
+
#
|
13491
|
+
# @!attribute [rw] clean_expired_files
|
13492
|
+
# If set to false, snapshots are only deleted from table metadata, and
|
13493
|
+
# the underlying data and metadata files are not deleted.
|
13494
|
+
# @return [Boolean]
|
13495
|
+
#
|
13496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergRetentionConfiguration AWS API Documentation
|
13497
|
+
#
|
13498
|
+
class IcebergRetentionConfiguration < Struct.new(
|
13499
|
+
:snapshot_retention_period_in_days,
|
13500
|
+
:number_of_snapshots_to_retain,
|
13501
|
+
:clean_expired_files)
|
13502
|
+
SENSITIVE = []
|
13503
|
+
include Aws::Structure
|
13504
|
+
end
|
13505
|
+
|
13506
|
+
# Snapshot retention metrics for Iceberg for the optimizer run.
|
13507
|
+
#
|
13508
|
+
# @!attribute [rw] number_of_data_files_deleted
|
13509
|
+
# The number of data files deleted by the retention job run.
|
13510
|
+
# @return [Integer]
|
13511
|
+
#
|
13512
|
+
# @!attribute [rw] number_of_manifest_files_deleted
|
13513
|
+
# The number of manifest files deleted by the retention job run.
|
13514
|
+
# @return [Integer]
|
13515
|
+
#
|
13516
|
+
# @!attribute [rw] number_of_manifest_lists_deleted
|
13517
|
+
# The number of manifest lists deleted by the retention job run.
|
13518
|
+
# @return [Integer]
|
13519
|
+
#
|
13520
|
+
# @!attribute [rw] number_of_dpus
|
13521
|
+
# The number of DPU hours consumed by the job.
|
13522
|
+
# @return [Integer]
|
13523
|
+
#
|
13524
|
+
# @!attribute [rw] job_duration_in_hour
|
13525
|
+
# The duration of the job in hours.
|
13526
|
+
# @return [Float]
|
13527
|
+
#
|
13528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergRetentionMetrics AWS API Documentation
|
13529
|
+
#
|
13530
|
+
class IcebergRetentionMetrics < Struct.new(
|
13531
|
+
:number_of_data_files_deleted,
|
13532
|
+
:number_of_manifest_files_deleted,
|
13533
|
+
:number_of_manifest_lists_deleted,
|
13534
|
+
:number_of_dpus,
|
13535
|
+
:job_duration_in_hour)
|
13536
|
+
SENSITIVE = []
|
13537
|
+
include Aws::Structure
|
13538
|
+
end
|
13539
|
+
|
13384
13540
|
# Specifies an Apache Iceberg data source where Iceberg tables are
|
13385
13541
|
# stored in Amazon S3.
|
13386
13542
|
#
|
@@ -17414,6 +17570,36 @@ module Aws::Glue
|
|
17414
17570
|
include Aws::Structure
|
17415
17571
|
end
|
17416
17572
|
|
17573
|
+
# The configuration for an orphan file deletion optimizer.
|
17574
|
+
#
|
17575
|
+
# @!attribute [rw] iceberg_configuration
|
17576
|
+
# The configuration for an Iceberg orphan file deletion optimizer.
|
17577
|
+
# @return [Types::IcebergOrphanFileDeletionConfiguration]
|
17578
|
+
#
|
17579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/OrphanFileDeletionConfiguration AWS API Documentation
|
17580
|
+
#
|
17581
|
+
class OrphanFileDeletionConfiguration < Struct.new(
|
17582
|
+
:iceberg_configuration)
|
17583
|
+
SENSITIVE = []
|
17584
|
+
include Aws::Structure
|
17585
|
+
end
|
17586
|
+
|
17587
|
+
# A structure that contains orphan file deletion metrics for the
|
17588
|
+
# optimizer run.
|
17589
|
+
#
|
17590
|
+
# @!attribute [rw] iceberg_metrics
|
17591
|
+
# A structure containing the Iceberg orphan file deletion metrics for
|
17592
|
+
# the optimizer run.
|
17593
|
+
# @return [Types::IcebergOrphanFileDeletionMetrics]
|
17594
|
+
#
|
17595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/OrphanFileDeletionMetrics AWS API Documentation
|
17596
|
+
#
|
17597
|
+
class OrphanFileDeletionMetrics < Struct.new(
|
17598
|
+
:iceberg_metrics)
|
17599
|
+
SENSITIVE = []
|
17600
|
+
include Aws::Structure
|
17601
|
+
end
|
17602
|
+
|
17417
17603
|
# A structure containing other metadata for a schema version belonging
|
17418
17604
|
# to the same metadata key.
|
17419
17605
|
#
|
@@ -18745,6 +18931,35 @@ module Aws::Glue
|
|
18745
18931
|
include Aws::Structure
|
18746
18932
|
end
|
18747
18933
|
|
18934
|
+
# The configuration for a snapshot retention optimizer.
|
18935
|
+
#
|
18936
|
+
# @!attribute [rw] iceberg_configuration
|
18937
|
+
# The configuration for an Iceberg snapshot retention optimizer.
|
18938
|
+
# @return [Types::IcebergRetentionConfiguration]
|
18939
|
+
#
|
18940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RetentionConfiguration AWS API Documentation
|
18941
|
+
#
|
18942
|
+
class RetentionConfiguration < Struct.new(
|
18943
|
+
:iceberg_configuration)
|
18944
|
+
SENSITIVE = []
|
18945
|
+
include Aws::Structure
|
18946
|
+
end
|
18947
|
+
|
18948
|
+
# A structure that contains retention metrics for the optimizer run.
|
18949
|
+
#
|
18950
|
+
# @!attribute [rw] iceberg_metrics
|
18951
|
+
# A structure containing the Iceberg retention metrics for the
|
18952
|
+
# optimizer run.
|
18953
|
+
# @return [Types::IcebergRetentionMetrics]
|
18954
|
+
#
|
18955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RetentionMetrics AWS API Documentation
|
18956
|
+
#
|
18957
|
+
class RetentionMetrics < Struct.new(
|
18958
|
+
:iceberg_metrics)
|
18959
|
+
SENSITIVE = []
|
18960
|
+
include Aws::Structure
|
18961
|
+
end
|
18962
|
+
|
18748
18963
|
# A run identifier.
|
18749
18964
|
#
|
18750
18965
|
# @!attribute [rw] run_id
|
@@ -18766,6 +18981,9 @@ module Aws::Glue
|
|
18766
18981
|
|
18767
18982
|
# Metrics for the optimizer run.
|
18768
18983
|
#
|
18984
|
+
# This structure is deprecated. See the individual metric members for
|
18985
|
+
# compaction, retention, and orphan file deletion.
|
18986
|
+
#
|
18769
18987
|
# @!attribute [rw] number_of_bytes_compacted
|
18770
18988
|
# The number of bytes removed by the compaction job run.
|
18771
18989
|
# @return [String]
|
@@ -22405,8 +22623,15 @@ module Aws::Glue
|
|
22405
22623
|
# Contains details about an optimizer associated with a table.
|
22406
22624
|
#
|
22407
22625
|
# @!attribute [rw] type
|
22408
|
-
# The type of table optimizer.
|
22409
|
-
#
|
22626
|
+
# The type of table optimizer. The valid values are:
|
22627
|
+
#
|
22628
|
+
# * `compaction`: for managing compaction with a table optimizer.
|
22629
|
+
#
|
22630
|
+
# * `retention`: for managing the retention of snapshot with a table
|
22631
|
+
# optimizer.
|
22632
|
+
#
|
22633
|
+
# * `orphan_file_deletion`: for managing the deletion of orphan files
|
22634
|
+
# with a table optimizer.
|
22410
22635
|
# @return [String]
|
22411
22636
|
#
|
22412
22637
|
# @!attribute [rw] configuration
|
@@ -22442,11 +22667,21 @@ module Aws::Glue
|
|
22442
22667
|
# Whether table optimization is enabled.
|
22443
22668
|
# @return [Boolean]
|
22444
22669
|
#
|
22670
|
+
# @!attribute [rw] retention_configuration
|
22671
|
+
# The configuration for a snapshot retention optimizer.
|
22672
|
+
# @return [Types::RetentionConfiguration]
|
22673
|
+
#
|
22674
|
+
# @!attribute [rw] orphan_file_deletion_configuration
|
22675
|
+
# The configuration for an orphan file deletion optimizer.
|
22676
|
+
# @return [Types::OrphanFileDeletionConfiguration]
|
22677
|
+
#
|
22445
22678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableOptimizerConfiguration AWS API Documentation
|
22446
22679
|
#
|
22447
22680
|
class TableOptimizerConfiguration < Struct.new(
|
22448
22681
|
:role_arn,
|
22449
|
-
:enabled
|
22682
|
+
:enabled,
|
22683
|
+
:retention_configuration,
|
22684
|
+
:orphan_file_deletion_configuration)
|
22450
22685
|
SENSITIVE = []
|
22451
22686
|
include Aws::Structure
|
22452
22687
|
end
|
@@ -22468,12 +22703,30 @@ module Aws::Glue
|
|
22468
22703
|
#
|
22469
22704
|
# @!attribute [rw] metrics
|
22470
22705
|
# A `RunMetrics` object containing metrics for the optimizer run.
|
22706
|
+
#
|
22707
|
+
# This member is deprecated. See the individual metric members for
|
22708
|
+
# compaction, retention, and orphan file deletion.
|
22471
22709
|
# @return [Types::RunMetrics]
|
22472
22710
|
#
|
22473
22711
|
# @!attribute [rw] error
|
22474
22712
|
# An error that occured during the optimizer run.
|
22475
22713
|
# @return [String]
|
22476
22714
|
#
|
22715
|
+
# @!attribute [rw] compaction_metrics
|
22716
|
+
# A `CompactionMetrics` object containing metrics for the optimizer
|
22717
|
+
# run.
|
22718
|
+
# @return [Types::CompactionMetrics]
|
22719
|
+
#
|
22720
|
+
# @!attribute [rw] retention_metrics
|
22721
|
+
# A `RetentionMetrics` object containing metrics for the optimizer
|
22722
|
+
# run.
|
22723
|
+
# @return [Types::RetentionMetrics]
|
22724
|
+
#
|
22725
|
+
# @!attribute [rw] orphan_file_deletion_metrics
|
22726
|
+
# An `OrphanFileDeletionMetrics` object containing metrics for the
|
22727
|
+
# optimizer run.
|
22728
|
+
# @return [Types::OrphanFileDeletionMetrics]
|
22729
|
+
#
|
22477
22730
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableOptimizerRun AWS API Documentation
|
22478
22731
|
#
|
22479
22732
|
class TableOptimizerRun < Struct.new(
|
@@ -22481,7 +22734,10 @@ module Aws::Glue
|
|
22481
22734
|
:start_timestamp,
|
22482
22735
|
:end_timestamp,
|
22483
22736
|
:metrics,
|
22484
|
-
:error
|
22737
|
+
:error,
|
22738
|
+
:compaction_metrics,
|
22739
|
+
:retention_metrics,
|
22740
|
+
:orphan_file_deletion_metrics)
|
22485
22741
|
SENSITIVE = []
|
22486
22742
|
include Aws::Structure
|
22487
22743
|
end
|
@@ -22765,6 +23021,20 @@ module Aws::Glue
|
|
22765
23021
|
include Aws::Structure
|
22766
23022
|
end
|
22767
23023
|
|
23024
|
+
# The throttling threshhold was exceeded.
|
23025
|
+
#
|
23026
|
+
# @!attribute [rw] message
|
23027
|
+
# A message describing the problem.
|
23028
|
+
# @return [String]
|
23029
|
+
#
|
23030
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ThrottlingException AWS API Documentation
|
23031
|
+
#
|
23032
|
+
class ThrottlingException < Struct.new(
|
23033
|
+
:message)
|
23034
|
+
SENSITIVE = []
|
23035
|
+
include Aws::Structure
|
23036
|
+
end
|
23037
|
+
|
22768
23038
|
# A timestamp filter.
|
22769
23039
|
#
|
22770
23040
|
# @!attribute [rw] recorded_before
|
data/lib/aws-sdk-glue.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -292,7 +292,7 @@ module Aws
|
|
292
292
|
catalog_id: ::String?,
|
293
293
|
database_name: ::String?,
|
294
294
|
table_name: ::String?,
|
295
|
-
type: ("compaction")?
|
295
|
+
type: ("compaction" | "retention" | "orphan_file_deletion")?
|
296
296
|
},
|
297
297
|
]
|
298
298
|
) -> _BatchGetTableOptimizerResponseSuccess
|
@@ -2390,10 +2390,23 @@ module Aws
|
|
2390
2390
|
catalog_id: ::String,
|
2391
2391
|
database_name: ::String,
|
2392
2392
|
table_name: ::String,
|
2393
|
-
type: ("compaction"),
|
2393
|
+
type: ("compaction" | "retention" | "orphan_file_deletion"),
|
2394
2394
|
table_optimizer_configuration: {
|
2395
2395
|
role_arn: ::String?,
|
2396
|
-
enabled: bool
|
2396
|
+
enabled: bool?,
|
2397
|
+
retention_configuration: {
|
2398
|
+
iceberg_configuration: {
|
2399
|
+
snapshot_retention_period_in_days: ::Integer?,
|
2400
|
+
number_of_snapshots_to_retain: ::Integer?,
|
2401
|
+
clean_expired_files: bool?
|
2402
|
+
}?
|
2403
|
+
}?,
|
2404
|
+
orphan_file_deletion_configuration: {
|
2405
|
+
iceberg_configuration: {
|
2406
|
+
orphan_file_retention_period_in_days: ::Integer?,
|
2407
|
+
location: ::String?
|
2408
|
+
}?
|
2409
|
+
}?
|
2397
2410
|
}
|
2398
2411
|
) -> _CreateTableOptimizerResponseSuccess
|
2399
2412
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableOptimizerResponseSuccess
|
@@ -2745,7 +2758,7 @@ module Aws
|
|
2745
2758
|
catalog_id: ::String,
|
2746
2759
|
database_name: ::String,
|
2747
2760
|
table_name: ::String,
|
2748
|
-
type: ("compaction")
|
2761
|
+
type: ("compaction" | "retention" | "orphan_file_deletion")
|
2749
2762
|
) -> _DeleteTableOptimizerResponseSuccess
|
2750
2763
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTableOptimizerResponseSuccess
|
2751
2764
|
|
@@ -3697,7 +3710,7 @@ module Aws
|
|
3697
3710
|
catalog_id: ::String,
|
3698
3711
|
database_name: ::String,
|
3699
3712
|
table_name: ::String,
|
3700
|
-
type: ("compaction")
|
3713
|
+
type: ("compaction" | "retention" | "orphan_file_deletion")
|
3701
3714
|
) -> _GetTableOptimizerResponseSuccess
|
3702
3715
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableOptimizerResponseSuccess
|
3703
3716
|
|
@@ -4339,7 +4352,7 @@ module Aws
|
|
4339
4352
|
catalog_id: ::String,
|
4340
4353
|
database_name: ::String,
|
4341
4354
|
table_name: ::String,
|
4342
|
-
type: ("compaction"),
|
4355
|
+
type: ("compaction" | "retention" | "orphan_file_deletion"),
|
4343
4356
|
?max_results: ::Integer,
|
4344
4357
|
?next_token: ::String
|
4345
4358
|
) -> _ListTableOptimizerRunsResponseSuccess
|
@@ -6806,10 +6819,23 @@ module Aws
|
|
6806
6819
|
catalog_id: ::String,
|
6807
6820
|
database_name: ::String,
|
6808
6821
|
table_name: ::String,
|
6809
|
-
type: ("compaction"),
|
6822
|
+
type: ("compaction" | "retention" | "orphan_file_deletion"),
|
6810
6823
|
table_optimizer_configuration: {
|
6811
6824
|
role_arn: ::String?,
|
6812
|
-
enabled: bool
|
6825
|
+
enabled: bool?,
|
6826
|
+
retention_configuration: {
|
6827
|
+
iceberg_configuration: {
|
6828
|
+
snapshot_retention_period_in_days: ::Integer?,
|
6829
|
+
number_of_snapshots_to_retain: ::Integer?,
|
6830
|
+
clean_expired_files: bool?
|
6831
|
+
}?
|
6832
|
+
}?,
|
6833
|
+
orphan_file_deletion_configuration: {
|
6834
|
+
iceberg_configuration: {
|
6835
|
+
orphan_file_retention_period_in_days: ::Integer?,
|
6836
|
+
location: ::String?
|
6837
|
+
}?
|
6838
|
+
}?
|
6813
6839
|
}
|
6814
6840
|
) -> _UpdateTableOptimizerResponseSuccess
|
6815
6841
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableOptimizerResponseSuccess
|
data/sig/errors.rbs
CHANGED
@@ -117,6 +117,9 @@ module Aws
|
|
117
117
|
class SchedulerTransitioningException < ::Aws::Errors::ServiceError
|
118
118
|
def message: () -> ::String
|
119
119
|
end
|
120
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
121
|
+
def message: () -> ::String
|
122
|
+
end
|
120
123
|
class ValidationException < ::Aws::Errors::ServiceError
|
121
124
|
def message: () -> ::String
|
122
125
|
end
|