@aws-sdk/client-glue 3.650.0 → 3.651.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist-cjs/index.js +125 -49
  2. package/dist-es/models/models_0.js +15 -27
  3. package/dist-es/models/models_1.js +27 -12
  4. package/dist-es/models/models_2.js +12 -0
  5. package/dist-es/protocols/Aws_json1_1.js +56 -2
  6. package/dist-types/commands/BatchGetTableOptimizerCommand.d.ts +52 -3
  7. package/dist-types/commands/CancelDataQualityRulesetEvaluationRunCommand.d.ts +1 -1
  8. package/dist-types/commands/CancelMLTaskRunCommand.d.ts +1 -1
  9. package/dist-types/commands/CancelStatementCommand.d.ts +1 -1
  10. package/dist-types/commands/CheckSchemaVersionValidityCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateTableOptimizerCommand.d.ts +20 -1
  12. package/dist-types/commands/DeleteTableOptimizerCommand.d.ts +4 -1
  13. package/dist-types/commands/GetMLTransformCommand.d.ts +1 -1
  14. package/dist-types/commands/GetTableOptimizerCommand.d.ts +42 -2
  15. package/dist-types/commands/ListTableOptimizerRunsCommand.d.ts +31 -1
  16. package/dist-types/commands/UpdateTableCommand.d.ts +2 -1
  17. package/dist-types/commands/UpdateTableOptimizerCommand.d.ts +24 -2
  18. package/dist-types/commands/UpdateTriggerCommand.d.ts +1 -1
  19. package/dist-types/commands/UpdateUsageProfileCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdateUserDefinedFunctionCommand.d.ts +1 -1
  21. package/dist-types/commands/UpdateWorkflowCommand.d.ts +1 -2
  22. package/dist-types/models/models_0.d.ts +235 -155
  23. package/dist-types/models/models_1.d.ts +153 -358
  24. package/dist-types/models/models_2.d.ts +359 -196
  25. package/dist-types/models/models_3.d.ts +196 -2
  26. package/dist-types/ts3.4/commands/CancelDataQualityRulesetEvaluationRunCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/commands/CancelMLTaskRunCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/CheckSchemaVersionValidityCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/GetMLTransformCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +2 -1
  32. package/dist-types/ts3.4/commands/UpdateTableOptimizerCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/UpdateTriggerCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/UpdateUsageProfileCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/UpdateUserDefinedFunctionCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +4 -2
  37. package/dist-types/ts3.4/models/models_0.d.ts +57 -52
  38. package/dist-types/ts3.4/models/models_1.d.ts +52 -83
  39. package/dist-types/ts3.4/models/models_2.d.ts +85 -57
  40. package/dist-types/ts3.4/models/models_3.d.ts +57 -1
  41. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -365,6 +365,7 @@ __export(src_exports, {
365
365
  TaskRunSortColumnType: () => TaskRunSortColumnType,
366
366
  TaskStatusType: () => TaskStatusType,
367
367
  TaskType: () => TaskType,
368
+ ThrottlingException: () => ThrottlingException,
368
369
  TransformSortColumnType: () => TransformSortColumnType,
369
370
  TransformStatusType: () => TransformStatusType,
370
371
  TransformType: () => TransformType,
@@ -1124,7 +1125,9 @@ var _InvalidStateException = class _InvalidStateException extends GlueServiceExc
1124
1125
  __name(_InvalidStateException, "InvalidStateException");
1125
1126
  var InvalidStateException = _InvalidStateException;
1126
1127
  var TableOptimizerType = {
1127
- COMPACTION: "compaction"
1128
+ COMPACTION: "compaction",
1129
+ ORPHAN_FILE_DELETION: "orphan_file_deletion",
1130
+ RETENTION: "retention"
1128
1131
  };
1129
1132
  var TableOptimizerEventType = {
1130
1133
  COMPLETED: "completed",
@@ -1132,6 +1135,24 @@ var TableOptimizerEventType = {
1132
1135
  IN_PROGRESS: "in_progress",
1133
1136
  STARTING: "starting"
1134
1137
  };
1138
+ var _ThrottlingException = class _ThrottlingException extends GlueServiceException {
1139
+ /**
1140
+ * @internal
1141
+ */
1142
+ constructor(opts) {
1143
+ super({
1144
+ name: "ThrottlingException",
1145
+ $fault: "client",
1146
+ ...opts
1147
+ });
1148
+ this.name = "ThrottlingException";
1149
+ this.$fault = "client";
1150
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
1151
+ this.Message = opts.Message;
1152
+ }
1153
+ };
1154
+ __name(_ThrottlingException, "ThrottlingException");
1155
+ var ThrottlingException = _ThrottlingException;
1135
1156
  var CrawlState = {
1136
1157
  CANCELLED: "CANCELLED",
1137
1158
  CANCELLING: "CANCELLING",
@@ -1187,38 +1208,6 @@ var WorkflowRunStatus = {
1187
1208
  STOPPED: "STOPPED",
1188
1209
  STOPPING: "STOPPING"
1189
1210
  };
1190
- var TaskStatusType = {
1191
- FAILED: "FAILED",
1192
- RUNNING: "RUNNING",
1193
- STARTING: "STARTING",
1194
- STOPPED: "STOPPED",
1195
- STOPPING: "STOPPING",
1196
- SUCCEEDED: "SUCCEEDED",
1197
- TIMEOUT: "TIMEOUT"
1198
- };
1199
- var _IllegalSessionStateException = class _IllegalSessionStateException extends GlueServiceException {
1200
- /**
1201
- * @internal
1202
- */
1203
- constructor(opts) {
1204
- super({
1205
- name: "IllegalSessionStateException",
1206
- $fault: "client",
1207
- ...opts
1208
- });
1209
- this.name = "IllegalSessionStateException";
1210
- this.$fault = "client";
1211
- Object.setPrototypeOf(this, _IllegalSessionStateException.prototype);
1212
- this.Message = opts.Message;
1213
- }
1214
- };
1215
- __name(_IllegalSessionStateException, "IllegalSessionStateException");
1216
- var IllegalSessionStateException = _IllegalSessionStateException;
1217
- var DataFormat = {
1218
- AVRO: "AVRO",
1219
- JSON: "JSON",
1220
- PROTOBUF: "PROTOBUF"
1221
- };
1222
1211
  var DataQualityAnalyzerResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1223
1212
  ...obj,
1224
1213
  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
@@ -1251,6 +1240,38 @@ var BatchGetDataQualityResultResponseFilterSensitiveLog = /* @__PURE__ */ __name
1251
1240
  }), "BatchGetDataQualityResultResponseFilterSensitiveLog");
1252
1241
 
1253
1242
  // src/models/models_1.ts
1243
+ var TaskStatusType = {
1244
+ FAILED: "FAILED",
1245
+ RUNNING: "RUNNING",
1246
+ STARTING: "STARTING",
1247
+ STOPPED: "STOPPED",
1248
+ STOPPING: "STOPPING",
1249
+ SUCCEEDED: "SUCCEEDED",
1250
+ TIMEOUT: "TIMEOUT"
1251
+ };
1252
+ var _IllegalSessionStateException = class _IllegalSessionStateException extends GlueServiceException {
1253
+ /**
1254
+ * @internal
1255
+ */
1256
+ constructor(opts) {
1257
+ super({
1258
+ name: "IllegalSessionStateException",
1259
+ $fault: "client",
1260
+ ...opts
1261
+ });
1262
+ this.name = "IllegalSessionStateException";
1263
+ this.$fault = "client";
1264
+ Object.setPrototypeOf(this, _IllegalSessionStateException.prototype);
1265
+ this.Message = opts.Message;
1266
+ }
1267
+ };
1268
+ __name(_IllegalSessionStateException, "IllegalSessionStateException");
1269
+ var IllegalSessionStateException = _IllegalSessionStateException;
1270
+ var DataFormat = {
1271
+ AVRO: "AVRO",
1272
+ JSON: "JSON",
1273
+ PROTOBUF: "PROTOBUF"
1274
+ };
1254
1275
  var CsvHeaderOption = {
1255
1276
  ABSENT: "ABSENT",
1256
1277
  PRESENT: "PRESENT",
@@ -1636,18 +1657,6 @@ var SortDirectionType = {
1636
1657
  ASCENDING: "ASCENDING",
1637
1658
  DESCENDING: "DESCENDING"
1638
1659
  };
1639
- var TransformStatusType = {
1640
- DELETING: "DELETING",
1641
- NOT_READY: "NOT_READY",
1642
- READY: "READY"
1643
- };
1644
- var TransformSortColumnType = {
1645
- CREATED: "CREATED",
1646
- LAST_MODIFIED: "LAST_MODIFIED",
1647
- NAME: "NAME",
1648
- STATUS: "STATUS",
1649
- TRANSFORM_TYPE: "TRANSFORM_TYPE"
1650
- };
1651
1660
  var GetDataQualityResultResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1652
1661
  ...obj,
1653
1662
  ...obj.RuleResults && { RuleResults: obj.RuleResults.map((item) => DataQualityRuleResultFilterSensitiveLog(item)) },
@@ -1661,6 +1670,18 @@ var GetDataQualityResultResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj
1661
1670
 
1662
1671
  // src/models/models_2.ts
1663
1672
 
1673
+ var TransformStatusType = {
1674
+ DELETING: "DELETING",
1675
+ NOT_READY: "NOT_READY",
1676
+ READY: "READY"
1677
+ };
1678
+ var TransformSortColumnType = {
1679
+ CREATED: "CREATED",
1680
+ LAST_MODIFIED: "LAST_MODIFIED",
1681
+ NAME: "NAME",
1682
+ STATUS: "STATUS",
1683
+ TRANSFORM_TYPE: "TRANSFORM_TYPE"
1684
+ };
1664
1685
  var BackfillErrorCode = {
1665
1686
  ENCRYPTED_PARTITION_ERROR: "ENCRYPTED_PARTITION_ERROR",
1666
1687
  INTERNAL_ERROR: "INTERNAL_ERROR",
@@ -6319,6 +6340,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
6319
6340
  case "InvalidStateException":
6320
6341
  case "com.amazonaws.glue#InvalidStateException":
6321
6342
  throw await de_InvalidStateExceptionRes(parsedOutput, context);
6343
+ case "ThrottlingException":
6344
+ case "com.amazonaws.glue#ThrottlingException":
6345
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
6322
6346
  case "IllegalSessionStateException":
6323
6347
  case "com.amazonaws.glue#IllegalSessionStateException":
6324
6348
  throw await de_IllegalSessionStateExceptionRes(parsedOutput, context);
@@ -6706,6 +6730,15 @@ var de_SchedulerTransitioningExceptionRes = /* @__PURE__ */ __name(async (parsed
6706
6730
  });
6707
6731
  return (0, import_smithy_client.decorateServiceException)(exception, body);
6708
6732
  }, "de_SchedulerTransitioningExceptionRes");
6733
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
6734
+ const body = parsedOutput.body;
6735
+ const deserialized = (0, import_smithy_client._json)(body);
6736
+ const exception = new ThrottlingException({
6737
+ $metadata: deserializeMetadata(parsedOutput),
6738
+ ...deserialized
6739
+ });
6740
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
6741
+ }, "de_ThrottlingExceptionRes");
6709
6742
  var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
