aws-sdk-glue 1.157.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +349 -1
- data/lib/aws-sdk-glue/client_api.rb +236 -0
- data/lib/aws-sdk-glue/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-glue/endpoints.rb +84 -0
- data/lib/aws-sdk-glue/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-glue/types.rb +563 -1
- data/lib/aws-sdk-glue.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -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
|
@@ -2231,6 +2358,14 @@ module Aws::Glue
|
|
2231
2358
|
# Specifies a target that writes to a Snowflake data source.
|
2232
2359
|
# @return [Types::SnowflakeTarget]
|
2233
2360
|
#
|
2361
|
+
# @!attribute [rw] connector_data_source
|
2362
|
+
# Specifies a source generated with standard connection options.
|
2363
|
+
# @return [Types::ConnectorDataSource]
|
2364
|
+
#
|
2365
|
+
# @!attribute [rw] connector_data_target
|
2366
|
+
# Specifies a target generated with standard connection options.
|
2367
|
+
# @return [Types::ConnectorDataTarget]
|
2368
|
+
#
|
2234
2369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenConfigurationNode AWS API Documentation
|
2235
2370
|
#
|
2236
2371
|
class CodeGenConfigurationNode < Struct.new(
|
@@ -2302,7 +2437,9 @@ module Aws::Glue
|
|
2302
2437
|
:evaluate_data_quality_multi_frame,
|
2303
2438
|
:recipe,
|
2304
2439
|
:snowflake_source,
|
2305
|
-
:snowflake_target
|
2440
|
+
:snowflake_target,
|
2441
|
+
:connector_data_source,
|
2442
|
+
:connector_data_target)
|
2306
2443
|
SENSITIVE = []
|
2307
2444
|
include Aws::Structure
|
2308
2445
|
end
|
@@ -3111,6 +3248,86 @@ module Aws::Glue
|
|
3111
3248
|
include Aws::Structure
|
3112
3249
|
end
|
3113
3250
|
|
3251
|
+
# Specifies a source generated with standard connection options.
|
3252
|
+
#
|
3253
|
+
# @!attribute [rw] name
|
3254
|
+
# The name of this source node.
|
3255
|
+
# @return [String]
|
3256
|
+
#
|
3257
|
+
# @!attribute [rw] connection_type
|
3258
|
+
# The `connectionType`, as provided to the underlying Glue library.
|
3259
|
+
# This node type supports the following connection types:
|
3260
|
+
#
|
3261
|
+
# * `bigquery`
|
3262
|
+
#
|
3263
|
+
# ^
|
3264
|
+
# @return [String]
|
3265
|
+
#
|
3266
|
+
# @!attribute [rw] data
|
3267
|
+
# A map specifying connection options for the node. You can find
|
3268
|
+
# standard connection options for the corresponding connection type in
|
3269
|
+
# the [ Connection parameters][1] section of the Glue documentation.
|
3270
|
+
#
|
3271
|
+
#
|
3272
|
+
#
|
3273
|
+
# [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect.html
|
3274
|
+
# @return [Hash<String,String>]
|
3275
|
+
#
|
3276
|
+
# @!attribute [rw] output_schemas
|
3277
|
+
# Specifies the data schema for this source.
|
3278
|
+
# @return [Array<Types::GlueSchema>]
|
3279
|
+
#
|
3280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConnectorDataSource AWS API Documentation
|
3281
|
+
#
|
3282
|
+
class ConnectorDataSource < Struct.new(
|
3283
|
+
:name,
|
3284
|
+
:connection_type,
|
3285
|
+
:data,
|
3286
|
+
:output_schemas)
|
3287
|
+
SENSITIVE = []
|
3288
|
+
include Aws::Structure
|
3289
|
+
end
|
3290
|
+
|
3291
|
+
# Specifies a target generated with standard connection options.
|
3292
|
+
#
|
3293
|
+
# @!attribute [rw] name
|
3294
|
+
# The name of this target node.
|
3295
|
+
# @return [String]
|
3296
|
+
#
|
3297
|
+
# @!attribute [rw] connection_type
|
3298
|
+
# The `connectionType`, as provided to the underlying Glue library.
|
3299
|
+
# This node type supports the following connection types:
|
3300
|
+
#
|
3301
|
+
# * `bigquery`
|
3302
|
+
#
|
3303
|
+
# ^
|
3304
|
+
# @return [String]
|
3305
|
+
#
|
3306
|
+
# @!attribute [rw] data
|
3307
|
+
# A map specifying connection options for the node. You can find
|
3308
|
+
# standard connection options for the corresponding connection type in
|
3309
|
+
# the [ Connection parameters][1] section of the Glue documentation.
|
3310
|
+
#
|
3311
|
+
#
|
3312
|
+
#
|
3313
|
+
# [1]: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-connect.html
|
3314
|
+
# @return [Hash<String,String>]
|
3315
|
+
#
|
3316
|
+
# @!attribute [rw] inputs
|
3317
|
+
# The nodes that are inputs to the data target.
|
3318
|
+
# @return [Array<String>]
|
3319
|
+
#
|
3320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConnectorDataTarget AWS API Documentation
|
3321
|
+
#
|
3322
|
+
class ConnectorDataTarget < Struct.new(
|
3323
|
+
:name,
|
3324
|
+
:connection_type,
|
3325
|
+
:data,
|
3326
|
+
:inputs)
|
3327
|
+
SENSITIVE = []
|
3328
|
+
include Aws::Structure
|
3329
|
+
end
|
3330
|
+
|
3114
3331
|
# The details of a crawl in the workflow.
|
3115
3332
|
#
|
3116
3333
|
# @!attribute [rw] state
|
@@ -5262,6 +5479,44 @@ module Aws::Glue
|
|
5262
5479
|
include Aws::Structure
|
5263
5480
|
end
|
5264
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
|
+
|
5265
5520
|
# @!attribute [rw] catalog_id
|
5266
5521
|
# The ID of the Data Catalog in which to create the `Table`. If none
|
5267
5522
|
# is supplied, the Amazon Web Services account ID is used by default.
|
@@ -6913,6 +7168,37 @@ module Aws::Glue
|
|
6913
7168
|
include Aws::Structure
|
6914
7169
|
end
|
6915
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
|
+
|
6916
7202
|
# @!attribute [rw] catalog_id
|
6917
7203
|
# The ID of the Data Catalog where the table resides. If none is
|
6918
7204
|
# provided, the Amazon Web Services account ID is used by default.
|
@@ -10823,6 +11109,60 @@ module Aws::Glue
|
|
10823
11109
|
include Aws::Structure
|
10824
11110
|
end
|
10825
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
|
+
|
10826
11166
|
# @!attribute [rw] catalog_id
|
10827
11167
|
# The ID of the Data Catalog where the table resides. If none is
|
10828
11168
|
# provided, the Amazon Web Services account ID is used by default.
|
@@ -14516,6 +14856,77 @@ module Aws::Glue
|
|
14516
14856
|
include Aws::Structure
|
14517
14857
|
end
|
14518
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
|
+
|
14519
14930
|
# @!attribute [rw] next_token
|
14520
14931
|
# A continuation token, if this is a continuation request.
|
14521
14932
|
# @return [String]
|
@@ -16649,6 +17060,35 @@ module Aws::Glue
|
|
16649
17060
|
include Aws::Structure
|
16650
17061
|
end
|
16651
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
|
+
|
16652
17092
|
# @!attribute [rw] session_id
|
16653
17093
|
# The Session Id of the statement to be run.
|
16654
17094
|
# @return [String]
|
@@ -19951,6 +20391,90 @@ module Aws::Glue
|
|
19951
20391
|
include Aws::Structure
|
19952
20392
|
end
|
19953
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
|
+
|
19954
20478
|
# Specifies a version of a table.
|
19955
20479
|
#
|
19956
20480
|
# @!attribute [rw] table
|
@@ -21563,6 +22087,44 @@ module Aws::Glue
|
|
21563
22087
|
include Aws::Structure
|
21564
22088
|
end
|
21565
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
|
+
|
21566
22128
|
# @!attribute [rw] catalog_id
|
21567
22129
|
# The ID of the Data Catalog where the table resides. If none is
|
21568
22130
|
# provided, the Amazon Web Services account ID is used by default.
|
data/lib/aws-sdk-glue.rb
CHANGED
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.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
|
+
date: 2023-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|