aws-sdk-glue 1.158.0 → 1.159.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.
@@ -986,6 +986,102 @@ module Aws::Glue
986
986
  include Aws::Structure
987
987
  end
988
988
 
989
+ # Represents a table optimizer to retrieve in the
990
+ # `BatchGetTableOptimizer` operation.
991
+ #
992
+ # @!attribute [rw] catalog_id
993
+ # The Catalog ID of the table.
994
+ # @return [String]
995
+ #
996
+ # @!attribute [rw] database_name
997
+ # The name of the database in the catalog in which the table resides.
998
+ # @return [String]
999
+ #
1000
+ # @!attribute [rw] table_name
1001
+ # The name of the table.
1002
+ # @return [String]
1003
+ #
1004
+ # @!attribute [rw] type
1005
+ # The type of table optimizer.
1006
+ # @return [String]
1007
+ #
1008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTableOptimizerEntry AWS API Documentation
1009
+ #
1010
+ class BatchGetTableOptimizerEntry < Struct.new(
1011
+ :catalog_id,
1012
+ :database_name,
1013
+ :table_name,
1014
+ :type)
1015
+ SENSITIVE = []
1016
+ include Aws::Structure
1017
+ end
1018
+
1019
+ # Contains details on one of the errors in the error list returned by
1020
+ # the `BatchGetTableOptimizer` operation.
1021
+ #
1022
+ # @!attribute [rw] error
1023
+ # An `ErrorDetail` object containing code and message details about
1024
+ # the error.
1025
+ # @return [Types::ErrorDetail]
1026
+ #
1027
+ # @!attribute [rw] catalog_id
1028
+ # The Catalog ID of the table.
1029
+ # @return [String]
1030
+ #
1031
+ # @!attribute [rw] database_name
1032
+ # The name of the database in the catalog in which the table resides.
1033
+ # @return [String]
1034
+ #
1035
+ # @!attribute [rw] table_name
1036
+ # The name of the table.
1037
+ # @return [String]
1038
+ #
1039
+ # @!attribute [rw] type
1040
+ # The type of table optimizer.
1041
+ # @return [String]
1042
+ #
1043
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTableOptimizerError AWS API Documentation
1044
+ #
1045
+ class BatchGetTableOptimizerError < Struct.new(
1046
+ :error,
1047
+ :catalog_id,
1048
+ :database_name,
1049
+ :table_name,
1050
+ :type)
1051
+ SENSITIVE = []
1052
+ include Aws::Structure
1053
+ end
1054
+
1055
+ # @!attribute [rw] entries
1056
+ # A list of `BatchGetTableOptimizerEntry` objects specifying the table
1057
+ # optimizers to retrieve.
1058
+ # @return [Array<Types::BatchGetTableOptimizerEntry>]
1059
+ #
1060
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTableOptimizerRequest AWS API Documentation
1061
+ #
1062
+ class BatchGetTableOptimizerRequest < Struct.new(
1063
+ :entries)
1064
+ SENSITIVE = []
1065
+ include Aws::Structure
1066
+ end
1067
+
1068
+ # @!attribute [rw] table_optimizers
1069
+ # A list of `BatchTableOptimizer` objects.
1070
+ # @return [Array<Types::BatchTableOptimizer>]
1071
+ #
1072
+ # @!attribute [rw] failures
1073
+ # A list of errors from the operation.
1074
+ # @return [Array<Types::BatchGetTableOptimizerError>]
1075
+ #
1076
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTableOptimizerResponse AWS API Documentation
1077
+ #
1078
+ class BatchGetTableOptimizerResponse < Struct.new(
1079
+ :table_optimizers,
1080
+ :failures)
1081
+ SENSITIVE = []
1082
+ include Aws::Structure
1083
+ end
1084
+
989
1085
  # @!attribute [rw] trigger_names
990
1086
  # A list of trigger names, which may be the names returned from the
991
1087
  # `ListTriggers` operation.
@@ -1134,6 +1230,37 @@ module Aws::Glue
1134
1230
  include Aws::Structure
1135
1231
  end
1136
1232
 