6710
6743
  const body = parsedOutput.body;
6711
6744
  const deserialized = (0, import_smithy_client._json)(body);
@@ -7888,6 +7921,11 @@ var de_ColumnStatisticsTaskRunsList = /* @__PURE__ */ __name((output, context) =
7888
7921
  });
7889
7922
  return retVal;
7890
7923
  }, "de_ColumnStatisticsTaskRunsList");
7924
+ var de_CompactionMetrics = /* @__PURE__ */ __name((output, context) => {
7925
+ return (0, import_smithy_client.take)(output, {
7926
+ IcebergMetrics: (_) => de_IcebergCompactionMetrics(_, context)
7927
+ });
7928
+ }, "de_CompactionMetrics");
7891
7929
  var de_Connection = /* @__PURE__ */ __name((output, context) => {
7892
7930
  return (0, import_smithy_client.take)(output, {
7893
7931
  AuthenticationConfiguration: import_smithy_client._json,
@@ -8772,6 +8810,30 @@ var de_GrokClassifier = /* @__PURE__ */ __name((output, context) => {
8772
8810
  Version: import_smithy_client.expectLong
8773
8811
  });
8774
8812
  }, "de_GrokClassifier");
8813
+ var de_IcebergCompactionMetrics = /* @__PURE__ */ __name((output, context) => {
8814
+ return (0, import_smithy_client.take)(output, {
8815
+ JobDurationInHour: import_smithy_client.limitedParseDouble,
8816
+ NumberOfBytesCompacted: import_smithy_client.expectLong,
8817
+ NumberOfDpus: import_smithy_client.expectInt32,
8818
+ NumberOfFilesCompacted: import_smithy_client.expectLong
8819
+ });
8820
+ }, "de_IcebergCompactionMetrics");
8821
+ var de_IcebergOrphanFileDeletionMetrics = /* @__PURE__ */ __name((output, context) => {
8822
+ return (0, import_smithy_client.take)(output, {
8823
+ JobDurationInHour: import_smithy_client.limitedParseDouble,
8824
+ NumberOfDpus: import_smithy_client.expectInt32,
8825
+ NumberOfOrphanFilesDeleted: import_smithy_client.expectLong
8826
+ });
8827
+ }, "de_IcebergOrphanFileDeletionMetrics");
8828
+ var de_IcebergRetentionMetrics = /* @__PURE__ */ __name((output, context) => {
8829
+ return (0, import_smithy_client.take)(output, {
8830
+ JobDurationInHour: import_smithy_client.limitedParseDouble,
8831
+ NumberOfDataFilesDeleted: import_smithy_client.expectLong,
8832
+ NumberOfDpus: import_smithy_client.expectInt32,
8833
+ NumberOfManifestFilesDeleted: import_smithy_client.expectLong,
8834
+ NumberOfManifestListsDeleted: import_smithy_client.expectLong
8835
+ });
8836
+ }, "de_IcebergRetentionMetrics");
8775
8837
  var de_Job = /* @__PURE__ */ __name((output, context) => {
8776
8838
  return (0, import_smithy_client.take)(output, {
8777
8839
  AllocatedCapacity: import_smithy_client.expectInt32,
@@ -9062,6 +9124,11 @@ var de_NodeList = /* @__PURE__ */ __name((output, context) => {
9062
9124
  });
9063
9125
  return retVal;
9064
9126
  }, "de_NodeList");
9127
+ var de_OrphanFileDeletionMetrics = /* @__PURE__ */ __name((output, context) => {
9128
+ return (0, import_smithy_client.take)(output, {
9129
+ IcebergMetrics: (_) => de_IcebergOrphanFileDeletionMetrics(_, context)
9130
+ });
9131
+ }, "de_OrphanFileDeletionMetrics");
9065
9132
  var de_Partition = /* @__PURE__ */ __name((output, context) => {
9066
9133
  return (0, import_smithy_client.take)(output, {
9067
9134
  CatalogId: import_smithy_client.expectString,
@@ -9093,6 +9160,11 @@ var de_PIIDetection = /* @__PURE__ */ __name((output, context) => {
9093
9160
  ThresholdFraction: import_smithy_client.limitedParseDouble
9094
9161
  });
9095
9162
  }, "de_PIIDetection");
9163
+ var de_RetentionMetrics = /* @__PURE__ */ __name((output, context) => {
9164
+ return (0, import_smithy_client.take)(output, {
9165
+ IcebergMetrics: (_) => de_IcebergRetentionMetrics(_, context)
9166
+ });
9167
+ }, "de_RetentionMetrics");
9096
9168
  var de_SearchTablesResponse = /* @__PURE__ */ __name((output, context) => {
9097
9169
  return (0, import_smithy_client.take)(output, {
9098
9170
  NextToken: import_smithy_client.expectString,
@@ -9270,10 +9342,13 @@ var de_TableOptimizer = /* @__PURE__ */ __name((output, context) => {
9270
9342
  }, "de_TableOptimizer");
9271
9343
  var de_TableOptimizerRun = /* @__PURE__ */ __name((output, context) => {
9272
9344
  return (0, import_smithy_client.take)(output, {
9345
+ compactionMetrics: (_) => de_CompactionMetrics(_, context),
9273
9346
  endTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
9274
9347
  error: import_smithy_client.expectString,
9275
9348
  eventType: import_smithy_client.expectString,
9276
9349
  metrics: import_smithy_client._json,
9350
+ orphanFileDeletionMetrics: (_) => de_OrphanFileDeletionMetrics(_, context),
9351
+ retentionMetrics: (_) => de_RetentionMetrics(_, context),
9277
9352
  startTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
9278
9353
  });
9279
9354
  }, "de_TableOptimizerRun");
@@ -13395,6 +13470,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
13395
13470
  InvalidStateException,
13396
13471
  TableOptimizerType,
13397
13472
  TableOptimizerEventType,
13473
+ ThrottlingException,
13398
13474
  CrawlState,
13399
13475
  LogicalOperator,
13400
13476
  JobRunState,
@@ -13403,14 +13479,14 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
13403
13479
  TriggerType,
13404
13480
  NodeType,
13405
13481
  WorkflowRunStatus,
13406
- TaskStatusType,
13407
- IllegalSessionStateException,
13408
- DataFormat,
13409
13482
  DataQualityAnalyzerResultFilterSensitiveLog,
13410
13483
  DataQualityObservationFilterSensitiveLog,
13411
13484
  DataQualityRuleResultFilterSensitiveLog,
13412
13485
  DataQualityResultFilterSensitiveLog,
13413
13486
  BatchGetDataQualityResultResponseFilterSensitiveLog,
13487
+ TaskStatusType,
13488
+ IllegalSessionStateException,
13489
+ DataFormat,
13414
13490
  CsvHeaderOption,
13415
13491
  CsvSerdeOption,
13416
13492
  ConnectionPropertyKey,
@@ -13452,9 +13528,9 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
13452
13528
  TaskType,
13453
13529
  TaskRunSortColumnType,
13454
13530
  SortDirectionType,
13531
+ GetDataQualityResultResponseFilterSensitiveLog,
13455
13532
  TransformStatusType,
13456
13533
  TransformSortColumnType,
13457
- GetDataQualityResultResponseFilterSensitiveLog,
13458
13534
  BackfillErrorCode,
13459
13535
  PartitionIndexStatus,
13460
13536
  SchemaDiffType,
@@ -449,6 +449,8 @@ export class InvalidStateException extends __BaseException {
449
449
  }
450
450
  export const TableOptimizerType = {
451
451
  COMPACTION: "compaction",
452
+ ORPHAN_FILE_DELETION: "orphan_file_deletion",
453
+ RETENTION: "retention",
452
454
  };
453
455
  export const TableOptimizerEventType = {
454
456
  COMPLETED: "completed",
@@ -456,6 +458,19 @@ export const TableOptimizerEventType = {
456
458
  IN_PROGRESS: "in_progress",
457
459
  STARTING: "starting",
458
460
  };
461
+ export class ThrottlingException extends __BaseException {
462
+ constructor(opts) {
463
+ super({
464
+ name: "ThrottlingException",
465
+ $fault: "client",
466
+ ...opts,
467
+ });
468
+ this.name = "ThrottlingException";
469
+ this.$fault = "client";
470
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
471
+ this.Message = opts.Message;
472
+ }
473
+ }
459
474
  export const CrawlState = {
460
475
  CANCELLED: "CANCELLED",
461
476
  CANCELLING: "CANCELLING",
@@ -511,33 +526,6 @@ export const WorkflowRunStatus = {
511
526
  STOPPED: "STOPPED",
512
527
  STOPPING: "STOPPING",
513
528
  };
514
- export const TaskStatusType = {
515
- FAILED: "FAILED",
516
- RUNNING: "RUNNING",
517
- STARTING: "STARTING",
518
- STOPPED: "STOPPED",
519
- STOPPING: "STOPPING",
520
- SUCCEEDED: "SUCCEEDED",
521
- TIMEOUT: "TIMEOUT",
522
- };
523
- export class IllegalSessionStateException extends __BaseException {
524
- constructor(opts) {
525
- super({
526
- name: "IllegalSessionStateException",
527
- $fault: "client",
528
- ...opts,
529
- });
530
- this.name = "IllegalSessionStateException";
531
- this.$fault = "client";
532
- Object.setPrototypeOf(this, IllegalSessionStateException.prototype);
533
- this.Message = opts.Message;
534
- }
535
- }
536
- export const DataFormat = {
537
- AVRO: "AVRO",
538
- JSON: "JSON",
539
- PROTOBUF: "PROTOBUF",
540
- };
541
529
  export const DataQualityAnalyzerResultFilterSensitiveLog = (obj) => ({
542
530
  ...obj,
543
531
  ...(obj.Description && { Description: SENSITIVE_STRING }),
@@ -1,5 +1,32 @@
1
1
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
2
2
  import { DataQualityAnalyzerResultFilterSensitiveLog, DataQualityObservationFilterSensitiveLog, DataQualityRuleResultFilterSensitiveLog, } from "./models_0";
3
+ export const TaskStatusType = {
4
+ FAILED: "FAILED",
5
+ RUNNING: "RUNNING",
6
+ STARTING: "STARTING",
7
+ STOPPED: "STOPPED",
8
+ STOPPING: "STOPPING",
9
+ SUCCEEDED: "SUCCEEDED",
10
+ TIMEOUT: "TIMEOUT",
11
+ };
12
+ export class IllegalSessionStateException extends __BaseException {
13
+ constructor(opts) {
14
+ super({
15
+ name: "IllegalSessionStateException",
16
+ $fault: "client",
17
+ ...opts,
18
+ });
19
+ this.name = "IllegalSessionStateException";
20
+ this.$fault = "client";
21
+ Object.setPrototypeOf(this, IllegalSessionStateException.prototype);
22
+ this.Message = opts.Message;
23
+ }
24
+ }
25
+ export const DataFormat = {
26
+ AVRO: "AVRO",
27
+ JSON: "JSON",
28
+ PROTOBUF: "PROTOBUF",
29
+ };
3
30
  export const CsvHeaderOption = {
4
31
  ABSENT: "ABSENT",
5
32
  PRESENT: "PRESENT",
@@ -340,18 +367,6 @@ export const SortDirectionType = {
340
367
  ASCENDING: "ASCENDING",
341
368
  DESCENDING: "DESCENDING",
342
369
  };
343
- export const TransformStatusType = {
344
- DELETING: "DELETING",
345
- NOT_READY: "NOT_READY",
346
- READY: "READY",
347
- };
348
- export const TransformSortColumnType = {
349
- CREATED: "CREATED",
350
- LAST_MODIFIED: "LAST_MODIFIED",
351
- NAME: "NAME",
352
- STATUS: "STATUS",
353
- TRANSFORM_TYPE: "TRANSFORM_TYPE",
354
- };
355
370
  export const GetDataQualityResultResponseFilterSensitiveLog = (obj) => ({
356
371
  ...obj,
357
372
  ...(obj.RuleResults && { RuleResults: obj.RuleResults.map((item) => DataQualityRuleResultFilterSensitiveLog(item)) }),
@@ -1,5 +1,17 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
3
+ export const TransformStatusType = {
4
+ DELETING: "DELETING",
5
+ NOT_READY: "NOT_READY",
6
+ READY: "READY",
7
+ };
8
+ export const TransformSortColumnType = {
9
+ CREATED: "CREATED",
10
+ LAST_MODIFIED: "LAST_MODIFIED",
11
+ NAME: "NAME",
12
+ STATUS: "STATUS",
13
+ TRANSFORM_TYPE: "TRANSFORM_TYPE",
14
+ };
3
15
  export const BackfillErrorCode = {
4
16
  ENCRYPTED_PARTITION_ERROR: "ENCRYPTED_PARTITION_ERROR",
5
17
  INTERNAL_ERROR: "INTERNAL_ERROR",
@@ -2,8 +2,8 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { GlueServiceException as __BaseException } from "../models/GlueServiceException";
5
- import { AccessDeniedException, AlreadyExistsException, EntityNotFoundException, FederationSourceException, FederationSourceRetryableException, GlueEncryptionException, IllegalSessionStateException, InternalServiceException, InvalidInputException, InvalidStateException, OperationTimeoutException, ResourceNotReadyException, ResourceNumberLimitExceededException, } from "../models/models_0";
6
- import { ConcurrentModificationException, ConditionCheckFailureException, ConflictException, CrawlerRunningException, FederatedResourceAlreadyExistsException, IdempotentParameterMismatchException, OperationNotSupportedException, SchedulerTransitioningException, ValidationException, } from "../models/models_1";
5
+ import { AccessDeniedException, AlreadyExistsException, EntityNotFoundException, FederationSourceException, FederationSourceRetryableException, GlueEncryptionException, InternalServiceException, InvalidInputException, InvalidStateException, OperationTimeoutException, ResourceNotReadyException, ResourceNumberLimitExceededException, ThrottlingException, } from "../models/models_0";
6
+ import { ConcurrentModificationException, ConditionCheckFailureException, ConflictException, CrawlerRunningException, FederatedResourceAlreadyExistsException, IdempotentParameterMismatchException, IllegalSessionStateException, OperationNotSupportedException, SchedulerTransitioningException, ValidationException, } from "../models/models_1";
7
7
  import { ColumnStatisticsTaskNotRunningException, ColumnStatisticsTaskRunningException, ColumnStatisticsTaskStoppingException, ConcurrentRunsExceededException, CrawlerNotRunningException, CrawlerStoppingException, IllegalBlueprintStateException, IllegalWorkflowStateException, MLTransformNotReadyException, NoScheduleException, PermissionTypeMismatchException, SchedulerNotRunningException, SchedulerRunningException, VersionMismatchException, } from "../models/models_2";
8
8
  export const se_BatchCreatePartitionCommand = async (input, context) => {
9
9
  const headers = sharedHeaders("BatchCreatePartition");
@@ -4304,6 +4304,9 @@ const de_CommandError = async (output, context) => {
4304
4304
  case "InvalidStateException":
4305
4305
  case "com.amazonaws.glue#InvalidStateException":
4306
4306
  throw await de_InvalidStateExceptionRes(parsedOutput, context);
4307
+ case "ThrottlingException":
4308
+ case "com.amazonaws.glue#ThrottlingException":
4309
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
4307
4310
  case "IllegalSessionStateException":
4308
4311
  case "com.amazonaws.glue#IllegalSessionStateException":
4309
4312
  throw await de_IllegalSessionStateExceptionRes(parsedOutput, context);
@@ -4691,6 +4694,15 @@ const de_SchedulerTransitioningExceptionRes = async (parsedOutput, context) => {
4691
4694
  });
4692
4695
  return __decorateServiceException(exception, body);
4693
4696
  };
4697
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
4698
+ const body = parsedOutput.body;
4699
+ const deserialized = _json(body);
4700
+ const exception = new ThrottlingException({
4701
+ $metadata: deserializeMetadata(parsedOutput),
4702
+ ...deserialized,
4703
+ });
4704
+ return __decorateServiceException(exception, body);
4705
+ };
4694
4706
  const de_ValidationExceptionRes = async (parsedOutput, context) => {
4695
4707
  const body = parsedOutput.body;
4696
4708
  const deserialized = _json(body);
@@ -5901,6 +5913,11 @@ const de_ColumnStatisticsTaskRunsList = (output, context) => {
5901
5913
  });
5902
5914
  return retVal;
5903
5915
  };
5916
+ const de_CompactionMetrics = (output, context) => {
5917
+ return take(output, {
5918
+ IcebergMetrics: (_) => de_IcebergCompactionMetrics(_, context),
5919
+ });
5920
+ };
5904
5921
  const de_Connection = (output, context) => {
5905
5922
  return take(output, {
5906
5923
  AuthenticationConfiguration: _json,
@@ -6821,6 +6838,30 @@ const de_GrokClassifier = (output, context) => {
6821
6838
  Version: __expectLong,
6822
6839
  });
6823
6840
  };
6841
+ const de_IcebergCompactionMetrics = (output, context) => {
6842
+ return take(output, {
6843
+ JobDurationInHour: __limitedParseDouble,
6844
+ NumberOfBytesCompacted: __expectLong,
6845
+ NumberOfDpus: __expectInt32,
6846
+ NumberOfFilesCompacted: __expectLong,
6847
+ });
6848
+ };
6849
+ const de_IcebergOrphanFileDeletionMetrics = (output, context) => {
6850
+ return take(output, {
6851
+ JobDurationInHour: __limitedParseDouble,
6852
+ NumberOfDpus: __expectInt32,
6853
+ NumberOfOrphanFilesDeleted: __expectLong,
6854
+ });
6855
+ };
6856
+ const de_IcebergRetentionMetrics = (output, context) => {
6857
+ return take(output, {
6858
+ JobDurationInHour: __limitedParseDouble,
6859
+ NumberOfDataFilesDeleted: __expectLong,
6860
+ NumberOfDpus: __expectInt32,
6861
+ NumberOfManifestFilesDeleted: __expectLong,
6862
+ NumberOfManifestListsDeleted: __expectLong,
6863
+ });
6864
+ };
6824
6865
  const de_Job = (output, context) => {
6825
6866
  return take(output, {
6826
6867
  AllocatedCapacity: __expectInt32,
@@ -7119,6 +7160,11 @@ const de_NodeList = (output, context) => {
7119
7160
  });
7120
7161
  return retVal;
7121
7162
  };
7163
+ const de_OrphanFileDeletionMetrics = (output, context) => {
7164
+ return take(output, {
7165
+ IcebergMetrics: (_) => de_IcebergOrphanFileDeletionMetrics(_, context),
7166
+ });
7167
+ };
7122
7168
  const de_Partition = (output, context) => {
7123
7169
  return take(output, {
7124
7170
  CatalogId: __expectString,
@@ -7152,6 +7198,11 @@ const de_PIIDetection = (output, context) => {
7152
7198
  ThresholdFraction: __limitedParseDouble,
7153
7199
  });
7154
7200
  };
7201
+ const de_RetentionMetrics = (output, context) => {
7202
+ return take(output, {
7203
+ IcebergMetrics: (_) => de_IcebergRetentionMetrics(_, context),
7204
+ });
7205
+ };
7155
7206
  const de_SearchTablesResponse = (output, context) => {
7156
7207
  return take(output, {
7157
7208
  NextToken: __expectString,
@@ -7341,10 +7392,13 @@ const de_TableOptimizer = (output, context) => {
7341
7392
  };
7342
7393
  const de_TableOptimizerRun = (output, context) => {
7343
7394
  return take(output, {
7395
+ compactionMetrics: (_) => de_CompactionMetrics(_, context),
7344
7396
  endTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
7345
7397
  error: __expectString,
7346
7398
  eventType: __expectString,
7347
7399
  metrics: _json,
7400
+ orphanFileDeletionMetrics: (_) => de_OrphanFileDeletionMetrics(_, context),
7401
+ retentionMetrics: (_) => de_RetentionMetrics(_, context),
7348
7402
  startTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
7349
7403
  });
7350
7404
  };
@@ -40,7 +40,7 @@ declare const BatchGetTableOptimizerCommand_base: {
40
40
  * catalogId: "STRING_VALUE",
41
41
  * databaseName: "STRING_VALUE",
42
42
  * tableName: "STRING_VALUE",
43
- * type: "compaction",
43
+ * type: "compaction" || "retention" || "orphan_file_deletion",
44
44
  * },
45
45
  * ],
46
46
  * };
@@ -53,10 +53,23 @@ declare const BatchGetTableOptimizerCommand_base: {
53
53
  * // databaseName: "STRING_VALUE",
54
54
  * // tableName: "STRING_VALUE",
55
55
  * // tableOptimizer: { // TableOptimizer
56
- * // type: "compaction",
56
+ * // type: "compaction" || "retention" || "orphan_file_deletion",
57
57
  * // configuration: { // TableOptimizerConfiguration
58
58
  * // roleArn: "STRING_VALUE",
59
59
  * // enabled: true || false,
60
+ * // retentionConfiguration: { // RetentionConfiguration
61
+ * // icebergConfiguration: { // IcebergRetentionConfiguration
62
+ * // snapshotRetentionPeriodInDays: Number("int"),
63
+ * // numberOfSnapshotsToRetain: Number("int"),
64
+ * // cleanExpiredFiles: true || false,
65
+ * // },
66
+ * // },
67
+ * // orphanFileDeletionConfiguration: { // OrphanFileDeletionConfiguration
68
+ * // icebergConfiguration: { // IcebergOrphanFileDeletionConfiguration
69
+ * // orphanFileRetentionPeriodInDays: Number("int"),
70
+ * // location: "STRING_VALUE",
71
+ * // },
72
+ * // },
60
73
  * // },
61
74
  * // lastRun: { // TableOptimizerRun
62
75
  * // eventType: "starting" || "completed" || "failed" || "in_progress",
@@ -69,6 +82,30 @@ declare const BatchGetTableOptimizerCommand_base: {
69
82
  * // JobDurationInHour: "STRING_VALUE",
70
83
  * // },
71
84
  * // error: "STRING_VALUE",
85
+ * // compactionMetrics: { // CompactionMetrics
86
+ * // IcebergMetrics: { // IcebergCompactionMetrics
87
+ * // NumberOfBytesCompacted: Number("long"),
88
+ * // NumberOfFilesCompacted: Number("long"),
89
+ * // NumberOfDpus: Number("int"),
90
+ * // JobDurationInHour: Number("double"),
91
+ * // },
92
+ * // },
93
+ * // retentionMetrics: { // RetentionMetrics
94
+ * // IcebergMetrics: { // IcebergRetentionMetrics
95
+ * // NumberOfDataFilesDeleted: Number("long"),
96
+ * // NumberOfManifestFilesDeleted: Number("long"),
97
+ * // NumberOfManifestListsDeleted: Number("long"),
98
+ * // NumberOfDpus: Number("int"),
99
+ * // JobDurationInHour: Number("double"),
100
+ * // },
101
+ * // },
102
+ * // orphanFileDeletionMetrics: { // OrphanFileDeletionMetrics
103
+ * // IcebergMetrics: { // IcebergOrphanFileDeletionMetrics
104
+ * // NumberOfOrphanFilesDeleted: Number("long"),
105
+ * // NumberOfDpus: Number("int"),
106
+ * // JobDurationInHour: Number("double"),
107
+ * // },
108
+ * // },
72
109
  * // },
73
110
  * // },
74
111
  * // },
@@ -82,7 +119,7 @@ declare const BatchGetTableOptimizerCommand_base: {
82
119
  * // catalogId: "STRING_VALUE",
83
120
  * // databaseName: "STRING_VALUE",
84
121
  * // tableName: "STRING_VALUE",
85
- * // type: "compaction",
122
+ * // type: "compaction" || "retention" || "orphan_file_deletion",
86
123
  * // },
87
124
  * // ],
88
125
  * // };
@@ -95,9 +132,21 @@ declare const BatchGetTableOptimizerCommand_base: {
95
132
  * @see {@link BatchGetTableOptimizerCommandOutput} for command's `response` shape.
96
133
  * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape.
97
134
  *
135
+ * @throws {@link AccessDeniedException} (client fault)
136
+ * <p>Access to a resource was denied.</p>
137
+ *
138
+ * @throws {@link EntityNotFoundException} (client fault)
139
+ * <p>A specified entity does not exist</p>
140
+ *
98
141
  * @throws {@link InternalServiceException} (server fault)
99
142
  * <p>An internal service error occurred.</p>
100
143
  *
144
+ * @throws {@link InvalidInputException} (client fault)
145
+ * <p>The input provided was not valid.</p>
146
+ *
147
+ * @throws {@link ThrottlingException} (client fault)
148
+ * <p>The throttling threshhold was exceeded.</p>
149
+ *
101
150
  * @throws {@link GlueServiceException}
102
151
  * <p>Base exception class for all service exceptions from Glue service.</p>
103
152
  *
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
- import { CancelDataQualityRulesetEvaluationRunRequest, CancelDataQualityRulesetEvaluationRunResponse } from "../models/models_0";
4
+ import { CancelDataQualityRulesetEvaluationRunRequest, CancelDataQualityRulesetEvaluationRunResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
- import { CancelMLTaskRunRequest, CancelMLTaskRunResponse } from "../models/models_0";
4
+ import { CancelMLTaskRunRequest, CancelMLTaskRunResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient";
4
- import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
4
+ import { CancelStatementRequest, CancelStatementResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */