aws-sdk-glue 1.158.0 → 1.159.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,6 +31,7 @@ module Aws::Glue
31
31
  AmazonRedshiftSource = Shapes::StructureShape.new(name: 'AmazonRedshiftSource')
32
32
  AmazonRedshiftTarget = Shapes::StructureShape.new(name: 'AmazonRedshiftTarget')
33
33
  ApplyMapping = Shapes::StructureShape.new(name: 'ApplyMapping')
34
+ ArnString = Shapes::StringShape.new(name: 'ArnString')
34
35
  AthenaConnectorSource = Shapes::StructureShape.new(name: 'AthenaConnectorSource')
35
36
  AttemptCount = Shapes::IntegerShape.new(name: 'AttemptCount')
36
37
  AuditColumnNamesList = Shapes::ListShape.new(name: 'AuditColumnNamesList')
@@ -71,6 +72,12 @@ module Aws::Glue
71
72
  BatchGetPartitionRequest = Shapes::StructureShape.new(name: 'BatchGetPartitionRequest')
72
73
  BatchGetPartitionResponse = Shapes::StructureShape.new(name: 'BatchGetPartitionResponse')
73
74
  BatchGetPartitionValueList = Shapes::ListShape.new(name: 'BatchGetPartitionValueList')
75
+ BatchGetTableOptimizerEntries = Shapes::ListShape.new(name: 'BatchGetTableOptimizerEntries')
76
+ BatchGetTableOptimizerEntry = Shapes::StructureShape.new(name: 'BatchGetTableOptimizerEntry')
77
+ BatchGetTableOptimizerError = Shapes::StructureShape.new(name: 'BatchGetTableOptimizerError')
78
+ BatchGetTableOptimizerErrors = Shapes::ListShape.new(name: 'BatchGetTableOptimizerErrors')
79
+ BatchGetTableOptimizerRequest = Shapes::StructureShape.new(name: 'BatchGetTableOptimizerRequest')
80
+ BatchGetTableOptimizerResponse = Shapes::StructureShape.new(name: 'BatchGetTableOptimizerResponse')
74
81
  BatchGetTriggersRequest = Shapes::StructureShape.new(name: 'BatchGetTriggersRequest')
75
82
  BatchGetTriggersResponse = Shapes::StructureShape.new(name: 'BatchGetTriggersResponse')
76
83
  BatchGetWorkflowsRequest = Shapes::StructureShape.new(name: 'BatchGetWorkflowsRequest')
@@ -83,6 +90,8 @@ module Aws::Glue
83
90
  BatchStopJobRunResponse = Shapes::StructureShape.new(name: 'BatchStopJobRunResponse')
84
91
  BatchStopJobRunSuccessfulSubmission = Shapes::StructureShape.new(name: 'BatchStopJobRunSuccessfulSubmission')
85
92
  BatchStopJobRunSuccessfulSubmissionList = Shapes::ListShape.new(name: 'BatchStopJobRunSuccessfulSubmissionList')
93
+ BatchTableOptimizer = Shapes::StructureShape.new(name: 'BatchTableOptimizer')
94
+ BatchTableOptimizers = Shapes::ListShape.new(name: 'BatchTableOptimizers')
86
95
  BatchUpdatePartitionFailureEntry = Shapes::StructureShape.new(name: 'BatchUpdatePartitionFailureEntry')
87
96
  BatchUpdatePartitionFailureList = Shapes::ListShape.new(name: 'BatchUpdatePartitionFailureList')
88
97
  BatchUpdatePartitionRequest = Shapes::StructureShape.new(name: 'BatchUpdatePartitionRequest')
@@ -257,6 +266,8 @@ module Aws::Glue
257
266
  CreateSecurityConfigurationResponse = Shapes::StructureShape.new(name: 'CreateSecurityConfigurationResponse')
258
267
  CreateSessionRequest = Shapes::StructureShape.new(name: 'CreateSessionRequest')
259
268
  CreateSessionResponse = Shapes::StructureShape.new(name: 'CreateSessionResponse')
269
+ CreateTableOptimizerRequest = Shapes::StructureShape.new(name: 'CreateTableOptimizerRequest')
270
+ CreateTableOptimizerResponse = Shapes::StructureShape.new(name: 'CreateTableOptimizerResponse')
260
271
  CreateTableRequest = Shapes::StructureShape.new(name: 'CreateTableRequest')
261
272
  CreateTableResponse = Shapes::StructureShape.new(name: 'CreateTableResponse')
262
273
  CreateTriggerRequest = Shapes::StructureShape.new(name: 'CreateTriggerRequest')
@@ -368,6 +379,8 @@ module Aws::Glue
368
379
  DeleteSecurityConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteSecurityConfigurationResponse')
369
380
  DeleteSessionRequest = Shapes::StructureShape.new(name: 'DeleteSessionRequest')
370
381
  DeleteSessionResponse = Shapes::StructureShape.new(name: 'DeleteSessionResponse')
