aws-sdk-glue 1.193.0 → 1.195.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 +142 -10
- data/lib/aws-sdk-glue/client_api.rb +109 -1
- data/lib/aws-sdk-glue/endpoints.rb +11 -0
- data/lib/aws-sdk-glue/errors.rb +16 -0
- data/lib/aws-sdk-glue/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-glue/types.rb +340 -5
- data/lib/aws-sdk-glue.rb +1 -1
- data/sig/client.rbs +64 -8
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +96 -8
- metadata +2 -2
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,85 @@ module Aws::Glue
|
|
22765
23021
|
include Aws::Structure
|
22766
23022
|
end
|
22767
23023
|
|
23024
|
+
# A structure that is used to specify testing a connection to a service.
|
23025
|
+
#
|
23026
|
+
# @!attribute [rw] connection_type
|
23027
|
+
# The type of connection to test. This operation is only available for
|
23028
|
+
# the `JDBC` or `SALESFORCE` connection types.
|
23029
|
+
# @return [String]
|
23030
|
+
#
|
23031
|
+
# @!attribute [rw] connection_properties
|
23032
|
+
# The key-value pairs that define parameters for the connection.
|
23033
|
+
#
|
23034
|
+
# JDBC connections use the following connection properties:
|
23035
|
+
#
|
23036
|
+
# * Required: All of (`HOST`, `PORT`, `JDBC_ENGINE`) or
|
23037
|
+
# `JDBC_CONNECTION_URL`.
|
23038
|
+
#
|
23039
|
+
# * Required: All of (`USERNAME`, `PASSWORD`) or `SECRET_ID`.
|
23040
|
+
#
|
23041
|
+
# * Optional: `JDBC_ENFORCE_SSL`, `CUSTOM_JDBC_CERT`,
|
23042
|
+
# `CUSTOM_JDBC_CERT_STRING`, `SKIP_CUSTOM_JDBC_CERT_VALIDATION`.
|
23043
|
+
# These parameters are used to configure SSL with JDBC.
|
23044
|
+
#
|
23045
|
+
# SALESFORCE connections require the `AuthenticationConfiguration`
|
23046
|
+
# member to be configured.
|
23047
|
+
# @return [Hash<String,String>]
|
23048
|
+
#
|
23049
|
+
# @!attribute [rw] authentication_configuration
|
23050
|
+
# A structure containing the authentication configuration in the
|
23051
|
+
# TestConnection request. Required for a connection to Salesforce
|
23052
|
+
# using OAuth authentication.
|
23053
|
+
# @return [Types::AuthenticationConfigurationInput]
|
23054
|
+
#
|
23055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnectionInput AWS API Documentation
|
23056
|
+
#
|
23057
|
+
class TestConnectionInput < Struct.new(
|
23058
|
+
:connection_type,
|
23059
|
+
:connection_properties,
|
23060
|
+
:authentication_configuration)
|
23061
|
+
SENSITIVE = []
|
23062
|
+
include Aws::Structure
|
23063
|
+
end
|
23064
|
+
|
23065
|
+
# @!attribute [rw] connection_name
|
23066
|
+
# Optional. The name of the connection to test. If only name is
|
23067
|
+
# provided, the operation will get the connection and use that for
|
23068
|
+
# testing.
|
23069
|
+
# @return [String]
|
23070
|
+
#
|
23071
|
+
# @!attribute [rw] test_connection_input
|
23072
|
+
# A structure that is used to specify testing a connection to a
|
23073
|
+
# service.
|
23074
|
+
# @return [Types::TestConnectionInput]
|
23075
|
+
#
|
23076
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnectionRequest AWS API Documentation
|
23077
|
+
#
|
23078
|
+
class TestConnectionRequest < Struct.new(
|
23079
|
+
:connection_name,
|
23080
|
+
:test_connection_input)
|
23081
|
+
SENSITIVE = []
|
23082
|
+
include Aws::Structure
|
23083
|
+
end
|
23084
|
+
|
23085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnectionResponse AWS API Documentation
|
23086
|
+
#
|
23087
|
+
class TestConnectionResponse < Aws::EmptyStructure; end
|
23088
|
+
|
23089
|
+
# The throttling threshhold was exceeded.
|
23090
|
+
#
|
23091
|
+
# @!attribute [rw] message
|
23092
|
+
# A message describing the problem.
|
23093
|
+
# @return [String]
|
23094
|
+
#
|
23095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ThrottlingException AWS API Documentation
|
23096
|
+
#
|
23097
|
+
class ThrottlingException < Struct.new(
|
23098
|
+
:message)
|
23099
|
+
SENSITIVE = []
|
23100
|
+
include Aws::Structure
|
23101
|
+
end
|
23102
|
+
|
22768
23103
|
# A timestamp filter.
|
22769
23104
|
#
|
22770
23105
|
# @!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
|
@@ -4873,6 +4886,36 @@ module Aws
|
|
4873
4886
|
) -> _TagResourceResponseSuccess
|
4874
4887
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
4875
4888
|
|
4889
|
+
interface _TestConnectionResponseSuccess
|
4890
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TestConnectionResponse]
|
4891
|
+
end
|
4892
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#test_connection-instance_method
|
4893
|
+
def test_connection: (
|
4894
|
+
?connection_name: ::String,
|
4895
|
+
?test_connection_input: {
|
4896
|
+
connection_type: ("JDBC" | "SFTP" | "MONGODB" | "KAFKA" | "NETWORK" | "MARKETPLACE" | "CUSTOM" | "SALESFORCE" | "VIEW_VALIDATION_REDSHIFT" | "VIEW_VALIDATION_ATHENA"),
|
4897
|
+
connection_properties: Hash[("HOST" | "PORT" | "USERNAME" | "PASSWORD" | "ENCRYPTED_PASSWORD" | "JDBC_DRIVER_JAR_URI" | "JDBC_DRIVER_CLASS_NAME" | "JDBC_ENGINE" | "JDBC_ENGINE_VERSION" | "CONFIG_FILES" | "INSTANCE_ID" | "JDBC_CONNECTION_URL" | "JDBC_ENFORCE_SSL" | "CUSTOM_JDBC_CERT" | "SKIP_CUSTOM_JDBC_CERT_VALIDATION" | "CUSTOM_JDBC_CERT_STRING" | "CONNECTION_URL" | "KAFKA_BOOTSTRAP_SERVERS" | "KAFKA_SSL_ENABLED" | "KAFKA_CUSTOM_CERT" | "KAFKA_SKIP_CUSTOM_CERT_VALIDATION" | "KAFKA_CLIENT_KEYSTORE" | "KAFKA_CLIENT_KEYSTORE_PASSWORD" | "KAFKA_CLIENT_KEY_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD" | "SECRET_ID" | "CONNECTOR_URL" | "CONNECTOR_TYPE" | "CONNECTOR_CLASS_NAME" | "KAFKA_SASL_MECHANISM" | "KAFKA_SASL_PLAIN_USERNAME" | "KAFKA_SASL_PLAIN_PASSWORD" | "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD" | "KAFKA_SASL_SCRAM_USERNAME" | "KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_SCRAM_SECRETS_ARN" | "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_GSSAPI_KEYTAB" | "KAFKA_SASL_GSSAPI_KRB5_CONF" | "KAFKA_SASL_GSSAPI_SERVICE" | "KAFKA_SASL_GSSAPI_PRINCIPAL" | "ROLE_ARN" | "REGION" | "WORKGROUP_NAME" | "CLUSTER_IDENTIFIER" | "DATABASE"), ::String],
|
4898
|
+
authentication_configuration: {
|
4899
|
+
authentication_type: ("BASIC" | "OAUTH2" | "CUSTOM")?,
|
4900
|
+
secret_arn: ::String?,
|
4901
|
+
o_auth_2_properties: {
|
4902
|
+
o_auth_2_grant_type: ("AUTHORIZATION_CODE" | "CLIENT_CREDENTIALS" | "JWT_BEARER")?,
|
4903
|
+
o_auth_2_client_application: {
|
4904
|
+
user_managed_client_application_client_id: ::String?,
|
4905
|
+
aws_managed_client_application_reference: ::String?
|
4906
|
+
}?,
|
4907
|
+
token_url: ::String?,
|
4908
|
+
token_url_parameters_map: Hash[::String, ::String]?,
|
4909
|
+
authorization_code_properties: {
|
4910
|
+
authorization_code: ::String?,
|
4911
|
+
redirect_uri: ::String?
|
4912
|
+
}?
|
4913
|
+
}?
|
4914
|
+
}?
|
4915
|
+
}
|
4916
|
+
) -> _TestConnectionResponseSuccess
|
4917
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestConnectionResponseSuccess
|
4918
|
+
|
4876
4919
|
interface _UntagResourceResponseSuccess
|
4877
4920
|
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
4878
4921
|
end
|
@@ -6806,10 +6849,23 @@ module Aws
|
|
6806
6849
|
catalog_id: ::String,
|
6807
6850
|
database_name: ::String,
|
6808
6851
|
table_name: ::String,
|
6809
|
-
type: ("compaction"),
|
6852
|
+
type: ("compaction" | "retention" | "orphan_file_deletion"),
|
6810
6853
|
table_optimizer_configuration: {
|
6811
6854
|
role_arn: ::String?,
|
6812
|
-
enabled: bool
|
6855
|
+
enabled: bool?,
|
6856
|
+
retention_configuration: {
|
6857
|
+
iceberg_configuration: {
|
6858
|
+
snapshot_retention_period_in_days: ::Integer?,
|
6859
|
+
number_of_snapshots_to_retain: ::Integer?,
|
6860
|
+
clean_expired_files: bool?
|
6861
|
+
}?
|
6862
|
+
}?,
|
6863
|
+
orphan_file_deletion_configuration: {
|
6864
|
+
iceberg_configuration: {
|
6865
|
+
orphan_file_retention_period_in_days: ::Integer?,
|
6866
|
+
location: ::String?
|
6867
|
+
}?
|
6868
|
+
}?
|
6813
6869
|
}
|
6814
6870
|
) -> _UpdateTableOptimizerResponseSuccess
|
6815
6871
|
| (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
|