@aws-sdk/client-glue 3.835.0 → 3.840.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 (43) hide show
  1. package/dist-cjs/index.js +106 -11
  2. package/dist-es/models/models_1.js +11 -9
  3. package/dist-es/models/models_2.js +9 -0
  4. package/dist-es/protocols/Aws_json1_1.js +83 -1
  5. package/dist-types/commands/CreateCatalogCommand.d.ts +1 -0
  6. package/dist-types/commands/CreateDatabaseCommand.d.ts +1 -0
  7. package/dist-types/commands/CreateIntegrationCommand.d.ts +6 -0
  8. package/dist-types/commands/CreateTableCommand.d.ts +45 -0
  9. package/dist-types/commands/DescribeInboundIntegrationsCommand.d.ts +3 -0
  10. package/dist-types/commands/DescribeIntegrationsCommand.d.ts +3 -0
  11. package/dist-types/commands/GetCatalogCommand.d.ts +1 -0
  12. package/dist-types/commands/GetCatalogsCommand.d.ts +1 -0
  13. package/dist-types/commands/GetColumnStatisticsForPartitionCommand.d.ts +2 -1
  14. package/dist-types/commands/GetColumnStatisticsForTableCommand.d.ts +1 -2
  15. package/dist-types/commands/GetDatabaseCommand.d.ts +1 -0
  16. package/dist-types/commands/GetDatabasesCommand.d.ts +1 -0
  17. package/dist-types/commands/GetTableCommand.d.ts +2 -0
  18. package/dist-types/commands/GetTableVersionCommand.d.ts +2 -0
  19. package/dist-types/commands/GetTableVersionsCommand.d.ts +2 -0
  20. package/dist-types/commands/GetTablesCommand.d.ts +2 -0
  21. package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +2 -0
  22. package/dist-types/commands/PutSchemaVersionMetadataCommand.d.ts +1 -1
  23. package/dist-types/commands/PutWorkflowRunPropertiesCommand.d.ts +1 -1
  24. package/dist-types/commands/QuerySchemaVersionMetadataCommand.d.ts +1 -1
  25. package/dist-types/commands/RegisterSchemaVersionCommand.d.ts +1 -1
  26. package/dist-types/commands/SearchTablesCommand.d.ts +2 -0
  27. package/dist-types/commands/StartMLLabelingSetGenerationTaskRunCommand.d.ts +2 -0
  28. package/dist-types/commands/UpdateCatalogCommand.d.ts +1 -0
  29. package/dist-types/commands/UpdateDatabaseCommand.d.ts +1 -0
  30. package/dist-types/commands/UpdateTableCommand.d.ts +53 -0
  31. package/dist-types/models/models_1.d.ts +242 -254
  32. package/dist-types/models/models_2.d.ts +260 -232
  33. package/dist-types/models/models_3.d.ts +320 -3
  34. package/dist-types/ts3.4/commands/GetColumnStatisticsForPartitionCommand.d.ts +2 -4
  35. package/dist-types/ts3.4/commands/GetColumnStatisticsForTableCommand.d.ts +4 -2
  36. package/dist-types/ts3.4/commands/PutSchemaVersionMetadataCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/PutWorkflowRunPropertiesCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/QuerySchemaVersionMetadataCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/RegisterSchemaVersionCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/models/models_1.d.ts +63 -65
  41. package/dist-types/ts3.4/models/models_2.d.ts +70 -55
  42. package/dist-types/ts3.4/models/models_3.d.ts +77 -2
  43. package/package.json +18 -18
@@ -29,12 +29,12 @@ import {
29
29
  WorkerType,
30
30
  } from "./models_0";