382
+ DeleteTableOptimizerRequest = Shapes::StructureShape.new(name: 'DeleteTableOptimizerRequest')
383
+ DeleteTableOptimizerResponse = Shapes::StructureShape.new(name: 'DeleteTableOptimizerResponse')
371
384
  DeleteTableRequest = Shapes::StructureShape.new(name: 'DeleteTableRequest')
372
385
  DeleteTableResponse = Shapes::StructureShape.new(name: 'DeleteTableResponse')
373
386
  DeleteTableVersionRequest = Shapes::StructureShape.new(name: 'DeleteTableVersionRequest')
@@ -561,6 +574,8 @@ module Aws::Glue
561
574
  GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
562
575
  GetStatementRequest = Shapes::StructureShape.new(name: 'GetStatementRequest')
563
576
  GetStatementResponse = Shapes::StructureShape.new(name: 'GetStatementResponse')
577
+ GetTableOptimizerRequest = Shapes::StructureShape.new(name: 'GetTableOptimizerRequest')
578
+ GetTableOptimizerResponse = Shapes::StructureShape.new(name: 'GetTableOptimizerResponse')
564
579
  GetTableRequest = Shapes::StructureShape.new(name: 'GetTableRequest')
565
580
  GetTableResponse = Shapes::StructureShape.new(name: 'GetTableResponse')
566
581
  GetTableVersionRequest = Shapes::StructureShape.new(name: 'GetTableVersionRequest')
@@ -715,6 +730,9 @@ module Aws::Glue
715
730
  ListSessionsResponse = Shapes::StructureShape.new(name: 'ListSessionsResponse')
716
731
  ListStatementsRequest = Shapes::StructureShape.new(name: 'ListStatementsRequest')
717
732
  ListStatementsResponse = Shapes::StructureShape.new(name: 'ListStatementsResponse')
733
+ ListTableOptimizerRunsRequest = Shapes::StructureShape.new(name: 'ListTableOptimizerRunsRequest')
734
+ ListTableOptimizerRunsResponse = Shapes::StructureShape.new(name: 'ListTableOptimizerRunsResponse')
735
+ ListTableOptimizerRunsToken = Shapes::StringShape.new(name: 'ListTableOptimizerRunsToken')
718
736
  ListTriggersRequest = Shapes::StructureShape.new(name: 'ListTriggersRequest')
719
737
  ListTriggersResponse = Shapes::StructureShape.new(name: 'ListTriggersResponse')
720
738
  ListWorkflowsRequest = Shapes::StructureShape.new(name: 'ListWorkflowsRequest')
@@ -743,6 +761,7 @@ module Aws::Glue
743
761
  MaskValue = Shapes::StringShape.new(name: 'MaskValue')
744
762
  MatchCriteria = Shapes::ListShape.new(name: 'MatchCriteria')
745
763
  MaxConcurrentRuns = Shapes::IntegerShape.new(name: 'MaxConcurrentRuns')
764
+ MaxListTableOptimizerRunsTokenResults = Shapes::IntegerShape.new(name: 'MaxListTableOptimizerRunsTokenResults')
746
765
  MaxResultsNumber = Shapes::IntegerShape.new(name: 'MaxResultsNumber')
747
766
  MaxRetries = Shapes::IntegerShape.new(name: 'MaxRetries')
748
767
  Merge = Shapes::StructureShape.new(name: 'Merge')
@@ -895,6 +914,7 @@ module Aws::Glue
895
914
  RowTag = Shapes::StringShape.new(name: 'RowTag')
896
915
  RulesetNames = Shapes::ListShape.new(name: 'RulesetNames')
897
916
  RunId = Shapes::StringShape.new(name: 'RunId')
917
+ RunMetrics = Shapes::StructureShape.new(name: 'RunMetrics')
898
918
  RunStatementRequest = Shapes::StructureShape.new(name: 'RunStatementRequest')
899
919
  RunStatementResponse = Shapes::StructureShape.new(name: 'RunStatementResponse')
900
920
  RuntimeNameString = Shapes::StringShape.new(name: 'RuntimeNameString')
@@ -1036,6 +1056,13 @@ module Aws::Glue
1036
1056
  TableInput = Shapes::StructureShape.new(name: 'TableInput')
1037
1057
  TableList = Shapes::ListShape.new(name: 'TableList')
1038
1058
  TableName = Shapes::StringShape.new(name: 'TableName')
1059
+ TableOptimizer = Shapes::StructureShape.new(name: 'TableOptimizer')
1060
+ TableOptimizerConfiguration = Shapes::StructureShape.new(name: 'TableOptimizerConfiguration')
1061
+ TableOptimizerEventType = Shapes::StringShape.new(name: 'TableOptimizerEventType')
1062
+ TableOptimizerRun = Shapes::StructureShape.new(name: 'TableOptimizerRun')
1063
+ TableOptimizerRunTimestamp = Shapes::TimestampShape.new(name: 'TableOptimizerRunTimestamp')
1064
+ TableOptimizerRuns = Shapes::ListShape.new(name: 'TableOptimizerRuns')
1065
+ TableOptimizerType = Shapes::StringShape.new(name: 'TableOptimizerType')
1039
1066
  TablePrefix = Shapes::StringShape.new(name: 'TablePrefix')
