aws-sdk-glue 1.193.0 → 1.195.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: 6f1f3d5020787f13bb1ead562f0413e90bf87836593aed54852fdf29f6517d48
4
- data.tar.gz: c312129ee67608144b5af7319d2b5aca0106fa6a153df12fb2ddeffc3ad126cd
3
+ metadata.gz: 4c3aaeca7c880d71df57bd89a1c91171df80946d51a4d0f205aa9df5a9d2bc06
4
+ data.tar.gz: ee2747bf524cd0423a4bbb5347b78c7fa489ad319d45d541bbb936d7889e36d4
5
5
  SHA512:
6
- metadata.gz: e99154994555d33c549992e8e58831cb84e2e862997d778271cc6d46e97206ef15b4599d3402cfffdb2ab2093bb3c3c2c9a70af239a5545d354b8c82f3fa46c2
7
- data.tar.gz: d57f7a04b7a8f2a1f262042adb95f850fa86f4d00efd87595861499a9d49f01421516e8d5595dbc5d296edab6593aee23d56087b15ee102c3613002e487a082c
6
+ metadata.gz: 5ad947be225a9373f15f071db5ad8c3b9ec0401d5a90870c8a6c1c9099a3a5e0b32bb2cc866b6c75ce8a8ee37c3602e0593bbe247346dc73ce96db6f437df865
7
+ data.tar.gz: 33d04dae38a2eab8ceebc4333e94766654c4a78161f900f6597f19deae95092722682b8c970c656a4fe77e5606c50023c698a92232c0b620b280484f99ff865c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.195.0 (2024-09-19)
5
+ ------------------
6
+
7
+ * Feature - This change is for releasing TestConnection api SDK model
8
+
9
+ 1.194.0 (2024-09-12)
10
+ ------------------
11
+
12
+ * Feature - AWS Glue is introducing two new optimizers for Apache Iceberg tables: snapshot retention and orphan file deletion. Customers can enable these optimizers and customize their configurations to perform daily maintenance tasks on their Iceberg tables based on their specific requirements.
13
+
4
14
  1.193.0 (2024-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.193.0
1
+ 1.195.0
@@ -2141,7 +2141,7 @@ module Aws::Glue
2141
2141
  # catalog_id: "CatalogIdString",
2142
2142
  # database_name: "databaseNameString",
2143
2143
  # table_name: "tableNameString",
2144
- # type: "compaction", # accepts compaction
2144
+ # type: "compaction", # accepts compaction, retention, orphan_file_deletion
2145
2145
  # },
2146
2146
  # ],
2147
2147
  # })
@@ -2152,9 +2152,14 @@ module Aws::Glue
2152
2152
  # resp.table_optimizers[0].catalog_id #=> String
2153
2153
  # resp.table_optimizers[0].database_name #=> String
2154
2154
  # resp.table_optimizers[0].table_name #=> String
2155
- # resp.table_optimizers[0].table_optimizer.type #=> String, one of "compaction"
2155
+ # resp.table_optimizers[0].table_optimizer.type #=> String, one of "compaction", "retention", "orphan_file_deletion"
2156
2156
  # resp.table_optimizers[0].table_optimizer.configuration.role_arn #=> String
2157
2157
  # resp.table_optimizers[0].table_optimizer.configuration.enabled #=> Boolean
2158
+ # resp.table_optimizers[0].table_optimizer.configuration.retention_configuration.iceberg_configuration.snapshot_retention_period_in_days #=> Integer
2159
+ # resp.table_optimizers[0].table_optimizer.configuration.retention_configuration.iceberg_configuration.number_of_snapshots_to_retain #=> Integer
2160
+ # resp.table_optimizers[0].table_optimizer.configuration.retention_configuration.iceberg_configuration.clean_expired_files #=> Boolean
2161
+ # resp.table_optimizers[0].table_optimizer.configuration.orphan_file_deletion_configuration.iceberg_configuration.orphan_file_retention_period_in_days #=> Integer
2162
+ # resp.table_optimizers[0].table_optimizer.configuration.orphan_file_deletion_configuration.iceberg_configuration.location #=> String
2158
2163
  # resp.table_optimizers[0].table_optimizer.last_run.event_type #=> String, one of "starting", "completed", "failed", "in_progress"
2159
2164
  # resp.table_optimizers[0].table_optimizer.last_run.start_timestamp #=> Time
2160
2165
  # resp.table_optimizers[0].table_optimizer.last_run.end_timestamp #=> Time
@@ -2163,13 +2168,25 @@ module Aws::Glue
2163
2168
  # resp.table_optimizers[0].table_optimizer.last_run.metrics.number_of_dpus #=> String
2164
2169
  # resp.table_optimizers[0].table_optimizer.last_run.metrics.job_duration_in_hour #=> String
2165
2170
  # resp.table_optimizers[0].table_optimizer.last_run.error #=> String
2171
+ # resp.table_optimizers[0].table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_bytes_compacted #=> Integer
2172
+ # resp.table_optimizers[0].table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_files_compacted #=> Integer
2173
+ # resp.table_optimizers[0].table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_dpus #=> Integer
2174
+ # resp.table_optimizers[0].table_optimizer.last_run.compaction_metrics.iceberg_metrics.job_duration_in_hour #=> Float
2175
+ # resp.table_optimizers[0].table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_data_files_deleted #=> Integer
2176
+ # resp.table_optimizers[0].table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_manifest_files_deleted #=> Integer
2177
+ # resp.table_optimizers[0].table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_manifest_lists_deleted #=> Integer
2178
+ # resp.table_optimizers[0].table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_dpus #=> Integer
2179
+ # resp.table_optimizers[0].table_optimizer.last_run.retention_metrics.iceberg_metrics.job_duration_in_hour #=> Float
2180
+ # resp.table_optimizers[0].table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.number_of_orphan_files_deleted #=> Integer
2181
+ # resp.table_optimizers[0].table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.number_of_dpus #=> Integer
2182
+ # resp.table_optimizers[0].table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.job_duration_in_hour #=> Float
2166
2183
  # resp.failures #=> Array
2167
2184
  # resp.failures[0].error.error_code #=> String
2168
2185
  # resp.failures[0].error.error_message #=> String
2169
2186
  # resp.failures[0].catalog_id #=> String
2170
2187
  # resp.failures[0].database_name #=> String
2171
2188
  # resp.failures[0].table_name #=> String
2172
- # resp.failures[0].type #=> String, one of "compaction"
2189
+ # resp.failures[0].type #=> String, one of "compaction", "retention", "orphan_file_deletion"
2173
2190
  #
2174
2191
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTableOptimizer AWS API Documentation
2175
2192
  #
@@ -4812,10 +4829,23 @@ module Aws::Glue
4812
4829
  # catalog_id: "CatalogIdString", # required
4813
4830
  # database_name: "NameString", # required
4814
4831
  # table_name: "NameString", # required
4815
- # type: "compaction", # required, accepts compaction
4832
+ # type: "compaction", # required, accepts compaction, retention, orphan_file_deletion
4816
4833
  # table_optimizer_configuration: { # required
4817
4834
  # role_arn: "ArnString",
4818
4835
  # enabled: false,
4836
+ # retention_configuration: {
4837
+ # iceberg_configuration: {
4838
+ # snapshot_retention_period_in_days: 1,
4839
+ # number_of_snapshots_to_retain: 1,
4840
+ # clean_expired_files: false,
4841
+ # },
4842
+ # },
4843
+ # orphan_file_deletion_configuration: {
4844
+ # iceberg_configuration: {
4845
+ # orphan_file_retention_period_in_days: 1,
4846
+ # location: "MessageString",
4847
+ # },
4848
+ # },
4819
4849
  # },
4820
4850
  # })
4821
4851
  #
@@ -5826,7 +5856,7 @@ module Aws::Glue
5826
5856
  # catalog_id: "CatalogIdString", # required
5827
5857
  # database_name: "NameString", # required
5828
5858
  # table_name: "NameString", # required
5829
- # type: "compaction", # required, accepts compaction
5859
+ # type: "compaction", # required, accepts compaction, retention, orphan_file_deletion
5830
5860
  # })
5831
5861
  #
5832
5862
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableOptimizer AWS API Documentation
@@ -11346,7 +11376,7 @@ module Aws::Glue
11346
11376
  # catalog_id: "CatalogIdString", # required
11347
11377
  # database_name: "NameString", # required
11348
11378
  # table_name: "NameString", # required
11349
- # type: "compaction", # required, accepts compaction
11379
+ # type: "compaction", # required, accepts compaction, retention, orphan_file_deletion
11350
11380
  # })
11351
11381
  #
11352
11382
  # @example Response structure
@@ -11354,9 +11384,14 @@ module Aws::Glue
11354
11384
  # resp.catalog_id #=> String
11355
11385
  # resp.database_name #=> String
11356
11386
  # resp.table_name #=> String
11357
- # resp.table_optimizer.type #=> String, one of "compaction"
11387
+ # resp.table_optimizer.type #=> String, one of "compaction", "retention", "orphan_file_deletion"
11358
11388
  # resp.table_optimizer.configuration.role_arn #=> String
11359
11389
  # resp.table_optimizer.configuration.enabled #=> Boolean
11390
+ # resp.table_optimizer.configuration.retention_configuration.iceberg_configuration.snapshot_retention_period_in_days #=> Integer
11391
+ # resp.table_optimizer.configuration.retention_configuration.iceberg_configuration.number_of_snapshots_to_retain #=> Integer
11392
+ # resp.table_optimizer.configuration.retention_configuration.iceberg_configuration.clean_expired_files #=> Boolean
11393
+ # resp.table_optimizer.configuration.orphan_file_deletion_configuration.iceberg_configuration.orphan_file_retention_period_in_days #=> Integer
11394
+ # resp.table_optimizer.configuration.orphan_file_deletion_configuration.iceberg_configuration.location #=> String
11360
11395
  # resp.table_optimizer.last_run.event_type #=> String, one of "starting", "completed", "failed", "in_progress"
11361
11396
  # resp.table_optimizer.last_run.start_timestamp #=> Time
11362
11397
  # resp.table_optimizer.last_run.end_timestamp #=> Time
@@ -11365,6 +11400,18 @@ module Aws::Glue
11365
11400
  # resp.table_optimizer.last_run.metrics.number_of_dpus #=> String
11366
11401
  # resp.table_optimizer.last_run.metrics.job_duration_in_hour #=> String
11367
11402
  # resp.table_optimizer.last_run.error #=> String
11403
+ # resp.table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_bytes_compacted #=> Integer
11404
+ # resp.table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_files_compacted #=> Integer
11405
+ # resp.table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_dpus #=> Integer
11406
+ # resp.table_optimizer.last_run.compaction_metrics.iceberg_metrics.job_duration_in_hour #=> Float
11407
+ # resp.table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_data_files_deleted #=> Integer
11408
+ # resp.table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_manifest_files_deleted #=> Integer
11409
+ # resp.table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_manifest_lists_deleted #=> Integer
11410
+ # resp.table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_dpus #=> Integer
11411
+ # resp.table_optimizer.last_run.retention_metrics.iceberg_metrics.job_duration_in_hour #=> Float
11412
+ # resp.table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.number_of_orphan_files_deleted #=> Integer
11413
+ # resp.table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.number_of_dpus #=> Integer
11414
+ # resp.table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.job_duration_in_hour #=> Float
11368
11415
  #
11369
11416
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableOptimizer AWS API Documentation
11370
11417
  #
@@ -14398,7 +14445,7 @@ module Aws::Glue
14398
14445
  # catalog_id: "CatalogIdString", # required
14399
14446
  # database_name: "NameString", # required
14400
14447
  # table_name: "NameString", # required
14401
- # type: "compaction", # required, accepts compaction
14448
+ # type: "compaction", # required, accepts compaction, retention, orphan_file_deletion
14402
14449
  # max_results: 1,
14403
14450
  # next_token: "ListTableOptimizerRunsToken",
14404
14451
  # })
@@ -14418,6 +14465,18 @@ module Aws::Glue
14418
14465
  # resp.table_optimizer_runs[0].metrics.number_of_dpus #=> String
14419
14466
  # resp.table_optimizer_runs[0].metrics.job_duration_in_hour #=> String
14420
14467
  # resp.table_optimizer_runs[0].error #=> String
14468
+ # resp.table_optimizer_runs[0].compaction_metrics.iceberg_metrics.number_of_bytes_compacted #=> Integer
14469
+ # resp.table_optimizer_runs[0].compaction_metrics.iceberg_metrics.number_of_files_compacted #=> Integer
14470
+ # resp.table_optimizer_runs[0].compaction_metrics.iceberg_metrics.number_of_dpus #=> Integer
14471
+ # resp.table_optimizer_runs[0].compaction_metrics.iceberg_metrics.job_duration_in_hour #=> Float
14472
+ # resp.table_optimizer_runs[0].retention_metrics.iceberg_metrics.number_of_data_files_deleted #=> Integer
14473
+ # resp.table_optimizer_runs[0].retention_metrics.iceberg_metrics.number_of_manifest_files_deleted #=> Integer
14474
+ # resp.table_optimizer_runs[0].retention_metrics.iceberg_metrics.number_of_manifest_lists_deleted #=> Integer
14475
+ # resp.table_optimizer_runs[0].retention_metrics.iceberg_metrics.number_of_dpus #=> Integer
14476
+ # resp.table_optimizer_runs[0].retention_metrics.iceberg_metrics.job_duration_in_hour #=> Float
14477
+ # resp.table_optimizer_runs[0].orphan_file_deletion_metrics.iceberg_metrics.number_of_orphan_files_deleted #=> Integer
14478
+ # resp.table_optimizer_runs[0].orphan_file_deletion_metrics.iceberg_metrics.number_of_dpus #=> Integer
14479
+ # resp.table_optimizer_runs[0].orphan_file_deletion_metrics.iceberg_metrics.job_duration_in_hour #=> Float
14421
14480
  #
14422
14481
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTableOptimizerRuns AWS API Documentation
14423
14482
  #
@@ -16293,6 +16352,66 @@ module Aws::Glue
16293
16352
  req.send_request(options)
16294
16353
  end
16295
16354
 
16355
+ # Tests a connection to a service to validate the service credentials
16356
+ # that you provide.
16357
+ #
16358
+ # You can either provide an existing connection name or a
16359
+ # `TestConnectionInput` for testing a non-existing connection input.
16360
+ # Providing both at the same time will cause an error.
16361
+ #
16362
+ # If the action is successful, the service sends back an HTTP 200
16363
+ # response.
16364
+ #
16365
+ # @option params [String] :connection_name
16366
+ # Optional. The name of the connection to test. If only name is
16367
+ # provided, the operation will get the connection and use that for
16368
+ # testing.
16369
+ #
16370
+ # @option params [Types::TestConnectionInput] :test_connection_input
16371
+ # A structure that is used to specify testing a connection to a service.
16372
+ #
16373
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
16374
+ #
16375
+ # @example Request syntax with placeholder values
16376
+ #
16377
+ # resp = client.test_connection({
16378
+ # connection_name: "NameString",
16379
+ # test_connection_input: {
16380
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM, SALESFORCE, VIEW_VALIDATION_REDSHIFT, VIEW_VALIDATION_ATHENA
16381
+ # connection_properties: { # required
16382
+ # "HOST" => "ValueString",
16383
+ # },
16384
+ # authentication_configuration: {
16385
+ # authentication_type: "BASIC", # accepts BASIC, OAUTH2, CUSTOM
16386
+ # secret_arn: "SecretArn",
16387
+ # o_auth_2_properties: {
16388
+ # o_auth_2_grant_type: "AUTHORIZATION_CODE", # accepts AUTHORIZATION_CODE, CLIENT_CREDENTIALS, JWT_BEARER
16389
+ # o_auth_2_client_application: {
16390
+ # user_managed_client_application_client_id: "UserManagedClientApplicationClientId",
16391
+ # aws_managed_client_application_reference: "AWSManagedClientApplicationReference",
16392
+ # },
16393
+ # token_url: "TokenUrl",
16394
+ # token_url_parameters_map: {
16395
+ # "TokenUrlParameterKey" => "TokenUrlParameterValue",
16396
+ # },
16397
+ # authorization_code_properties: {
16398
+ # authorization_code: "AuthorizationCode",
16399
+ # redirect_uri: "RedirectUri",
16400
+ # },
16401
+ # },
16402
+ # },
16403
+ # },
16404
+ # })
16405
+ #
16406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnection AWS API Documentation
16407
+ #
16408
+ # @overload test_connection(params = {})
16409
+ # @param [Hash] params ({})
16410
+ def test_connection(params = {}, options = {})
16411
+ req = build_request(:test_connection, params)
16412
+ req.send_request(options)
16413
+ end
16414
+
16296
16415
  # Removes tags from a resource.
16297
16416
  #
16298
16417
  # @option params [required, String] :resource_arn
@@ -17804,10 +17923,23 @@ module Aws::Glue
17804
17923
  # catalog_id: "CatalogIdString", # required
17805
17924
  # database_name: "NameString", # required
17806
17925
  # table_name: "NameString", # required
17807
- # type: "compaction", # required, accepts compaction
17926
+ # type: "compaction", # required, accepts compaction, retention, orphan_file_deletion
17808
17927
  # table_optimizer_configuration: { # required
17809
17928
  # role_arn: "ArnString",
17810
17929
  # enabled: false,
17930
+ # retention_configuration: {
17931
+ # iceberg_configuration: {
17932
+ # snapshot_retention_period_in_days: 1,
17933
+ # number_of_snapshots_to_retain: 1,
17934
+ # clean_expired_files: false,
17935
+ # },
17936
+ # },
17937
+ # orphan_file_deletion_configuration: {
17938
+ # iceberg_configuration: {
17939
+ # orphan_file_retention_period_in_days: 1,
17940
+ # location: "MessageString",
17941
+ # },
17942
+ # },
17811
17943
  # },
17812
17944
  # })
17813
17945
  #
@@ -18077,7 +18209,7 @@ module Aws::Glue
18077
18209
  tracer: tracer
18078
18210
  )
