aws-sdk-glue 1.202.0 → 1.203.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +13 -9
- data/lib/aws-sdk-glue/client_api.rb +9 -0
- data/lib/aws-sdk-glue/types.rb +39 -6
- data/lib/aws-sdk-glue.rb +1 -1
- data/sig/client.rbs +6 -0
- data/sig/types.rbs +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4db1fc9c785664b9a6baec6c10b1b9636894d3e9b579689a1f6769001f9771a
|
4
|
+
data.tar.gz: cd82ce65eded6e346f4779388ef1759a94379f2e6e6890afb81290ce949d3c6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9773bd5e95500c9c4e8c1e1da9130300af85c1195e1e30a1240e5bb14b504eab8b5b64aca7d83535f8de99be5befcebeff498bfdd941f1d16a1834e6c1e03e5b
|
7
|
+
data.tar.gz: 54be0d4211135acddbfe0ee959946de54197094c8b3abb58e39b4df1b1d9daf60dd6aa85fa9f07ae85386e1902a11196e4fc70766709a62acaf1f8b902d100a9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.203.0 (2024-11-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Glue Data Catalog now enhances managed table optimizations of Apache Iceberg tables that can be accessed only from a specific Amazon Virtual Private Cloud (VPC) environment.
|
8
|
+
|
4
9
|
1.202.0 (2024-11-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.203.0
|
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -2159,6 +2159,7 @@ module Aws::Glue
|
|
2159
2159
|
# resp.table_optimizers[0].table_optimizer.type #=> String, one of "compaction", "retention", "orphan_file_deletion"
|
2160
2160
|
# resp.table_optimizers[0].table_optimizer.configuration.role_arn #=> String
|
2161
2161
|
# resp.table_optimizers[0].table_optimizer.configuration.enabled #=> Boolean
|
2162
|
+
# resp.table_optimizers[0].table_optimizer.configuration.vpc_configuration.glue_connection_name #=> String
|
2162
2163
|
# resp.table_optimizers[0].table_optimizer.configuration.retention_configuration.iceberg_configuration.snapshot_retention_period_in_days #=> Integer
|
2163
2164
|
# resp.table_optimizers[0].table_optimizer.configuration.retention_configuration.iceberg_configuration.number_of_snapshots_to_retain #=> Integer
|
2164
2165
|
# resp.table_optimizers[0].table_optimizer.configuration.retention_configuration.iceberg_configuration.clean_expired_files #=> Boolean
|
@@ -4866,8 +4867,7 @@ module Aws::Glue
|
|
4866
4867
|
req.send_request(options)
|
4867
4868
|
end
|
4868
4869
|
|
4869
|
-
# Creates a new table optimizer for a specific function.
|
4870
|
-
# the only currently supported optimizer type.
|
4870
|
+
# Creates a new table optimizer for a specific function.
|
4871
4871
|
#
|
4872
4872
|
# @option params [required, String] :catalog_id
|
4873
4873
|
# The Catalog ID of the table.
|
@@ -4879,8 +4879,7 @@ module Aws::Glue
|
|
4879
4879
|
# The name of the table.
|
4880
4880
|
#
|
4881
4881
|
# @option params [required, String] :type
|
4882
|
-
# The type of table optimizer.
|
4883
|
-
# `compaction`.
|
4882
|
+
# The type of table optimizer.
|
4884
4883
|
#
|
4885
4884
|
# @option params [required, Types::TableOptimizerConfiguration] :table_optimizer_configuration
|
4886
4885
|
# A `TableOptimizerConfiguration` object representing the configuration
|
@@ -4898,6 +4897,9 @@ module Aws::Glue
|
|
4898
4897
|
# table_optimizer_configuration: { # required
|
4899
4898
|
# role_arn: "ArnString",
|
4900
4899
|
# enabled: false,
|
4900
|
+
# vpc_configuration: {
|
4901
|
+
# glue_connection_name: "glueConnectionNameString",
|
4902
|
+
# },
|
4901
4903
|
# retention_configuration: {
|
4902
4904
|
# iceberg_configuration: {
|
4903
4905
|
# snapshot_retention_period_in_days: 1,
|
@@ -11525,6 +11527,7 @@ module Aws::Glue
|
|
11525
11527
|
# resp.table_optimizer.type #=> String, one of "compaction", "retention", "orphan_file_deletion"
|
11526
11528
|
# resp.table_optimizer.configuration.role_arn #=> String
|
11527
11529
|
# resp.table_optimizer.configuration.enabled #=> Boolean
|
11530
|
+
# resp.table_optimizer.configuration.vpc_configuration.glue_connection_name #=> String
|
11528
11531
|
# resp.table_optimizer.configuration.retention_configuration.iceberg_configuration.snapshot_retention_period_in_days #=> Integer
|
11529
11532
|
# resp.table_optimizer.configuration.retention_configuration.iceberg_configuration.number_of_snapshots_to_retain #=> Integer
|
11530
11533
|
# resp.table_optimizer.configuration.retention_configuration.iceberg_configuration.clean_expired_files #=> Boolean
|
@@ -14558,8 +14561,7 @@ module Aws::Glue
|
|
14558
14561
|
# The name of the table.
|
14559
14562
|
#
|
14560
14563
|
# @option params [required, String] :type
|
14561
|
-
# The type of table optimizer.
|
14562
|
-
# `compaction`.
|
14564
|
+
# The type of table optimizer.
|
14563
14565
|
#
|
14564
14566
|
# @option params [Integer] :max_results
|
14565
14567
|
# The maximum number of optimizer runs to return on each call.
|
@@ -18155,8 +18157,7 @@ module Aws::Glue
|
|
18155
18157
|
# The name of the table.
|
18156
18158
|
#
|
18157
18159
|
# @option params [required, String] :type
|
18158
|
-
# The type of table optimizer.
|
18159
|
-
# `compaction`.
|
18160
|
+
# The type of table optimizer.
|
18160
18161
|
#
|
18161
18162
|
# @option params [required, Types::TableOptimizerConfiguration] :table_optimizer_configuration
|
18162
18163
|
# A `TableOptimizerConfiguration` object representing the configuration
|
@@ -18174,6 +18175,9 @@ module Aws::Glue
|
|
18174
18175
|
# table_optimizer_configuration: { # required
|
18175
18176
|
# role_arn: "ArnString",
|
18176
18177
|
# enabled: false,
|
18178
|
+
# vpc_configuration: {
|
18179
|
+
# glue_connection_name: "glueConnectionNameString",
|
18180
|
+
# },
|
18177
18181
|
# retention_configuration: {
|
18178
18182
|
# iceberg_configuration: {
|
18179
18183
|
# snapshot_retention_period_in_days: 1,
|
@@ -18456,7 +18460,7 @@ module Aws::Glue
|
|
18456
18460
|
tracer: tracer
|
18457
18461
|
)
|
18458
18462
|
context[:gem_name] = 'aws-sdk-glue'
|
18459
|
-
context[:gem_version] = '1.
|
18463
|
+
context[:gem_version] = '1.203.0'
|
18460
18464
|
Seahorse::Client::Request.new(handlers, context)
|
18461
18465
|
end
|
18462
18466
|
|
@@ -1206,6 +1206,7 @@ module Aws::Glue
|
|
1206
1206
|
TableOptimizerRunTimestamp = Shapes::TimestampShape.new(name: 'TableOptimizerRunTimestamp')
|
1207
1207
|
TableOptimizerRuns = Shapes::ListShape.new(name: 'TableOptimizerRuns')
|
1208
1208
|
TableOptimizerType = Shapes::StringShape.new(name: 'TableOptimizerType')
|
1209
|
+
TableOptimizerVpcConfiguration = Shapes::UnionShape.new(name: 'TableOptimizerVpcConfiguration')
|
1209
1210
|
TablePrefix = Shapes::StringShape.new(name: 'TablePrefix')
|
1210
1211
|
TableStatus = Shapes::StructureShape.new(name: 'TableStatus')
|
1211
1212
|
TableTypeString = Shapes::StringShape.new(name: 'TableTypeString')
|
@@ -1373,6 +1374,7 @@ module Aws::Glue
|
|
1373
1374
|
double = Shapes::FloatShape.new(name: 'double')
|
1374
1375
|
dpuCounts = Shapes::IntegerShape.new(name: 'dpuCounts')
|
1375
1376
|
dpuDurationInHour = Shapes::FloatShape.new(name: 'dpuDurationInHour')
|
1377
|
+
glueConnectionNameString = Shapes::StringShape.new(name: 'glueConnectionNameString')
|
1376
1378
|
metricCounts = Shapes::IntegerShape.new(name: 'metricCounts')
|
1377
1379
|
tableNameString = Shapes::StringShape.new(name: 'tableNameString')
|
1378
1380
|
|
@@ -5931,6 +5933,7 @@ module Aws::Glue
|
|
5931
5933
|
|
5932
5934
|
TableOptimizerConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "roleArn"))
|
5933
5935
|
TableOptimizerConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enabled"))
|
5936
|
+
TableOptimizerConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: TableOptimizerVpcConfiguration, location_name: "vpcConfiguration"))
|
5934
5937
|
TableOptimizerConfiguration.add_member(:retention_configuration, Shapes::ShapeRef.new(shape: RetentionConfiguration, location_name: "retentionConfiguration"))
|
5935
5938
|
TableOptimizerConfiguration.add_member(:orphan_file_deletion_configuration, Shapes::ShapeRef.new(shape: OrphanFileDeletionConfiguration, location_name: "orphanFileDeletionConfiguration"))
|
5936
5939
|
TableOptimizerConfiguration.struct_class = Types::TableOptimizerConfiguration
|
@@ -5947,6 +5950,12 @@ module Aws::Glue
|
|
5947
5950
|
|
5948
5951
|
TableOptimizerRuns.member = Shapes::ShapeRef.new(shape: TableOptimizerRun)
|
5949
5952
|
|
5953
|
+
TableOptimizerVpcConfiguration.add_member(:glue_connection_name, Shapes::ShapeRef.new(shape: glueConnectionNameString, location_name: "glueConnectionName"))
|
5954
|
+
TableOptimizerVpcConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
5955
|
+
TableOptimizerVpcConfiguration.add_member_subclass(:glue_connection_name, Types::TableOptimizerVpcConfiguration::GlueConnectionName)
|
5956
|
+
TableOptimizerVpcConfiguration.add_member_subclass(:unknown, Types::TableOptimizerVpcConfiguration::Unknown)
|
5957
|
+
TableOptimizerVpcConfiguration.struct_class = Types::TableOptimizerVpcConfiguration
|
5958
|
+
|
5950
5959
|
TableStatus.add_member(:requested_by, Shapes::ShapeRef.new(shape: NameString, location_name: "RequestedBy"))
|
5951
5960
|
TableStatus.add_member(:updated_by, Shapes::ShapeRef.new(shape: NameString, location_name: "UpdatedBy"))
|
5952
5961
|
TableStatus.add_member(:request_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RequestTime"))
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -6124,8 +6124,7 @@ module Aws::Glue
|
|
6124
6124
|
# @return [String]
|
6125
6125
|
#
|
6126
6126
|
# @!attribute [rw] type
|
6127
|
-
# The type of table optimizer.
|
6128
|
-
# `compaction`.
|
6127
|
+
# The type of table optimizer.
|
6129
6128
|
# @return [String]
|
6130
6129
|
#
|
6131
6130
|
# @!attribute [rw] table_optimizer_configuration
|
@@ -16585,8 +16584,7 @@ module Aws::Glue
|
|
16585
16584
|
# @return [String]
|
16586
16585
|
#
|
16587
16586
|
# @!attribute [rw] type
|
16588
|
-
# The type of table optimizer.
|
16589
|
-
# `compaction`.
|
16587
|
+
# The type of table optimizer.
|
16590
16588
|
# @return [String]
|
16591
16589
|
#
|
16592
16590
|
# @!attribute [rw] max_results
|
@@ -22881,6 +22879,14 @@ module Aws::Glue
|
|
22881
22879
|
# Whether table optimization is enabled.
|
22882
22880
|
# @return [Boolean]
|
22883
22881
|
#
|
22882
|
+
# @!attribute [rw] vpc_configuration
|
22883
|
+
# A `TableOptimizerVpcConfiguration` object representing the VPC
|
22884
|
+
# configuration for a table optimizer.
|
22885
|
+
#
|
22886
|
+
# This configuration is necessary to perform optimization on tables
|
22887
|
+
# that are in a customer VPC.
|
22888
|
+
# @return [Types::TableOptimizerVpcConfiguration]
|
22889
|
+
#
|
22884
22890
|
# @!attribute [rw] retention_configuration
|
22885
22891
|
# The configuration for a snapshot retention optimizer.
|
22886
22892
|
# @return [Types::RetentionConfiguration]
|
@@ -22894,6 +22900,7 @@ module Aws::Glue
|
|
22894
22900
|
class TableOptimizerConfiguration < Struct.new(
|
22895
22901
|
:role_arn,
|
22896
22902
|
:enabled,
|
22903
|
+
:vpc_configuration,
|
22897
22904
|
:retention_configuration,
|
22898
22905
|
:orphan_file_deletion_configuration)
|
22899
22906
|
SENSITIVE = []
|
@@ -22956,6 +22963,33 @@ module Aws::Glue
|
|
22956
22963
|
include Aws::Structure
|
22957
22964
|
end
|
22958
22965
|
|
22966
|
+
# An object that describes the VPC configuration for a table optimizer.
|
22967
|
+
#
|
22968
|
+
# This configuration is necessary to perform optimization on tables that
|
22969
|
+
# are in a customer VPC.
|
22970
|
+
#
|
22971
|
+
# @note TableOptimizerVpcConfiguration is a union - when making an API calls you must set exactly one of the members.
|
22972
|
+
#
|
22973
|
+
# @note TableOptimizerVpcConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TableOptimizerVpcConfiguration corresponding to the set member.
|
22974
|
+
#
|
22975
|
+
# @!attribute [rw] glue_connection_name
|
22976
|
+
# The name of the Glue connection used for the VPC for the table
|
22977
|
+
# optimizer.
|
22978
|
+
# @return [String]
|
22979
|
+
#
|
22980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableOptimizerVpcConfiguration AWS API Documentation
|
22981
|
+
#
|
22982
|
+
class TableOptimizerVpcConfiguration < Struct.new(
|
22983
|
+
:glue_connection_name,
|
22984
|
+
:unknown)
|
22985
|
+
SENSITIVE = []
|
22986
|
+
include Aws::Structure
|
22987
|
+
include Aws::Structure::Union
|
22988
|
+
|
22989
|
+
class GlueConnectionName < TableOptimizerVpcConfiguration; end
|
22990
|
+
class Unknown < TableOptimizerVpcConfiguration; end
|
22991
|
+
end
|
22992
|
+
|
22959
22993
|
# A structure containing information about the state of an asynchronous
|
22960
22994
|
# change to a table.
|
22961
22995
|
#
|
@@ -24811,8 +24845,7 @@ module Aws::Glue
|
|
24811
24845
|
# @return [String]
|
24812
24846
|
#
|
24813
24847
|
# @!attribute [rw] type
|
24814
|
-
# The type of table optimizer.
|
24815
|
-
# `compaction`.
|
24848
|
+
# The type of table optimizer.
|
24816
24849
|
# @return [String]
|
24817
24850
|
#
|
24818
24851
|
# @!attribute [rw] table_optimizer_configuration
|
data/lib/aws-sdk-glue.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -2413,6 +2413,9 @@ module Aws
|
|
2413
2413
|
table_optimizer_configuration: {
|
2414
2414
|
role_arn: ::String?,
|
2415
2415
|
enabled: bool?,
|
2416
|
+
vpc_configuration: {
|
2417
|
+
glue_connection_name: ::String?
|
2418
|
+
}?,
|
2416
2419
|
retention_configuration: {
|
2417
2420
|
iceberg_configuration: {
|
2418
2421
|
snapshot_retention_period_in_days: ::Integer?,
|
@@ -6930,6 +6933,9 @@ module Aws
|
|
6930
6933
|
table_optimizer_configuration: {
|
6931
6934
|
role_arn: ::String?,
|
6932
6935
|
enabled: bool?,
|
6936
|
+
vpc_configuration: {
|
6937
|
+
glue_connection_name: ::String?
|
6938
|
+
}?,
|
6933
6939
|
retention_configuration: {
|
6934
6940
|
iceberg_configuration: {
|
6935
6941
|
snapshot_retention_period_in_days: ::Integer?,
|
data/sig/types.rbs
CHANGED
@@ -5639,6 +5639,7 @@ module Aws::Glue
|
|
5639
5639
|
class TableOptimizerConfiguration
|
5640
5640
|
attr_accessor role_arn: ::String
|
5641
5641
|
attr_accessor enabled: bool
|
5642
|
+
attr_accessor vpc_configuration: Types::TableOptimizerVpcConfiguration
|
5642
5643
|
attr_accessor retention_configuration: Types::RetentionConfiguration
|
5643
5644
|
attr_accessor orphan_file_deletion_configuration: Types::OrphanFileDeletionConfiguration
|
5644
5645
|
SENSITIVE: []
|
@@ -5656,6 +5657,17 @@ module Aws::Glue
|
|
5656
5657
|
SENSITIVE: []
|
5657
5658
|
end
|
5658
5659
|
|
5660
|
+
class TableOptimizerVpcConfiguration
|
5661
|
+
attr_accessor glue_connection_name: ::String
|
5662
|
+
attr_accessor unknown: untyped
|
5663
|
+
SENSITIVE: []
|
5664
|
+
|
5665
|
+
class GlueConnectionName < TableOptimizerVpcConfiguration
|
5666
|
+
end
|
5667
|
+
class Unknown < TableOptimizerVpcConfiguration
|
5668
|
+
end
|
5669
|
+
end
|
5670
|
+
|
5659
5671
|
class TableStatus
|
5660
5672
|
attr_accessor requested_by: ::String
|
5661
5673
|
attr_accessor updated_by: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-glue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.203.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|