1040
1067
  TableTypeString = Shapes::StringShape.new(name: 'TableTypeString')
1041
1068
  TableVersion = Shapes::StructureShape.new(name: 'TableVersion')
@@ -1131,6 +1158,8 @@ module Aws::Glue
1131
1158
  UpdateSchemaResponse = Shapes::StructureShape.new(name: 'UpdateSchemaResponse')
1132
1159
  UpdateSourceControlFromJobRequest = Shapes::StructureShape.new(name: 'UpdateSourceControlFromJobRequest')
1133
1160
  UpdateSourceControlFromJobResponse = Shapes::StructureShape.new(name: 'UpdateSourceControlFromJobResponse')
1161
+ UpdateTableOptimizerRequest = Shapes::StructureShape.new(name: 'UpdateTableOptimizerRequest')
1162
+ UpdateTableOptimizerResponse = Shapes::StructureShape.new(name: 'UpdateTableOptimizerResponse')
1134
1163
  UpdateTableRequest = Shapes::StructureShape.new(name: 'UpdateTableRequest')
1135
1164
  UpdateTableResponse = Shapes::StructureShape.new(name: 'UpdateTableResponse')
1136
1165
  UpdateTriggerRequest = Shapes::StructureShape.new(name: 'UpdateTriggerRequest')
@@ -1166,6 +1195,8 @@ module Aws::Glue
1166
1195
  WorkflowRuns = Shapes::ListShape.new(name: 'WorkflowRuns')
1167
1196
  Workflows = Shapes::ListShape.new(name: 'Workflows')
1168
1197
  XMLClassifier = Shapes::StructureShape.new(name: 'XMLClassifier')
1198
+ databaseNameString = Shapes::StringShape.new(name: 'databaseNameString')
1199
+ tableNameString = Shapes::StringShape.new(name: 'tableNameString')
1169
1200
 
1170
1201
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
1171
1202
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -1387,6 +1418,30 @@ module Aws::Glue
1387
1418
 
1388
1419
  BatchGetPartitionValueList.member = Shapes::ShapeRef.new(shape: PartitionValueList)
1389
1420
 
1421
+ BatchGetTableOptimizerEntries.member = Shapes::ShapeRef.new(shape: BatchGetTableOptimizerEntry)
1422
+
1423
+ BatchGetTableOptimizerEntry.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "catalogId"))
1424
+ BatchGetTableOptimizerEntry.add_member(:database_name, Shapes::ShapeRef.new(shape: databaseNameString, location_name: "databaseName"))
1425
+ BatchGetTableOptimizerEntry.add_member(:table_name, Shapes::ShapeRef.new(shape: tableNameString, location_name: "tableName"))
1426
+ BatchGetTableOptimizerEntry.add_member(:type, Shapes::ShapeRef.new(shape: TableOptimizerType, location_name: "type"))
1427
+ BatchGetTableOptimizerEntry.struct_class = Types::BatchGetTableOptimizerEntry
1428
+
1429
+ BatchGetTableOptimizerError.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "error"))
1430
+ BatchGetTableOptimizerError.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "catalogId"))
1431
+ BatchGetTableOptimizerError.add_member(:database_name, Shapes::ShapeRef.new(shape: databaseNameString, location_name: "databaseName"))
1432
+ BatchGetTableOptimizerError.add_member(:table_name, Shapes::ShapeRef.new(shape: tableNameString, location_name: "tableName"))
1433
+ BatchGetTableOptimizerError.add_member(:type, Shapes::ShapeRef.new(shape: TableOptimizerType, location_name: "type"))
1434
+ BatchGetTableOptimizerError.struct_class = Types::BatchGetTableOptimizerError
1435
+
1436
+ BatchGetTableOptimizerErrors.member = Shapes::ShapeRef.new(shape: BatchGetTableOptimizerError)
1437
+
1438
+ BatchGetTableOptimizerRequest.add_member(:entries, Shapes::ShapeRef.new(shape: BatchGetTableOptimizerEntries, required: true, location_name: "Entries"))
1439
+ BatchGetTableOptimizerRequest.struct_class = Types::BatchGetTableOptimizerRequest
1440
+
1441
+ BatchGetTableOptimizerResponse.add_member(:table_optimizers, Shapes::ShapeRef.new(shape: BatchTableOptimizers, location_name: "TableOptimizers"))
1442
+ BatchGetTableOptimizerResponse.add_member(:failures, Shapes::ShapeRef.new(shape: BatchGetTableOptimizerErrors, location_name: "Failures"))
1443
+ BatchGetTableOptimizerResponse.struct_class = Types::BatchGetTableOptimizerResponse
1444
+
1390
1445
  BatchGetTriggersRequest.add_member(:trigger_names, Shapes::ShapeRef.new(shape: TriggerNameList, required: true, location_name: "TriggerNames"))