18079
18211
  context[:gem_name] = 'aws-sdk-glue'
18080
- context[:gem_version] = '1.193.0'
18212
+ context[:gem_version] = '1.195.0'
18081
18213
  Seahorse::Client::Request.new(handlers, context)
18082
18214
  end
18083
18215
 
@@ -204,6 +204,7 @@ module Aws::Glue
204
204
  ColumnValuesString = Shapes::StringShape.new(name: 'ColumnValuesString')
205
205
  CommentString = Shapes::StringShape.new(name: 'CommentString')
206
206
  CommitIdString = Shapes::StringShape.new(name: 'CommitIdString')
207
+ CompactionMetrics = Shapes::StructureShape.new(name: 'CompactionMetrics')
207
208
  Comparator = Shapes::StringShape.new(name: 'Comparator')
208
209
  Compatibility = Shapes::StringShape.new(name: 'Compatibility')
209
210
  CompressionType = Shapes::StringShape.new(name: 'CompressionType')
@@ -689,7 +690,12 @@ module Aws::Glue
689
690
  HudiTargetCompressionType = Shapes::StringShape.new(name: 'HudiTargetCompressionType')
690
691
  HudiTargetList = Shapes::ListShape.new(name: 'HudiTargetList')
691
692
  IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
693
+ IcebergCompactionMetrics = Shapes::StructureShape.new(name: 'IcebergCompactionMetrics')
692
694
  IcebergInput = Shapes::StructureShape.new(name: 'IcebergInput')