1233
+ # Contains details for one of the table optimizers returned by the
1234
+ # `BatchGetTableOptimizer` operation.
1235
+ #
1236
+ # @!attribute [rw] catalog_id
1237
+ # The Catalog ID of the table.
1238
+ # @return [String]
1239
+ #
1240
+ # @!attribute [rw] database_name
1241
+ # The name of the database in the catalog in which the table resides.
1242
+ # @return [String]
1243
+ #
1244
+ # @!attribute [rw] table_name
1245
+ # The name of the table.
1246
+ # @return [String]
1247
+ #
1248
+ # @!attribute [rw] table_optimizer
1249
+ # A `TableOptimizer` object that contains details on the configuration
1250
+ # and last run of a table optimzer.
1251
+ # @return [Types::TableOptimizer]
1252
+ #
1253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchTableOptimizer AWS API Documentation
1254
+ #
1255
+ class BatchTableOptimizer < Struct.new(
1256
+ :catalog_id,
1257
+ :database_name,
1258
+ :table_name,
1259
+ :table_optimizer)
1260
+ SENSITIVE = []
1261
+ include Aws::Structure
1262
+ end
1263
+
1137
1264
  # Contains information about a batch update partition error.
1138
1265
  #
1139
1266
  # @!attribute [rw] partition_value_list
@@ -5352,6 +5479,44 @@ module Aws::Glue
5352
5479
  include Aws::Structure
5353
5480
  end
5354
5481
 
5482
+ # @!attribute [rw] catalog_id
5483
+ # The Catalog ID of the table.
5484
+ # @return [String]
5485
+ #
5486
+ # @!attribute [rw] database_name
5487
+ # The name of the database in the catalog in which the table resides.
5488
+ # @return [String]
5489
+ #
5490
+ # @!attribute [rw] table_name
5491
+ # The name of the table.
5492
+ # @return [String]
5493
+ #
5494
+ # @!attribute [rw] type
5495
+ # The type of table optimizer. Currently, the only valid value is
5496
+ # `compaction`.
5497
+ # @return [String]
5498
+ #
5499
+ # @!attribute [rw] table_optimizer_configuration
5500
+ # A `TableOptimizerConfiguration` object representing the
5501
+ # configuration of a table optimizer.
5502
+ # @return [Types::TableOptimizerConfiguration]
5503
+ #
5504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableOptimizerRequest AWS API Documentation
5505
+ #
5506
+ class CreateTableOptimizerRequest < Struct.new(
5507
+ :catalog_id,
5508
+ :database_name,
5509
+ :table_name,
5510
+ :type,
5511
+ :table_optimizer_configuration)
5512
+ SENSITIVE = []
5513
+ include Aws::Structure
5514
+ end
5515
+
5516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableOptimizerResponse AWS API Documentation
5517
+ #
5518
+ class CreateTableOptimizerResponse < Aws::EmptyStructure; end
5519
+
5355
5520
  # @!attribute [rw] catalog_id
5356
5521
  # The ID of the Data Catalog in which to create the `Table`. If none
5357
5522
  # is supplied, the Amazon Web Services account ID is used by default.
@@ -7003,6 +7168,37 @@ module Aws::Glue
7003
7168
  include Aws::Structure
7004
7169
  end
7005
7170
 
7171
+ # @!attribute [rw] catalog_id
7172
+ # The Catalog ID of the table.
7173
+ # @return [String]
7174
+ #
7175
+ # @!attribute [rw] database_name
7176
+ # The name of the database in the catalog in which the table resides.
7177
+ # @return [String]
7178
+ #
7179
+ # @!attribute [rw] table_name
7180
+ # The name of the table.
7181
+ # @return [String]
7182
+ #
7183
+ # @!attribute [rw] type
7184
+ # The type of table optimizer.
7185
+ # @return [String]
7186
+ #
7187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableOptimizerRequest AWS API Documentation
7188
+ #
7189
+ class DeleteTableOptimizerRequest < Struct.new(
7190
+ :catalog_id,
7191
+ :database_name,
7192
+ :table_name,
7193
+ :type)
7194
+ SENSITIVE = []
7195
+ include Aws::Structure
7196
+ end
7197
+
7198
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableOptimizerResponse AWS API Documentation
7199
+ #
7200
+ class DeleteTableOptimizerResponse < Aws::EmptyStructure; end
7201
+
7006
7202
  # @!attribute [rw] catalog_id
