@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
@@ -1,14 +1,11 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
3
3
  import {
4
- Action,
5
4
  AuditContext,
6
5
  CrawlerTargets,
7
6
  CustomEntityType,
8
- DataFormat,
9
7
  DataSource,
10
8
  ErrorDetail,
11
- EventBatchingCondition,
12
9
  ExecutionClass,
13
10
  GlueTable,
14
11
  InclusionAnnotationValue,
@@ -18,7 +15,6 @@ import {
18
15
  Partition,
19
16
  PartitionInput,
20
17
  PartitionValueList,
21
- Predicate,
22
18
  RecrawlPolicy,
23
19
  SchemaChangePolicy,
24
20
  SchemaId,
@@ -26,10 +22,8 @@ import {
26
22
  SourceControlProvider,
27
23
  StatisticAnnotation,
28
24
  TableOptimizer,
29
- TableOptimizerConfiguration,
30
25
  TableOptimizerRun,
31
26
  TableOptimizerType,
32
- TaskStatusType,
33
27
  TimestampedInclusionAnnotation,
34
28
  Trigger,
35
29
  WorkerType,
@@ -45,10 +39,10 @@ import {
45
39
  CsvSerdeOption,
46
40
  DatabaseInput,
47
41
  DataCatalogEncryptionSettings,
42
+ DataFormat,
48
43
  DataQualityEvaluationRunAdditionalRunOptions,
49
44
  DataQualityTargetTable,
50
45
  EncryptionConfiguration,
51
- EvaluationMetrics,
52
46
  JobBookmarkEntry,
53
47
  Language,
54
48
  Location,
@@ -60,19 +54,98 @@ import {
60
54
  RegistryStatus,
61
55
  ResourceShareType,
62
56
  ResourceUri,
63
- SchemaColumn,
64
57
  SchemaStatus,
65
58
  SchemaVersionStatus,
66
59
  Session,
60
+ SortDirectionType,
67
61
  TableInput,
62
+ TaskStatusType,
68
63
  TransformEncryption,
69
- TransformFilterCriteria,
70
64
  TransformParameters,
71
- TransformSortCriteria,
72
- TransformStatusType,
73
- UserDefinedFunctionInput,
65
+ TransformType,
74
66
  ViewDialect,
75
67
  } from "./models_1";
68
+ export interface GetMLTransformRequest {
69
+ TransformId: string | undefined;
70
+ }
71
+ export interface ColumnImportance {
72
+ ColumnName?: string;
73
+ Importance?: number;
74
+ }
75
+ export interface ConfusionMatrix {
76
+ NumTruePositives?: number;
77
+ NumFalsePositives?: number;
78
+ NumTrueNegatives?: number;
79
+ NumFalseNegatives?: number;
80
+ }
81
+ export interface FindMatchesMetrics {
82
+ AreaUnderPRCurve?: number;
83
+ Precision?: number;
84
+ Recall?: number;
85
+ F1?: number;
86
+ ConfusionMatrix?: ConfusionMatrix;
87
+ ColumnImportances?: ColumnImportance[];
88
+ }
89
+ export interface EvaluationMetrics {
90
+ TransformType: TransformType | undefined;
91
+ FindMatchesMetrics?: FindMatchesMetrics;
92
+ }
93
+ export interface SchemaColumn {
94
+ Name?: string;
95
+ DataType?: string;
96
+ }
97
+ export declare const TransformStatusType: {
98
+ readonly DELETING: "DELETING";
99
+ readonly NOT_READY: "NOT_READY";
100
+ readonly READY: "READY";
101
+ };
102
+ export type TransformStatusType =
103
+ (typeof TransformStatusType)[keyof typeof TransformStatusType];
104
+ export interface GetMLTransformResponse {
105
+ TransformId?: string;
106
+ Name?: string;
107
+ Description?: string;
108
+ Status?: TransformStatusType;
109
+ CreatedOn?: Date;
110
+ LastModifiedOn?: Date;
111
+ InputRecordTables?: GlueTable[];
112
+ Parameters?: TransformParameters;
113
+ EvaluationMetrics?: EvaluationMetrics;
114
+ LabelCount?: number;
115
+ Schema?: SchemaColumn[];
116
+ Role?: string;
117
+ GlueVersion?: string;
118
+ MaxCapacity?: number;
119
+ WorkerType?: WorkerType;
120
+ NumberOfWorkers?: number;
121
+ Timeout?: number;
122
+ MaxRetries?: number;
123
+ TransformEncryption?: TransformEncryption;
124
+ }
125
+ export interface TransformFilterCriteria {
126
+ Name?: string;
127
+ TransformType?: TransformType;
128
+ Status?: TransformStatusType;
129
+ GlueVersion?: string;
130
+ CreatedBefore?: Date;
131
+ CreatedAfter?: Date;
132
+ LastModifiedBefore?: Date;
133
+ LastModifiedAfter?: Date;
134
+ Schema?: SchemaColumn[];
135
+ }
136
+ export declare const TransformSortColumnType: {
137
+ readonly CREATED: "CREATED";
138
+ readonly LAST_MODIFIED: "LAST_MODIFIED";
139
+ readonly NAME: "NAME";
140
+ readonly STATUS: "STATUS";
141
+ readonly TRANSFORM_TYPE: "TRANSFORM_TYPE";
142
+ };
143
+ export type TransformSortColumnType =
144
+ (typeof TransformSortColumnType)[keyof typeof TransformSortColumnType];
145
+ export interface TransformSortCriteria {
146
+ Column: TransformSortColumnType | undefined;
147
+ SortDirection: SortDirectionType | undefined;
148
+ }
76
149
  export interface GetMLTransformsRequest {
77
150
  NextToken?: string;
78
151
  MaxResults?: number;
@@ -1637,51 +1710,6 @@ export interface UpdateTableRequest {
1637
1710
  ViewUpdateAction?: ViewUpdateAction;
1638
1711
  Force?: boolean;
1639
1712
  }
1640
- export interface UpdateTableResponse {}
1641
- export interface UpdateTableOptimizerRequest {
1642
- CatalogId: string | undefined;
1643
- DatabaseName: string | undefined;
1644
- TableName: string | undefined;
1645
- Type: TableOptimizerType | undefined;
1646
- TableOptimizerConfiguration: TableOptimizerConfiguration | undefined;
1647
- }
1648
- export interface UpdateTableOptimizerResponse {}
1649
- export interface TriggerUpdate {
1650
- Name?: string;
1651
- Description?: string;
1652
- Schedule?: string;
1653
- Actions?: Action[];
1654
- Predicate?: Predicate;
1655
- EventBatchingCondition?: EventBatchingCondition;
1656
- }
1657
- export interface UpdateTriggerRequest {
1658
- Name: string | undefined;
1659
- TriggerUpdate: TriggerUpdate | undefined;
1660
- }
1661
- export interface UpdateTriggerResponse {
1662
- Trigger?: Trigger;
1663
- }
1664
- export interface UpdateUsageProfileRequest {
1665
- Name: string | undefined;
1666
- Description?: string;
1667
- Configuration: ProfileConfiguration | undefined;
1668
- }
1669
- export interface UpdateUsageProfileResponse {
1670
- Name?: string;
1671
- }
1672
- export interface UpdateUserDefinedFunctionRequest {
1673
- CatalogId?: string;
1674
- DatabaseName: string | undefined;
1675
- FunctionName: string | undefined;
1676
- FunctionInput: UserDefinedFunctionInput | undefined;
1677
- }
1678
- export interface UpdateUserDefinedFunctionResponse {}
1679
- export interface UpdateWorkflowRequest {
1680
- Name: string | undefined;
1681
- Description?: string;
1682
- DefaultRunProperties?: Record<string, string>;
1683
- MaxConcurrentRuns?: number;
1684
- }
1685
1713
  export declare const StatisticSummaryFilterSensitiveLog: (
1686
1714
  obj: StatisticSummary
1687
1715
  ) => any;
@@ -1,4 +1,5 @@
1
1
  import {
2
+ Action,
2
3
  Aggregate,
3
4
  AmazonRedshiftSource,
4
5
  AmazonRedshiftTarget,
@@ -25,6 +26,7 @@ import {
25
26
  ErrorDetail,
26
27
  EvaluateDataQuality,
27
28
  EvaluateDataQualityMultiFrame,
29
+ EventBatchingCondition,
28
30
  ExecutionClass,
29
31
  ExecutionProperty,
30
32
  FillMissingValues,
@@ -47,6 +49,7 @@ import {
47
49
  PIIDetection,
48
50
  PostgreSQLCatalogSource,
49
51
  PostgreSQLCatalogTarget,
52
+ Predicate,
50
53
  Recipe,
51
54
  RedshiftSource,
52
55
  RedshiftTarget,
@@ -78,10 +81,18 @@ import {
78
81
  Spigot,
79
82
  SplitFields,
80
83
  StorageDescriptor,
84
+ TableOptimizerConfiguration,
85
+ TableOptimizerType,
86
+ Trigger,
81
87
  Union,
82
88
  WorkerType,
83
89
  } from "./models_0";
84
- import { Permission, TableIdentifier } from "./models_1";
90
+ import {
91
+ Permission,
92
+ ProfileConfiguration,
93
+ TableIdentifier,
94
+ UserDefinedFunctionInput,
95
+ } from "./models_1";
85
96
  import {
86
97
  ColumnRowFilter,
87
98
  FederatedTable,
@@ -90,6 +101,51 @@ import {
90
101
  ViewDefinition,
91
102
  ViewValidation,
92
103
  } from "./models_2";
104
+ export interface UpdateTableResponse {}
105
+ export interface UpdateTableOptimizerRequest {
106
+ CatalogId: string | undefined;
107
+ DatabaseName: string | undefined;
108
+ TableName: string | undefined;
109
+ Type: TableOptimizerType | undefined;
110
+ TableOptimizerConfiguration: TableOptimizerConfiguration | undefined;
111
+ }
112
+ export interface UpdateTableOptimizerResponse {}
113
+ export interface TriggerUpdate {
114
+ Name?: string;
115
+ Description?: string;
116
+ Schedule?: string;
117
+ Actions?: Action[];
118
+ Predicate?: Predicate;
119
+ EventBatchingCondition?: EventBatchingCondition;
120
+ }
121
+ export interface UpdateTriggerRequest {
122
+ Name: string | undefined;
123
+ TriggerUpdate: TriggerUpdate | undefined;
124
+ }
125
+ export interface UpdateTriggerResponse {
126
+ Trigger?: Trigger;
127
+ }
128
+ export interface UpdateUsageProfileRequest {
129
+ Name: string | undefined;
130
+ Description?: string;
131
+ Configuration: ProfileConfiguration | undefined;
132
+ }
133
+ export interface UpdateUsageProfileResponse {
134
+ Name?: string;
135
+ }
136
+ export interface UpdateUserDefinedFunctionRequest {
137
+ CatalogId?: string;
138
+ DatabaseName: string | undefined;
139
+ FunctionName: string | undefined;
140
+ FunctionInput: UserDefinedFunctionInput | undefined;
141
+ }
142
+ export interface UpdateUserDefinedFunctionResponse {}
143
+ export interface UpdateWorkflowRequest {
144
+ Name: string | undefined;
145
+ Description?: string;
146
+ DefaultRunProperties?: Record<string, string>;
147
+ MaxConcurrentRuns?: number;
148
+ }
93
149
  export interface UpdateWorkflowResponse {
94
150
  Name?: string;
95
151
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-glue",
3
3
  "description": "AWS SDK for JavaScript Glue Client for Node.js, Browser and React Native",
4
- "version": "3.650.0",
4
+ "version": "3.651.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-glue",