695
+ IcebergOrphanFileDeletionConfiguration = Shapes::StructureShape.new(name: 'IcebergOrphanFileDeletionConfiguration')
696
+ IcebergOrphanFileDeletionMetrics = Shapes::StructureShape.new(name: 'IcebergOrphanFileDeletionMetrics')
697
+ IcebergRetentionConfiguration = Shapes::StructureShape.new(name: 'IcebergRetentionConfiguration')
698
+ IcebergRetentionMetrics = Shapes::StructureShape.new(name: 'IcebergRetentionMetrics')
693
699
  IcebergTarget = Shapes::StructureShape.new(name: 'IcebergTarget')
694
700
  IcebergTargetList = Shapes::ListShape.new(name: 'IcebergTargetList')
695
701
  IdString = Shapes::StringShape.new(name: 'IdString')
@@ -903,6 +909,8 @@ module Aws::Glue
903
909
  OrchestrationToken = Shapes::StringShape.new(name: 'OrchestrationToken')
904
910
  Order = Shapes::StructureShape.new(name: 'Order')
905
911
  OrderList = Shapes::ListShape.new(name: 'OrderList')
912
+ OrphanFileDeletionConfiguration = Shapes::StructureShape.new(name: 'OrphanFileDeletionConfiguration')
913
+ OrphanFileDeletionMetrics = Shapes::StructureShape.new(name: 'OrphanFileDeletionMetrics')
906
914
  OtherMetadataValueList = Shapes::ListShape.new(name: 'OtherMetadataValueList')
