aws-sdk-glue 1.222.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +130 -3
- data/lib/aws-sdk-glue/client_api.rb +99 -1
- data/lib/aws-sdk-glue/types.rb +376 -5
- data/lib/aws-sdk-glue.rb +1 -1
- data/sig/client.rbs +103 -7
- data/sig/types.rbs +85 -0
- metadata +1 -1
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -5705,6 +5705,47 @@ module Aws::Glue
|
|
5705
5705
|
include Aws::Structure
|
5706
5706
|
end
|
5707
5707
|
|
5708
|
+
# The configuration parameters required to create a new Iceberg table in
|
5709
|
+
# the Glue Data Catalog, including table properties and metadata
|
5710
|
+
# specifications.
|
5711
|
+
#
|
5712
|
+
# @!attribute [rw] location
|
5713
|
+
# The S3 location where the Iceberg table data will be stored.
|
5714
|
+
# @return [String]
|
5715
|
+
#
|
5716
|
+
# @!attribute [rw] schema
|
5717
|
+
# The schema definition that specifies the structure, field types, and
|
5718
|
+
# metadata for the Iceberg table.
|
5719
|
+
# @return [Types::IcebergSchema]
|
5720
|
+
#
|
5721
|
+
# @!attribute [rw] partition_spec
|
5722
|
+
# The partitioning specification that defines how the Iceberg table
|
5723
|
+
# data will be organized and partitioned for optimal query
|
5724
|
+
# performance.
|
5725
|
+
# @return [Types::IcebergPartitionSpec]
|
5726
|
+
#
|
5727
|
+
# @!attribute [rw] write_order
|
5728
|
+
# The sort order specification that defines how data should be ordered
|
5729
|
+
# within each partition to optimize query performance.
|
5730
|
+
# @return [Types::IcebergSortOrder]
|
5731
|
+
#
|
5732
|
+
# @!attribute [rw] properties
|
5733
|
+
# Key-value pairs of additional table properties and configuration
|
5734
|
+
# settings for the Iceberg table.
|
5735
|
+
# @return [Hash<String,String>]
|
5736
|
+
#
|
5737
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateIcebergTableInput AWS API Documentation
|
5738
|
+
#
|
5739
|
+
class CreateIcebergTableInput < Struct.new(
|
5740
|
+
:location,
|
5741
|
+
:schema,
|
5742
|
+
:partition_spec,
|
5743
|
+
:write_order,
|
5744
|
+
:properties)
|
5745
|
+
SENSITIVE = []
|
5746
|
+
include Aws::Structure
|
5747
|
+
end
|
5748
|
+
|
5708
5749
|
# @!attribute [rw] integration_name
|
5709
5750
|
# A unique name for an integration in Glue.
|
5710
5751
|
# @return [String]
|
@@ -7041,6 +7082,11 @@ module Aws::Glue
|
|
7041
7082
|
# compatibility, this name is entirely lowercase.
|
7042
7083
|
# @return [String]
|
7043
7084
|
#
|
7085
|
+
# @!attribute [rw] name
|
7086
|
+
# The unique identifier for the table within the specified database
|
7087
|
+
# that will be created in the Glue Data Catalog.
|
7088
|
+
# @return [String]
|
7089
|
+
#
|
7044
7090
|
# @!attribute [rw] table_input
|
7045
7091
|
# The `TableInput` object that defines the metadata table to create in
|
7046
7092
|
# the catalog.
|
@@ -7065,6 +7111,7 @@ module Aws::Glue
|
|
7065
7111
|
class CreateTableRequest < Struct.new(
|
7066
7112
|
:catalog_id,
|
7067
7113
|
:database_name,
|
7114
|
+
:name,
|
7068
7115
|
:table_input,
|
7069
7116
|
:partition_indexes,
|
7070
7117
|
:transaction_id,
|
@@ -10661,11 +10708,18 @@ module Aws::Glue
|
|
10661
10708
|
# Redshift-federated catalog.
|
10662
10709
|
# @return [String]
|
10663
10710
|
#
|
10711
|
+
# @!attribute [rw] connection_type
|
10712
|
+
# The type of connection used to access the federated catalog,
|
10713
|
+
# specifying the protocol or method for connection to the external
|
10714
|
+
# data source.
|
10715
|
+
# @return [String]
|
10716
|
+
#
|
10664
10717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederatedCatalog AWS API Documentation
|
10665
10718
|
#
|
10666
10719
|
class FederatedCatalog < Struct.new(
|
10667
10720
|
:identifier,
|
10668
|
-
:connection_name
|
10721
|
+
:connection_name,
|
10722
|
+
:connection_type)
|
10669
10723
|
SENSITIVE = []
|
10670
10724
|
include Aws::Structure
|
10671
10725
|
end
|
@@ -10680,11 +10734,17 @@ module Aws::Glue
|
|
10680
10734
|
# The name of the connection to the external metastore.
|
10681
10735
|
# @return [String]
|
10682
10736
|
#
|
10737
|
+
# @!attribute [rw] connection_type
|
10738
|
+
# The type of connection used to access the federated database, such
|
10739
|
+
# as JDBC, ODBC, or other supported connection protocols.
|
10740
|
+
# @return [String]
|
10741
|
+
#
|
10683
10742
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederatedDatabase AWS API Documentation
|
10684
10743
|
#
|
10685
10744
|
class FederatedDatabase < Struct.new(
|
10686
10745
|
:identifier,
|
10687
|
-
:connection_name
|
10746
|
+
:connection_name,
|
10747
|
+
:connection_type)
|
10688
10748
|
SENSITIVE = []
|
10689
10749
|
include Aws::Structure
|
10690
10750
|
end
|
@@ -10722,12 +10782,19 @@ module Aws::Glue
|
|
10722
10782
|
# The name of the connection to the external metastore.
|
10723
10783
|
# @return [String]
|
10724
10784
|
#
|
10785
|
+
# @!attribute [rw] connection_type
|
10786
|
+
# The type of connection used to access the federated table,
|
10787
|
+
# specifying the protocol or method for connecting to the external
|
10788
|
+
# data source.
|
10789
|
+
# @return [String]
|
10790
|
+
#
|
10725
10791
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederatedTable AWS API Documentation
|
10726
10792
|
#
|
10727
10793
|
class FederatedTable < Struct.new(
|
10728
10794
|
:identifier,
|
10729
10795
|
:database_identifier,
|
10730
|
-
:connection_name
|
10796
|
+
:connection_name,
|
10797
|
+
:connection_type)
|
10731
10798
|
SENSITIVE = []
|
10732
10799
|
include Aws::Structure
|
10733
10800
|
end
|
@@ -15549,11 +15616,18 @@ module Aws::Glue
|
|
15549
15616
|
# The table version for the Iceberg table. Defaults to 2.
|
15550
15617
|
# @return [String]
|
15551
15618
|
#
|
15619
|
+
# @!attribute [rw] create_iceberg_table_input
|
15620
|
+
# The configuration parameters required to create a new Iceberg table
|
15621
|
+
# in the Glue Data Catalog, including table properties and metadata
|
15622
|
+
# specifications.
|
15623
|
+
# @return [Types::CreateIcebergTableInput]
|
15624
|
+
#
|
15552
15625
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergInput AWS API Documentation
|
15553
15626
|
#
|
15554
15627
|
class IcebergInput < Struct.new(
|
15555
15628
|
:metadata_operation,
|
15556
|
-
:version
|
15629
|
+
:version,
|
15630
|
+
:create_iceberg_table_input)
|
15557
15631
|
SENSITIVE = []
|
15558
15632
|
include Aws::Structure
|
15559
15633
|
end
|
@@ -15612,6 +15686,65 @@ module Aws::Glue
|
|
15612
15686
|
include Aws::Structure
|
15613
15687
|
end
|
15614
15688
|
|
15689
|
+
# Defines a single partition field within an Iceberg partition
|
15690
|
+
# specification, including the source field, transformation function,
|
15691
|
+
# partition name, and unique identifier.
|
15692
|
+
#
|
15693
|
+
# @!attribute [rw] source_id
|
15694
|
+
# The identifier of the source field from the table schema that this
|
15695
|
+
# partition field is based on.
|
15696
|
+
# @return [Integer]
|
15697
|
+
#
|
15698
|
+
# @!attribute [rw] transform
|
15699
|
+
# The transformation function applied to the source field to create
|
15700
|
+
# the partition, such as identity, bucket, truncate, year, month, day,
|
15701
|
+
# or hour.
|
15702
|
+
# @return [String]
|
15703
|
+
#
|
15704
|
+
# @!attribute [rw] name
|
15705
|
+
# The name of the partition field as it will appear in the partitioned
|
15706
|
+
# table structure.
|
15707
|
+
# @return [String]
|
15708
|
+
#
|
15709
|
+
# @!attribute [rw] field_id
|
15710
|
+
# The unique identifier assigned to this partition field within the
|
15711
|
+
# Iceberg table's partition specification.
|
15712
|
+
# @return [Integer]
|
15713
|
+
#
|
15714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergPartitionField AWS API Documentation
|
15715
|
+
#
|
15716
|
+
class IcebergPartitionField < Struct.new(
|
15717
|
+
:source_id,
|
15718
|
+
:transform,
|
15719
|
+
:name,
|
15720
|
+
:field_id)
|
15721
|
+
SENSITIVE = []
|
15722
|
+
include Aws::Structure
|
15723
|
+
end
|
15724
|
+
|
15725
|
+
# Defines the partitioning specification for an Iceberg table,
|
15726
|
+
# determining how table data will be organized and partitioned for
|
15727
|
+
# optimal query performance.
|
15728
|
+
#
|
15729
|
+
# @!attribute [rw] fields
|
15730
|
+
# The list of partition fields that define how the table data should
|
15731
|
+
# be partitioned, including source fields and their transformations.
|
15732
|
+
# @return [Array<Types::IcebergPartitionField>]
|
15733
|
+
#
|
15734
|
+
# @!attribute [rw] spec_id
|
15735
|
+
# The unique identifier for this partition specification within the
|
15736
|
+
# Iceberg table's metadata history.
|
15737
|
+
# @return [Integer]
|
15738
|
+
#
|
15739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergPartitionSpec AWS API Documentation
|
15740
|
+
#
|
15741
|
+
class IcebergPartitionSpec < Struct.new(
|
15742
|
+
:fields,
|
15743
|
+
:spec_id)
|
15744
|
+
SENSITIVE = []
|
15745
|
+
include Aws::Structure
|
15746
|
+
end
|
15747
|
+
|
15615
15748
|
# The configuration for an Iceberg snapshot retention optimizer.
|
15616
15749
|
#
|
15617
15750
|
# @!attribute [rw] snapshot_retention_period_in_days
|
@@ -15682,6 +15815,177 @@ module Aws::Glue
|
|
15682
15815
|
include Aws::Structure
|
15683
15816
|
end
|
15684
15817
|
|
15818
|
+
# Defines the schema structure for an Iceberg table, including field
|
15819
|
+
# definitions, data types, and schema metadata.
|
15820
|
+
#
|
15821
|
+
# @!attribute [rw] schema_id
|
15822
|
+
# The unique identifier for this schema version within the Iceberg
|
15823
|
+
# table's schema evolution history.
|
15824
|
+
# @return [Integer]
|
15825
|
+
#
|
15826
|
+
# @!attribute [rw] identifier_field_ids
|
15827
|
+
# The list of field identifiers that uniquely identify records in the
|
15828
|
+
# table, used for row-level operations and deduplication.
|
15829
|
+
# @return [Array<Integer>]
|
15830
|
+
#
|
15831
|
+
# @!attribute [rw] type
|
15832
|
+
# The root type of the schema structure, typically "struct" for
|
15833
|
+
# Iceberg table schemas.
|
15834
|
+
# @return [String]
|
15835
|
+
#
|
15836
|
+
# @!attribute [rw] fields
|
15837
|
+
# The list of field definitions that make up the table schema,
|
15838
|
+
# including field names, types, and metadata.
|
15839
|
+
# @return [Array<Types::IcebergStructField>]
|
15840
|
+
#
|
15841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergSchema AWS API Documentation
|
15842
|
+
#
|
15843
|
+
class IcebergSchema < Struct.new(
|
15844
|
+
:schema_id,
|
15845
|
+
:identifier_field_ids,
|
15846
|
+
:type,
|
15847
|
+
:fields)
|
15848
|
+
SENSITIVE = []
|
15849
|
+
include Aws::Structure
|
15850
|
+
end
|
15851
|
+
|
15852
|
+
# Defines a single field within an Iceberg sort order specification,
|
15853
|
+
# including the source field, transformation, sort direction, and null
|
15854
|
+
# value ordering.
|
15855
|
+
#
|
15856
|
+
# @!attribute [rw] source_id
|
15857
|
+
# The identifier of the source field from the table schema that this
|
15858
|
+
# sort field is based on.
|
15859
|
+
# @return [Integer]
|
15860
|
+
#
|
15861
|
+
# @!attribute [rw] transform
|
15862
|
+
# The transformation function applied to the source field before
|
15863
|
+
# sorting, such as identity, bucket, or truncate.
|
15864
|
+
# @return [String]
|
15865
|
+
#
|
15866
|
+
# @!attribute [rw] direction
|
15867
|
+
# The sort direction for this field, either ascending or descending.
|
15868
|
+
# @return [String]
|
15869
|
+
#
|
15870
|
+
# @!attribute [rw] null_order
|
15871
|
+
# The ordering behavior for null values in this field, specifying
|
15872
|
+
# whether nulls should appear first or last in the sort order.
|
15873
|
+
# @return [String]
|
15874
|
+
#
|
15875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergSortField AWS API Documentation
|
15876
|
+
#
|
15877
|
+
class IcebergSortField < Struct.new(
|
15878
|
+
:source_id,
|
15879
|
+
:transform,
|
15880
|
+
:direction,
|
15881
|
+
:null_order)
|
15882
|
+
SENSITIVE = []
|
15883
|
+
include Aws::Structure
|
15884
|
+
end
|
15885
|
+
|
15886
|
+
# Defines the sort order specification for an Iceberg table, determining
|
15887
|
+
# how data should be ordered within partitions to optimize query
|
15888
|
+
# performance.
|
15889
|
+
#
|
15890
|
+
# @!attribute [rw] order_id
|
15891
|
+
# The unique identifier for this sort order specification within the
|
15892
|
+
# Iceberg table's metadata.
|
15893
|
+
# @return [Integer]
|
15894
|
+
#
|
15895
|
+
# @!attribute [rw] fields
|
15896
|
+
# The list of fields and their sort directions that define the
|
15897
|
+
# ordering criteria for the Iceberg table data.
|
15898
|
+
# @return [Array<Types::IcebergSortField>]
|
15899
|
+
#
|
15900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergSortOrder AWS API Documentation
|
15901
|
+
#
|
15902
|
+
class IcebergSortOrder < Struct.new(
|
15903
|
+
:order_id,
|
15904
|
+
:fields)
|
15905
|
+
SENSITIVE = []
|
15906
|
+
include Aws::Structure
|
15907
|
+
end
|
15908
|
+
|
15909
|
+
# Defines a single field within an Iceberg table schema, including its
|
15910
|
+
# identifier, name, data type, nullability, and documentation.
|
15911
|
+
#
|
15912
|
+
# @!attribute [rw] id
|
15913
|
+
# The unique identifier assigned to this field within the Iceberg
|
15914
|
+
# table schema, used for schema evolution and field tracking.
|
15915
|
+
# @return [Integer]
|
15916
|
+
#
|
15917
|
+
# @!attribute [rw] name
|
15918
|
+
# The name of the field as it appears in the table schema and query
|
15919
|
+
# operations.
|
15920
|
+
# @return [String]
|
15921
|
+
#
|
15922
|
+
# @!attribute [rw] type
|
15923
|
+
# The data type definition for this field, specifying the structure
|
15924
|
+
# and format of the data it contains.
|
15925
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
15926
|
+
#
|
15927
|
+
# @!attribute [rw] required
|
15928
|
+
# Indicates whether this field is required (non-nullable) or optional
|
15929
|
+
# (nullable) in the table schema.
|
15930
|
+
# @return [Boolean]
|
15931
|
+
#
|
15932
|
+
# @!attribute [rw] doc
|
15933
|
+
# Optional documentation or description text that provides additional
|
15934
|
+
# context about the purpose and usage of this field.
|
15935
|
+
# @return [String]
|
15936
|
+
#
|
15937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergStructField AWS API Documentation
|
15938
|
+
#
|
15939
|
+
class IcebergStructField < Struct.new(
|
15940
|
+
:id,
|
15941
|
+
:name,
|
15942
|
+
:type,
|
15943
|
+
:required,
|
15944
|
+
:doc)
|
15945
|
+
SENSITIVE = []
|
15946
|
+
include Aws::Structure
|
15947
|
+
end
|
15948
|
+
|
15949
|
+
# Defines a complete set of updates to be applied to an Iceberg table,
|
15950
|
+
# including schema changes, partitioning modifications, sort order
|
15951
|
+
# adjustments, location updates, and property changes.
|
15952
|
+
#
|
15953
|
+
# @!attribute [rw] schema
|
15954
|
+
# The updated schema definition for the Iceberg table, specifying any
|
15955
|
+
# changes to field structure, data types, or schema metadata.
|
15956
|
+
# @return [Types::IcebergSchema]
|
15957
|
+
#
|
15958
|
+
# @!attribute [rw] partition_spec
|
15959
|
+
# The updated partitioning specification that defines how the table
|
15960
|
+
# data should be reorganized and partitioned.
|
15961
|
+
# @return [Types::IcebergPartitionSpec]
|
15962
|
+
#
|
15963
|
+
# @!attribute [rw] sort_order
|
15964
|
+
# The updated sort order specification that defines how data should be
|
15965
|
+
# ordered within partitions for optimal query performance.
|
15966
|
+
# @return [Types::IcebergSortOrder]
|
15967
|
+
#
|
15968
|
+
# @!attribute [rw] location
|
15969
|
+
# The updated S3 location where the Iceberg table data will be stored.
|
15970
|
+
# @return [String]
|
15971
|
+
#
|
15972
|
+
# @!attribute [rw] properties
|
15973
|
+
# Updated key-value pairs of table properties and configuration
|
15974
|
+
# settings for the Iceberg table.
|
15975
|
+
# @return [Hash<String,String>]
|
15976
|
+
#
|
15977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergTableUpdate AWS API Documentation
|
15978
|
+
#
|
15979
|
+
class IcebergTableUpdate < Struct.new(
|
15980
|
+
:schema,
|
15981
|
+
:partition_spec,
|
15982
|
+
:sort_order,
|
15983
|
+
:location,
|
15984
|
+
:properties)
|
15985
|
+
SENSITIVE = []
|
15986
|
+
include Aws::Structure
|
15987
|
+
end
|
15988
|
+
|
15685
15989
|
# Specifies an Apache Iceberg data source where Iceberg tables are
|
15686
15990
|
# stored in Amazon S3.
|
15687
15991
|
#
|
@@ -27484,6 +27788,42 @@ module Aws::Glue
|
|
27484
27788
|
include Aws::Structure
|
27485
27789
|
end
|
27486
27790
|
|
27791
|
+
# Input parameters specific to updating Apache Iceberg tables in Glue
|
27792
|
+
# Data Catalog, containing the update operations to be applied to an
|
27793
|
+
# existing Iceberg table.
|
27794
|
+
#
|
27795
|
+
# @!attribute [rw] update_iceberg_table_input
|
27796
|
+
# The specific update operations to be applied to the Iceberg table,
|
27797
|
+
# containing a list of updates that define the new state of the table
|
27798
|
+
# including schema, partitions, and properties.
|
27799
|
+
# @return [Types::UpdateIcebergTableInput]
|
27800
|
+
#
|
27801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateIcebergInput AWS API Documentation
|
27802
|
+
#
|
27803
|
+
class UpdateIcebergInput < Struct.new(
|
27804
|
+
:update_iceberg_table_input)
|
27805
|
+
SENSITIVE = []
|
27806
|
+
include Aws::Structure
|
27807
|
+
end
|
27808
|
+
|
27809
|
+
# Contains the update operations to be applied to an existing Iceberg
|
27810
|
+
# table in AWS Glue Data Catalog, defining the new state of the table
|
27811
|
+
# metadata.
|
27812
|
+
#
|
27813
|
+
# @!attribute [rw] updates
|
27814
|
+
# The list of table update operations that specify the changes to be
|
27815
|
+
# made to the Iceberg table, including schema modifications, partition
|
27816
|
+
# specifications, and table properties.
|
27817
|
+
# @return [Array<Types::IcebergTableUpdate>]
|
27818
|
+
#
|
27819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateIcebergTableInput AWS API Documentation
|
27820
|
+
#
|
27821
|
+
class UpdateIcebergTableInput < Struct.new(
|
27822
|
+
:updates)
|
27823
|
+
SENSITIVE = []
|
27824
|
+
include Aws::Structure
|
27825
|
+
end
|
27826
|
+
|
27487
27827
|
# @!attribute [rw] resource_arn
|
27488
27828
|
# The connection ARN of the source, or the database ARN of the target.
|
27489
27829
|
# @return [String]
|
@@ -27795,6 +28135,24 @@ module Aws::Glue
|
|
27795
28135
|
include Aws::Structure
|
27796
28136
|
end
|
27797
28137
|
|
28138
|
+
# Input parameters for updating open table format tables in GlueData
|
28139
|
+
# Catalog, serving as a wrapper for format-specific update operations
|
28140
|
+
# such as Apache Iceberg.
|
28141
|
+
#
|
28142
|
+
# @!attribute [rw] update_iceberg_input
|
28143
|
+
# Apache Iceberg-specific update parameters that define the table
|
28144
|
+
# modifications to be applied, including schema changes, partition
|
28145
|
+
# specifications, and table properties.
|
28146
|
+
# @return [Types::UpdateIcebergInput]
|
28147
|
+
#
|
28148
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateOpenTableFormatInput AWS API Documentation
|
28149
|
+
#
|
28150
|
+
class UpdateOpenTableFormatInput < Struct.new(
|
28151
|
+
:update_iceberg_input)
|
28152
|
+
SENSITIVE = []
|
28153
|
+
include Aws::Structure
|
28154
|
+
end
|
28155
|
+
|
27798
28156
|
# @!attribute [rw] catalog_id
|
27799
28157
|
# The ID of the Data Catalog where the partition to be updated
|
27800
28158
|
# resides. If none is provided, the Amazon Web Services account ID is
|
@@ -28049,6 +28407,11 @@ module Aws::Glue
|
|
28049
28407
|
# Hive compatibility, this name is entirely lowercase.
|
28050
28408
|
# @return [String]
|
28051
28409
|
#
|
28410
|
+
# @!attribute [rw] name
|
28411
|
+
# The unique identifier for the table within the specified database
|
28412
|
+
# that will be created in the Glue Data Catalog.
|
28413
|
+
# @return [String]
|
28414
|
+
#
|
28052
28415
|
# @!attribute [rw] table_input
|
28053
28416
|
# An updated `TableInput` object to define the metadata table in the
|
28054
28417
|
# catalog.
|
@@ -28077,17 +28440,25 @@ module Aws::Glue
|
|
28077
28440
|
# and subobject matching requirements.
|
28078
28441
|
# @return [Boolean]
|
28079
28442
|
#
|
28443
|
+
# @!attribute [rw] update_open_table_format_input
|
28444
|
+
# Input parameters for updating open table format tables in GlueData
|
28445
|
+
# Catalog, serving as a wrapper for format-specific update operations
|
28446
|
+
# such as Apache Iceberg.
|
28447
|
+
# @return [Types::UpdateOpenTableFormatInput]
|
28448
|
+
#
|
28080
28449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableRequest AWS API Documentation
|
28081
28450
|
#
|
28082
28451
|
class UpdateTableRequest < Struct.new(
|
28083
28452
|
:catalog_id,
|
28084
28453
|
:database_name,
|
28454
|
+
:name,
|
28085
28455
|
:table_input,
|
28086
28456
|
:skip_archive,
|
28087
28457
|
:transaction_id,
|
28088
28458
|
:version_id,
|
28089
28459
|
:view_update_action,
|
28090
|
-
:force
|
28460
|
+
:force,
|
28461
|
+
:update_open_table_format_input)
|
28091
28462
|
SENSITIVE = []
|
28092
28463
|
include Aws::Structure
|
28093
28464
|
end
|
data/lib/aws-sdk-glue.rb
CHANGED
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
|
@@ -5481,7 +5525,8 @@ module Aws
|
|
5481
5525
|
description: ::String?,
|
5482
5526
|
federated_catalog: {
|
5483
5527
|
identifier: ::String?,
|
5484
|
-
connection_name: ::String
|
5528
|
+
connection_name: ::String?,
|
5529
|
+
connection_type: ::String?
|
5485
5530
|
}?,
|
5486
5531
|
parameters: Hash[::String, ::String]?,
|
5487
5532
|
target_redshift_catalog: {
|
@@ -5910,7 +5955,8 @@ module Aws
|
|
5910
5955
|
}?,
|
5911
5956
|
federated_database: {
|
5912
5957
|
identifier: ::String?,
|
5913
|
-
connection_name: ::String
|
5958
|
+
connection_name: ::String?,
|
5959
|
+
connection_type: ::String?
|
5914
5960
|
}?
|
5915
5961
|
}
|
5916
5962
|
) -> _UpdateDatabaseResponseSuccess
|
@@ -7474,7 +7520,8 @@ module Aws
|
|
7474
7520
|
def update_table: (
|
7475
7521
|
?catalog_id: ::String,
|
7476
7522
|
database_name: ::String,
|
7477
|
-
|
7523
|
+
?name: ::String,
|
7524
|
+
?table_input: {
|
7478
7525
|
name: ::String,
|
7479
7526
|
description: ::String?,
|
7480
7527
|
owner: ::String?,
|
@@ -7562,7 +7609,56 @@ module Aws
|
|
7562
7609
|
?transaction_id: ::String,
|
7563
7610
|
?version_id: ::String,
|
7564
7611
|
?view_update_action: ("ADD" | "REPLACE" | "ADD_OR_REPLACE" | "DROP"),
|
7565
|
-
?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
|
+
}
|
7566
7662
|
) -> _UpdateTableResponseSuccess
|
7567
7663
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableResponseSuccess
|
7568
7664
|
|