aws-sdk-glue 1.221.0 → 1.223.0

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.
data/sig/client.rbs CHANGED
@@ -496,7 +496,8 @@ module Aws
496
496
  description: ::String?,
497
497
  federated_catalog: {
498
498
  identifier: ::String?,
499
- connection_name: ::String?
499
+ connection_name: ::String?,
500
+ connection_type: ::String?
500
501
  }?,
501
502
  parameters: Hash[::String, ::String]?,
502
503
  target_redshift_catalog: {
@@ -800,7 +801,8 @@ module Aws
800
801
  }?,
801
802
  federated_database: {
802
803
  identifier: ::String?,
803
- connection_name: ::String?
804
+ connection_name: ::String?,
805
+ connection_type: ::String?
804
806
  }?
805
807
  },
806
808
  ?tags: Hash[::String, ::String]
@@ -2520,6 +2522,7 @@ module Aws
2520
2522
  def create_table: (
2521
2523
  ?catalog_id: ::String,
2522
2524
  database_name: ::String,
2525
+ ?name: ::String,
2523
2526
  table_input: {
2524
2527
  name: ::String,
2525
2528
  description: ::String?,
@@ -2614,7 +2617,48 @@ module Aws
2614
2617
  ?open_table_format_input: {
2615
2618
  iceberg_input: {
2616
2619
  metadata_operation: ("CREATE"),
2617
- version: ::String?
2620
+ version: ::String?,
2621
+ create_iceberg_table_input: {
2622
+ location: ::String,
2623
+ schema: {
2624
+ schema_id: ::Integer?,
2625
+ identifier_field_ids: Array[::Integer]?,
2626
+ type: ("struct")?,
2627
+ fields: Array[
2628
+ {
2629
+ id: ::Integer,
2630
+ name: ::String,
2631
+ type: {
2632
+ },
2633
+ required: bool,
2634
+ doc: ::String?
2635
+ },
2636
+ ]
2637
+ },
2638
+ partition_spec: {
2639
+ fields: Array[
2640
+ {
2641
+ source_id: ::Integer,
2642
+ transform: ::String,
2643
+ name: ::String,
2644
+ field_id: ::Integer?
2645
+ },
2646
+ ],
2647
+ spec_id: ::Integer?
2648
+ }?,
2649
+ write_order: {
2650
+ order_id: ::Integer,
2651
+ fields: Array[
2652
+ {
2653
+ source_id: ::Integer,
2654
+ transform: ::String,
2655
+ direction: ("asc" | "desc"),
2656
+ null_order: ("nulls-first" | "nulls-last")
2657
+ },
2658
+ ]
2659
+ }?,
2660
+ properties: Hash[::String, ::String]?
2661
+ }?
2618
2662
  }?
2619
2663
  }
2620
2664
  ) -> _CreateTableResponseSuccess
@@ -2635,6 +2679,11 @@ module Aws
2635
2679
  vpc_configuration: {
2636
2680
  glue_connection_name: ::String?
2637
2681
  }?,
2682
+ compaction_configuration: {
2683
+ iceberg_configuration: {
2684
+ strategy: ("binpack" | "sort" | "z-order")?
2685
+ }?
2686
+ }?,
2638
2687
  retention_configuration: {
2639
2688
  iceberg_configuration: {
2640
2689
  snapshot_retention_period_in_days: ::Integer?,
@@ -5476,7 +5525,8 @@ module Aws
5476
5525
  description: ::String?,
5477
5526
  federated_catalog: {
5478
5527
  identifier: ::String?,
5479
- connection_name: ::String?
5528
+ connection_name: ::String?,
5529
+ connection_type: ::String?
5480
5530
  }?,
5481
5531
  parameters: Hash[::String, ::String]?,
5482
5532
  target_redshift_catalog: {
@@ -5905,7 +5955,8 @@ module Aws
5905
5955
  }?,
5906
5956
  federated_database: {
5907
5957
  identifier: ::String?,
5908
- connection_name: ::String?
5958
+ connection_name: ::String?,
5959
+ connection_type: ::String?
5909
5960
  }?
5910
5961
  }
5911
5962
  ) -> _UpdateDatabaseResponseSuccess
@@ -7469,7 +7520,8 @@ module Aws
7469
7520
  def update_table: (
7470
7521
  ?catalog_id: ::String,
7471
7522
  database_name: ::String,
7472
- table_input: {
7523
+ ?name: ::String,
7524
+ ?table_input: {
7473
7525
  name: ::String,
7474
7526
  description: ::String?,
7475
7527
  owner: ::String?,
@@ -7557,7 +7609,56 @@ module Aws
7557
7609
  ?transaction_id: ::String,
7558
7610
  ?version_id: ::String,
7559
7611
  ?view_update_action: ("ADD" | "REPLACE" | "ADD_OR_REPLACE" | "DROP"),
7560
- ?force: bool
7612
+ ?force: bool,
7613
+ ?update_open_table_format_input: {
7614
+ update_iceberg_input: {
7615
+ update_iceberg_table_input: {
7616
+ updates: Array[
7617
+ {
7618
+ schema: {
7619
+ schema_id: ::Integer?,
7620
+ identifier_field_ids: Array[::Integer]?,
7621
+ type: ("struct")?,
7622
+ fields: Array[
7623
+ {
7624
+ id: ::Integer,
7625
+ name: ::String,
7626
+ type: {
7627
+ },
7628
+ required: bool,
7629
+ doc: ::String?
7630
+ },
7631
+ ]
7632
+ },
7633
+ partition_spec: {
7634
+ fields: Array[
7635
+ {
7636
+ source_id: ::Integer,
7637
+ transform: ::String,
7638
+ name: ::String,
7639
+ field_id: ::Integer?
7640
+ },
7641
+ ],
7642
+ spec_id: ::Integer?
7643
+ }?,
7644
+ sort_order: {
7645
+ order_id: ::Integer,
7646
+ fields: Array[
7647
+ {
7648
+ source_id: ::Integer,
7649
+ transform: ::String,
7650
+ direction: ("asc" | "desc"),
7651
+ null_order: ("nulls-first" | "nulls-last")
7652
+ },
7653
+ ]
7654
+ }?,
7655
+ location: ::String,
7656
+ properties: Hash[::String, ::String]?
7657
+ },
7658
+ ]
7659
+ }
7660
+ }?
7661
+ }
7561
7662
  ) -> _UpdateTableResponseSuccess
7562
7663
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableResponseSuccess
7563
7664
 
@@ -7576,6 +7677,11 @@ module Aws
7576
7677
  vpc_configuration: {
7577
7678
  glue_connection_name: ::String?
7578
7679
  }?,
7680
+ compaction_configuration: {
7681
+ iceberg_configuration: {
7682
+ strategy: ("binpack" | "sort" | "z-order")?
7683
+ }?
7684
+ }?,
7579
7685
  retention_configuration: {
7580
7686
  iceberg_configuration: {
7581
7687
  snapshot_retention_period_in_days: ::Integer?,
data/sig/types.rbs CHANGED
@@ -889,6 +889,11 @@ module Aws::Glue
889
889
  SENSITIVE: []
890
890
  end
891
891
 
892
+ class CompactionConfiguration
893
+ attr_accessor iceberg_configuration: Types::IcebergCompactionConfiguration
894
+ SENSITIVE: []
895
+ end
896
+
892
897
  class CompactionMetrics
893
898
  attr_accessor iceberg_metrics: Types::IcebergCompactionMetrics
894
899
  SENSITIVE: []
@@ -1330,6 +1335,15 @@ module Aws::Glue
1330
1335
  SENSITIVE: []
1331
1336
  end
1332
1337
 
1338
+ class CreateIcebergTableInput
1339
+ attr_accessor location: ::String
1340
+ attr_accessor schema: Types::IcebergSchema
1341
+ attr_accessor partition_spec: Types::IcebergPartitionSpec
1342
+ attr_accessor write_order: Types::IcebergSortOrder
1343
+ attr_accessor properties: ::Hash[::String, ::String]
1344
+ SENSITIVE: []
1345
+ end
1346
+
1333
1347
  class CreateIntegrationRequest
1334
1348
  attr_accessor integration_name: ::String
1335
1349
  attr_accessor source_arn: ::String
@@ -1577,6 +1591,7 @@ module Aws::Glue
1577
1591
  class CreateTableRequest
1578
1592
  attr_accessor catalog_id: ::String
1579
1593
  attr_accessor database_name: ::String
1594
+ attr_accessor name: ::String
1580
1595
  attr_accessor table_input: Types::TableInput
1581
1596
  attr_accessor partition_indexes: ::Array[Types::PartitionIndex]
1582
1597
  attr_accessor transaction_id: ::String
@@ -2567,12 +2582,14 @@ module Aws::Glue
2567
2582
  class FederatedCatalog
2568
2583
  attr_accessor identifier: ::String
2569
2584
  attr_accessor connection_name: ::String
2585
+ attr_accessor connection_type: ::String
2570
2586
  SENSITIVE: []
2571
2587
  end
2572
2588
 
2573
2589
  class FederatedDatabase
2574
2590
  attr_accessor identifier: ::String
2575
2591
  attr_accessor connection_name: ::String
2592
+ attr_accessor connection_type: ::String
2576
2593
  SENSITIVE: []
2577
2594
  end
2578
2595
 
@@ -2586,6 +2603,7 @@ module Aws::Glue
2586
2603
  attr_accessor identifier: ::String
2587
2604
  attr_accessor database_identifier: ::String
2588
2605
  attr_accessor connection_name: ::String
2606
+ attr_accessor connection_type: ::String
2589
2607
  SENSITIVE: []
2590
2608
  end
2591
2609
 
@@ -3847,6 +3865,11 @@ module Aws::Glue
3847
3865
  SENSITIVE: []
3848
3866
  end
3849
3867
 
3868
+ class IcebergCompactionConfiguration
3869
+ attr_accessor strategy: ("binpack" | "sort" | "z-order")
3870
+ SENSITIVE: []
3871
+ end
3872
+
3850
3873
  class IcebergCompactionMetrics
3851
3874
  attr_accessor number_of_bytes_compacted: ::Integer
3852
3875
  attr_accessor number_of_files_compacted: ::Integer
@@ -3859,6 +3882,7 @@ module Aws::Glue
3859
3882
  class IcebergInput
3860
3883
  attr_accessor metadata_operation: ("CREATE")
3861
3884
  attr_accessor version: ::String
3885
+ attr_accessor create_iceberg_table_input: Types::CreateIcebergTableInput
3862
3886
  SENSITIVE: []
3863
3887
  end
3864
3888
 
@@ -3876,6 +3900,20 @@ module Aws::Glue
3876
3900
  SENSITIVE: []
3877
3901
  end
3878
3902
 
3903
+ class IcebergPartitionField
3904
+ attr_accessor source_id: ::Integer
3905
+ attr_accessor transform: ::String
3906
+ attr_accessor name: ::String
3907
+ attr_accessor field_id: ::Integer
3908
+ SENSITIVE: []
3909
+ end
3910
+
3911
+ class IcebergPartitionSpec
3912
+ attr_accessor fields: ::Array[Types::IcebergPartitionField]
3913
+ attr_accessor spec_id: ::Integer
3914
+ SENSITIVE: []
3915
+ end
3916
+
3879
3917
  class IcebergRetentionConfiguration
3880
3918
  attr_accessor snapshot_retention_period_in_days: ::Integer
3881
3919
  attr_accessor number_of_snapshots_to_retain: ::Integer
@@ -3893,6 +3931,46 @@ module Aws::Glue
3893
3931
  SENSITIVE: []
3894
3932
  end
3895
3933
 
3934
+ class IcebergSchema
3935
+ attr_accessor schema_id: ::Integer
3936
+ attr_accessor identifier_field_ids: ::Array[::Integer]
3937
+ attr_accessor type: ("struct")
3938
+ attr_accessor fields: ::Array[Types::IcebergStructField]
3939
+ SENSITIVE: []
3940
+ end
3941
+
3942
+ class IcebergSortField
3943
+ attr_accessor source_id: ::Integer
3944
+ attr_accessor transform: ::String
3945
+ attr_accessor direction: ("asc" | "desc")
3946
+ attr_accessor null_order: ("nulls-first" | "nulls-last")
3947
+ SENSITIVE: []
3948
+ end
3949
+
3950
+ class IcebergSortOrder
3951
+ attr_accessor order_id: ::Integer
3952
+ attr_accessor fields: ::Array[Types::IcebergSortField]
3953
+ SENSITIVE: []
3954
+ end
3955
+
3956
+ class IcebergStructField
3957
+ attr_accessor id: ::Integer
3958
+ attr_accessor name: ::String
3959
+ attr_accessor type: untyped
3960
+ attr_accessor required: bool
3961
+ attr_accessor doc: ::String
3962
+ SENSITIVE: []
3963
+ end
3964
+
3965
+ class IcebergTableUpdate
3966
+ attr_accessor schema: Types::IcebergSchema
3967
+ attr_accessor partition_spec: Types::IcebergPartitionSpec
3968
+ attr_accessor sort_order: Types::IcebergSortOrder
3969
+ attr_accessor location: ::String
3970
+ attr_accessor properties: ::Hash[::String, ::String]
3971
+ SENSITIVE: []
3972
+ end
3973
+
3896
3974
  class IcebergTarget
3897
3975
  attr_accessor paths: ::Array[::String]
3898
3976
  attr_accessor connection_name: ::String
@@ -6301,6 +6379,7 @@ module Aws::Glue
6301
6379
  attr_accessor role_arn: ::String
6302
6380
  attr_accessor enabled: bool
6303
6381
  attr_accessor vpc_configuration: Types::TableOptimizerVpcConfiguration
6382
+ attr_accessor compaction_configuration: Types::CompactionConfiguration
6304
6383
  attr_accessor retention_configuration: Types::RetentionConfiguration
6305
6384
  attr_accessor orphan_file_deletion_configuration: Types::OrphanFileDeletionConfiguration
6306
6385
  SENSITIVE: []
@@ -6313,6 +6392,7 @@ module Aws::Glue
6313
6392
  attr_accessor metrics: Types::RunMetrics
6314
6393
  attr_accessor error: ::String
6315
6394
  attr_accessor compaction_metrics: Types::CompactionMetrics
6395
+ attr_accessor compaction_strategy: ("binpack" | "sort" | "z-order")
6316
6396
  attr_accessor retention_metrics: Types::RetentionMetrics
6317
6397
  attr_accessor orphan_file_deletion_metrics: Types::OrphanFileDeletionMetrics
6318
6398
  SENSITIVE: []
@@ -6734,6 +6814,16 @@ module Aws::Glue
6734
6814
  SENSITIVE: []
6735
6815
  end
6736
6816
 
6817
+ class UpdateIcebergInput
6818
+ attr_accessor update_iceberg_table_input: Types::UpdateIcebergTableInput
6819
+ SENSITIVE: []
6820
+ end
6821
+
6822
+ class UpdateIcebergTableInput
6823
+ attr_accessor updates: ::Array[Types::IcebergTableUpdate]
6824
+ SENSITIVE: []
6825
+ end
6826
+
6737
6827
  class UpdateIntegrationResourcePropertyRequest
6738
6828
  attr_accessor resource_arn: ::String
6739
6829
  attr_accessor source_processing_properties: Types::SourceProcessingProperties
@@ -6814,6 +6904,11 @@ module Aws::Glue
6814
6904
  SENSITIVE: []
6815
6905
  end
6816
6906
 
6907
+ class UpdateOpenTableFormatInput
6908
+ attr_accessor update_iceberg_input: Types::UpdateIcebergInput
6909
+ SENSITIVE: []
6910
+ end
6911
+
6817
6912
  class UpdatePartitionRequest
6818
6913
  attr_accessor catalog_id: ::String
6819
6914
  attr_accessor database_name: ::String
@@ -6886,12 +6981,14 @@ module Aws::Glue
6886
6981
  class UpdateTableRequest
6887
6982
  attr_accessor catalog_id: ::String
6888
6983
  attr_accessor database_name: ::String
6984
+ attr_accessor name: ::String
6889
6985
  attr_accessor table_input: Types::TableInput
6890
6986
  attr_accessor skip_archive: bool
6891
6987
  attr_accessor transaction_id: ::String
6892
6988
  attr_accessor version_id: ::String
6893
6989
  attr_accessor view_update_action: ("ADD" | "REPLACE" | "ADD_OR_REPLACE" | "DROP")
6894
6990
  attr_accessor force: bool
6991
+ attr_accessor update_open_table_format_input: Types::UpdateOpenTableFormatInput
6895
6992
  SENSITIVE: []
6896
6993
  end
6897
6994
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.221.0
4
+ version: 1.223.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services