907
915
  OtherMetadataValueListItem = Shapes::StructureShape.new(name: 'OtherMetadataValueListItem')
908
916
  PIIDetection = Shapes::StructureShape.new(name: 'PIIDetection')
@@ -1006,6 +1014,8 @@ module Aws::Glue
1006
1014
  ResourceUriList = Shapes::ListShape.new(name: 'ResourceUriList')
1007
1015
  ResumeWorkflowRunRequest = Shapes::StructureShape.new(name: 'ResumeWorkflowRunRequest')
1008
1016
  ResumeWorkflowRunResponse = Shapes::StructureShape.new(name: 'ResumeWorkflowRunResponse')
1017
+ RetentionConfiguration = Shapes::StructureShape.new(name: 'RetentionConfiguration')
1018
+ RetentionMetrics = Shapes::StructureShape.new(name: 'RetentionMetrics')
1009
1019
  Role = Shapes::StringShape.new(name: 'Role')
1010
1020
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
1011
1021
  RoleString = Shapes::StringShape.new(name: 'RoleString')
@@ -1202,6 +1212,10 @@ module Aws::Glue
1202
1212
  TaskRunSortCriteria = Shapes::StructureShape.new(name: 'TaskRunSortCriteria')
1203
1213
  TaskStatusType = Shapes::StringShape.new(name: 'TaskStatusType')
1204
1214
  TaskType = Shapes::StringShape.new(name: 'TaskType')
1215
+ TestConnectionInput = Shapes::StructureShape.new(name: 'TestConnectionInput')
1216
+ TestConnectionRequest = Shapes::StructureShape.new(name: 'TestConnectionRequest')
1217
+ TestConnectionResponse = Shapes::StructureShape.new(name: 'TestConnectionResponse')
1218
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
1205
1219
  Timeout = Shapes::IntegerShape.new(name: 'Timeout')
1206
1220
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
1207
1221
  TimestampFilter = Shapes::StructureShape.new(name: 'TimestampFilter')
@@ -1339,6 +1353,9 @@ module Aws::Glue
1339
1353
  XMLClassifier = Shapes::StructureShape.new(name: 'XMLClassifier')
1340
1354
  databaseNameString = Shapes::StringShape.new(name: 'databaseNameString')
1341
1355
  double = Shapes::FloatShape.new(name: 'double')
1356
+ dpuCounts = Shapes::IntegerShape.new(name: 'dpuCounts')
1357
+ dpuDurationInHour = Shapes::FloatShape.new(name: 'dpuDurationInHour')
1358
+ metricCounts = Shapes::IntegerShape.new(name: 'metricCounts')
1342
1359
  tableNameString = Shapes::StringShape.new(name: 'tableNameString')
1343
1360
 
1344
1361
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
@@ -2026,6 +2043,9 @@ module Aws::Glue
2026
2043
 
2027
2044
  ColumnValueStringList.member = Shapes::ShapeRef.new(shape: ColumnValuesString)
2028
2045
 
2046
+ CompactionMetrics.add_member(:iceberg_metrics, Shapes::ShapeRef.new(shape: IcebergCompactionMetrics, location_name: "IcebergMetrics"))
2047
+ CompactionMetrics.struct_class = Types::CompactionMetrics
2048
+
2029
2049
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
2030
2050
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
2031
2051
 
@@ -4029,10 +4049,37 @@ module Aws::Glue
4029
4049
 
4030
4050
  HudiTargetList.member = Shapes::ShapeRef.new(shape: HudiTarget)
4031
4051
 
