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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +307 -1
- data/lib/aws-sdk-glue/client_api.rb +216 -0
- 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 +472 -0
- data/lib/aws-sdk-glue.rb +1 -1
- 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: 3250cdf5db2432c533f46c5fdb289266ef927b84035067737ec22fc763970a33
|
4
|
+
data.tar.gz: 7010cd260281b11e66e624a9e078100f1a66cb93bf0215fb15f012a4d7769c68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a254d32375eb73fa6e6a8792d689433a0778f041c1f01fbcf134a4702600f58b2eb9aba381b9c8162550331da35c0ed92733b66fee27b2d72021063745695277
|
7
|
+
data.tar.gz: cc803857d1e61b79ae5f730b5968e4aec7e4aa366f3a0f270935c255c7786ed6b101bf2f6e0900d331bf8062202dee986f10c338ef3690e2f3b273fe164dba67
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.159.0
|
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -2037,6 +2037,64 @@ module Aws::Glue
|
|
2037
2037
|
req.send_request(options)
|
2038
2038
|
end
|
2039
2039
|
|
2040
|
+
# Returns the configuration for the specified table optimizers.
|
2041
|
+
#
|
2042
|
+
# @option params [required, Array<Types::BatchGetTableOptimizerEntry>] :entries
|
2043
|
+
# A list of `BatchGetTableOptimizerEntry` objects specifying the table
|
2044
|
+
# optimizers to retrieve.
|
2045
|
+
#
|
2046
|
+
# @return [Types::BatchGetTableOptimizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2047
|
+
#
|
2048
|
+
# * {Types::BatchGetTableOptimizerResponse#table_optimizers #table_optimizers} => Array<Types::BatchTableOptimizer>
|
2049
|
+
# * {Types::BatchGetTableOptimizerResponse#failures #failures} => Array<Types::BatchGetTableOptimizerError>
|
2050
|
+
#
|
2051
|
+
# @example Request syntax with placeholder values
|
2052
|
+
#
|
2053
|
+
# resp = client.batch_get_table_optimizer({
|
2054
|
+
# entries: [ # required
|
2055
|
+
# {
|
2056
|
+
# catalog_id: "CatalogIdString",
|
2057
|
+
# database_name: "databaseNameString",
|
2058
|
+
# table_name: "tableNameString",
|
2059
|
+
# type: "compaction", # accepts compaction
|
2060
|
+
# },
|
2061
|
+
# ],
|
2062
|
+
# })
|
2063
|
+
#
|
2064
|
+
# @example Response structure
|
2065
|
+
#
|
2066
|
+
# resp.table_optimizers #=> Array
|
2067
|
+
# resp.table_optimizers[0].catalog_id #=> String
|
2068
|
+
# resp.table_optimizers[0].database_name #=> String
|
2069
|
+
# resp.table_optimizers[0].table_name #=> String
|
2070
|
+
# resp.table_optimizers[0].table_optimizer.type #=> String, one of "compaction"
|
2071
|
+
# resp.table_optimizers[0].table_optimizer.configuration.role_arn #=> String
|
2072
|
+
# resp.table_optimizers[0].table_optimizer.configuration.enabled #=> Boolean
|
2073
|
+
# resp.table_optimizers[0].table_optimizer.last_run.event_type #=> String, one of "starting", "completed", "failed", "in_progress"
|
2074
|
+
# resp.table_optimizers[0].table_optimizer.last_run.start_timestamp #=> Time
|
2075
|
+
# resp.table_optimizers[0].table_optimizer.last_run.end_timestamp #=> Time
|
2076
|
+
# resp.table_optimizers[0].table_optimizer.last_run.metrics.number_of_bytes_compacted #=> String
|
2077
|
+
# resp.table_optimizers[0].table_optimizer.last_run.metrics.number_of_files_compacted #=> String
|
2078
|
+
# resp.table_optimizers[0].table_optimizer.last_run.metrics.number_of_dpus #=> String
|
2079
|
+
# resp.table_optimizers[0].table_optimizer.last_run.metrics.job_duration_in_hour #=> String
|
2080
|
+
# resp.table_optimizers[0].table_optimizer.last_run.error #=> String
|
2081
|
+
# resp.failures #=> Array
|
2082
|
+
# resp.failures[0].error.error_code #=> String
|
2083
|
+
# resp.failures[0].error.error_message #=> String
|
2084
|
+
# resp.failures[0].catalog_id #=> String
|
2085
|
+
# resp.failures[0].database_name #=> String
|
2086
|
+
# resp.failures[0].table_name #=> String
|
2087
|
+
# resp.failures[0].type #=> String, one of "compaction"
|
2088
|
+
#
|
2089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTableOptimizer AWS API Documentation
|
2090
|
+
#
|
2091
|
+
# @overload batch_get_table_optimizer(params = {})
|
2092
|
+
# @param [Hash] params ({})
|
2093
|
+
def batch_get_table_optimizer(params = {}, options = {})
|
2094
|
+
req = build_request(:batch_get_table_optimizer, params)
|
2095
|
+
req.send_request(options)
|
2096
|
+
end
|
2097
|
+
|
2040
2098
|
# Returns a list of resource metadata for a given list of trigger names.
|
2041
2099
|
# After calling the `ListTriggers` operation, you can call this
|
2042
2100
|
# operation to access the data to which you have been granted
|
@@ -4500,6 +4558,50 @@ module Aws::Glue
|
|
4500
4558
|
req.send_request(options)
|
4501
4559
|
end
|
4502
4560
|
|
4561
|
+
# Creates a new table optimizer for a specific function. `compaction` is
|
4562
|
+
# the only currently supported optimizer type.
|
4563
|
+
#
|
4564
|
+
# @option params [required, String] :catalog_id
|
4565
|
+
# The Catalog ID of the table.
|
4566
|
+
#
|
4567
|
+
# @option params [required, String] :database_name
|
4568
|
+
# The name of the database in the catalog in which the table resides.
|
4569
|
+
#
|
4570
|
+
# @option params [required, String] :table_name
|
4571
|
+
# The name of the table.
|
4572
|
+
#
|
4573
|
+
# @option params [required, String] :type
|
4574
|
+
# The type of table optimizer. Currently, the only valid value is
|
4575
|
+
# `compaction`.
|
4576
|
+
#
|
4577
|
+
# @option params [required, Types::TableOptimizerConfiguration] :table_optimizer_configuration
|
4578
|
+
# A `TableOptimizerConfiguration` object representing the configuration
|
4579
|
+
# of a table optimizer.
|
4580
|
+
#
|
4581
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4582
|
+
#
|
4583
|
+
# @example Request syntax with placeholder values
|
4584
|
+
#
|
4585
|
+
# resp = client.create_table_optimizer({
|
4586
|
+
# catalog_id: "CatalogIdString", # required
|
4587
|
+
# database_name: "NameString", # required
|
4588
|
+
# table_name: "NameString", # required
|
4589
|
+
# type: "compaction", # required, accepts compaction
|
4590
|
+
# table_optimizer_configuration: { # required
|
4591
|
+
# role_arn: "ArnString",
|
4592
|
+
# enabled: false,
|
4593
|
+
# },
|
4594
|
+
# })
|
4595
|
+
#
|
4596
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableOptimizer AWS API Documentation
|
4597
|
+
#
|
4598
|
+
# @overload create_table_optimizer(params = {})
|
4599
|
+
# @param [Hash] params ({})
|
4600
|
+
def create_table_optimizer(params = {}, options = {})
|
4601
|
+
req = build_request(:create_table_optimizer, params)
|
4602
|
+
req.send_request(options)
|
4603
|
+
end
|
4604
|
+
|
4503
4605
|
# Creates a new trigger.
|
4504
4606
|
#
|
4505
4607
|
# @option params [required, String] :name
|
@@ -5415,6 +5517,41 @@ module Aws::Glue
|
|
5415
5517
|
req.send_request(options)
|
5416
5518
|
end
|
5417
5519
|
|
5520
|
+
# Deletes an optimizer and all associated metadata for a table. The
|
5521
|
+
# optimization will no longer be performed on the table.
|
5522
|
+
#
|
5523
|
+
# @option params [required, String] :catalog_id
|
5524
|
+
# The Catalog ID of the table.
|
5525
|
+
#
|
5526
|
+
# @option params [required, String] :database_name
|
5527
|
+
# The name of the database in the catalog in which the table resides.
|
5528
|
+
#
|
5529
|
+
# @option params [required, String] :table_name
|
5530
|
+
# The name of the table.
|
5531
|
+
#
|
5532
|
+
# @option params [required, String] :type
|
5533
|
+
# The type of table optimizer.
|
5534
|
+
#
|
5535
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5536
|
+
#
|
5537
|
+
# @example Request syntax with placeholder values
|
5538
|
+
#
|
5539
|
+
# resp = client.delete_table_optimizer({
|
5540
|
+
# catalog_id: "CatalogIdString", # required
|
5541
|
+
# database_name: "NameString", # required
|
5542
|
+
# table_name: "NameString", # required
|
5543
|
+
# type: "compaction", # required, accepts compaction
|
5544
|
+
# })
|
5545
|
+
#
|
5546
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableOptimizer AWS API Documentation
|
5547
|
+
#
|
5548
|
+
# @overload delete_table_optimizer(params = {})
|
5549
|
+
# @param [Hash] params ({})
|
5550
|
+
def delete_table_optimizer(params = {}, options = {})
|
5551
|
+
req = build_request(:delete_table_optimizer, params)
|
5552
|
+
req.send_request(options)
|
5553
|
+
end
|
5554
|
+
|
5418
5555
|
# Deletes a specified version of a table.
|
5419
5556
|
#
|
5420
5557
|
# @option params [String] :catalog_id
|
@@ -10552,6 +10689,63 @@ module Aws::Glue
|
|
10552
10689
|
req.send_request(options)
|
10553
10690
|
end
|
10554
10691
|
|
10692
|
+
# Returns the configuration of all optimizers associated with a
|
10693
|
+
# specified table.
|
10694
|
+
#
|
10695
|
+
# @option params [required, String] :catalog_id
|
10696
|
+
# The Catalog ID of the table.
|
10697
|
+
#
|
10698
|
+
# @option params [required, String] :database_name
|
10699
|
+
# The name of the database in the catalog in which the table resides.
|
10700
|
+
#
|
10701
|
+
# @option params [required, String] :table_name
|
10702
|
+
# The name of the table.
|
10703
|
+
#
|
10704
|
+
# @option params [required, String] :type
|
10705
|
+
# The type of table optimizer.
|
10706
|
+
#
|
10707
|
+
# @return [Types::GetTableOptimizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10708
|
+
#
|
10709
|
+
# * {Types::GetTableOptimizerResponse#catalog_id #catalog_id} => String
|
10710
|
+
# * {Types::GetTableOptimizerResponse#database_name #database_name} => String
|
10711
|
+
# * {Types::GetTableOptimizerResponse#table_name #table_name} => String
|
10712
|
+
# * {Types::GetTableOptimizerResponse#table_optimizer #table_optimizer} => Types::TableOptimizer
|
10713
|
+
#
|
10714
|
+
# @example Request syntax with placeholder values
|
10715
|
+
#
|
10716
|
+
# resp = client.get_table_optimizer({
|
10717
|
+
# catalog_id: "CatalogIdString", # required
|
10718
|
+
# database_name: "NameString", # required
|
10719
|
+
# table_name: "NameString", # required
|
10720
|
+
# type: "compaction", # required, accepts compaction
|
10721
|
+
# })
|
10722
|
+
#
|
10723
|
+
# @example Response structure
|
10724
|
+
#
|
10725
|
+
# resp.catalog_id #=> String
|
10726
|
+
# resp.database_name #=> String
|
10727
|
+
# resp.table_name #=> String
|
10728
|
+
# resp.table_optimizer.type #=> String, one of "compaction"
|
10729
|
+
# resp.table_optimizer.configuration.role_arn #=> String
|
10730
|
+
# resp.table_optimizer.configuration.enabled #=> Boolean
|
10731
|
+
# resp.table_optimizer.last_run.event_type #=> String, one of "starting", "completed", "failed", "in_progress"
|
10732
|
+
# resp.table_optimizer.last_run.start_timestamp #=> Time
|
10733
|
+
# resp.table_optimizer.last_run.end_timestamp #=> Time
|
10734
|
+
# resp.table_optimizer.last_run.metrics.number_of_bytes_compacted #=> String
|
10735
|
+
# resp.table_optimizer.last_run.metrics.number_of_files_compacted #=> String
|
10736
|
+
# resp.table_optimizer.last_run.metrics.number_of_dpus #=> String
|
10737
|
+
# resp.table_optimizer.last_run.metrics.job_duration_in_hour #=> String
|
10738
|
+
# resp.table_optimizer.last_run.error #=> String
|
10739
|
+
#
|
10740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableOptimizer AWS API Documentation
|
10741
|
+
#
|
10742
|
+
# @overload get_table_optimizer(params = {})
|
10743
|
+
# @param [Hash] params ({})
|
10744
|
+
def get_table_optimizer(params = {}, options = {})
|
10745
|
+
req = build_request(:get_table_optimizer, params)
|
10746
|
+
req.send_request(options)
|
10747
|
+
end
|
10748
|
+
|
10555
10749
|
# Retrieves a specified version of a table.
|
10556
10750
|
#
|
10557
10751
|
# @option params [String] :catalog_id
|
@@ -13053,6 +13247,73 @@ module Aws::Glue
|
|
13053
13247
|
req.send_request(options)
|
13054
13248
|
end
|
13055
13249
|
|
13250
|
+
# Lists the history of previous optimizer runs for a specific table.
|
13251
|
+
#
|
13252
|
+
# @option params [required, String] :catalog_id
|
13253
|
+
# The Catalog ID of the table.
|
13254
|
+
#
|
13255
|
+
# @option params [required, String] :database_name
|
13256
|
+
# The name of the database in the catalog in which the table resides.
|
13257
|
+
#
|
13258
|
+
# @option params [required, String] :table_name
|
13259
|
+
# The name of the table.
|
13260
|
+
#
|
13261
|
+
# @option params [required, String] :type
|
13262
|
+
# The type of table optimizer. Currently, the only valid value is
|
13263
|
+
# `compaction`.
|
13264
|
+
#
|
13265
|
+
# @option params [Integer] :max_results
|
13266
|
+
# The maximum number of optimizer runs to return on each call.
|
13267
|
+
#
|
13268
|
+
# @option params [String] :next_token
|
13269
|
+
# A continuation token, if this is a continuation call.
|
13270
|
+
#
|
13271
|
+
# @return [Types::ListTableOptimizerRunsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13272
|
+
#
|
13273
|
+
# * {Types::ListTableOptimizerRunsResponse#catalog_id #catalog_id} => String
|
13274
|
+
# * {Types::ListTableOptimizerRunsResponse#database_name #database_name} => String
|
13275
|
+
# * {Types::ListTableOptimizerRunsResponse#table_name #table_name} => String
|
13276
|
+
# * {Types::ListTableOptimizerRunsResponse#next_token #next_token} => String
|
13277
|
+
# * {Types::ListTableOptimizerRunsResponse#table_optimizer_runs #table_optimizer_runs} => Array<Types::TableOptimizerRun>
|
13278
|
+
#
|
13279
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
13280
|
+
#
|
13281
|
+
# @example Request syntax with placeholder values
|
13282
|
+
#
|
13283
|
+
# resp = client.list_table_optimizer_runs({
|
13284
|
+
# catalog_id: "CatalogIdString", # required
|
13285
|
+
# database_name: "NameString", # required
|
13286
|
+
# table_name: "NameString", # required
|
13287
|
+
# type: "compaction", # required, accepts compaction
|
13288
|
+
# max_results: 1,
|
13289
|
+
# next_token: "ListTableOptimizerRunsToken",
|
13290
|
+
# })
|
13291
|
+
#
|
13292
|
+
# @example Response structure
|
13293
|
+
#
|
13294
|
+
# resp.catalog_id #=> String
|
13295
|
+
# resp.database_name #=> String
|
13296
|
+
# resp.table_name #=> String
|
13297
|
+
# resp.next_token #=> String
|
13298
|
+
# resp.table_optimizer_runs #=> Array
|
13299
|
+
# resp.table_optimizer_runs[0].event_type #=> String, one of "starting", "completed", "failed", "in_progress"
|
13300
|
+
# resp.table_optimizer_runs[0].start_timestamp #=> Time
|
13301
|
+
# resp.table_optimizer_runs[0].end_timestamp #=> Time
|
13302
|
+
# resp.table_optimizer_runs[0].metrics.number_of_bytes_compacted #=> String
|
13303
|
+
# resp.table_optimizer_runs[0].metrics.number_of_files_compacted #=> String
|
13304
|
+
# resp.table_optimizer_runs[0].metrics.number_of_dpus #=> String
|
13305
|
+
# resp.table_optimizer_runs[0].metrics.job_duration_in_hour #=> String
|
13306
|
+
# resp.table_optimizer_runs[0].error #=> String
|
13307
|
+
#
|
13308
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTableOptimizerRuns AWS API Documentation
|
13309
|
+
#
|
13310
|
+
# @overload list_table_optimizer_runs(params = {})
|
13311
|
+
# @param [Hash] params ({})
|
13312
|
+
def list_table_optimizer_runs(params = {}, options = {})
|
13313
|
+
req = build_request(:list_table_optimizer_runs, params)
|
13314
|
+
req.send_request(options)
|
13315
|
+
end
|
13316
|
+
|
13056
13317
|
# Retrieves the names of all trigger resources in this Amazon Web
|
13057
13318
|
# Services account, or the resources with the specified tag. This
|
13058
13319
|
# operation allows you to see which resources are available in your
|
@@ -13940,6 +14201,8 @@ module Aws::Glue
|
|
13940
14201
|
# then triage the ruleset and modify the generated ruleset to your
|
13941
14202
|
# liking.
|
13942
14203
|
#
|
14204
|
+
# Recommendation runs are automatically deleted after 90 days.
|
14205
|
+
#
|
13943
14206
|
# @option params [required, Types::DataSource] :data_source
|
13944
14207
|
# The data source (Glue table) associated with this run.
|
13945
14208
|
#
|
@@ -16156,6 +16419,49 @@ module Aws::Glue
|
|
16156
16419
|
req.send_request(options)
|
16157
16420
|
end
|
16158
16421
|
|
16422
|
+
# Updates the configuration for an existing table optimizer.
|
16423
|
+
#
|
16424
|
+
# @option params [required, String] :catalog_id
|
16425
|
+
# The Catalog ID of the table.
|
16426
|
+
#
|
16427
|
+
# @option params [required, String] :database_name
|
16428
|
+
# The name of the database in the catalog in which the table resides.
|
16429
|
+
#
|
16430
|
+
# @option params [required, String] :table_name
|
16431
|
+
# The name of the table.
|
16432
|
+
#
|
16433
|
+
# @option params [required, String] :type
|
16434
|
+
# The type of table optimizer. Currently, the only valid value is
|
16435
|
+
# `compaction`.
|
16436
|
+
#
|
16437
|
+
# @option params [required, Types::TableOptimizerConfiguration] :table_optimizer_configuration
|
16438
|
+
# A `TableOptimizerConfiguration` object representing the configuration
|
16439
|
+
# of a table optimizer.
|
16440
|
+
#
|
16441
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
16442
|
+
#
|
16443
|
+
# @example Request syntax with placeholder values
|
16444
|
+
#
|
16445
|
+
# resp = client.update_table_optimizer({
|
16446
|
+
# catalog_id: "CatalogIdString", # required
|
16447
|
+
# database_name: "NameString", # required
|
16448
|
+
# table_name: "NameString", # required
|
16449
|
+
# type: "compaction", # required, accepts compaction
|
16450
|
+
# table_optimizer_configuration: { # required
|
16451
|
+
# role_arn: "ArnString",
|
16452
|
+
# enabled: false,
|
16453
|
+
# },
|
16454
|
+
# })
|
16455
|
+
#
|
16456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableOptimizer AWS API Documentation
|
16457
|
+
#
|
16458
|
+
# @overload update_table_optimizer(params = {})
|
16459
|
+
# @param [Hash] params ({})
|
16460
|
+
def update_table_optimizer(params = {}, options = {})
|
16461
|
+
req = build_request(:update_table_optimizer, params)
|
16462
|
+
req.send_request(options)
|
16463
|
+
end
|
16464
|
+
|
16159
16465
|
# Updates a trigger definition.
|
16160
16466
|
#
|
16161
16467
|
# @option params [required, String] :name
|
@@ -16354,7 +16660,7 @@ module Aws::Glue
|
|
16354
16660
|
params: params,
|
16355
16661
|
config: config)
|
16356
16662
|
context[:gem_name] = 'aws-sdk-glue'
|
16357
|
-
context[:gem_version] = '1.
|
16663
|
+
context[:gem_version] = '1.159.0'
|
16358
16664
|
Seahorse::Client::Request.new(handlers, context)
|
16359
16665
|
end
|
16360
16666
|
|