7007
7203
  # The ID of the Data Catalog where the table resides. If none is
7008
7204
  # provided, the Amazon Web Services account ID is used by default.
@@ -10913,6 +11109,60 @@ module Aws::Glue
10913
11109
  include Aws::Structure
10914
11110
  end
10915
11111
 
11112
+ # @!attribute [rw] catalog_id
11113
+ # The Catalog ID of the table.
11114
+ # @return [String]
11115
+ #
11116
+ # @!attribute [rw] database_name
11117
+ # The name of the database in the catalog in which the table resides.
11118
+ # @return [String]
11119
+ #
11120
+ # @!attribute [rw] table_name
11121
+ # The name of the table.
11122
+ # @return [String]
11123
+ #
11124
+ # @!attribute [rw] type
11125
+ # The type of table optimizer.
11126
+ # @return [String]
11127
+ #
11128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableOptimizerRequest AWS API Documentation
11129
+ #
11130
+ class GetTableOptimizerRequest < Struct.new(
11131
+ :catalog_id,
11132
+ :database_name,
11133
+ :table_name,
11134
+ :type)
11135
+ SENSITIVE = []
11136
+ include Aws::Structure
11137
+ end
11138
+
11139
+ # @!attribute [rw] catalog_id
11140
+ # The Catalog ID of the table.
11141
+ # @return [String]
11142
+ #
11143
+ # @!attribute [rw] database_name
11144
+ # The name of the database in the catalog in which the table resides.
11145
+ # @return [String]
11146
+ #
11147
+ # @!attribute [rw] table_name
11148
+ # The name of the table.
11149
+ # @return [String]
11150
+ #
11151
+ # @!attribute [rw] table_optimizer
11152
+ # The optimizer associated with the specified table.
11153
+ # @return [Types::TableOptimizer]
11154
+ #
11155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableOptimizerResponse AWS API Documentation
11156
+ #
11157
+ class GetTableOptimizerResponse < Struct.new(
11158
+ :catalog_id,
11159
+ :database_name,
11160
+ :table_name,
11161
+ :table_optimizer)
11162
+ SENSITIVE = []
11163
+ include Aws::Structure
11164
+ end
11165
+
10916
11166
  # @!attribute [rw] catalog_id
10917
11167
  # The ID of the Data Catalog where the table resides. If none is
10918
11168
  # provided, the Amazon Web Services account ID is used by default.
@@ -14606,6 +14856,77 @@ module Aws::Glue
14606
14856
  include Aws::Structure
14607
14857
  end
14608
14858
 
14859
+ # @!attribute [rw] catalog_id
14860
+ # The Catalog ID of the table.
14861
+ # @return [String]
14862
+ #
14863
+ # @!attribute [rw] database_name
14864
+ # The name of the database in the catalog in which the table resides.
14865
+ # @return [String]
14866
+ #
14867
+ # @!attribute [rw] table_name
14868
+ # The name of the table.
14869
+ # @return [String]
14870
+ #
14871
+ # @!attribute [rw] type
14872
+ # The type of table optimizer. Currently, the only valid value is
14873
+ # `compaction`.
14874
+ # @return [String]
14875
+ #
14876
+ # @!attribute [rw] max_results
14877
+ # The maximum number of optimizer runs to return on each call.
14878
+ # @return [Integer]
14879
+ #
14880
+ # @!attribute [rw] next_token
14881
+ # A continuation token, if this is a continuation call.
14882
+ # @return [String]
14883
+ #
14884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTableOptimizerRunsRequest AWS API Documentation
14885
+ #
14886
+ class ListTableOptimizerRunsRequest < Struct.new(
14887
+ :catalog_id,
14888
+ :database_name,
14889
+ :table_name,
14890
+ :type,
14891
+ :max_results,
14892
+ :next_token)
14893
+ SENSITIVE = []
14894
+ include Aws::Structure
14895
+ end
14896
+
14897
+ # @!attribute [rw] catalog_id
14898
+ # The Catalog ID of the table.
14899
+ # @return [String]
14900
+ #
14901
+ # @!attribute [rw] database_name
14902
+ # The name of the database in the catalog in which the table resides.
14903
+ # @return [String]
14904
+ #
14905
+ # @!attribute [rw] table_name
14906
+ # The name of the table.
14907
+ # @return [String]
14908
+ #
14909
+ # @!attribute [rw] next_token
14910
+ # A continuation token for paginating the returned list of optimizer
14911
+ # runs, returned if the current segment of the list is not the last.
14912
+ # @return [String]
14913
+ #
14914
+ # @!attribute [rw] table_optimizer_runs
14915
+ # A list of the optimizer runs associated with a table.
14916
+ # @return [Array<Types::TableOptimizerRun>]
14917
+ #
14918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTableOptimizerRunsResponse AWS API Documentation
14919
+ #
14920
+ class ListTableOptimizerRunsResponse < Struct.new(
14921
+ :catalog_id,
14922
+ :database_name,
14923
+ :table_name,
14924
+ :next_token,
14925
+ :table_optimizer_runs)
14926
+ SENSITIVE = []
14927
+ include Aws::Structure
14928
+ end
14929
+
14609
14930
  # @!attribute [rw] next_token