4052
+ IcebergCompactionMetrics.add_member(:number_of_bytes_compacted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfBytesCompacted"))
4053
+ IcebergCompactionMetrics.add_member(:number_of_files_compacted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfFilesCompacted"))
4054
+ IcebergCompactionMetrics.add_member(:number_of_dpus, Shapes::ShapeRef.new(shape: dpuCounts, location_name: "NumberOfDpus"))
4055
+ IcebergCompactionMetrics.add_member(:job_duration_in_hour, Shapes::ShapeRef.new(shape: dpuDurationInHour, location_name: "JobDurationInHour"))
4056
+ IcebergCompactionMetrics.struct_class = Types::IcebergCompactionMetrics
4057
+
4032
4058
  IcebergInput.add_member(:metadata_operation, Shapes::ShapeRef.new(shape: MetadataOperation, required: true, location_name: "MetadataOperation"))
4033
4059
  IcebergInput.add_member(:version, Shapes::ShapeRef.new(shape: VersionString, location_name: "Version"))
4034
4060
  IcebergInput.struct_class = Types::IcebergInput
4035
4061
 
4062
+ IcebergOrphanFileDeletionConfiguration.add_member(:orphan_file_retention_period_in_days, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "orphanFileRetentionPeriodInDays"))
4063
+ IcebergOrphanFileDeletionConfiguration.add_member(:location, Shapes::ShapeRef.new(shape: MessageString, location_name: "location"))
4064
+ IcebergOrphanFileDeletionConfiguration.struct_class = Types::IcebergOrphanFileDeletionConfiguration
4065
+
4066
+ IcebergOrphanFileDeletionMetrics.add_member(:number_of_orphan_files_deleted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfOrphanFilesDeleted"))
4067
+ IcebergOrphanFileDeletionMetrics.add_member(:number_of_dpus, Shapes::ShapeRef.new(shape: dpuCounts, location_name: "NumberOfDpus"))
4068
+ IcebergOrphanFileDeletionMetrics.add_member(:job_duration_in_hour, Shapes::ShapeRef.new(shape: dpuDurationInHour, location_name: "JobDurationInHour"))
4069
+ IcebergOrphanFileDeletionMetrics.struct_class = Types::IcebergOrphanFileDeletionMetrics
4070
+
4071
+ IcebergRetentionConfiguration.add_member(:snapshot_retention_period_in_days, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "snapshotRetentionPeriodInDays"))
4072
+ IcebergRetentionConfiguration.add_member(:number_of_snapshots_to_retain, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "numberOfSnapshotsToRetain"))
4073
+ IcebergRetentionConfiguration.add_member(:clean_expired_files, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "cleanExpiredFiles"))
4074
+ IcebergRetentionConfiguration.struct_class = Types::IcebergRetentionConfiguration
4075
+
4076
+ IcebergRetentionMetrics.add_member(:number_of_data_files_deleted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfDataFilesDeleted"))
4077
+ IcebergRetentionMetrics.add_member(:number_of_manifest_files_deleted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfManifestFilesDeleted"))
4078
+ IcebergRetentionMetrics.add_member(:number_of_manifest_lists_deleted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfManifestListsDeleted"))
4079
+ IcebergRetentionMetrics.add_member(:number_of_dpus, Shapes::ShapeRef.new(shape: dpuCounts, location_name: "NumberOfDpus"))
4080
+ IcebergRetentionMetrics.add_member(:job_duration_in_hour, Shapes::ShapeRef.new(shape: dpuDurationInHour, location_name: "JobDurationInHour"))
4081
+ IcebergRetentionMetrics.struct_class = Types::IcebergRetentionMetrics
4082
+
4036
4083
  IcebergTarget.add_member(:paths, Shapes::ShapeRef.new(shape: PathList, location_name: "Paths"))
4037
4084
  IcebergTarget.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
4038
4085
  IcebergTarget.add_member(:exclusions, Shapes::ShapeRef.new(shape: PathList, location_name: "Exclusions"))
@@ -4764,6 +4811,12 @@ module Aws::Glue
4764
4811
 
4765
4812
  OrderList.member = Shapes::ShapeRef.new(shape: Order)
4766
4813
 
4814
+ OrphanFileDeletionConfiguration.add_member(:iceberg_configuration, Shapes::ShapeRef.new(shape: IcebergOrphanFileDeletionConfiguration, location_name: "icebergConfiguration"))
4815
+ OrphanFileDeletionConfiguration.struct_class = Types::OrphanFileDeletionConfiguration
4816
+
4817
+ OrphanFileDeletionMetrics.add_member(:iceberg_metrics, Shapes::ShapeRef.new(shape: IcebergOrphanFileDeletionMetrics, location_name: "IcebergMetrics"))
4818
+ OrphanFileDeletionMetrics.struct_class = Types::OrphanFileDeletionMetrics
4819
+
4767
4820
  OtherMetadataValueList.member = Shapes::ShapeRef.new(shape: OtherMetadataValueListItem)
4768
4821
 
4769
4822
  OtherMetadataValueListItem.add_member(:metadata_value, Shapes::ShapeRef.new(shape: MetadataValueString, location_name: "MetadataValue"))
@@ -5067,6 +5120,12 @@ module Aws::Glue
5067
5120
  ResumeWorkflowRunResponse.add_member(:node_ids, Shapes::ShapeRef.new(shape: NodeIdList, location_name: "NodeIds"))
5068
5121
  ResumeWorkflowRunResponse.struct_class = Types::ResumeWorkflowRunResponse
5069
5122
 
5123
+ RetentionConfiguration.add_member(:iceberg_configuration, Shapes::ShapeRef.new(shape: IcebergRetentionConfiguration, location_name: "icebergConfiguration"))
5124
+ RetentionConfiguration.struct_class = Types::RetentionConfiguration
5125
+
5126
+ RetentionMetrics.add_member(:iceberg_metrics, Shapes::ShapeRef.new(shape: IcebergRetentionMetrics, location_name: "IcebergMetrics"))
5127
+ RetentionMetrics.struct_class = Types::RetentionMetrics
5128
+
5070
5129
  RulesetNames.member = Shapes::ShapeRef.new(shape: NameString)
5071
5130
 
5072
5131
  RunIdentifier.add_member(:run_id, Shapes::ShapeRef.new(shape: HashString, location_name: "RunId"))
@@ -5800,13 +5859,18 @@ module Aws::Glue
5800
5859
 
5801
5860
  TableOptimizerConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "roleArn"))
5802
5861
  TableOptimizerConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enabled"))
5862
+ TableOptimizerConfiguration.add_member(:retention_configuration, Shapes::ShapeRef.new(shape: RetentionConfiguration, location_name: "retentionConfiguration"))
5863
+ TableOptimizerConfiguration.add_member(:orphan_file_deletion_configuration, Shapes::ShapeRef.new(shape: OrphanFileDeletionConfiguration, location_name: "orphanFileDeletionConfiguration"))
5803
5864
  TableOptimizerConfiguration.struct_class = Types::TableOptimizerConfiguration
5804
5865
 
5805
5866
  TableOptimizerRun.add_member(:event_type, Shapes::ShapeRef.new(shape: TableOptimizerEventType, location_name: "eventType"))
5806
5867
  TableOptimizerRun.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: TableOptimizerRunTimestamp, location_name: "startTimestamp"))
