@aws-sdk/client-glue 3.682.0 → 3.686.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 (62) hide show
  1. package/README.md +49 -1
  2. package/dist-cjs/index.js +298 -33
  3. package/dist-es/Glue.js +12 -0
  4. package/dist-es/commands/CreateColumnStatisticsTaskSettingsCommand.js +22 -0
  5. package/dist-es/commands/DeleteColumnStatisticsTaskSettingsCommand.js +22 -0
  6. package/dist-es/commands/GetColumnStatisticsTaskSettingsCommand.js +22 -0
  7. package/dist-es/commands/StartColumnStatisticsTaskRunScheduleCommand.js +22 -0
  8. package/dist-es/commands/StopColumnStatisticsTaskRunScheduleCommand.js +22 -0
  9. package/dist-es/commands/UpdateColumnStatisticsTaskSettingsCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_1.js +17 -9
  12. package/dist-es/models/models_2.js +9 -13
  13. package/dist-es/protocols/Aws_json1_1.js +162 -5
  14. package/dist-types/Glue.d.ts +42 -0
  15. package/dist-types/GlueClient.d.ts +8 -2
  16. package/dist-types/commands/CreateColumnStatisticsTaskSettingsCommand.d.ts +102 -0
  17. package/dist-types/commands/DeleteColumnStatisticsTaskSettingsCommand.d.ts +79 -0
  18. package/dist-types/commands/GetColumnStatisticsTaskRunCommand.d.ts +1 -0
  19. package/dist-types/commands/GetColumnStatisticsTaskRunsCommand.d.ts +1 -0
  20. package/dist-types/commands/GetColumnStatisticsTaskSettingsCommand.d.ts +95 -0
  21. package/dist-types/commands/GetMLTaskRunCommand.d.ts +2 -1
  22. package/dist-types/commands/GetMLTaskRunsCommand.d.ts +1 -1
  23. package/dist-types/commands/StartColumnStatisticsTaskRunScheduleCommand.d.ts +82 -0
  24. package/dist-types/commands/StopColumnStatisticsTaskRunScheduleCommand.d.ts +79 -0
  25. package/dist-types/commands/UpdateColumnStatisticsTaskSettingsCommand.d.ts +93 -0
  26. package/dist-types/commands/UpdateDevEndpointCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateJobCommand.d.ts +1 -2
  28. package/dist-types/commands/UpdateJobFromSourceControlCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateMLTransformCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdatePartitionCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateRegistryCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateSchemaCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateSourceControlFromJobCommand.d.ts +1 -2
  34. package/dist-types/commands/index.d.ts +6 -0
  35. package/dist-types/models/models_1.d.ts +181 -259
  36. package/dist-types/models/models_2.d.ts +374 -444
  37. package/dist-types/models/models_3.d.ts +404 -3
  38. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  39. package/dist-types/ts3.4/Glue.d.ts +132 -0
  40. package/dist-types/ts3.4/GlueClient.d.ts +36 -0
  41. package/dist-types/ts3.4/commands/CreateColumnStatisticsTaskSettingsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/DeleteColumnStatisticsTaskSettingsCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/GetColumnStatisticsTaskSettingsCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/GetMLTaskRunCommand.d.ts +2 -1
  45. package/dist-types/ts3.4/commands/GetMLTaskRunsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/StartColumnStatisticsTaskRunScheduleCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/StopColumnStatisticsTaskRunScheduleCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/UpdateColumnStatisticsTaskSettingsCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/UpdateDevEndpointCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +1 -2
  51. package/dist-types/ts3.4/commands/UpdateJobFromSourceControlCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/UpdateMLTransformCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/UpdatePartitionCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/UpdateSchemaCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UpdateSourceControlFromJobCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  58. package/dist-types/ts3.4/models/models_1.d.ts +53 -65
  59. package/dist-types/ts3.4/models/models_2.d.ts +91 -97
  60. package/dist-types/ts3.4/models/models_3.d.ts +91 -0
  61. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  62. package/package.json +35 -35
package/dist-es/Glue.js CHANGED
@@ -24,6 +24,7 @@ import { CancelStatementCommand, } from "./commands/CancelStatementCommand";
24
24
  import { CheckSchemaVersionValidityCommand, } from "./commands/CheckSchemaVersionValidityCommand";
25
25
  import { CreateBlueprintCommand, } from "./commands/CreateBlueprintCommand";
26
26
  import { CreateClassifierCommand, } from "./commands/CreateClassifierCommand";
27
+ import { CreateColumnStatisticsTaskSettingsCommand, } from "./commands/CreateColumnStatisticsTaskSettingsCommand";
27
28
  import { CreateConnectionCommand, } from "./commands/CreateConnectionCommand";
28
29
  import { CreateCrawlerCommand, } from "./commands/CreateCrawlerCommand";
29
30
  import { CreateCustomEntityTypeCommand, } from "./commands/CreateCustomEntityTypeCommand";
@@ -49,6 +50,7 @@ import { DeleteBlueprintCommand, } from "./commands/DeleteBlueprintCommand";
49
50
  import { DeleteClassifierCommand, } from "./commands/DeleteClassifierCommand";
50
51
  import { DeleteColumnStatisticsForPartitionCommand, } from "./commands/DeleteColumnStatisticsForPartitionCommand";
51
52
  import { DeleteColumnStatisticsForTableCommand, } from "./commands/DeleteColumnStatisticsForTableCommand";
53
+ import { DeleteColumnStatisticsTaskSettingsCommand, } from "./commands/DeleteColumnStatisticsTaskSettingsCommand";
52
54
  import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
53
55
  import { DeleteCrawlerCommand, } from "./commands/DeleteCrawlerCommand";
54
56
  import { DeleteCustomEntityTypeCommand, } from "./commands/DeleteCustomEntityTypeCommand";
@@ -82,6 +84,7 @@ import { GetColumnStatisticsForPartitionCommand, } from "./commands/GetColumnSta
82
84
  import { GetColumnStatisticsForTableCommand, } from "./commands/GetColumnStatisticsForTableCommand";
83
85
  import { GetColumnStatisticsTaskRunCommand, } from "./commands/GetColumnStatisticsTaskRunCommand";
84
86
  import { GetColumnStatisticsTaskRunsCommand, } from "./commands/GetColumnStatisticsTaskRunsCommand";
87
+ import { GetColumnStatisticsTaskSettingsCommand, } from "./commands/GetColumnStatisticsTaskSettingsCommand";
85
88
  import { GetConnectionCommand, } from "./commands/GetConnectionCommand";
86
89
  import { GetConnectionsCommand, } from "./commands/GetConnectionsCommand";
87
90
  import { GetCrawlerCommand } from "./commands/GetCrawlerCommand";
@@ -181,6 +184,7 @@ import { RunStatementCommand, } from "./commands/RunStatementCommand";
181
184
  import { SearchTablesCommand, } from "./commands/SearchTablesCommand";
182
185
  import { StartBlueprintRunCommand, } from "./commands/StartBlueprintRunCommand";
183
186
  import { StartColumnStatisticsTaskRunCommand, } from "./commands/StartColumnStatisticsTaskRunCommand";
187
+ import { StartColumnStatisticsTaskRunScheduleCommand, } from "./commands/StartColumnStatisticsTaskRunScheduleCommand";
184
188
  import { StartCrawlerCommand, } from "./commands/StartCrawlerCommand";
185
189
  import { StartCrawlerScheduleCommand, } from "./commands/StartCrawlerScheduleCommand";
186
190
  import { StartDataQualityRuleRecommendationRunCommand, } from "./commands/StartDataQualityRuleRecommendationRunCommand";
@@ -193,6 +197,7 @@ import { StartMLLabelingSetGenerationTaskRunCommand, } from "./commands/StartMLL
193
197
  import { StartTriggerCommand, } from "./commands/StartTriggerCommand";
194
198
  import { StartWorkflowRunCommand, } from "./commands/StartWorkflowRunCommand";
195
199
  import { StopColumnStatisticsTaskRunCommand, } from "./commands/StopColumnStatisticsTaskRunCommand";
200
+ import { StopColumnStatisticsTaskRunScheduleCommand, } from "./commands/StopColumnStatisticsTaskRunScheduleCommand";
196
201
  import { StopCrawlerCommand } from "./commands/StopCrawlerCommand";
197
202
  import { StopCrawlerScheduleCommand, } from "./commands/StopCrawlerScheduleCommand";
198
203
  import { StopSessionCommand } from "./commands/StopSessionCommand";
@@ -205,6 +210,7 @@ import { UpdateBlueprintCommand, } from "./commands/UpdateBlueprintCommand";
205
210
  import { UpdateClassifierCommand, } from "./commands/UpdateClassifierCommand";
206
211
  import { UpdateColumnStatisticsForPartitionCommand, } from "./commands/UpdateColumnStatisticsForPartitionCommand";
207
212
  import { UpdateColumnStatisticsForTableCommand, } from "./commands/UpdateColumnStatisticsForTableCommand";
213
+ import { UpdateColumnStatisticsTaskSettingsCommand, } from "./commands/UpdateColumnStatisticsTaskSettingsCommand";
208
214
  import { UpdateConnectionCommand, } from "./commands/UpdateConnectionCommand";
209
215
  import { UpdateCrawlerCommand, } from "./commands/UpdateCrawlerCommand";
210
216
  import { UpdateCrawlerScheduleCommand, } from "./commands/UpdateCrawlerScheduleCommand";
@@ -251,6 +257,7 @@ const commands = {
251
257
  CheckSchemaVersionValidityCommand,
252
258
  CreateBlueprintCommand,
253
259
  CreateClassifierCommand,
260
+ CreateColumnStatisticsTaskSettingsCommand,
254
261
  CreateConnectionCommand,
255
262
  CreateCrawlerCommand,
256
263
  CreateCustomEntityTypeCommand,
@@ -276,6 +283,7 @@ const commands = {
276
283
  DeleteClassifierCommand,
277
284
  DeleteColumnStatisticsForPartitionCommand,
278
285
  DeleteColumnStatisticsForTableCommand,
286
+ DeleteColumnStatisticsTaskSettingsCommand,
279
287
  DeleteConnectionCommand,
280
288
  DeleteCrawlerCommand,
281
289
  DeleteCustomEntityTypeCommand,
@@ -309,6 +317,7 @@ const commands = {
309
317
  GetColumnStatisticsForTableCommand,
310
318
  GetColumnStatisticsTaskRunCommand,
311
319
  GetColumnStatisticsTaskRunsCommand,
320
+ GetColumnStatisticsTaskSettingsCommand,
312
321
  GetConnectionCommand,
313
322
  GetConnectionsCommand,
314
323
  GetCrawlerCommand,
@@ -408,6 +417,7 @@ const commands = {
408
417
  SearchTablesCommand,
409
418
  StartBlueprintRunCommand,
410
419
  StartColumnStatisticsTaskRunCommand,
420
+ StartColumnStatisticsTaskRunScheduleCommand,
411
421
  StartCrawlerCommand,
412
422
  StartCrawlerScheduleCommand,
413
423
  StartDataQualityRuleRecommendationRunCommand,
@@ -420,6 +430,7 @@ const commands = {
420
430
  StartTriggerCommand,
421
431
  StartWorkflowRunCommand,
422
432
  StopColumnStatisticsTaskRunCommand,
433
+ StopColumnStatisticsTaskRunScheduleCommand,
423
434
  StopCrawlerCommand,
424
435
  StopCrawlerScheduleCommand,
425
436
  StopSessionCommand,
@@ -432,6 +443,7 @@ const commands = {
432
443
  UpdateClassifierCommand,
433
444
  UpdateColumnStatisticsForPartitionCommand,
434
445
  UpdateColumnStatisticsForTableCommand,
446
+ UpdateColumnStatisticsTaskSettingsCommand,
435
447
  UpdateConnectionCommand,
436
448
  UpdateCrawlerCommand,
437
449
  UpdateCrawlerScheduleCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateColumnStatisticsTaskSettingsCommand, se_CreateColumnStatisticsTaskSettingsCommand, } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class CreateColumnStatisticsTaskSettingsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSGlue", "CreateColumnStatisticsTaskSettings", {})
17
+ .n("GlueClient", "CreateColumnStatisticsTaskSettingsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateColumnStatisticsTaskSettingsCommand)
20
+ .de(de_CreateColumnStatisticsTaskSettingsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteColumnStatisticsTaskSettingsCommand, se_DeleteColumnStatisticsTaskSettingsCommand, } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DeleteColumnStatisticsTaskSettingsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSGlue", "DeleteColumnStatisticsTaskSettings", {})
17
+ .n("GlueClient", "DeleteColumnStatisticsTaskSettingsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteColumnStatisticsTaskSettingsCommand)
20
+ .de(de_DeleteColumnStatisticsTaskSettingsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetColumnStatisticsTaskSettingsCommand, se_GetColumnStatisticsTaskSettingsCommand, } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class GetColumnStatisticsTaskSettingsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSGlue", "GetColumnStatisticsTaskSettings", {})
17
+ .n("GlueClient", "GetColumnStatisticsTaskSettingsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetColumnStatisticsTaskSettingsCommand)
20
+ .de(de_GetColumnStatisticsTaskSettingsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StartColumnStatisticsTaskRunScheduleCommand, se_StartColumnStatisticsTaskRunScheduleCommand, } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class StartColumnStatisticsTaskRunScheduleCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSGlue", "StartColumnStatisticsTaskRunSchedule", {})
17
+ .n("GlueClient", "StartColumnStatisticsTaskRunScheduleCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartColumnStatisticsTaskRunScheduleCommand)
20
+ .de(de_StartColumnStatisticsTaskRunScheduleCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StopColumnStatisticsTaskRunScheduleCommand, se_StopColumnStatisticsTaskRunScheduleCommand, } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class StopColumnStatisticsTaskRunScheduleCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSGlue", "StopColumnStatisticsTaskRunSchedule", {})
17
+ .n("GlueClient", "StopColumnStatisticsTaskRunScheduleCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StopColumnStatisticsTaskRunScheduleCommand)
20
+ .de(de_StopColumnStatisticsTaskRunScheduleCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateColumnStatisticsTaskSettingsCommand, se_UpdateColumnStatisticsTaskSettingsCommand, } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class UpdateColumnStatisticsTaskSettingsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSGlue", "UpdateColumnStatisticsTaskSettings", {})
17
+ .n("GlueClient", "UpdateColumnStatisticsTaskSettingsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateColumnStatisticsTaskSettingsCommand)
20
+ .de(de_UpdateColumnStatisticsTaskSettingsCommand)
21
+ .build() {
22
+ }
@@ -23,6 +23,7 @@ export * from "./CancelStatementCommand";
23
23
  export * from "./CheckSchemaVersionValidityCommand";
24
24
  export * from "./CreateBlueprintCommand";
25
25
  export * from "./CreateClassifierCommand";
26
+ export * from "./CreateColumnStatisticsTaskSettingsCommand";
26
27
  export * from "./CreateConnectionCommand";
27
28
  export * from "./CreateCrawlerCommand";
28
29
  export * from "./CreateCustomEntityTypeCommand";
@@ -48,6 +49,7 @@ export * from "./DeleteBlueprintCommand";
48
49
  export * from "./DeleteClassifierCommand";
49
50
  export * from "./DeleteColumnStatisticsForPartitionCommand";
50
51
  export * from "./DeleteColumnStatisticsForTableCommand";
52
+ export * from "./DeleteColumnStatisticsTaskSettingsCommand";
51
53
  export * from "./DeleteConnectionCommand";
52
54
  export * from "./DeleteCrawlerCommand";
53
55
  export * from "./DeleteCustomEntityTypeCommand";
@@ -81,6 +83,7 @@ export * from "./GetColumnStatisticsForPartitionCommand";
81
83
  export * from "./GetColumnStatisticsForTableCommand";
82
84
  export * from "./GetColumnStatisticsTaskRunCommand";
83
85
  export * from "./GetColumnStatisticsTaskRunsCommand";
86
+ export * from "./GetColumnStatisticsTaskSettingsCommand";
84
87
  export * from "./GetConnectionCommand";
85
88
  export * from "./GetConnectionsCommand";
86
89
  export * from "./GetCrawlerCommand";
@@ -180,6 +183,7 @@ export * from "./RunStatementCommand";
180
183
  export * from "./SearchTablesCommand";
181
184
  export * from "./StartBlueprintRunCommand";
182
185
  export * from "./StartColumnStatisticsTaskRunCommand";
186
+ export * from "./StartColumnStatisticsTaskRunScheduleCommand";
183
187
  export * from "./StartCrawlerCommand";
184
188
  export * from "./StartCrawlerScheduleCommand";
185
189
  export * from "./StartDataQualityRuleRecommendationRunCommand";
@@ -192,6 +196,7 @@ export * from "./StartMLLabelingSetGenerationTaskRunCommand";
192
196
  export * from "./StartTriggerCommand";
193
197
  export * from "./StartWorkflowRunCommand";
194
198
  export * from "./StopColumnStatisticsTaskRunCommand";
199
+ export * from "./StopColumnStatisticsTaskRunScheduleCommand";
195
200
  export * from "./StopCrawlerCommand";
196
201
  export * from "./StopCrawlerScheduleCommand";
197
202
  export * from "./StopSessionCommand";
@@ -204,6 +209,7 @@ export * from "./UpdateBlueprintCommand";
204
209
  export * from "./UpdateClassifierCommand";
205
210
  export * from "./UpdateColumnStatisticsForPartitionCommand";
206
211
  export * from "./UpdateColumnStatisticsForTableCommand";
212
+ export * from "./UpdateColumnStatisticsTaskSettingsCommand";
207
213
  export * from "./UpdateConnectionCommand";
208
214
  export * from "./UpdateCrawlerCommand";
209
215
  export * from "./UpdateCrawlerScheduleCommand";
@@ -37,6 +37,19 @@ export const CsvSerdeOption = {
37
37
  None: "None",
38
38
  OpenCSVSerDe: "OpenCSVSerDe",
39
39
  };
40
+ export class ColumnStatisticsTaskRunningException extends __BaseException {
41
+ constructor(opts) {
42
+ super({
43
+ name: "ColumnStatisticsTaskRunningException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ this.name = "ColumnStatisticsTaskRunningException";
48
+ this.$fault = "client";
49
+ Object.setPrototypeOf(this, ColumnStatisticsTaskRunningException.prototype);
50
+ this.Message = opts.Message;
51
+ }
52
+ }
40
53
  export const ConnectionPropertyKey = {
41
54
  CLUSTER_IDENTIFIER: "CLUSTER_IDENTIFIER",
42
55
  CONFIG_FILES: "CONFIG_FILES",
@@ -322,6 +335,10 @@ export const ColumnStatisticsType = {
322
335
  LONG: "LONG",
323
336
  STRING: "STRING",
324
337
  };
338
+ export const ComputationType = {
339
+ FULL: "FULL",
340
+ INCREMENTAL: "INCREMENTAL",
341
+ };
325
342
  export const ColumnStatisticsState = {
326
343
  FAILED: "FAILED",
327
344
  RUNNING: "RUNNING",
@@ -358,15 +375,6 @@ export const TaskType = {
358
375
  IMPORT_LABELS: "IMPORT_LABELS",
359
376
  LABELING_SET_GENERATION: "LABELING_SET_GENERATION",
360
377
  };
361
- export const TaskRunSortColumnType = {
362
- STARTED: "STARTED",
363
- STATUS: "STATUS",
364
- TASK_RUN_TYPE: "TASK_RUN_TYPE",
365
- };
366
- export const SortDirectionType = {
367
- ASCENDING: "ASCENDING",
368
- DESCENDING: "DESCENDING",
369
- };
370
378
  export const ConnectionInputFilterSensitiveLog = (obj) => ({
371
379
  ...obj,
372
380
  ...(obj.AuthenticationConfiguration && {
@@ -2,6 +2,15 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
3
3
  import { AuthenticationConfigurationInputFilterSensitiveLog, } from "./models_0";
4
4
  import { ConnectionInputFilterSensitiveLog, } from "./models_1";
5
+ export const TaskRunSortColumnType = {
6
+ STARTED: "STARTED",
7
+ STATUS: "STATUS",
8
+ TASK_RUN_TYPE: "TASK_RUN_TYPE",
9
+ };
10
+ export const SortDirectionType = {
11
+ ASCENDING: "ASCENDING",
12
+ DESCENDING: "DESCENDING",
13
+ };
5
14
  export const TransformStatusType = {
6
15
  DELETING: "DELETING",
7
16
  NOT_READY: "NOT_READY",
@@ -157,19 +166,6 @@ export class IllegalBlueprintStateException extends __BaseException {
157
166
  this.Message = opts.Message;
158
167
  }
159
168
  }
160
- export class ColumnStatisticsTaskRunningException extends __BaseException {
161
- constructor(opts) {
162
- super({
163
- name: "ColumnStatisticsTaskRunningException",
164
- $fault: "client",
165
- ...opts,
166
- });
167
- this.name = "ColumnStatisticsTaskRunningException";
168
- this.$fault = "client";
169
- Object.setPrototypeOf(this, ColumnStatisticsTaskRunningException.prototype);
170
- this.Message = opts.Message;
171
- }
172
- }
173
169
  export class NoScheduleException extends __BaseException {
174
170
  constructor(opts) {
175
171
  super({
@@ -3,8 +3,8 @@ 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
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
- import { ColumnStatisticsTaskNotRunningException, ColumnStatisticsTaskRunningException, ColumnStatisticsTaskStoppingException, ConcurrentRunsExceededException, CrawlerNotRunningException, CrawlerStoppingException, IllegalBlueprintStateException, IllegalWorkflowStateException, MLTransformNotReadyException, NoScheduleException, PermissionTypeMismatchException, SchedulerNotRunningException, SchedulerRunningException, VersionMismatchException, } from "../models/models_2";
6
+ import { ColumnStatisticsTaskRunningException, ConcurrentModificationException, ConditionCheckFailureException, ConflictException, CrawlerRunningException, FederatedResourceAlreadyExistsException, IdempotentParameterMismatchException, IllegalSessionStateException, OperationNotSupportedException, SchedulerTransitioningException, ValidationException, } from "../models/models_1";
7
+ import { ColumnStatisticsTaskNotRunningException, 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");
10
10
  let body;
@@ -155,6 +155,12 @@ export const se_CreateClassifierCommand = async (input, context) => {
155
155
  body = JSON.stringify(_json(input));
156
156
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
157
157
  };
158
+ export const se_CreateColumnStatisticsTaskSettingsCommand = async (input, context) => {
159
+ const headers = sharedHeaders("CreateColumnStatisticsTaskSettings");
160
+ let body;
161
+ body = JSON.stringify(se_CreateColumnStatisticsTaskSettingsRequest(input, context));
162
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
163
+ };
158
164
  export const se_CreateConnectionCommand = async (input, context) => {
159
165
  const headers = sharedHeaders("CreateConnection");
160
166
  let body;
@@ -305,6 +311,12 @@ export const se_DeleteColumnStatisticsForTableCommand = async (input, context) =
305
311
  body = JSON.stringify(_json(input));
306
312
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
307
313
  };
314
+ export const se_DeleteColumnStatisticsTaskSettingsCommand = async (input, context) => {
315
+ const headers = sharedHeaders("DeleteColumnStatisticsTaskSettings");
316
+ let body;
317
+ body = JSON.stringify(_json(input));
318
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
319
+ };
308
320
  export const se_DeleteConnectionCommand = async (input, context) => {
309
321
  const headers = sharedHeaders("DeleteConnection");
310
322
  let body;
@@ -503,6 +515,12 @@ export const se_GetColumnStatisticsTaskRunsCommand = async (input, context) => {
503
515
  body = JSON.stringify(_json(input));
504
516
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
505
517
  };
518
+ export const se_GetColumnStatisticsTaskSettingsCommand = async (input, context) => {
519
+ const headers = sharedHeaders("GetColumnStatisticsTaskSettings");
520
+ let body;
521
+ body = JSON.stringify(_json(input));
522
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
523
+ };
506
524
  export const se_GetConnectionCommand = async (input, context) => {
507
525
  const headers = sharedHeaders("GetConnection");
508
526
  let body;
@@ -1097,6 +1115,12 @@ export const se_StartColumnStatisticsTaskRunCommand = async (input, context) =>
1097
1115
  body = JSON.stringify(se_StartColumnStatisticsTaskRunRequest(input, context));
1098
1116
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1099
1117
  };
1118
+ export const se_StartColumnStatisticsTaskRunScheduleCommand = async (input, context) => {
1119
+ const headers = sharedHeaders("StartColumnStatisticsTaskRunSchedule");
1120
+ let body;
1121
+ body = JSON.stringify(_json(input));
1122
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1123
+ };
1100
1124
  export const se_StartCrawlerCommand = async (input, context) => {
1101
1125
  const headers = sharedHeaders("StartCrawler");
1102
1126
  let body;
@@ -1169,6 +1193,12 @@ export const se_StopColumnStatisticsTaskRunCommand = async (input, context) => {
1169
1193
  body = JSON.stringify(_json(input));
1170
1194
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1171
1195
  };
1196
+ export const se_StopColumnStatisticsTaskRunScheduleCommand = async (input, context) => {
1197
+ const headers = sharedHeaders("StopColumnStatisticsTaskRunSchedule");
1198
+ let body;
1199
+ body = JSON.stringify(_json(input));
1200
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1201
+ };
1172
1202
  export const se_StopCrawlerCommand = async (input, context) => {
1173
1203
  const headers = sharedHeaders("StopCrawler");
1174
1204
  let body;
@@ -1241,6 +1271,12 @@ export const se_UpdateColumnStatisticsForTableCommand = async (input, context) =
1241
1271
  body = JSON.stringify(se_UpdateColumnStatisticsForTableRequest(input, context));
1242
1272
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1243
1273
  };
1274
+ export const se_UpdateColumnStatisticsTaskSettingsCommand = async (input, context) => {
1275
+ const headers = sharedHeaders("UpdateColumnStatisticsTaskSettings");
1276
+ let body;
1277
+ body = JSON.stringify(se_UpdateColumnStatisticsTaskSettingsRequest(input, context));
1278
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1279
+ };
1244
1280
  export const se_UpdateConnectionCommand = async (input, context) => {
1245
1281
  const headers = sharedHeaders("UpdateConnection");
1246
1282
  let body;
@@ -1680,6 +1716,19 @@ export const de_CreateClassifierCommand = async (output, context) => {
1680
1716
  };
1681
1717
  return response;
1682
1718
  };
1719
+ export const de_CreateColumnStatisticsTaskSettingsCommand = async (output, context) => {
1720
+ if (output.statusCode >= 300) {
1721
+ return de_CommandError(output, context);
1722
+ }
1723
+ const data = await parseBody(output.body, context);
1724
+ let contents = {};
1725
+ contents = _json(data);
1726
+ const response = {
1727
+ $metadata: deserializeMetadata(output),
1728
+ ...contents,
1729
+ };
1730
+ return response;
1731
+ };
1683
1732
  export const de_CreateConnectionCommand = async (output, context) => {
1684
1733
  if (output.statusCode >= 300) {
1685
1734
  return de_CommandError(output, context);
@@ -2005,6 +2054,19 @@ export const de_DeleteColumnStatisticsForTableCommand = async (output, context)
2005
2054
  };
2006
2055
  return response;
2007
2056
  };
2057
+ export const de_DeleteColumnStatisticsTaskSettingsCommand = async (output, context) => {
2058
+ if (output.statusCode >= 300) {
2059
+ return de_CommandError(output, context);
2060
+ }
2061
+ const data = await parseBody(output.body, context);
2062
+ let contents = {};
2063
+ contents = _json(data);
2064
+ const response = {
2065
+ $metadata: deserializeMetadata(output),
2066
+ ...contents,
2067
+ };
2068
+ return response;
2069
+ };
2008
2070
  export const de_DeleteConnectionCommand = async (output, context) => {
2009
2071
  if (output.statusCode >= 300) {
2010
2072
  return de_CommandError(output, context);
@@ -2434,6 +2496,19 @@ export const de_GetColumnStatisticsTaskRunsCommand = async (output, context) =>
2434
2496
  };
2435
2497
  return response;
2436
2498
  };
2499
+ export const de_GetColumnStatisticsTaskSettingsCommand = async (output, context) => {
2500
+ if (output.statusCode >= 300) {
2501
+ return de_CommandError(output, context);
2502
+ }
2503
+ const data = await parseBody(output.body, context);
2504
+ let contents = {};
2505
+ contents = de_GetColumnStatisticsTaskSettingsResponse(data, context);
2506
+ const response = {
2507
+ $metadata: deserializeMetadata(output),
2508
+ ...contents,
2509
+ };
2510
+ return response;
2511
+ };
2437
2512
  export const de_GetConnectionCommand = async (output, context) => {
2438
2513
  if (output.statusCode >= 300) {
2439
2514
  return de_CommandError(output, context);
@@ -3721,6 +3796,19 @@ export const de_StartColumnStatisticsTaskRunCommand = async (output, context) =>
3721
3796
  };
3722
3797
  return response;
3723
3798
  };
3799
+ export const de_StartColumnStatisticsTaskRunScheduleCommand = async (output, context) => {
3800
+ if (output.statusCode >= 300) {
3801
+ return de_CommandError(output, context);
3802
+ }
3803
+ const data = await parseBody(output.body, context);
3804
+ let contents = {};
3805
+ contents = _json(data);
3806
+ const response = {
3807
+ $metadata: deserializeMetadata(output),
3808
+ ...contents,
3809
+ };
3810
+ return response;
3811
+ };
3724
3812
  export const de_StartCrawlerCommand = async (output, context) => {
3725
3813
  if (output.statusCode >= 300) {
3726
3814
  return de_CommandError(output, context);
@@ -3877,6 +3965,19 @@ export const de_StopColumnStatisticsTaskRunCommand = async (output, context) =>
3877
3965
  };
3878
3966
  return response;
3879
3967
  };
3968
+ export const de_StopColumnStatisticsTaskRunScheduleCommand = async (output, context) => {
3969
+ if (output.statusCode >= 300) {
3970
+ return de_CommandError(output, context);
3971
+ }
3972
+ const data = await parseBody(output.body, context);
3973
+ let contents = {};
3974
+ contents = _json(data);
3975
+ const response = {
3976
+ $metadata: deserializeMetadata(output),
3977
+ ...contents,
3978
+ };
3979
+ return response;
3980
+ };
3880
3981
  export const de_StopCrawlerCommand = async (output, context) => {
3881
3982
  if (output.statusCode >= 300) {
3882
3983
  return de_CommandError(output, context);
@@ -4033,6 +4134,19 @@ export const de_UpdateColumnStatisticsForTableCommand = async (output, context)
4033
4134
  };
4034
4135
  return response;
4035
4136
  };
4137
+ export const de_UpdateColumnStatisticsTaskSettingsCommand = async (output, context) => {
4138
+ if (output.statusCode >= 300) {
4139
+ return de_CommandError(output, context);
4140
+ }
4141
+ const data = await parseBody(output.body, context);
4142
+ let contents = {};
4143
+ contents = _json(data);
4144
+ const response = {
4145
+ $metadata: deserializeMetadata(output),
4146
+ ...contents,
4147
+ };
4148
+ return response;
4149
+ };
4036
4150
  export const de_UpdateConnectionCommand = async (output, context) => {
4037
4151
  if (output.statusCode >= 300) {
4038
4152
  return de_CommandError(output, context);
@@ -4329,6 +4443,9 @@ const de_CommandError = async (output, context) => {
4329
4443
  case "IllegalSessionStateException":
4330
4444
  case "com.amazonaws.glue#IllegalSessionStateException":
4331
4445
  throw await de_IllegalSessionStateExceptionRes(parsedOutput, context);
4446
+ case "ColumnStatisticsTaskRunningException":
4447
+ case "com.amazonaws.glue#ColumnStatisticsTaskRunningException":
4448
+ throw await de_ColumnStatisticsTaskRunningExceptionRes(parsedOutput, context);
4332
4449
  case "IdempotentParameterMismatchException":
4333
4450
  case "com.amazonaws.glue#IdempotentParameterMismatchException":
4334
4451
  throw await de_IdempotentParameterMismatchExceptionRes(parsedOutput, context);
@@ -4368,9 +4485,6 @@ const de_CommandError = async (output, context) => {
4368
4485
  case "IllegalBlueprintStateException":
4369
4486
  case "com.amazonaws.glue#IllegalBlueprintStateException":
4370
4487
  throw await de_IllegalBlueprintStateExceptionRes(parsedOutput, context);
4371
- case "ColumnStatisticsTaskRunningException":
4372
- case "com.amazonaws.glue#ColumnStatisticsTaskRunningException":
4373
- throw await de_ColumnStatisticsTaskRunningExceptionRes(parsedOutput, context);
4374
4488
  case "NoScheduleException":
4375
4489
  case "com.amazonaws.glue#NoScheduleException":
4376
4490
  throw await de_NoScheduleExceptionRes(parsedOutput, context);
@@ -4921,6 +5035,19 @@ const se_CrawlerTargets = (input, context) => {
4921
5035
  S3Targets: _json,
4922
5036
  });
4923
5037
  };
5038
+ const se_CreateColumnStatisticsTaskSettingsRequest = (input, context) => {
5039
+ return take(input, {
5040
+ CatalogID: [],
5041
+ ColumnNameList: _json,
5042
+ DatabaseName: [],
5043
+ Role: [],
5044
+ SampleSize: __serializeFloat,
5045
+ Schedule: [],
5046
+ SecurityConfiguration: [],
5047
+ TableName: [],
5048
+ Tags: _json,
5049
+ });
5050
+ };
4924
5051
  const se_CreateCrawlerRequest = (input, context) => {
4925
5052
  return take(input, {
4926
5053
  Classifiers: _json,
@@ -5527,6 +5654,18 @@ const se_UpdateColumnStatisticsList = (input, context) => {
5527
5654
  return se_ColumnStatistics(entry, context);
5528
5655
  });
5529
5656
  };
5657
+ const se_UpdateColumnStatisticsTaskSettingsRequest = (input, context) => {
5658
+ return take(input, {
5659
+ CatalogID: [],
5660
+ ColumnNameList: _json,
5661
+ DatabaseName: [],
5662
+ Role: [],
5663
+ SampleSize: __serializeFloat,
5664
+ Schedule: [],
5665
+ SecurityConfiguration: [],
5666
+ TableName: [],
5667
+ });
5668
+ };
5530
5669
  const se_UpdateCrawlerRequest = (input, context) => {
5531
5670
  return take(input, {
5532
5671
  Classifiers: _json,
@@ -5907,6 +6046,7 @@ const de_ColumnStatisticsTaskRun = (output, context) => {
5907
6046
  CatalogID: __expectString,
5908
6047
  ColumnNameList: _json,
5909
6048
  ColumnStatisticsTaskRunId: __expectString,
6049
+ ComputationType: __expectString,
5910
6050
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
5911
6051
  CustomerId: __expectString,
5912
6052
  DPUSeconds: __limitedParseDouble,
@@ -5932,6 +6072,18 @@ const de_ColumnStatisticsTaskRunsList = (output, context) => {
5932
6072
  });
5933
6073
  return retVal;
5934
6074
  };
6075
+ const de_ColumnStatisticsTaskSettings = (output, context) => {
6076
+ return take(output, {
6077
+ CatalogID: __expectString,
6078
+ ColumnNameList: _json,
6079
+ DatabaseName: __expectString,
6080
+ Role: __expectString,
6081
+ SampleSize: __limitedParseDouble,
6082
+ Schedule: _json,
6083
+ SecurityConfiguration: __expectString,
6084
+ TableName: __expectString,
6085
+ });
6086
+ };
5935
6087
  const de_CompactionMetrics = (output, context) => {
5936
6088
  return take(output, {
5937
6089
  IcebergMetrics: (_) => de_IcebergCompactionMetrics(_, context),
@@ -6482,6 +6634,11 @@ const de_GetColumnStatisticsTaskRunsResponse = (output, context) => {
6482
6634
  NextToken: __expectString,
6483
6635
  });
6484
6636
  };
6637
+ const de_GetColumnStatisticsTaskSettingsResponse = (output, context) => {
6638
+ return take(output, {
6639
+ ColumnStatisticsTaskSettings: (_) => de_ColumnStatisticsTaskSettings(_, context),
6640
+ });
6641
+ };
6485
6642
  const de_GetConnectionResponse = (output, context) => {
6486
6643
  return take(output, {
6487
6644
  Connection: (_) => de_Connection(_, context),