14610
14931
  # A continuation token, if this is a continuation request.
14611
14932
  # @return [String]
@@ -16739,6 +17060,35 @@ module Aws::Glue
16739
17060
  include Aws::Structure
16740
17061
  end
16741
17062
 
17063
+ # Metrics for the optimizer run.
17064
+ #
17065
+ # @!attribute [rw] number_of_bytes_compacted
17066
+ # The number of bytes removed by the compaction job run.
17067
+ # @return [String]
17068
+ #
17069
+ # @!attribute [rw] number_of_files_compacted
17070
+ # The number of files removed by the compaction job run.
17071
+ # @return [String]
17072
+ #
17073
+ # @!attribute [rw] number_of_dpus
17074
+ # The number of DPU hours consumed by the job.
17075
+ # @return [String]
17076
+ #
17077
+ # @!attribute [rw] job_duration_in_hour
17078
+ # The duration of the job in hours.
17079
+ # @return [String]
17080
+ #
17081
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RunMetrics AWS API Documentation
17082
+ #
17083
+ class RunMetrics < Struct.new(
17084
+ :number_of_bytes_compacted,
17085
+ :number_of_files_compacted,
17086
+ :number_of_dpus,
17087
+ :job_duration_in_hour)
17088
+ SENSITIVE = []
17089
+ include Aws::Structure
17090
+ end
17091
+
16742
17092
  # @!attribute [rw] session_id
16743
17093
  # The Session Id of the statement to be run.
16744
17094
  # @return [String]
@@ -20041,6 +20391,90 @@ module Aws::Glue
20041
20391
  include Aws::Structure
20042
20392
  end
20043
20393
 
20394
+ # Contains details about an optimizer associated with a table.
20395
+ #
20396
+ # @!attribute [rw] type
20397
+ # The type of table optimizer. Currently, the only valid value is
20398
+ # `compaction`.
20399
+ # @return [String]
20400
+ #
20401
+ # @!attribute [rw] configuration
20402
+ # A `TableOptimizerConfiguration` object that was specified when
20403
+ # creating or updating a table optimizer.
20404
+ # @return [Types::TableOptimizerConfiguration]
20405
+ #
20406
+ # @!attribute [rw] last_run
20407
+ # A `TableOptimizerRun` object representing the last run of the table
20408
+ # optimizer.
20409
+ # @return [Types::TableOptimizerRun]
20410
+ #
20411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableOptimizer AWS API Documentation
20412
+ #
20413
+ class TableOptimizer < Struct.new(
20414
+ :type,
20415
+ :configuration,
20416
+ :last_run)
20417
+ SENSITIVE = []
20418
+ include Aws::Structure
20419
+ end
20420
+
20421
+ # Contains details on the configuration of a table optimizer. You pass
20422
+ # this configuration when creating or updating a table optimizer.
20423
+ #
20424
+ # @!attribute [rw] role_arn
20425
+ # A role passed by the caller which gives the service permission to
20426
+ # update the resources associated with the optimizer on the caller's
20427
+ # behalf.
20428
+ # @return [String]
20429
+ #
20430
+ # @!attribute [rw] enabled
20431
+ # Whether table optimization is enabled.
20432
+ # @return [Boolean]
20433
+ #
20434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableOptimizerConfiguration AWS API Documentation
20435
+ #
20436
+ class TableOptimizerConfiguration < Struct.new(
20437
+ :role_arn,
20438
+ :enabled)
20439
+ SENSITIVE = []
20440
+ include Aws::Structure
20441
+ end
20442
+
20443
+ # Contains details for a table optimizer run.
20444
+ #
20445
+ # @!attribute [rw] event_type
20446
+ # An event type representing the status of the table optimizer run.
20447
+ # @return [String]
20448
+ #
20449
+ # @!attribute [rw] start_timestamp
20450
+ # Represents the epoch timestamp at which the compaction job was
20451
+ # started within Lake Formation.
20452
+ # @return [Time]
20453
+ #
20454
+ # @!attribute [rw] end_timestamp
20455
+ # Represents the epoch timestamp at which the compaction job ended.
20456
+ # @return [Time]
20457
+ #
20458
+ # @!attribute [rw] metrics
20459
+ # A `RunMetrics` object containing metrics for the optimizer run.
20460
+ # @return [Types::RunMetrics]
20461
+ #
20462
+ # @!attribute [rw] error
20463
+ # An error that occured during the optimizer run.
20464
+ # @return [String]
20465
+ #
20466
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableOptimizerRun AWS API Documentation
20467
+ #
20468
+ class TableOptimizerRun < Struct.new(
20469
+ :event_type,
20470
+ :start_timestamp,
20471
+ :end_timestamp,
20472
+ :metrics,
20473
+ :error)
20474
+ SENSITIVE = []
20475
+ include Aws::Structure
20476
+ end
20477
+
20044
20478
  # Specifies a version of a table.
20045
20479
  #
20046
20480
  # @!attribute [rw] table
@@ -21653,6 +22087,44 @@ module Aws::Glue
21653
22087
  include Aws::Structure
21654
22088
  end
21655
22089
 
22090
+ # @!attribute [rw] catalog_id
22091
+ # The Catalog ID of the table.
22092
+ # @return [String]
22093
+ #
22094
+ # @!attribute [rw] database_name
22095
+ # The name of the database in the catalog in which the table resides.
22096
+ # @return [String]
22097
+ #
22098
+ # @!attribute [rw] table_name
22099
+ # The name of the table.
22100
+ # @return [String]
22101
+ #
22102
+ # @!attribute [rw] type
22103
+ # The type of table optimizer. Currently, the only valid value is
22104
+ # `compaction`.
22105
+ # @return [String]
22106
+ #
22107
+ # @!attribute [rw] table_optimizer_configuration
22108
+ # A `TableOptimizerConfiguration` object representing the
22109
+ # configuration of a table optimizer.
22110
+ # @return [Types::TableOptimizerConfiguration]
22111
+ #
22112
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableOptimizerRequest AWS API Documentation
22113
+ #
22114
+ class UpdateTableOptimizerRequest < Struct.new(
22115
+ :catalog_id,
22116
+ :database_name,
22117
+ :table_name,
22118
+ :type,
22119
+ :table_optimizer_configuration)
22120
+ SENSITIVE = []
22121
+ include Aws::Structure
22122
+ end
22123
+
22124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableOptimizerResponse AWS API Documentation
22125
+ #
22126
+ class UpdateTableOptimizerResponse < Aws::EmptyStructure; end
22127
+
21656
22128
  # @!attribute [rw] catalog_id
21657
22129
  # The ID of the Data Catalog where the table resides. If none is
21658
22130
  # provided, the Amazon Web Services account ID is used by default.
data/lib/aws-sdk-glue.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-glue/customizations'
52
52
  # @!group service
53
53
  module Aws::Glue
54
54
 
55
- GEM_VERSION = '1.158.0'
55
+ GEM_VERSION = '1.159.0'
56
56
 
57
57
  end
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.158.0
4
+ version: 1.159.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: 2023-11-02 00:00:00.000000000 Z
11
+ date: 2023-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core