5807
5868
  TableOptimizerRun.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: TableOptimizerRunTimestamp, location_name: "endTimestamp"))
5808
- TableOptimizerRun.add_member(:metrics, Shapes::ShapeRef.new(shape: RunMetrics, location_name: "metrics"))
5869
+ TableOptimizerRun.add_member(:metrics, Shapes::ShapeRef.new(shape: RunMetrics, deprecated: true, location_name: "metrics", metadata: {"deprecatedMessage"=>"Metrics has been replaced by optimizer type specific metrics such as IcebergCompactionMetrics"}))
5809
5870
  TableOptimizerRun.add_member(:error, Shapes::ShapeRef.new(shape: MessageString, location_name: "error"))
5871
+ TableOptimizerRun.add_member(:compaction_metrics, Shapes::ShapeRef.new(shape: CompactionMetrics, location_name: "compactionMetrics"))
5872
+ TableOptimizerRun.add_member(:retention_metrics, Shapes::ShapeRef.new(shape: RetentionMetrics, location_name: "retentionMetrics"))
5873
+ TableOptimizerRun.add_member(:orphan_file_deletion_metrics, Shapes::ShapeRef.new(shape: OrphanFileDeletionMetrics, location_name: "orphanFileDeletionMetrics"))
5810
5874
  TableOptimizerRun.struct_class = Types::TableOptimizerRun
5811
5875
 
5812
5876
  TableOptimizerRuns.member = Shapes::ShapeRef.new(shape: TableOptimizerRun)
@@ -5874,6 +5938,20 @@ module Aws::Glue
5874
5938
  TaskRunSortCriteria.add_member(:sort_direction, Shapes::ShapeRef.new(shape: SortDirectionType, required: true, location_name: "SortDirection"))
5875
5939
  TaskRunSortCriteria.struct_class = Types::TaskRunSortCriteria
5876
5940
 