1391
1446
  BatchGetTriggersRequest.struct_class = Types::BatchGetTriggersRequest
1392
1447
 
@@ -1425,6 +1480,14 @@ module Aws::Glue
1425
1480
 
1426
1481
  BatchStopJobRunSuccessfulSubmissionList.member = Shapes::ShapeRef.new(shape: BatchStopJobRunSuccessfulSubmission)
1427
1482
 
1483
+ BatchTableOptimizer.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "catalogId"))
1484
+ BatchTableOptimizer.add_member(:database_name, Shapes::ShapeRef.new(shape: databaseNameString, location_name: "databaseName"))
1485
+ BatchTableOptimizer.add_member(:table_name, Shapes::ShapeRef.new(shape: tableNameString, location_name: "tableName"))
1486
+ BatchTableOptimizer.add_member(:table_optimizer, Shapes::ShapeRef.new(shape: TableOptimizer, location_name: "tableOptimizer"))
1487
+ BatchTableOptimizer.struct_class = Types::BatchTableOptimizer
1488
+
1489
+ BatchTableOptimizers.member = Shapes::ShapeRef.new(shape: BatchTableOptimizer)
1490
+
1428
1491
  BatchUpdatePartitionFailureEntry.add_member(:partition_value_list, Shapes::ShapeRef.new(shape: BoundedPartitionValueList, location_name: "PartitionValueList"))
1429
1492
  BatchUpdatePartitionFailureEntry.add_member(:error_detail, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "ErrorDetail"))
1430
1493
  BatchUpdatePartitionFailureEntry.struct_class = Types::BatchUpdatePartitionFailureEntry
@@ -2179,6 +2242,15 @@ module Aws::Glue
2179
2242
  CreateSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: Session, location_name: "Session"))
2180
2243
  CreateSessionResponse.struct_class = Types::CreateSessionResponse
2181
2244
 
2245
+ CreateTableOptimizerRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, required: true, location_name: "CatalogId"))
2246
+ CreateTableOptimizerRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2247
+ CreateTableOptimizerRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
2248
+ CreateTableOptimizerRequest.add_member(:type, Shapes::ShapeRef.new(shape: TableOptimizerType, required: true, location_name: "Type"))
2249
+ CreateTableOptimizerRequest.add_member(:table_optimizer_configuration, Shapes::ShapeRef.new(shape: TableOptimizerConfiguration, required: true, location_name: "TableOptimizerConfiguration"))
2250
+ CreateTableOptimizerRequest.struct_class = Types::CreateTableOptimizerRequest
2251
+
2252
+ CreateTableOptimizerResponse.struct_class = Types::CreateTableOptimizerResponse
2253
+
2182
2254
  CreateTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2183
2255
  CreateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2184
2256
  CreateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
@@ -2571,6 +2643,14 @@ module Aws::Glue
2571
2643
  DeleteSessionResponse.add_member(:id, Shapes::ShapeRef.new(shape: NameString, location_name: "Id"))
2572
2644
  DeleteSessionResponse.struct_class = Types::DeleteSessionResponse
2573
2645
 
2646
+ DeleteTableOptimizerRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, required: true, location_name: "CatalogId"))
2647
+ DeleteTableOptimizerRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2648
+ DeleteTableOptimizerRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
2649
+ DeleteTableOptimizerRequest.add_member(:type, Shapes::ShapeRef.new(shape: TableOptimizerType, required: true, location_name: "Type"))
2650
+ DeleteTableOptimizerRequest.struct_class = Types::DeleteTableOptimizerRequest
2651
+
2652
+ DeleteTableOptimizerResponse.struct_class = Types::DeleteTableOptimizerResponse
2653
+
2574
2654
  DeleteTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
2575
2655
  DeleteTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
2576
2656
  DeleteTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
@@ -3356,6 +3436,18 @@ module Aws::Glue
3356
3436
  GetStatementResponse.add_member(:statement, Shapes::ShapeRef.new(shape: Statement, location_name: "Statement"))
3357
3437
  GetStatementResponse.struct_class = Types::GetStatementResponse
3358
3438
 
3439
+ GetTableOptimizerRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, required: true, location_name: "CatalogId"))
3440
+ GetTableOptimizerRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
3441
+ GetTableOptimizerRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
3442
+ GetTableOptimizerRequest.add_member(:type, Shapes::ShapeRef.new(shape: TableOptimizerType, required: true, location_name: "Type"))
3443
+ GetTableOptimizerRequest.struct_class = Types::GetTableOptimizerRequest
3444
+
3445
+ GetTableOptimizerResponse.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
3446
+ GetTableOptimizerResponse.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
3447
+ GetTableOptimizerResponse.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, location_name: "TableName"))
3448
+ GetTableOptimizerResponse.add_member(:table_optimizer, Shapes::ShapeRef.new(shape: TableOptimizer, location_name: "TableOptimizer"))
3449
+ GetTableOptimizerResponse.struct_class = Types::GetTableOptimizerResponse
3450
+
3359
3451
  GetTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
3360
3452
  GetTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
3361
3453
  GetTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
@@ -4014,6 +4106,21 @@ module Aws::Glue
4014
4106
  ListStatementsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: OrchestrationToken, location_name: "NextToken"))
4015
4107
  ListStatementsResponse.struct_class = Types::ListStatementsResponse
4016
4108
 
4109
+ ListTableOptimizerRunsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, required: true, location_name: "CatalogId"))
4110
+ ListTableOptimizerRunsRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
4111
+ ListTableOptimizerRunsRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
4112
+ ListTableOptimizerRunsRequest.add_member(:type, Shapes::ShapeRef.new(shape: TableOptimizerType, required: true, location_name: "Type"))
4113
+ ListTableOptimizerRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxListTableOptimizerRunsTokenResults, location_name: "MaxResults"))
4114
+ ListTableOptimizerRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ListTableOptimizerRunsToken, location_name: "NextToken"))
4115
+ ListTableOptimizerRunsRequest.struct_class = Types::ListTableOptimizerRunsRequest
4116
+
4117
+ ListTableOptimizerRunsResponse.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
4118
+ ListTableOptimizerRunsResponse.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
4119
+ ListTableOptimizerRunsResponse.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, location_name: "TableName"))
4120
+ ListTableOptimizerRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ListTableOptimizerRunsToken, location_name: "NextToken"))
4121
+ ListTableOptimizerRunsResponse.add_member(:table_optimizer_runs, Shapes::ShapeRef.new(shape: TableOptimizerRuns, location_name: "TableOptimizerRuns"))
4122
+ ListTableOptimizerRunsResponse.struct_class = Types::ListTableOptimizerRunsResponse
4123
+
4017
4124
  ListTriggersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
4018
4125
  ListTriggersRequest.add_member(:dependent_job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DependentJobName"))
4019
4126
  ListTriggersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
@@ -4492,6 +4599,12 @@ module Aws::Glue
4492
4599
 
4493
4600
  RulesetNames.member = Shapes::ShapeRef.new(shape: NameString)
4494
4601
 
4602
+ RunMetrics.add_member(:number_of_bytes_compacted, Shapes::ShapeRef.new(shape: MessageString, location_name: "NumberOfBytesCompacted"))
4603
+ RunMetrics.add_member(:number_of_files_compacted, Shapes::ShapeRef.new(shape: MessageString, location_name: "NumberOfFilesCompacted"))
4604
+ RunMetrics.add_member(:number_of_dpus, Shapes::ShapeRef.new(shape: MessageString, location_name: "NumberOfDpus"))
4605
+ RunMetrics.add_member(:job_duration_in_hour, Shapes::ShapeRef.new(shape: MessageString, location_name: "JobDurationInHour"))
4606
+ RunMetrics.struct_class = Types::RunMetrics
4607
+
4495
4608
  RunStatementRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "SessionId"))
4496
4609
  RunStatementRequest.add_member(:code, Shapes::ShapeRef.new(shape: OrchestrationStatementCodeString, required: true, location_name: "Code"))
4497
4610
  RunStatementRequest.add_member(:request_origin, Shapes::ShapeRef.new(shape: OrchestrationNameString, location_name: "RequestOrigin"))
@@ -5136,6 +5249,24 @@ module Aws::Glue
5136
5249
 
5137
5250
  TableList.member = Shapes::ShapeRef.new(shape: Table)
5138
5251
 
5252
+ TableOptimizer.add_member(:type, Shapes::ShapeRef.new(shape: TableOptimizerType, location_name: "type"))
5253
+ TableOptimizer.add_member(:configuration, Shapes::ShapeRef.new(shape: TableOptimizerConfiguration, location_name: "configuration"))
5254
+ TableOptimizer.add_member(:last_run, Shapes::ShapeRef.new(shape: TableOptimizerRun, location_name: "lastRun"))
5255
+ TableOptimizer.struct_class = Types::TableOptimizer
5256
+
5257
+ TableOptimizerConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "roleArn"))
5258
+ TableOptimizerConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enabled"))
5259
+ TableOptimizerConfiguration.struct_class = Types::TableOptimizerConfiguration
5260
+
5261
+ TableOptimizerRun.add_member(:event_type, Shapes::ShapeRef.new(shape: TableOptimizerEventType, location_name: "eventType"))
5262
+ TableOptimizerRun.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: TableOptimizerRunTimestamp, location_name: "startTimestamp"))
5263
+ TableOptimizerRun.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: TableOptimizerRunTimestamp, location_name: "endTimestamp"))
5264
+ TableOptimizerRun.add_member(:metrics, Shapes::ShapeRef.new(shape: RunMetrics, location_name: "metrics"))
5265
+ TableOptimizerRun.add_member(:error, Shapes::ShapeRef.new(shape: MessageString, location_name: "error"))
5266
+ TableOptimizerRun.struct_class = Types::TableOptimizerRun
5267
+
5268
+ TableOptimizerRuns.member = Shapes::ShapeRef.new(shape: TableOptimizerRun)
5269
+
5139
5270
  TableVersion.add_member(:table, Shapes::ShapeRef.new(shape: Table, location_name: "Table"))
5140
5271
  TableVersion.add_member(:version_id, Shapes::ShapeRef.new(shape: VersionString, location_name: "VersionId"))
5141
5272
  TableVersion.struct_class = Types::TableVersion
@@ -5474,6 +5605,15 @@ module Aws::Glue
5474
5605
  UpdateSourceControlFromJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: NameString, location_name: "JobName"))
5475
5606
  UpdateSourceControlFromJobResponse.struct_class = Types::UpdateSourceControlFromJobResponse
5476
5607
 
5608
+ UpdateTableOptimizerRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, required: true, location_name: "CatalogId"))
5609
+ UpdateTableOptimizerRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
5610
+ UpdateTableOptimizerRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
5611
+ UpdateTableOptimizerRequest.add_member(:type, Shapes::ShapeRef.new(shape: TableOptimizerType, required: true, location_name: "Type"))
5612
+ UpdateTableOptimizerRequest.add_member(:table_optimizer_configuration, Shapes::ShapeRef.new(shape: TableOptimizerConfiguration, required: true, location_name: "TableOptimizerConfiguration"))
5613
+ UpdateTableOptimizerRequest.struct_class = Types::UpdateTableOptimizerRequest
5614
+
5615
+ UpdateTableOptimizerResponse.struct_class = Types::UpdateTableOptimizerResponse
5616
+
5477
5617
  UpdateTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
5478
5618
  UpdateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
5479
5619
  UpdateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
@@ -5763,6 +5903,15 @@ module Aws::Glue
5763
5903
  o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
5764
5904
  end)
5765
5905
 
5906
+ api.add_operation(:batch_get_table_optimizer, Seahorse::Model::Operation.new.tap do |o|
5907
+ o.name = "BatchGetTableOptimizer"
5908
+ o.http_method = "POST"
5909
+ o.http_request_uri = "/"
5910
+ o.input = Shapes::ShapeRef.new(shape: BatchGetTableOptimizerRequest)
5911
+ o.output = Shapes::ShapeRef.new(shape: BatchGetTableOptimizerResponse)
5912
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5913
+ end)
5914
+
5766
5915
  api.add_operation(:batch_get_triggers, Seahorse::Model::Operation.new.tap do |o|
5767
5916
  o.name = "BatchGetTriggers"
5768
5917
  o.http_method = "POST"
@@ -6125,6 +6274,19 @@ module Aws::Glue
6125
6274
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
6126
6275
  end)
6127
6276
 
6277
+ api.add_operation(:create_table_optimizer, Seahorse::Model::Operation.new.tap do |o|
6278
+ o.name = "CreateTableOptimizer"
6279
+ o.http_method = "POST"
6280
+ o.http_request_uri = "/"
6281
+ o.input = Shapes::ShapeRef.new(shape: CreateTableOptimizerRequest)
6282
+ o.output = Shapes::ShapeRef.new(shape: CreateTableOptimizerResponse)
6283
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
6284
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
6285
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6286
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
6287
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6288
+ end)
6289
+
6128
6290
  api.add_operation(:create_trigger, Seahorse::Model::Operation.new.tap do |o|
6129
6291
  o.name = "CreateTrigger"
6130
6292
  o.http_method = "POST"
@@ -6427,6 +6589,18 @@ module Aws::Glue
6427
6589
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
6428
6590
  end)
6429
6591
 
6592
+ api.add_operation(:delete_table_optimizer, Seahorse::Model::Operation.new.tap do |o|
6593
+ o.name = "DeleteTableOptimizer"
6594
+ o.http_method = "POST"
6595
+ o.http_request_uri = "/"
6596
+ o.input = Shapes::ShapeRef.new(shape: DeleteTableOptimizerRequest)
6597
+ o.output = Shapes::ShapeRef.new(shape: DeleteTableOptimizerResponse)
6598
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
6599
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
6600
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6601
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6602
+ end)
6603
+
6430
6604
  api.add_operation(:delete_table_version, Seahorse::Model::Operation.new.tap do |o|
6431
6605
  o.name = "DeleteTableVersion"
6432
6606
  o.http_method = "POST"
@@ -7167,6 +7341,18 @@ module Aws::Glue
7167
7341
  o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
7168
7342
  end)
7169
7343
 
7344
+ api.add_operation(:get_table_optimizer, Seahorse::Model::Operation.new.tap do |o|
7345
+ o.name = "GetTableOptimizer"
7346
+ o.http_method = "POST"
7347
+ o.http_request_uri = "/"
7348
+ o.input = Shapes::ShapeRef.new(shape: GetTableOptimizerRequest)
7349
+ o.output = Shapes::ShapeRef.new(shape: GetTableOptimizerResponse)
7350
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
7351
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
7352
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7353
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7354
+ end)
7355
+
7170
7356
  api.add_operation(:get_table_version, Seahorse::Model::Operation.new.tap do |o|
7171
7357
  o.name = "GetTableVersion"
7172
7358
  o.http_method = "POST"
@@ -7680,6 +7866,24 @@ module Aws::Glue
7680
7866
  o.errors << Shapes::ShapeRef.new(shape: IllegalSessionStateException)
7681
7867
  end)
