@aws-sdk/client-glue 3.626.0 → 3.629.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 (40) hide show
  1. package/dist-cjs/index.js +60 -2
  2. package/dist-es/models/models_1.js +6 -0
  3. package/dist-es/models/models_2.js +11 -0
  4. package/dist-es/protocols/Aws_json1_1.js +39 -0
  5. package/dist-types/commands/BatchGetJobsCommand.d.ts +5 -4
  6. package/dist-types/commands/CreateConnectionCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateJobCommand.d.ts +5 -4
  8. package/dist-types/commands/GetConnectionCommand.d.ts +1 -1
  9. package/dist-types/commands/GetConnectionsCommand.d.ts +2 -2
  10. package/dist-types/commands/GetJobCommand.d.ts +5 -4
  11. package/dist-types/commands/GetJobsCommand.d.ts +5 -4
  12. package/dist-types/commands/GetTableCommand.d.ts +144 -1
  13. package/dist-types/commands/GetTableVersionCommand.d.ts +143 -1
  14. package/dist-types/commands/GetTableVersionsCommand.d.ts +143 -1
  15. package/dist-types/commands/GetTablesCommand.d.ts +144 -1
  16. package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +143 -1
  17. package/dist-types/commands/SearchTablesCommand.d.ts +144 -1
  18. package/dist-types/commands/UpdateConnectionCommand.d.ts +1 -1
  19. package/dist-types/commands/UpdateJobCommand.d.ts +5 -4
  20. package/dist-types/commands/UpdateUsageProfileCommand.d.ts +1 -2
  21. package/dist-types/commands/UpdateUserDefinedFunctionCommand.d.ts +1 -1
  22. package/dist-types/commands/UpdateWorkflowCommand.d.ts +1 -1
  23. package/dist-types/models/models_0.d.ts +5 -0
  24. package/dist-types/models/models_1.d.ts +34 -0
  25. package/dist-types/models/models_2.d.ts +152 -284
  26. package/dist-types/models/models_3.d.ts +357 -80
  27. package/dist-types/ts3.4/commands/GetTableCommand.d.ts +2 -1
  28. package/dist-types/ts3.4/commands/GetTableVersionCommand.d.ts +2 -4
  29. package/dist-types/ts3.4/commands/GetTableVersionsCommand.d.ts +2 -4
  30. package/dist-types/ts3.4/commands/GetTablesCommand.d.ts +2 -1
  31. package/dist-types/ts3.4/commands/GetUnfilteredTableMetadataCommand.d.ts +2 -4
  32. package/dist-types/ts3.4/commands/SearchTablesCommand.d.ts +2 -1
  33. package/dist-types/ts3.4/commands/UpdateUsageProfileCommand.d.ts +4 -2
  34. package/dist-types/ts3.4/commands/UpdateUserDefinedFunctionCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  37. package/dist-types/ts3.4/models/models_1.d.ts +6 -0
  38. package/dist-types/ts3.4/models/models_2.d.ts +45 -62
  39. package/dist-types/ts3.4/models/models_3.d.ts +86 -20
  40. package/package.json +5 -5
@@ -1,7 +1,8 @@
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 { SearchTablesRequest, SearchTablesResponse } from "../models/models_2";
4
+ import { SearchTablesRequest } from "../models/models_2";
5
+ import { SearchTablesResponse } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -54,6 +55,7 @@ declare const SearchTablesCommand_base: {
54
55
  * ],
55
56
  * MaxResults: Number("int"),
56
57
  * ResourceShareType: "FOREIGN" || "ALL" || "FEDERATED",
58
+ * IncludeStatusDetails: true || false,
57
59
  * };
58
60
  * const command = new SearchTablesCommand(input);
59
61
  * const response = await client.send(command);
