@aws-sdk/client-glue 3.862.0 → 3.863.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.
package/dist-cjs/index.js CHANGED
@@ -74,6 +74,7 @@ __export(index_exports, {
74
74
  ConcurrentModificationException: () => ConcurrentModificationException,
75
75
  ConcurrentRunsExceededException: () => ConcurrentRunsExceededException,
76
76
  ConditionCheckFailureException: () => ConditionCheckFailureException,
77
+ ConfigurationSource: () => ConfigurationSource,
77
78
  ConflictException: () => ConflictException,
78
79
  ConnectionInputFilterSensitiveLog: () => ConnectionInputFilterSensitiveLog,
79
80
  ConnectionPropertyKey: () => ConnectionPropertyKey,
@@ -1343,6 +1344,10 @@ var TableOptimizerVpcConfiguration;
1343
1344
  return visitor._(value.$unknown[0], value.$unknown[1]);
1344
1345
  }, "visit");
1345
1346
  })(TableOptimizerVpcConfiguration || (TableOptimizerVpcConfiguration = {}));
1347
+ var ConfigurationSource = {
1348
+ CATALOG: "catalog",
1349
+ TABLE: "table"
1350
+ };
1346
1351
  var TableOptimizerEventType = {
1347
1352
  COMPLETED: "completed",
1348
1353
  FAILED: "failed",
@@ -9243,7 +9248,7 @@ var de_Catalog = /* @__PURE__ */ __name((output, context) => {
9243
9248
  return (0, import_smithy_client.take)(output, {
9244
9249
  AllowFullTableExternalDataAccess: import_smithy_client.expectString,
9245
9250
  CatalogId: import_smithy_client.expectString,
9246
- CatalogProperties: import_smithy_client._json,
9251
+ CatalogProperties: /* @__PURE__ */ __name((_) => de_CatalogPropertiesOutput(_, context), "CatalogProperties"),
9247
9252
  CreateDatabaseDefaultPermissions: import_smithy_client._json,
9248
9253
  CreateTableDefaultPermissions: import_smithy_client._json,
9249
9254
  CreateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTime"),
@@ -9291,6 +9296,13 @@ var de_CatalogList = /* @__PURE__ */ __name((output, context) => {
9291
9296
  });
9292
9297
  return retVal;
9293
9298
  }, "de_CatalogList");
9299
+ var de_CatalogPropertiesOutput = /* @__PURE__ */ __name((output, context) => {
9300
+ return (0, import_smithy_client.take)(output, {
9301
+ CustomProperties: import_smithy_client._json,
9302
+ DataLakeAccessProperties: import_smithy_client._json,
9303
+ IcebergOptimizationProperties: /* @__PURE__ */ __name((_) => de_IcebergOptimizationPropertiesOutput(_, context), "IcebergOptimizationProperties")
9304
+ });
9305
+ }, "de_CatalogPropertiesOutput");
9294
9306
  var de_Classifier = /* @__PURE__ */ __name((output, context) => {
9295
9307
  return (0, import_smithy_client.take)(output, {
9296
9308
  CsvClassifier: /* @__PURE__ */ __name((_) => de_CsvClassifier(_, context), "CsvClassifier"),
@@ -10482,6 +10494,15 @@ var de_IcebergCompactionMetrics = /* @__PURE__ */ __name((output, context) => {
10482
10494
  NumberOfFilesCompacted: import_smithy_client.expectLong
10483
10495
  });
10484
10496
  }, "de_IcebergCompactionMetrics");
10497
+ var de_IcebergOptimizationPropertiesOutput = /* @__PURE__ */ __name((output, context) => {
10498
+ return (0, import_smithy_client.take)(output, {
10499
+ Compaction: import_smithy_client._json,
10500
+ LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
10501
+ OrphanFileDeletion: import_smithy_client._json,
10502
+ Retention: import_smithy_client._json,
10503
+ RoleArn: import_smithy_client.expectString
10504
+ });
10505
+ }, "de_IcebergOptimizationPropertiesOutput");
10485
10506
  var de_IcebergOrphanFileDeletionMetrics = /* @__PURE__ */ __name((output, context) => {
10486
10507
  return (0, import_smithy_client.take)(output, {
10487
10508
  DpuHours: import_smithy_client.limitedParseDouble,
@@ -11085,6 +11106,7 @@ var de_TableList = /* @__PURE__ */ __name((output, context) => {
11085
11106
  var de_TableOptimizer = /* @__PURE__ */ __name((output, context) => {
11086
11107
  return (0, import_smithy_client.take)(output, {
11087
11108
  configuration: import_smithy_client._json,
11109
+ configurationSource: import_smithy_client.expectString,
11088
11110
  lastRun: /* @__PURE__ */ __name((_) => de_TableOptimizerRun(_, context), "lastRun"),
11089
11111
  type: import_smithy_client.expectString
11090
11112
  });
@@ -15927,6 +15949,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
15927
15949
  TableOptimizerType,
15928
15950
  CompactionStrategy,
15929
15951
  TableOptimizerVpcConfiguration,
15952
+ ConfigurationSource,
15930
15953
  TableOptimizerEventType,
15931
15954
  ThrottlingException,
15932
15955
  CrawlState,
@@ -518,6 +518,10 @@ export var TableOptimizerVpcConfiguration;
518
518
  return visitor._(value.$unknown[0], value.$unknown[1]);
519
519
  };
520
520
  })(TableOptimizerVpcConfiguration || (TableOptimizerVpcConfiguration = {}));
521
+ export const ConfigurationSource = {
522
+ CATALOG: "catalog",
523
+ TABLE: "table",
524
+ };
521
525
  export const TableOptimizerEventType = {
522
526
  COMPLETED: "completed",
523
527
  FAILED: "failed",
@@ -6474,7 +6474,7 @@ const de_Catalog = (output, context) => {
6474
6474
  return take(output, {
6475
6475
  AllowFullTableExternalDataAccess: __expectString,
6476
6476
  CatalogId: __expectString,
6477
- CatalogProperties: _json,
6477
+ CatalogProperties: (_) => de_CatalogPropertiesOutput(_, context),
6478
6478
  CreateDatabaseDefaultPermissions: _json,
6479
6479
  CreateTableDefaultPermissions: _json,
6480
6480
  CreateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -6524,6 +6524,13 @@ const de_CatalogList = (output, context) => {
6524
6524
  });
6525
6525
  return retVal;
6526
6526
  };
6527
+ const de_CatalogPropertiesOutput = (output, context) => {
6528
+ return take(output, {
6529
+ CustomProperties: _json,
6530
+ DataLakeAccessProperties: _json,
6531
+ IcebergOptimizationProperties: (_) => de_IcebergOptimizationPropertiesOutput(_, context),
6532
+ });
6533
+ };
6527
6534
  const de_Classifier = (output, context) => {
6528
6535
  return take(output, {
6529
6536
  CsvClassifier: (_) => de_CsvClassifier(_, context),
@@ -7761,6 +7768,15 @@ const de_IcebergCompactionMetrics = (output, context) => {
7761
7768
  NumberOfFilesCompacted: __expectLong,
7762
7769
  });
7763
7770
  };
7771
+ const de_IcebergOptimizationPropertiesOutput = (output, context) => {
7772
+ return take(output, {
7773
+ Compaction: _json,
7774
+ LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
7775
+ OrphanFileDeletion: _json,
7776
+ Retention: _json,
7777
+ RoleArn: __expectString,
7778
+ });
7779
+ };
7764
7780
  const de_IcebergOrphanFileDeletionMetrics = (output, context) => {
7765
7781
  return take(output, {
7766
7782
  DpuHours: __limitedParseDouble,
@@ -8392,6 +8408,7 @@ const de_TableList = (output, context) => {
8392
8408
  const de_TableOptimizer = (output, context) => {
8393
8409
  return take(output, {
8394
8410
  configuration: _json,
8411
+ configurationSource: __expectString,
8395
8412
  lastRun: (_) => de_TableOptimizerRun(_, context),
8396
8413
  type: __expectString,
8397
8414
  });
@@ -63,6 +63,8 @@ declare const BatchGetTableOptimizerCommand_base: {
63
63
  * // compactionConfiguration: { // CompactionConfiguration
64
64
  * // icebergConfiguration: { // IcebergCompactionConfiguration
65
65
  * // strategy: "binpack" || "sort" || "z-order",
66
+ * // minInputFiles: Number("int"),
67
+ * // deleteFileThreshold: Number("int"),
66
68
  * // },
67
69
  * // },
68
70
  * // retentionConfiguration: { // RetentionConfiguration
@@ -70,12 +72,14 @@ declare const BatchGetTableOptimizerCommand_base: {
70
72
  * // snapshotRetentionPeriodInDays: Number("int"),
71
73
  * // numberOfSnapshotsToRetain: Number("int"),
72
74
  * // cleanExpiredFiles: true || false,
75
+ * // runRateInHours: Number("int"),
73
76
  * // },
74
77
  * // },
75
78
  * // orphanFileDeletionConfiguration: { // OrphanFileDeletionConfiguration
76
79
  * // icebergConfiguration: { // IcebergOrphanFileDeletionConfiguration
77
80
  * // orphanFileRetentionPeriodInDays: Number("int"),
78
81
  * // location: "STRING_VALUE",
82
+ * // runRateInHours: Number("int"),
79
83
  * // },
80
84
  * // },
81
85
  * // },
@@ -119,6 +123,7 @@ declare const BatchGetTableOptimizerCommand_base: {
119
123
  * // },
120
124
  * // },
121
125
  * // },
126
+ * // configurationSource: "catalog" || "table",
122
127
  * // },
123
128
  * // },
124
129
  * // ],
@@ -56,9 +56,19 @@ declare const CreateCatalogCommand_base: {
56
56
  * KmsKey: "STRING_VALUE",
57
57
  * CatalogType: "STRING_VALUE",
58
58
  * },
59
- * CustomProperties: {
60
- * "<keys>": "STRING_VALUE",
59
+ * IcebergOptimizationProperties: { // IcebergOptimizationProperties
60
+ * RoleArn: "STRING_VALUE",
61
+ * Compaction: {
62
+ * "<keys>": "STRING_VALUE",
63
+ * },
64
+ * Retention: {
65
+ * "<keys>": "STRING_VALUE",
66
+ * },
67
+ * OrphanFileDeletion: {
68
+ * "<keys>": "STRING_VALUE",
69
+ * },
61
70
  * },
71
+ * CustomProperties: "<ParametersMap>",
62
72
  * },
63
73
  * CreateTableDefaultPermissions: [ // PrincipalPermissionsList
64
74
  * { // PrincipalPermissions
@@ -48,6 +48,8 @@ declare const CreateTableOptimizerCommand_base: {
48
48
  * compactionConfiguration: { // CompactionConfiguration
49
49
  * icebergConfiguration: { // IcebergCompactionConfiguration
50
50
  * strategy: "binpack" || "sort" || "z-order",
51
+ * minInputFiles: Number("int"),
52
+ * deleteFileThreshold: Number("int"),
51
53
  * },
52
54
  * },
53
55
  * retentionConfiguration: { // RetentionConfiguration
@@ -55,12 +57,14 @@ declare const CreateTableOptimizerCommand_base: {
55
57
  * snapshotRetentionPeriodInDays: Number("int"),
56
58
  * numberOfSnapshotsToRetain: Number("int"),
57
59
  * cleanExpiredFiles: true || false,
60
+ * runRateInHours: Number("int"),
58
61
  * },
59
62
  * },
60
63
  * orphanFileDeletionConfiguration: { // OrphanFileDeletionConfiguration
61
64
  * icebergConfiguration: { // IcebergOrphanFileDeletionConfiguration
62
65
  * orphanFileRetentionPeriodInDays: Number("int"),
63
66
  * location: "STRING_VALUE",
67
+ * runRateInHours: Number("int"),
64
68
  * },
65
69
  * },
66
70
  * },
@@ -69,9 +69,20 @@ declare const GetCatalogCommand_base: {
69
69
  * // StatusMessage: "STRING_VALUE",
70
70
  * // CatalogType: "STRING_VALUE",
71
71
  * // },
72
- * // CustomProperties: {
73
- * // "<keys>": "STRING_VALUE",
72
+ * // IcebergOptimizationProperties: { // IcebergOptimizationPropertiesOutput
73
+ * // RoleArn: "STRING_VALUE",
74
+ * // Compaction: {
75
+ * // "<keys>": "STRING_VALUE",
76
+ * // },
77
+ * // Retention: {
78
+ * // "<keys>": "STRING_VALUE",
79
+ * // },
80
+ * // OrphanFileDeletion: {
81
+ * // "<keys>": "STRING_VALUE",
82
+ * // },
83
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
74
84
  * // },
85
+ * // CustomProperties: "<ParametersMap>",
75
86
  * // },
76
87
  * // CreateTableDefaultPermissions: [ // PrincipalPermissionsList
77
88
  * // { // PrincipalPermissions
@@ -74,9 +74,20 @@ declare const GetCatalogsCommand_base: {
74
74
  * // StatusMessage: "STRING_VALUE",
75
75
  * // CatalogType: "STRING_VALUE",
76
76
  * // },
77
- * // CustomProperties: {
78
- * // "<keys>": "STRING_VALUE",
77
+ * // IcebergOptimizationProperties: { // IcebergOptimizationPropertiesOutput
78
+ * // RoleArn: "STRING_VALUE",
79
+ * // Compaction: {
80
+ * // "<keys>": "STRING_VALUE",
81
+ * // },
82
+ * // Retention: {
83
+ * // "<keys>": "STRING_VALUE",
84
+ * // },
85
+ * // OrphanFileDeletion: {
86
+ * // "<keys>": "STRING_VALUE",
87
+ * // },
88
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
79
89
  * // },
90
+ * // CustomProperties: "<ParametersMap>",
80
91
  * // },
81
92
  * // CreateTableDefaultPermissions: [ // PrincipalPermissionsList
82
93
  * // { // PrincipalPermissions
@@ -57,6 +57,8 @@ declare const GetTableOptimizerCommand_base: {
57
57
  * // compactionConfiguration: { // CompactionConfiguration
58
58
  * // icebergConfiguration: { // IcebergCompactionConfiguration
59
59
  * // strategy: "binpack" || "sort" || "z-order",
60
+ * // minInputFiles: Number("int"),
61
+ * // deleteFileThreshold: Number("int"),
60
62
  * // },
61
63
  * // },
62
64
  * // retentionConfiguration: { // RetentionConfiguration
@@ -64,12 +66,14 @@ declare const GetTableOptimizerCommand_base: {
64
66
  * // snapshotRetentionPeriodInDays: Number("int"),
65
67
  * // numberOfSnapshotsToRetain: Number("int"),
66
68
  * // cleanExpiredFiles: true || false,
69
+ * // runRateInHours: Number("int"),
67
70
  * // },
68
71
  * // },
69
72
  * // orphanFileDeletionConfiguration: { // OrphanFileDeletionConfiguration
70
73
  * // icebergConfiguration: { // IcebergOrphanFileDeletionConfiguration
71
74
  * // orphanFileRetentionPeriodInDays: Number("int"),
72
75
  * // location: "STRING_VALUE",
76
+ * // runRateInHours: Number("int"),
73
77
  * // },
74
78
  * // },
75
79
  * // },
@@ -113,6 +117,7 @@ declare const GetTableOptimizerCommand_base: {
113
117
  * // },
114
118
  * // },
115
119
  * // },
120
+ * // configurationSource: "catalog" || "table",
116
121
  * // },
117
122
  * // };
118
123
  *
@@ -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 { ListWorkflowsRequest, ListWorkflowsResponse } from "../models/models_2";
4
+ import { ListWorkflowsRequest, ListWorkflowsResponse } from "../models/models_3";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +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 { ModifyIntegrationRequest } from "../models/models_2";
5
- import { ModifyIntegrationResponse } from "../models/models_3";
4
+ import { ModifyIntegrationRequest, ModifyIntegrationResponse } from "../models/models_3";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -56,9 +56,19 @@ declare const UpdateCatalogCommand_base: {
56
56
  * KmsKey: "STRING_VALUE",
57
57
  * CatalogType: "STRING_VALUE",
58
58
  * },
59
- * CustomProperties: {
60
- * "<keys>": "STRING_VALUE",
59
+ * IcebergOptimizationProperties: { // IcebergOptimizationProperties
60
+ * RoleArn: "STRING_VALUE",
61
+ * Compaction: {
62
+ * "<keys>": "STRING_VALUE",
63
+ * },
64
+ * Retention: {
65
+ * "<keys>": "STRING_VALUE",
66
+ * },
67
+ * OrphanFileDeletion: {
68
+ * "<keys>": "STRING_VALUE",
69
+ * },
61
70
  * },
71
+ * CustomProperties: "<ParametersMap>",
62
72
  * },
63
73
  * CreateTableDefaultPermissions: [ // PrincipalPermissionsList
64
74
  * { // PrincipalPermissions
@@ -48,6 +48,8 @@ declare const UpdateTableOptimizerCommand_base: {
48
48
  * compactionConfiguration: { // CompactionConfiguration
49
49
  * icebergConfiguration: { // IcebergCompactionConfiguration
50
50
  * strategy: "binpack" || "sort" || "z-order",
51
+ * minInputFiles: Number("int"),
52
+ * deleteFileThreshold: Number("int"),
51
53
  * },
52
54
  * },
53
55
  * retentionConfiguration: { // RetentionConfiguration
@@ -55,12 +57,14 @@ declare const UpdateTableOptimizerCommand_base: {
55
57
  * snapshotRetentionPeriodInDays: Number("int"),
56
58
  * numberOfSnapshotsToRetain: Number("int"),
57
59
  * cleanExpiredFiles: true || false,
60
+ * runRateInHours: Number("int"),
58
61
  * },
59
62
  * },
60
63
  * orphanFileDeletionConfiguration: { // OrphanFileDeletionConfiguration
61
64
  * icebergConfiguration: { // IcebergOrphanFileDeletionConfiguration
62
65
  * orphanFileRetentionPeriodInDays: Number("int"),
63
66
  * location: "STRING_VALUE",
67
+ * runRateInHours: Number("int"),
64
68
  * },
65
69
  * },
66
70
  * },
@@ -7413,6 +7413,16 @@ export interface IcebergCompactionConfiguration {
7413
7413
  * @public
7414
7414
  */
7415
7415
  strategy?: CompactionStrategy | undefined;
7416
+ /**
7417
+ * <p>The minimum number of data files that must be present in a partition before compaction will actually compact files. This parameter helps control when compaction is triggered, preventing unnecessary compaction operations on partitions with few files. If an input is not provided, the default value 100 will be used.</p>
7418
+ * @public
7419
+ */
7420
+ minInputFiles?: number | undefined;
7421
+ /**
7422
+ * <p>The minimum number of deletes that must be present in a data file to make it eligible for compaction. This parameter helps optimize compaction by focusing on files that contain a significant number of delete operations, which can improve query performance by removing deleted records. If an input is not provided, the default value 1 will be used.</p>
7423
+ * @public
7424
+ */
7425
+ deleteFileThreshold?: number | undefined;
7416
7426
  }
7417
7427
  /**
7418
7428
  * <p>The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve
@@ -7441,6 +7451,11 @@ export interface IcebergOrphanFileDeletionConfiguration {
7441
7451
  * @public
7442
7452
  */
7443
7453
  location?: string | undefined;
7454
+ /**
7455
+ * <p>The interval in hours between orphan file deletion job runs. This parameter controls how frequently the orphan file deletion optimizer will run to clean up orphan files. The value must be between 3 and 168 hours (7 days). If an input is not provided, the default value 24 will be used.</p>
7456
+ * @public
7457
+ */
7458
+ runRateInHours?: number | undefined;
7444
7459
  }
7445
7460
  /**
7446
7461
  * <p>The configuration for an orphan file deletion optimizer.</p>
@@ -7473,6 +7488,11 @@ export interface IcebergRetentionConfiguration {
7473
7488
  * @public
7474
7489
  */
7475
7490
  cleanExpiredFiles?: boolean | undefined;
7491
+ /**
7492
+ * <p>The interval in hours between retention job runs. This parameter controls how frequently the retention optimizer will run to clean up expired snapshots. The value must be between 3 and 168 hours (7 days). If an input is not provided, the default value 24 will be used.</p>
7493
+ * @public
7494
+ */
7495
+ runRateInHours?: number | undefined;
7476
7496
  }
7477
7497
  /**
7478
7498
  * <p>The configuration for a snapshot retention optimizer.</p>
@@ -7554,6 +7574,18 @@ export interface TableOptimizerConfiguration {
7554
7574
  */
7555
7575
  orphanFileDeletionConfiguration?: OrphanFileDeletionConfiguration | undefined;
7556
7576
  }
7577
+ /**
7578
+ * @public
7579
+ * @enum
7580
+ */
7581
+ export declare const ConfigurationSource: {
7582
+ readonly CATALOG: "catalog";
7583
+ readonly TABLE: "table";
7584
+ };
7585
+ /**
7586
+ * @public
7587
+ */
7588
+ export type ConfigurationSource = (typeof ConfigurationSource)[keyof typeof ConfigurationSource];
7557
7589
  /**
7558
7590
  * <p>Compaction metrics for Iceberg for the optimizer run.</p>
7559
7591
  * @public
@@ -7832,6 +7864,14 @@ export interface TableOptimizer {
7832
7864
  * @public
7833
7865
  */
7834
7866
  lastRun?: TableOptimizerRun | undefined;
7867
+ /**
7868
+ * <p>
7869
+ * Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service
7870
+ * initiated the configuration.
7871
+ * </p>
7872
+ * @public
7873
+ */
7874
+ configurationSource?: ConfigurationSource | undefined;
7835
7875
  }
7836
7876
  /**
7837
7877
  * <p>Contains details for one of the table optimizers returned by the <code>BatchGetTableOptimizer</code> operation.</p>
@@ -8164,23 +8204,6 @@ export interface BlueprintDetails {
8164
8204
  */
8165
8205
  RunId?: string | undefined;
8166
8206
  }
8167
- /**
8168
- * <p>An edge represents a directed connection between two Glue components that are part of the workflow the
8169
- * edge belongs to.</p>
8170
- * @public
8171
- */
8172
- export interface Edge {
8173
- /**
8174
- * <p>The unique of the node within the workflow where the edge starts.</p>
8175
- * @public
8176
- */
8177
- SourceId?: string | undefined;
8178
- /**
8179
- * <p>The unique of the node within the workflow where the edge ends.</p>
8180
- * @public
8181
- */
8182
- DestinationId?: string | undefined;
8183
- }
8184
8207
  /**
8185
8208
  * @internal
8186
8209
  */