7682
7868
 
7869
+ api.add_operation(:list_table_optimizer_runs, Seahorse::Model::Operation.new.tap do |o|
7870
+ o.name = "ListTableOptimizerRuns"
7871
+ o.http_method = "POST"
7872
+ o.http_request_uri = "/"
7873
+ o.input = Shapes::ShapeRef.new(shape: ListTableOptimizerRunsRequest)
7874
+ o.output = Shapes::ShapeRef.new(shape: ListTableOptimizerRunsResponse)
7875
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
7876
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7877
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
7878
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7879
+ o[:pager] = Aws::Pager.new(
7880
+ limit_key: "max_results",
7881
+ tokens: {
7882
+ "next_token" => "next_token"
7883
+ }
7884
+ )
7885
+ end)
7886
+
7683
7887
  api.add_operation(:list_triggers, Seahorse::Model::Operation.new.tap do |o|
7684
7888
  o.name = "ListTriggers"
7685
7889
  o.http_method = "POST"
@@ -8351,6 +8555,18 @@ module Aws::Glue
8351
8555
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
8352
8556
  end)
8353
8557
 
8558
+ api.add_operation(:update_table_optimizer, Seahorse::Model::Operation.new.tap do |o|
8559
+ o.name = "UpdateTableOptimizer"
8560
+ o.http_method = "POST"
8561
+ o.http_request_uri = "/"
8562
+ o.input = Shapes::ShapeRef.new(shape: UpdateTableOptimizerRequest)
8563
+ o.output = Shapes::ShapeRef.new(shape: UpdateTableOptimizerResponse)
8564
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
8565
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
8566
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
8567
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
8568
+ end)
8569
+
8354
8570
  api.add_operation(:update_trigger, Seahorse::Model::Operation.new.tap do |o|
8355
8571
  o.name = "UpdateTrigger"
8356
8572
  o.http_method = "POST"
@@ -180,6 +180,20 @@ module Aws::Glue
180
180
  end
181
181
  end
182
182
 
183
+ class BatchGetTableOptimizer
184
+ def self.build(context)
185
+ unless context.config.regional_endpoint
186
+ endpoint = context.config.endpoint.to_s
187
+ end
188
+ Aws::Glue::EndpointParameters.new(
189
+ region: context.config.region,
190
+ use_dual_stack: context.config.use_dualstack_endpoint,
191
+ use_fips: context.config.use_fips_endpoint,
192
+ endpoint: endpoint,
193
+ )
194
+ end
195
+ end
196
+
183
197
  class BatchGetTriggers
184
198
  def self.build(context)
185
199
  unless context.config.regional_endpoint
@@ -558,6 +572,20 @@ module Aws::Glue
558
572
  end
559
573
  end
560
574
 
575
+ class CreateTableOptimizer
576
+ def self.build(context)
577
+ unless context.config.regional_endpoint
578
+ endpoint = context.config.endpoint.to_s
579
+ end
580
+ Aws::Glue::EndpointParameters.new(
581
+ region: context.config.region,
582
+ use_dual_stack: context.config.use_dualstack_endpoint,
583
+ use_fips: context.config.use_fips_endpoint,
584
+ endpoint: endpoint,
585
+ )
586
+ end
587
+ end
588
+
561
589
  class CreateTrigger
562
590
  def self.build(context)
563
591
  unless context.config.regional_endpoint
@@ -894,6 +922,20 @@ module Aws::Glue
894
922
  end
895
923
  end
896
924
 
925
+ class DeleteTableOptimizer
926
+ def self.build(context)
927
+ unless context.config.regional_endpoint
928
+ endpoint = context.config.endpoint.to_s
929
+ end
930
+ Aws::Glue::EndpointParameters.new(
931
+ region: context.config.region,
932
+ use_dual_stack: context.config.use_dualstack_endpoint,
933
+ use_fips: context.config.use_fips_endpoint,
934
+ endpoint: endpoint,
935
+ )
936
+ end
937
+ end
938
+
897
939
  class DeleteTableVersion
898
940
  def self.build(context)
899
941
  unless context.config.regional_endpoint
@@ -1650,6 +1692,20 @@ module Aws::Glue
1650
1692
  end
1651
1693
  end
1652
1694
 
1695
+ class GetTableOptimizer
1696
+ def self.build(context)
1697
+ unless context.config.regional_endpoint
1698
+ endpoint = context.config.endpoint.to_s
1699
+ end
1700
+ Aws::Glue::EndpointParameters.new(
1701
+ region: context.config.region,
1702
+ use_dual_stack: context.config.use_dualstack_endpoint,
1703
+ use_fips: context.config.use_fips_endpoint,
1704
+ endpoint: endpoint,
1705
+ )
1706
+ end
1707
+ end
1708
+
1653
1709
  class GetTableVersion
1654
1710
  def self.build(context)
1655
1711
  unless context.config.regional_endpoint
@@ -2098,6 +2154,20 @@ module Aws::Glue
2098
2154
  end
2099
2155
  end
2100
2156
 
2157
+ class ListTableOptimizerRuns
2158
+ def self.build(context)
2159
+ unless context.config.regional_endpoint
2160
+ endpoint = context.config.endpoint.to_s
2161
+ end
2162
+ Aws::Glue::EndpointParameters.new(
2163
+ region: context.config.region,
2164
+ use_dual_stack: context.config.use_dualstack_endpoint,
2165
+ use_fips: context.config.use_fips_endpoint,
2166
+ endpoint: endpoint,
2167
+ )
2168
+ end
2169
+ end
2170
+
2101
2171
  class ListTriggers
2102
2172
  def self.build(context)
2103
2173
  unless context.config.regional_endpoint
@@ -2798,6 +2868,20 @@ module Aws::Glue
2798
2868
  end
2799
2869
  end
2800
2870
 
2871
+ class UpdateTableOptimizer
2872
+ def self.build(context)
2873
+ unless context.config.regional_endpoint
2874
+ endpoint = context.config.endpoint.to_s
2875
+ end
2876
+ Aws::Glue::EndpointParameters.new(
2877
+ region: context.config.region,
2878
+ use_dual_stack: context.config.use_dualstack_endpoint,
2879
+ use_fips: context.config.use_fips_endpoint,
2880
+ endpoint: endpoint,
2881
+ )
2882
+ end
2883
+ end
2884
+
2801
2885
  class UpdateTrigger
2802
2886
  def self.build(context)
2803
2887
  unless context.config.regional_endpoint
@@ -80,6 +80,8 @@ module Aws::Glue
80
80
  Aws::Glue::Endpoints::BatchGetJobs.build(context)
81
81
  when :batch_get_partition
82
82
  Aws::Glue::Endpoints::BatchGetPartition.build(context)
83
+ when :batch_get_table_optimizer
84
+ Aws::Glue::Endpoints::BatchGetTableOptimizer.build(context)
83
85
  when :batch_get_triggers
84
86
  Aws::Glue::Endpoints::BatchGetTriggers.build(context)
85
87
  when :batch_get_workflows
@@ -134,6 +136,8 @@ module Aws::Glue
134
136
  Aws::Glue::Endpoints::CreateSession.build(context)
135
137
  when :create_table
136
138
  Aws::Glue::Endpoints::CreateTable.build(context)
139
+ when :create_table_optimizer
140
+ Aws::Glue::Endpoints::CreateTableOptimizer.build(context)
137
141
  when :create_trigger
138
142
  Aws::Glue::Endpoints::CreateTrigger.build(context)
139
143
  when :create_user_defined_function
@@ -182,6 +186,8 @@ module Aws::Glue
182
186
  Aws::Glue::Endpoints::DeleteSession.build(context)
183
187
  when :delete_table
184
188
  Aws::Glue::Endpoints::DeleteTable.build(context)
189
+ when :delete_table_optimizer
190
+ Aws::Glue::Endpoints::DeleteTableOptimizer.build(context)
185
191
  when :delete_table_version
186
192
  Aws::Glue::Endpoints::DeleteTableVersion.build(context)
187
193
  when :delete_trigger
@@ -290,6 +296,8 @@ module Aws::Glue
290
296
  Aws::Glue::Endpoints::GetStatement.build(context)
291
297
  when :get_table
292
298
  Aws::Glue::Endpoints::GetTable.build(context)
299
+ when :get_table_optimizer
300
+ Aws::Glue::Endpoints::GetTableOptimizer.build(context)
293
301
  when :get_table_version
294
302
  Aws::Glue::Endpoints::GetTableVersion.build(context)
295
303
  when :get_table_versions
@@ -354,6 +362,8 @@ module Aws::Glue
354
362
  Aws::Glue::Endpoints::ListSessions.build(context)
355
363
  when :list_statements
356
364
  Aws::Glue::Endpoints::ListStatements.build(context)
365
+ when :list_table_optimizer_runs
366
+ Aws::Glue::Endpoints::ListTableOptimizerRuns.build(context)
357
367
  when :list_triggers
358
368
  Aws::Glue::Endpoints::ListTriggers.build(context)
359
369
  when :list_workflows
@@ -454,6 +464,8 @@ module Aws::Glue
454
464
  Aws::Glue::Endpoints::UpdateSourceControlFromJob.build(context)
455
465
  when :update_table
456
466
  Aws::Glue::Endpoints::UpdateTable.build(context)
467
+ when :update_table_optimizer
468
+ Aws::Glue::Endpoints::UpdateTableOptimizer.build(context)
457
469
  when :update_trigger
458
470
  Aws::Glue::Endpoints::UpdateTrigger.build(context)
459
471
  when :update_user_defined_function