aws-sdk-glue 1.157.0 → 1.159.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e9afddd58805135d642805778584cbeaff5b939015bc88ac02728727275e634
4
- data.tar.gz: '08a141cee013f2559f68ca54c1635bba230e7adedfcc6cb2a4285234db6f9444'
3
+ metadata.gz: 3250cdf5db2432c533f46c5fdb289266ef927b84035067737ec22fc763970a33
4
+ data.tar.gz: 7010cd260281b11e66e624a9e078100f1a66cb93bf0215fb15f012a4d7769c68
5
5
  SHA512:
6
- metadata.gz: 0f6e464030d6c4e4b17598f5e0c57fac27ec13d05d7b5d6bb805f6ff5692e31d2ccdcb25ecca623d04606a9fb8b2732a44fb34a26866e2da954b20b66cb2b5d2
7
- data.tar.gz: cd35cc66dba229ac7b473fc49464c2047381bde7c4ab70dd65486d89596c43ec5b58465a7288e7545f925a7ed3faaa9cac1cf87af9470c6f0ac4308494b0d64b
6
+ metadata.gz: a254d32375eb73fa6e6a8792d689433a0778f041c1f01fbcf134a4702600f58b2eb9aba381b9c8162550331da35c0ed92733b66fee27b2d72021063745695277
7
+ data.tar.gz: cc803857d1e61b79ae5f730b5968e4aec7e4aa366f3a0f270935c255c7786ed6b101bf2f6e0900d331bf8062202dee986f10c338ef3690e2f3b273fe164dba67
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.159.0 (2023-11-14)
5
+ ------------------
6
+
7
+ * Feature - Introduces new storage optimization APIs to support automatic compaction of Apache Iceberg tables.
8
+
9
+ 1.158.0 (2023-11-02)
10
+ ------------------
11
+
12
+ * Feature - This release introduces Google BigQuery Source and Target in AWS Glue CodeGenConfigurationNode.
13
+
4
14
  1.157.0 (2023-10-12)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.157.0
1
+ 1.159.0
@@ -1906,6 +1906,20 @@ module Aws::Glue
1906
1906
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].snowflake_target.data.table_schema[0].description #=> String
1907
1907
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].snowflake_target.inputs #=> Array
1908
1908
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].snowflake_target.inputs[0] #=> String
1909
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.name #=> String
1910
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.connection_type #=> String
1911
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.data #=> Hash
1912
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.data["GenericString"] #=> String
1913
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas #=> Array
1914
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas[0].columns #=> Array
1915
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas[0].columns[0].name #=> String
1916
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas[0].columns[0].type #=> String
1917
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.name #=> String
1918
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.connection_type #=> String
1919
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.data #=> Hash
1920
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.data["GenericString"] #=> String
1921
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.inputs #=> Array
1922
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.inputs[0] #=> String
1909
1923
  # resp.jobs[0].execution_class #=> String, one of "FLEX", "STANDARD"
1910
1924
  # resp.jobs[0].source_control_details.provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "AWS_CODE_COMMIT"
1911
1925
  # resp.jobs[0].source_control_details.repository #=> String
@@ -2023,6 +2037,64 @@ module Aws::Glue
2023
2037
  req.send_request(options)
2024
2038
  end
2025
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&lt;Types::BatchTableOptimizer&gt;
2049
+ # * {Types::BatchGetTableOptimizerResponse#failures #failures} => Array&lt;Types::BatchGetTableOptimizerError&gt;
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
+
2026
2098
  # Returns a list of resource metadata for a given list of trigger names.
2027
2099
  # After calling the `ListTriggers` operation, you can call this
2028
2100
  # operation to access the data to which you have been granted
@@ -4486,6 +4558,50 @@ module Aws::Glue
4486
4558
  req.send_request(options)
4487
4559
  end
4488
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
+
4489
4605
  # Creates a new trigger.
4490
4606
  #
4491
4607
  # @option params [required, String] :name
@@ -5401,6 +5517,41 @@ module Aws::Glue
5401
5517
  req.send_request(options)
5402
5518
  end
5403
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
+
5404
5555
  # Deletes a specified version of a table.
5405
5556
  #
5406
5557
  # @option params [String] :catalog_id