31
31
  import {
32
+ BinaryColumnStatisticsData,
33
+ BooleanColumnStatisticsData,
32
34
  Capabilities,
33
35
  CodeGenEdge,
34
36
  CodeGenNode,
35
37
  CodeGenNodeArg,
36
- ColumnError,
37
- ColumnStatistics,
38
38
  Compatibility,
39
39
  ComputeEnvironment,
40
40
  ConnectionPropertyKey,
@@ -43,6 +43,8 @@ import {
43
43
  DatabaseIdentifier,
44
44
  DataFormat,
45
45
  DataQualityTargetTable,
46
+ DateColumnStatisticsData,
47
+ DecimalNumber,
46
48
  EncryptionConfiguration,
47
49
  FederatedDatabase,
48
50
  IntegrationError,
@@ -72,6 +74,71 @@ import {
72
74
  Workflow,
73
75
  WorkflowRun,
74
76
  } from "./models_1";
77
+ export interface DecimalColumnStatisticsData {
78
+ MinimumValue?: DecimalNumber | undefined;
79
+ MaximumValue?: DecimalNumber | undefined;
80
+ NumberOfNulls: number | undefined;
81
+ NumberOfDistinctValues: number | undefined;
82
+ }
83
+ export interface DoubleColumnStatisticsData {
84
+ MinimumValue?: number | undefined;
85
+ MaximumValue?: number | undefined;
86
+ NumberOfNulls: number | undefined;
87
+ NumberOfDistinctValues: number | undefined;
88
+ }
89
+ export interface LongColumnStatisticsData {
90
+ MinimumValue?: number | undefined;
91
+ MaximumValue?: number | undefined;
92
+ NumberOfNulls: number | undefined;
93
+ NumberOfDistinctValues: number | undefined;
94
+ }
95
+ export interface StringColumnStatisticsData {
96
+ MaximumLength: number | undefined;
97
+ AverageLength: number | undefined;
98
+ NumberOfNulls: number | undefined;
99
+ NumberOfDistinctValues: number | undefined;
100
+ }
101
+ export declare const ColumnStatisticsType: {
102
+ readonly BINARY: "BINARY";
103
+ readonly BOOLEAN: "BOOLEAN";
104
+ readonly DATE: "DATE";
105
+ readonly DECIMAL: "DECIMAL";
106
+ readonly DOUBLE: "DOUBLE";
107
+ readonly LONG: "LONG";
108
+ readonly STRING: "STRING";
109
+ };
110
+ export type ColumnStatisticsType =
111
+ (typeof ColumnStatisticsType)[keyof typeof ColumnStatisticsType];
112
+ export interface ColumnStatisticsData {
113
+ Type: ColumnStatisticsType | undefined;
114
+ BooleanColumnStatisticsData?: BooleanColumnStatisticsData | undefined;
115
+ DateColumnStatisticsData?: DateColumnStatisticsData | undefined;
116
+ DecimalColumnStatisticsData?: DecimalColumnStatisticsData | undefined;
117
+ DoubleColumnStatisticsData?: DoubleColumnStatisticsData | undefined;
118
+ LongColumnStatisticsData?: LongColumnStatisticsData | undefined;
119
+ StringColumnStatisticsData?: StringColumnStatisticsData | undefined;
120
+ BinaryColumnStatisticsData?: BinaryColumnStatisticsData | undefined;
121
+ }
122
+ export interface ColumnStatistics {
123
+ ColumnName: string | undefined;
124
+ ColumnType: string | undefined;
125
+ AnalyzedTime: Date | undefined;
126
+ StatisticsData: ColumnStatisticsData | undefined;
127
+ }
128
+ export interface ColumnError {
129
+ ColumnName?: string | undefined;
130
+ Error?: ErrorDetail | undefined;
131
+ }
132
+ export interface GetColumnStatisticsForPartitionResponse {
133
+ ColumnStatisticsList?: ColumnStatistics[] | undefined;
134
+ Errors?: ColumnError[] | undefined;
135
+ }
136
+ export interface GetColumnStatisticsForTableRequest {
137
+ CatalogId?: string | undefined;
138
+ DatabaseName: string | undefined;
139
+ TableName: string | undefined;
140
+ ColumnNames: string[] | undefined;
141
+ }
75
142
  export interface GetColumnStatisticsForTableResponse {
76
143
  ColumnStatisticsList?: ColumnStatistics[] | undefined;
77
144
  Errors?: ColumnError[] | undefined;
@@ -1022,6 +1089,7 @@ export interface FederatedTable {
1022
1089
  Identifier?: string | undefined;
1023
1090
  DatabaseIdentifier?: string | undefined;
1024
1091
  ConnectionName?: string | undefined;
1092
+ ConnectionType?: string | undefined;
1025
1093
  }
1026
1094
  export declare const ResourceAction: {
1027
1095
  readonly CREATE: "CREATE";
@@ -1756,59 +1824,6 @@ export interface MetadataKeyValuePair {
1756
1824
  MetadataKey?: string | undefined;
1757
1825
  MetadataValue?: string | undefined;
1758
1826
  }
1759
- export interface PutSchemaVersionMetadataInput {
1760
- SchemaId?: SchemaId | undefined;
1761
- SchemaVersionNumber?: SchemaVersionNumber | undefined;
1762
- SchemaVersionId?: string | undefined;
1763
- MetadataKeyValue: MetadataKeyValuePair | undefined;
1764
- }
1765
- export interface PutSchemaVersionMetadataResponse {
1766
- SchemaArn?: string | undefined;
1767
- SchemaName?: string | undefined;
1768
- RegistryName?: string | undefined;
1769
- LatestVersion?: boolean | undefined;
1770
- VersionNumber?: number | undefined;
1771
- SchemaVersionId?: string | undefined;
1772
- MetadataKey?: string | undefined;
1773
- MetadataValue?: string | undefined;
1774
- }
1775
- export interface PutWorkflowRunPropertiesRequest {
1776
- Name: string | undefined;
1777
- RunId: string | undefined;
1778
- RunProperties: Record<string, string> | undefined;
1779
- }
1780
- export interface PutWorkflowRunPropertiesResponse {}
1781
- export interface QuerySchemaVersionMetadataInput {
1782
- SchemaId?: SchemaId | undefined;
1783
- SchemaVersionNumber?: SchemaVersionNumber | undefined;
1784
- SchemaVersionId?: string | undefined;
1785
- MetadataList?: MetadataKeyValuePair[] | undefined;
1786
- MaxResults?: number | undefined;
1787
- NextToken?: string | undefined;
1788
- }
1789
- export interface OtherMetadataValueListItem {
1790
- MetadataValue?: string | undefined;
1791
- CreatedTime?: string | undefined;
1792
- }
1793
- export interface MetadataInfo {
1794
- MetadataValue?: string | undefined;
1795
- CreatedTime?: string | undefined;
1796
- OtherMetadataValueList?: OtherMetadataValueListItem[] | undefined;
1797
- }
1798
- export interface QuerySchemaVersionMetadataResponse {
1799
- MetadataInfoMap?: Record<string, MetadataInfo> | undefined;
1800
- SchemaVersionId?: string | undefined;
1801
- NextToken?: string | undefined;
1802
- }
1803
- export interface RegisterSchemaVersionInput {
1804
- SchemaId: SchemaId | undefined;
1805
- SchemaDefinition: string | undefined;
1806
- }
1807
- export interface RegisterSchemaVersionResponse {
1808
- SchemaVersionId?: string | undefined;
1809
- VersionNumber?: number | undefined;
1810
- Status?: SchemaVersionStatus | undefined;
1811
- }
1812
1827
  export declare const GetDataQualityResultResponseFilterSensitiveLog: (
1813
1828
  obj: GetDataQualityResultResponse
1814
1829
  ) => any;
@@ -105,7 +105,6 @@ import {
105
105
  } from "./models_0";
106
106
  import {
107
107
  CatalogInput,
108
- ColumnStatistics,
109
108
  Compatibility,
110
109
  ConnectionInput,
111
110
  ConnectionPropertyKey,
@@ -113,9 +112,13 @@ import {
113
112
  CsvHeaderOption,
114
113
  CsvSerdeOption,
115
114
  DatabaseInput,
115
+ IcebergPartitionSpec,
116
+ IcebergSchema,
117
+ IcebergSortOrder,
116
118
  Permission,
117
119
  ProfileConfiguration,
118
120
  RegistryId,
121
+ SchemaVersionStatus,
119
122
  SourceProcessingProperties,
120
123
  SourceTableConfig,
121
124
  TableIdentifier,
@@ -127,6 +130,7 @@ import {
127
130
  } from "./models_1";
128
131
  import {
129
132
  ColumnRowFilter,
133
+ ColumnStatistics,
130
134
  DataQualityEvaluationRunAdditionalRunOptions,
131
135
  FederatedTable,
132
136
  JobBookmarkEntry,
@@ -138,6 +142,59 @@ import {
138
142
  ViewDefinition,
139
143
  ViewValidation,
140
144
  } from "./models_2";
145
+ export interface PutSchemaVersionMetadataInput {
146
+ SchemaId?: SchemaId | undefined;
147
+ SchemaVersionNumber?: SchemaVersionNumber | undefined;
148
+ SchemaVersionId?: string | undefined;
149
+ MetadataKeyValue: MetadataKeyValuePair | undefined;
150
+ }
151
+ export interface PutSchemaVersionMetadataResponse {
152
+ SchemaArn?: string | undefined;
153
+ SchemaName?: string | undefined;
154
+ RegistryName?: string | undefined;
155
+ LatestVersion?: boolean | undefined;
156
+ VersionNumber?: number | undefined;
157
+ SchemaVersionId?: string | undefined;
158
+ MetadataKey?: string | undefined;
159
+ MetadataValue?: string | undefined;
160
+ }
161
+ export interface PutWorkflowRunPropertiesRequest {
162
+ Name: string | undefined;
163
+ RunId: string | undefined;
164
+ RunProperties: Record<string, string> | undefined;
165
+ }
166
+ export interface PutWorkflowRunPropertiesResponse {}
167
+ export interface QuerySchemaVersionMetadataInput {
168
+ SchemaId?: SchemaId | undefined;
169
+ SchemaVersionNumber?: SchemaVersionNumber | undefined;
170
+ SchemaVersionId?: string | undefined;
171
+ MetadataList?: MetadataKeyValuePair[] | undefined;
172
+ MaxResults?: number | undefined;
173
+ NextToken?: string | undefined;
174
+ }
175
+ export interface OtherMetadataValueListItem {
176
+ MetadataValue?: string | undefined;
177
+ CreatedTime?: string | undefined;
178
+ }
179
+ export interface MetadataInfo {
180
+ MetadataValue?: string | undefined;
181
+ CreatedTime?: string | undefined;
182
+ OtherMetadataValueList?: OtherMetadataValueListItem[] | undefined;
183
+ }
184
+ export interface QuerySchemaVersionMetadataResponse {
185
+ MetadataInfoMap?: Record<string, MetadataInfo> | undefined;
186
+ SchemaVersionId?: string | undefined;
187
+ NextToken?: string | undefined;
188
+ }
189
+ export interface RegisterSchemaVersionInput {
190
+ SchemaId: SchemaId | undefined;
191
+ SchemaDefinition: string | undefined;
192
+ }
193
+ export interface RegisterSchemaVersionResponse {
194
+ SchemaVersionId?: string | undefined;
195
+ VersionNumber?: number | undefined;
196
+ Status?: SchemaVersionStatus | undefined;
197
+ }
141
198
  export interface RemoveSchemaVersionMetadataInput {
142
199
  SchemaId?: SchemaId | undefined;
143
200
  SchemaVersionNumber?: SchemaVersionNumber | undefined;
@@ -723,6 +780,22 @@ export interface UpdateSourceControlFromJobRequest {
723
780
  export interface UpdateSourceControlFromJobResponse {
724
781
  JobName?: string | undefined;
725
782
  }
783
+ export interface IcebergTableUpdate {
784
+ Schema: IcebergSchema | undefined;
785
+ PartitionSpec?: IcebergPartitionSpec | undefined;
786
+ SortOrder?: IcebergSortOrder | undefined;
787
+ Location: string | undefined;
788
+ Properties?: Record<string, string> | undefined;
789
+ }
790
+ export interface UpdateIcebergTableInput {
791
+ Updates: IcebergTableUpdate[] | undefined;
792
+ }
793
+ export interface UpdateIcebergInput {
794
+ UpdateIcebergTableInput: UpdateIcebergTableInput | undefined;
795
+ }
796
+ export interface UpdateOpenTableFormatInput {
797
+ UpdateIcebergInput?: UpdateIcebergInput | undefined;
798
+ }
726
799
  export declare const ViewUpdateAction: {
727
800
  readonly ADD: "ADD";
728
801
  readonly ADD_OR_REPLACE: "ADD_OR_REPLACE";
@@ -734,12 +807,14 @@ export type ViewUpdateAction =
734
807
  export interface UpdateTableRequest {
735
808
  CatalogId?: string | undefined;
736
809
  DatabaseName: string | undefined;
737
- TableInput: TableInput | undefined;
810
+ Name?: string | undefined;
811
+ TableInput?: TableInput | undefined;
738
812
  SkipArchive?: boolean | undefined;
739
813
  TransactionId?: string | undefined;
740
814
  VersionId?: string | undefined;
741
815
  ViewUpdateAction?: ViewUpdateAction | undefined;
742
816
  Force?: boolean | undefined;
817
+ UpdateOpenTableFormatInput?: UpdateOpenTableFormatInput | undefined;
743
818
  }
744
819
  export interface UpdateTableResponse {}
745
820
  export interface UpdateTableOptimizerRequest {
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.835.0",
4
+ "version": "3.840.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",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.835.0",
24
- "@aws-sdk/credential-provider-node": "3.835.0",
25
- "@aws-sdk/middleware-host-header": "3.821.0",
26
- "@aws-sdk/middleware-logger": "3.821.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.835.0",
29
- "@aws-sdk/region-config-resolver": "3.821.0",
30
- "@aws-sdk/types": "3.821.0",
31
- "@aws-sdk/util-endpoints": "3.828.0",
32
- "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.835.0",
23
+ "@aws-sdk/core": "3.840.0",
24
+ "@aws-sdk/credential-provider-node": "3.840.0",
25
+ "@aws-sdk/middleware-host-header": "3.840.0",
26
+ "@aws-sdk/middleware-logger": "3.840.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
+ "@aws-sdk/middleware-user-agent": "3.840.0",
29
+ "@aws-sdk/region-config-resolver": "3.840.0",
30
+ "@aws-sdk/types": "3.840.0",
31
+ "@aws-sdk/util-endpoints": "3.840.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.840.0",
33
+ "@aws-sdk/util-user-agent-node": "3.840.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
- "@smithy/core": "^3.5.3",
35
+ "@smithy/core": "^3.6.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.12",
41
- "@smithy/middleware-retry": "^4.1.13",
40
+ "@smithy/middleware-endpoint": "^4.1.13",
41
+ "@smithy/middleware-retry": "^4.1.14",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.0.6",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.4",
47
+ "@smithy/smithy-client": "^4.4.5",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.20",
54
- "@smithy/util-defaults-mode-node": "^4.0.20",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.21",
54
+ "@smithy/util-defaults-mode-node": "^4.0.21",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.6",