@@ -173,6 +175,147 @@ declare const SearchTablesCommand_base: {
173
175
  * // ],
174
176
  * // },
175
177
  * // IsMultiDialectView: true || false,
178
+ * // Status: { // TableStatus
179
+ * // RequestedBy: "STRING_VALUE",
180
+ * // UpdatedBy: "STRING_VALUE",
181
+ * // RequestTime: new Date("TIMESTAMP"),
182
+ * // UpdateTime: new Date("TIMESTAMP"),
183
+ * // Action: "UPDATE" || "CREATE",
184
+ * // State: "QUEUED" || "IN_PROGRESS" || "SUCCESS" || "STOPPED" || "FAILED",
185
+ * // Error: { // ErrorDetail
186
+ * // ErrorCode: "STRING_VALUE",
187
+ * // ErrorMessage: "STRING_VALUE",
188
+ * // },
189
+ * // Details: { // StatusDetails
190
+ * // RequestedChange: {
191
+ * // Name: "STRING_VALUE", // required
192
+ * // DatabaseName: "STRING_VALUE",
193
+ * // Description: "STRING_VALUE",
194
+ * // Owner: "STRING_VALUE",
195
+ * // CreateTime: new Date("TIMESTAMP"),
196
+ * // UpdateTime: new Date("TIMESTAMP"),
197
+ * // LastAccessTime: new Date("TIMESTAMP"),
198
+ * // LastAnalyzedTime: new Date("TIMESTAMP"),
199
+ * // Retention: Number("int"),
200
+ * // StorageDescriptor: {
201
+ * // Columns: "<ColumnList>",
202
+ * // Location: "STRING_VALUE",
203
+ * // AdditionalLocations: [
204
+ * // "STRING_VALUE",
205
+ * // ],
206
+ * // InputFormat: "STRING_VALUE",
207
+ * // OutputFormat: "STRING_VALUE",
208
+ * // Compressed: true || false,
209
+ * // NumberOfBuckets: Number("int"),
210
+ * // SerdeInfo: {
211
+ * // Name: "STRING_VALUE",
212
+ * // SerializationLibrary: "STRING_VALUE",
213
+ * // Parameters: "<ParametersMap>",
214
+ * // },
215
+ * // BucketColumns: "<NameStringList>",
216
+ * // SortColumns: [
217
+ * // {
218
+ * // Column: "STRING_VALUE", // required
219
+ * // SortOrder: Number("int"), // required
220
+ * // },
221
+ * // ],
222
+ * // Parameters: "<ParametersMap>",
223
+ * // SkewedInfo: {
224
+ * // SkewedColumnNames: "<NameStringList>",
225
+ * // SkewedColumnValues: [
226
+ * // "STRING_VALUE",
227
+ * // ],
228
+ * // SkewedColumnValueLocationMaps: {
229
+ * // "<keys>": "STRING_VALUE",
230
+ * // },
231
+ * // },
232
+ * // StoredAsSubDirectories: true || false,
233
+ * // SchemaReference: {
234
+ * // SchemaId: {
235
+ * // SchemaArn: "STRING_VALUE",
236
+ * // SchemaName: "STRING_VALUE",
237
+ * // RegistryName: "STRING_VALUE",
238
+ * // },
239
+ * // SchemaVersionId: "STRING_VALUE",
240
+ * // SchemaVersionNumber: Number("long"),
241
+ * // },
242
+ * // },
243
+ * // PartitionKeys: "<ColumnList>",
244
+ * // ViewOriginalText: "STRING_VALUE",
245
+ * // ViewExpandedText: "STRING_VALUE",
246
+ * // TableType: "STRING_VALUE",
247
+ * // Parameters: "<ParametersMap>",
248
+ * // CreatedBy: "STRING_VALUE",
249
+ * // IsRegisteredWithLakeFormation: true || false,
250
+ * // TargetTable: {
251
+ * // CatalogId: "STRING_VALUE",
252
+ * // DatabaseName: "STRING_VALUE",
253
+ * // Name: "STRING_VALUE",
254
+ * // Region: "STRING_VALUE",
255
+ * // },
256
+ * // CatalogId: "STRING_VALUE",
257
+ * // VersionId: "STRING_VALUE",
258
+ * // FederatedTable: {
259
+ * // Identifier: "STRING_VALUE",
260
+ * // DatabaseIdentifier: "STRING_VALUE",
261
+ * // ConnectionName: "STRING_VALUE",
262
+ * // },
263
+ * // ViewDefinition: {
264
+ * // IsProtected: true || false,
265
+ * // Definer: "STRING_VALUE",
266
+ * // SubObjects: [
267
+ * // "STRING_VALUE",
268
+ * // ],
269
+ * // Representations: [
270
+ * // {
271
+ * // Dialect: "REDSHIFT" || "ATHENA" || "SPARK",
272
+ * // DialectVersion: "STRING_VALUE",
273
+ * // ViewOriginalText: "STRING_VALUE",
274
+ * // ViewExpandedText: "STRING_VALUE",
275
+ * // ValidationConnection: "STRING_VALUE",
276
+ * // IsStale: true || false,
277
+ * // },
278
+ * // ],
279
+ * // },
280
+ * // IsMultiDialectView: true || false,
281
+ * // Status: {
282
+ * // RequestedBy: "STRING_VALUE",
283
+ * // UpdatedBy: "STRING_VALUE",
284
+ * // RequestTime: new Date("TIMESTAMP"),
285
+ * // UpdateTime: new Date("TIMESTAMP"),
286
+ * // Action: "UPDATE" || "CREATE",
287
+ * // State: "QUEUED" || "IN_PROGRESS" || "SUCCESS" || "STOPPED" || "FAILED",
288
+ * // Error: {
289
+ * // ErrorCode: "STRING_VALUE",
290
+ * // ErrorMessage: "STRING_VALUE",
291
+ * // },
292
+ * // Details: {
293
+ * // RequestedChange: "<Table>",
294
+ * // ViewValidations: [ // ViewValidationList
295
+ * // { // ViewValidation
296
+ * // Dialect: "REDSHIFT" || "ATHENA" || "SPARK",
297
+ * // DialectVersion: "STRING_VALUE",
298
+ * // ViewValidationText: "STRING_VALUE",
299
+ * // UpdateTime: new Date("TIMESTAMP"),
300
+ * // State: "QUEUED" || "IN_PROGRESS" || "SUCCESS" || "STOPPED" || "FAILED",
301
+ * // Error: "<ErrorDetail>",
302
+ * // },
303
+ * // ],
304
+ * // },
305
+ * // },
306
+ * // },
307
+ * // ViewValidations: [
308
+ * // {
309
+ * // Dialect: "REDSHIFT" || "ATHENA" || "SPARK",
310
+ * // DialectVersion: "STRING_VALUE",
311
+ * // ViewValidationText: "STRING_VALUE",
312
+ * // UpdateTime: new Date("TIMESTAMP"),
313
+ * // State: "QUEUED" || "IN_PROGRESS" || "SUCCESS" || "STOPPED" || "FAILED",
314
+ * // Error: "<ErrorDetail>",
315
+ * // },
316
+ * // ],
317
+ * // },
318
+ * // },
176
319
  * // },
177
320
  * // ],
178
321
  * // };
@@ -40,7 +40,7 @@ declare const UpdateConnectionCommand_base: {
40
40
  * ConnectionInput: { // ConnectionInput
41
41
  * Name: "STRING_VALUE", // required
42
42
  * Description: "STRING_VALUE",
43
- * ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE", // required
43
+ * ConnectionType: "JDBC" || "SFTP" || "MONGODB" || "KAFKA" || "NETWORK" || "MARKETPLACE" || "CUSTOM" || "SALESFORCE" || "VIEW_VALIDATION_REDSHIFT" || "VIEW_VALIDATION_ATHENA", // required
44
44
  * MatchCriteria: [ // MatchCriteria
45
45
  * "STRING_VALUE",
46
46
  * ],
@@ -298,6 +298,9 @@ declare const UpdateJobCommand_base: {
298
298
  * Inputs: [ // required
299
299
  * "STRING_VALUE",
300
300
  * ],
301
+ * PartitionKeys: [ // GlueStudioPathList
302
+ * "<EnclosedInStringProperties>",
303
+ * ],
301
304
  * Database: "STRING_VALUE", // required
302
305
  * Table: "STRING_VALUE", // required
303
306
  * },
@@ -323,7 +326,7 @@ declare const UpdateJobCommand_base: {
323
326
  * Inputs: [ // required
324
327
  * "STRING_VALUE",
325
328
  * ],
326
- * PartitionKeys: [ // GlueStudioPathList
329
+ * PartitionKeys: [
327
330
  * "<EnclosedInStringProperties>",
328
331
  * ],
329
332
  * Table: "STRING_VALUE", // required
@@ -397,9 +400,7 @@ declare const UpdateJobCommand_base: {
397
400
  * DropFields: { // DropFields
398
401
  * Name: "STRING_VALUE", // required
399
402
  * Inputs: "<OneInput>", // required
400
- * Paths: [ // required
401
- * "<EnclosedInStringProperties>",
402
- * ],
403
+ * Paths: "<GlueStudioPathList>", // required
403
404
  * },
404
405
  * RenameField: { // RenameField
405
406
  * Name: "STRING_VALUE", // required
@@ -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 { UpdateUsageProfileRequest } from "../models/models_2";
5
- import { UpdateUsageProfileResponse } from "../models/models_3";
4
+ import { UpdateUsageProfileRequest, UpdateUsageProfileResponse } from "../models/models_2";
6
5
  /**
7
6
  * @public
8
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 { UpdateUserDefinedFunctionRequest, UpdateUserDefinedFunctionResponse } from "../models/models_3";
4
+ import { UpdateUserDefinedFunctionRequest, UpdateUserDefinedFunctionResponse } from "../models/models_2";
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 { UpdateWorkflowRequest, UpdateWorkflowResponse } from "../models/models_3";
4
+ import { UpdateWorkflowRequest, UpdateWorkflowResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -3132,6 +3132,11 @@ export interface BasicCatalogTarget {
3132
3132
  * @public
3133
3133
  */
3134
3134
  Inputs: string[] | undefined;
3135
+ /**
3136
+ * <p>The partition keys used to distribute data across multiple partitions or shards based on a specific key or set of key.</p>
3137
+ * @public
3138
+ */
3139
+ PartitionKeys?: string[][];
3135
3140
  /**
3136
3141
  * <p>The database that contains the table you want to use as the target. This database must already exist in the Data Catalog.</p>
3137
3142
  * @public
@@ -227,6 +227,7 @@ export interface CreateClassifierResponse {
227
227
  * @enum
228
228
  */
229
229
  export declare const ConnectionPropertyKey: {
230
+ readonly CLUSTER_IDENTIFIER: "CLUSTER_IDENTIFIER";
230
231
  readonly CONFIG_FILES: "CONFIG_FILES";
231
232
  readonly CONNECTION_URL: "CONNECTION_URL";
232
233
  readonly CONNECTOR_CLASS_NAME: "CONNECTOR_CLASS_NAME";
@@ -234,6 +235,7 @@ export declare const ConnectionPropertyKey: {
234
235
  readonly CONNECTOR_URL: "CONNECTOR_URL";
235
236
  readonly CUSTOM_JDBC_CERT: "CUSTOM_JDBC_CERT";
236
237
  readonly CUSTOM_JDBC_CERT_STRING: "CUSTOM_JDBC_CERT_STRING";
238
+ readonly DATABASE: "DATABASE";
237
239
  readonly ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD: "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD";
238
240
  readonly ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD: "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD";
239
241
  readonly ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD: "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD";
@@ -266,10 +268,12 @@ export declare const ConnectionPropertyKey: {
266
268
  readonly KAFKA_SSL_ENABLED: "KAFKA_SSL_ENABLED";
267
269
  readonly PASSWORD: "PASSWORD";
268
270
  readonly PORT: "PORT";
271
+ readonly REGION: "REGION";
269
272
  readonly ROLE_ARN: "ROLE_ARN";
270
273
  readonly SECRET_ID: "SECRET_ID";
271
274
  readonly SKIP_CUSTOM_JDBC_CERT_VALIDATION: "SKIP_CUSTOM_JDBC_CERT_VALIDATION";
272
275
  readonly USER_NAME: "USERNAME";
276
+ readonly WORKGROUP_NAME: "WORKGROUP_NAME";
273
277
  };
274
278
  /**
275
279
  * @public
@@ -288,6 +292,8 @@ export declare const ConnectionType: {
288
292
  readonly NETWORK: "NETWORK";
289
293
  readonly SALESFORCE: "SALESFORCE";
290
294
  readonly SFTP: "SFTP";
295
+ readonly VIEW_VALIDATION_ATHENA: "VIEW_VALIDATION_ATHENA";
296
+ readonly VIEW_VALIDATION_REDSHIFT: "VIEW_VALIDATION_REDSHIFT";
291
297
  };
292
298
  /**
293
299
  * @public
@@ -400,6 +406,14 @@ export interface ConnectionInput {
400
406
  * </li>
401
407
  * <li>
402
408
  * <p>
409
+ * <code>VIEW_VALIDATION_REDSHIFT</code> - Designates a connection used for view validation by Amazon Redshift.</p>
410
+ * </li>
411
+ * <li>
412
+ * <p>
413
+ * <code>VIEW_VALIDATION_ATHENA</code> - Designates a connection used for view validation by Amazon Athena.</p>
414
+ * </li>
415
+ * <li>
416
+ * <p>
403
417
  * <code>NETWORK</code> - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).</p>
404
418
  * <p>
405
419
  * <code>NETWORK</code> Connections do not require ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.</p>
@@ -4928,6 +4942,26 @@ export interface Connection {
4928
4942
  * <p>
4929
4943
  * <code>KAFKA_SASL_GSSAPI_PRINCIPAL</code> - The name of the Kerberos princial used by Glue. For more information, see <a href="https://kafka.apache.org/documentation/#security_sasl_kerberos_clientconfig">Kafka Documentation: Configuring Kafka Brokers</a>.</p>
4930
4944
  * </li>
4945
+ * <li>
4946
+ * <p>
4947
+ * <code>ROLE_ARN</code> - The role to be used for running queries.</p>
4948
+ * </li>
4949
+ * <li>
4950
+ * <p>
4951
+ * <code>REGION</code> - The Amazon Web Services Region where queries will be run.</p>
4952
+ * </li>
4953
+ * <li>
4954
+ * <p>
4955
+ * <code>WORKGROUP_NAME</code> - The name of an Amazon Redshift serverless workgroup or Amazon Athena workgroup in which queries will run.</p>
4956
+ * </li>
4957
+ * <li>
4958
+ * <p>
4959
+ * <code>CLUSTER_IDENTIFIER</code> - The cluster identifier of an Amazon Redshift cluster in which queries will run.</p>
4960
+ * </li>
4961
+ * <li>
4962
+ * <p>
4963
+ * <code>DATABASE</code> - The Amazon Redshift database that you are connecting to.</p>
4964
+ * </li>
4931
4965
  * </ul>
4932
4966
  * @public
4933
4967
  */