@@ -7854,6 +8005,20 @@ module Aws::Glue
7854
8005
  # resp.job.code_gen_configuration_nodes["NodeId"].snowflake_target.data.table_schema[0].description #=> String
7855
8006
  # resp.job.code_gen_configuration_nodes["NodeId"].snowflake_target.inputs #=> Array
7856
8007
  # resp.job.code_gen_configuration_nodes["NodeId"].snowflake_target.inputs[0] #=> String
8008
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_source.name #=> String
8009
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_source.connection_type #=> String
8010
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_source.data #=> Hash
8011
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_source.data["GenericString"] #=> String
8012
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas #=> Array
8013
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas[0].columns #=> Array
8014
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas[0].columns[0].name #=> String
8015
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas[0].columns[0].type #=> String
8016
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_target.name #=> String
8017
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_target.connection_type #=> String
8018
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_target.data #=> Hash
8019
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_target.data["GenericString"] #=> String
8020
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_target.inputs #=> Array
8021
+ # resp.job.code_gen_configuration_nodes["NodeId"].connector_data_target.inputs[0] #=> String
7857
8022
  # resp.job.execution_class #=> String, one of "FLEX", "STANDARD"
7858
8023
  # resp.job.source_control_details.provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "AWS_CODE_COMMIT"
7859
8024
  # resp.job.source_control_details.repository #=> String
@@ -8937,6 +9102,20 @@ module Aws::Glue
8937
9102
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].snowflake_target.data.table_schema[0].description #=> String
8938
9103
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].snowflake_target.inputs #=> Array
8939
9104
  # resp.jobs[0].code_gen_configuration_nodes["NodeId"].snowflake_target.inputs[0] #=> String
9105
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.name #=> String
9106
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.connection_type #=> String
9107
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.data #=> Hash
9108
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.data["GenericString"] #=> String
9109
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas #=> Array
9110
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas[0].columns #=> Array
9111
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas[0].columns[0].name #=> String
9112
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_source.output_schemas[0].columns[0].type #=> String
9113
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.name #=> String
9114
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.connection_type #=> String
9115
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.data #=> Hash
9116
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.data["GenericString"] #=> String
9117
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.inputs #=> Array
9118
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].connector_data_target.inputs[0] #=> String
8940
9119
  # resp.jobs[0].execution_class #=> String, one of "FLEX", "STANDARD"
8941
9120
  # resp.jobs[0].source_control_details.provider #=> String, one of "GITHUB", "GITLAB", "BITBUCKET", "AWS_CODE_COMMIT"
8942
9121
  # resp.jobs[0].source_control_details.repository #=> String
@@ -10510,6 +10689,63 @@ module Aws::Glue
10510
10689
  req.send_request(options)
10511
10690
  end
10512
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
+
10513
10749
  # Retrieves a specified version of a table.
10514
10750
  #
10515
10751
  # @option params [String] :catalog_id
@@ -13011,6 +13247,73 @@ module Aws::Glue
13011
13247
  req.send_request(options)
13012
13248
  end
13013
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&lt;Types::TableOptimizerRun&gt;
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
+
13014
13317
  # Retrieves the names of all trigger resources in this Amazon Web
13015
13318
  # Services account, or the resources with the specified tag. This
13016
13319
  # operation allows you to see which resources are available in your
@@ -13898,6 +14201,8 @@ module Aws::Glue
13898
14201
  # then triage the ruleset and modify the generated ruleset to your
13899
14202
  # liking.
13900
14203
  #
14204
+ # Recommendation runs are automatically deleted after 90 days.
14205
+ #
13901
14206
  # @option params [required, Types::DataSource] :data_source
13902
14207
  # The data source (Glue table) associated with this run.
13903
14208
  #
@@ -16114,6 +16419,49 @@ module Aws::Glue
16114
16419
  req.send_request(options)
16115
16420
  end
16116
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
+
16117
16465
  # Updates a trigger definition.
16118
16466
  #
16119
16467
  # @option params [required, String] :name
@@ -16312,7 +16660,7 @@ module Aws::Glue
16312
16660
  params: params,
16313
16661
  config: config)
16314
16662
  context[:gem_name] = 'aws-sdk-glue'
16315
- context[:gem_version] = '1.157.0'
16663
+ context[:gem_version] = '1.159.0'
16316
16664
  Seahorse::Client::Request.new(handlers, context)
16317
16665
  end
16318
16666