5941
+ TestConnectionInput.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, required: true, location_name: "ConnectionType"))
5942
+ TestConnectionInput.add_member(:connection_properties, Shapes::ShapeRef.new(shape: ConnectionProperties, required: true, location_name: "ConnectionProperties"))
5943
+ TestConnectionInput.add_member(:authentication_configuration, Shapes::ShapeRef.new(shape: AuthenticationConfigurationInput, location_name: "AuthenticationConfiguration"))
5944
+ TestConnectionInput.struct_class = Types::TestConnectionInput
5945
+
5946
+ TestConnectionRequest.add_member(:connection_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ConnectionName"))
5947
+ TestConnectionRequest.add_member(:test_connection_input, Shapes::ShapeRef.new(shape: TestConnectionInput, location_name: "TestConnectionInput"))
5948
+ TestConnectionRequest.struct_class = Types::TestConnectionRequest
5949
+
5950
+ TestConnectionResponse.struct_class = Types::TestConnectionResponse
5951
+
5952
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
5953
+ ThrottlingException.struct_class = Types::ThrottlingException
5954
+
5877
5955
  TimestampFilter.add_member(:recorded_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RecordedBefore"))
5878
5956
  TimestampFilter.add_member(:recorded_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RecordedAfter"))
5879
5957
  TimestampFilter.struct_class = Types::TimestampFilter
@@ -6537,7 +6615,11 @@ module Aws::Glue
6537
6615
  o.http_request_uri = "/"
6538
6616
  o.input = Shapes::ShapeRef.new(shape: BatchGetTableOptimizerRequest)
6539
6617
  o.output = Shapes::ShapeRef.new(shape: BatchGetTableOptimizerResponse)
6618
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
6619
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
6620
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6540
6621
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6622
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6541
6623
  end)
6542
6624
 
6543
6625
  api.add_operation(:batch_get_triggers, Seahorse::Model::Operation.new.tap do |o|
@@ -6921,10 +7003,12 @@ module Aws::Glue
6921
7003
  o.input = Shapes::ShapeRef.new(shape: CreateTableOptimizerRequest)
6922
7004
  o.output = Shapes::ShapeRef.new(shape: CreateTableOptimizerResponse)
6923
7005
  o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
7006
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6924
7007
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
6925
7008
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6926
7009
  o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
6927
7010
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7011
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6928
7012
  end)
6929
7013
 
6930
7014
  api.add_operation(:create_trigger, Seahorse::Model::Operation.new.tap do |o|
@@ -7253,6 +7337,7 @@ module Aws::Glue
7253
7337
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
7254
7338
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7255
7339
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7340
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7256
7341
  end)
7257
7342
 
7258
7343
  api.add_operation(:delete_table_version, Seahorse::Model::Operation.new.tap do |o|
@@ -8067,6 +8152,7 @@ module Aws::Glue
8067
8152
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
8068
8153
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
8069
8154
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
8155
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8070
8156
  end)
8071
8157
 
8072
8158
  api.add_operation(:get_table_version, Seahorse::Model::Operation.new.tap do |o|
@@ -8640,7 +8726,9 @@ module Aws::Glue
8640
8726
  o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
8641
8727
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
8642
8728
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
8729
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
8643
8730
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
8731
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8644
8732
  o[:pager] = Aws::Pager.new(
8645
8733
  limit_key: "max_results",
8646
8734
  tokens: {
@@ -9119,6 +9207,23 @@ module Aws::Glue
9119
9207
  o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
9120
9208
  end)
9121
9209
 
9210
+ api.add_operation(:test_connection, Seahorse::Model::Operation.new.tap do |o|
9211
+ o.name = "TestConnection"
9212
+ o.http_method = "POST"
9213
+ o.http_request_uri = "/"
9214
+ o.input = Shapes::ShapeRef.new(shape: TestConnectionRequest)
9215
+ o.output = Shapes::ShapeRef.new(shape: TestConnectionResponse)
9216
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
9217
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
9218
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
9219
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
9220
+ o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
9221
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
9222
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
9223
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
9224
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
9225
+ end)
9226
+
9122
9227
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
9123
9228
  o.name = "UntagResource"
9124
9229
  o.http_method = "POST"
@@ -9384,7 +9489,10 @@ module Aws::Glue
9384
9489
  o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
9385
9490
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
9386
9491
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
9492
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
9387
9493
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
9494
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
9495
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
9388
9496
  end)
9389
9497
 
9390
9498
  api.add_operation(:update_trigger, Seahorse::Model::Operation.new.tap do |o|
@@ -2212,6 +2212,17 @@ module Aws::Glue
2212
2212
  end
2213
2213
  end
2214
2214
 
2215
+ class TestConnection
2216
+ def self.build(context)
2217
+ Aws::Glue::EndpointParameters.new(
2218
+ region: context.config.region,
2219
+ use_dual_stack: context.config.use_dualstack_endpoint,
2220
+ use_fips: context.config.use_fips_endpoint,
2221
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
2222
+ )
2223
+ end
2224
+ end
2225
+
2215
2226
  class UntagResource
2216
2227
  def self.build(context)
2217
2228
  Aws::Glue::EndpointParameters.new(
@@ -61,6 +61,7 @@ module Aws::Glue
61
61
  # * {SchedulerNotRunningException}
62
62
  # * {SchedulerRunningException}
63
63
  # * {SchedulerTransitioningException}
64
+ # * {ThrottlingException}
64
65
  # * {ValidationException}
65
66
  # * {VersionMismatchException}
66
67
  #
@@ -600,6 +601,21 @@ module Aws::Glue
600
601
  end
601
602
  end
602
603
 
604
+ class ThrottlingException < ServiceError
605
+
606
+ # @param [Seahorse::Client::RequestContext] context
607
+ # @param [String] message
608
+ # @param [Aws::Glue::Types::ThrottlingException] data
609
+ def initialize(context, message, data = Aws::EmptyStructure.new)
610
+ super(context, message, data)
611
+ end
612
+
613
+ # @return [String]
614
+ def message
615
+ @message || @data[:message]
616
+ end
617
+ end
618
+
603
619
  class ValidationException < ServiceError
604
620
 
605
621
  # @param [Seahorse::Client::RequestContext] context
@@ -467,6 +467,8 @@ module Aws::Glue
467
467
  Aws::Glue::Endpoints::StopWorkflowRun.build(context)
468
468
  when :tag_resource
469
469
  Aws::Glue::Endpoints::TagResource.build(context)
470
+ when :test_connection
471
+ Aws::Glue::Endpoints::TestConnection.build(context)
470
472
  when :untag_resource
471
473
  Aws::Glue::Endpoints::UntagResource.build(context)
472
474
  when :update_blueprint