@aws-sdk/client-glue 3.627.0 → 3.630.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
@@ -357,6 +357,7 @@ __export(src_exports, {
357
357
  StopSessionCommand: () => StopSessionCommand,
358
358
  StopTriggerCommand: () => StopTriggerCommand,
359
359
  StopWorkflowRunCommand: () => StopWorkflowRunCommand,
360
+ TableAttributes: () => TableAttributes,
360
361
  TableOptimizerEventType: () => TableOptimizerEventType,
361
362
  TableOptimizerType: () => TableOptimizerType,
362
363
  TagResourceCommand: () => TagResourceCommand,
@@ -1695,6 +1696,10 @@ var ResourceState = {
1695
1696
  STOPPED: "STOPPED",
1696
1697
  SUCCESS: "SUCCESS"
1697
1698
  };
1699
+ var TableAttributes = {
1700
+ NAME: "NAME",
1701
+ TABLE_TYPE: "TABLE_TYPE"
1702
+ };
1698
1703
  var PermissionType = {
1699
1704
  CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION",
1700
1705
  COLUMN_PERMISSION: "COLUMN_PERMISSION",
@@ -7144,6 +7149,7 @@ var se_GetTableRequest = /* @__PURE__ */ __name((input, context) => {
7144
7149
  }, "se_GetTableRequest");
7145
7150
  var se_GetTablesRequest = /* @__PURE__ */ __name((input, context) => {
7146
7151
  return (0, import_smithy_client.take)(input, {
7152
+ AttributesToGet: import_smithy_client._json,
7147
7153
  CatalogId: [],
7148
7154
  DatabaseName: [],
7149
7155
  Expression: [],
@@ -13897,6 +13903,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
13897
13903
  StatementState,
13898
13904
  ResourceAction,
13899
13905
  ResourceState,
13906
+ TableAttributes,
13900
13907
  PermissionType,
13901
13908
  PermissionTypeMismatchException,
13902
13909
  FieldName,
@@ -35,6 +35,10 @@ export const ResourceState = {
35
35
  STOPPED: "STOPPED",
36
36
  SUCCESS: "SUCCESS",
37
37
  };
38
+ export const TableAttributes = {
39
+ NAME: "NAME",
40
+ TABLE_TYPE: "TABLE_TYPE",
41
+ };
38
42
  export const PermissionType = {
39
43
  CELL_FILTER_PERMISSION: "CELL_FILTER_PERMISSION",
40
44
  COLUMN_PERMISSION: "COLUMN_PERMISSION",
@@ -5138,6 +5138,7 @@ const se_GetTableRequest = (input, context) => {
5138
5138
  };
5139
5139
  const se_GetTablesRequest = (input, context) => {
5140
5140
  return take(input, {
5141
+ AttributesToGet: _json,
5141
5142
  CatalogId: [],
5142
5143
  DatabaseName: [],
5143
5144
  Expression: [],
@@ -45,6 +45,9 @@ declare const GetTablesCommand_base: {
45
45
  * TransactionId: "STRING_VALUE",
46
46
  * QueryAsOfTime: new Date("TIMESTAMP"),
47
47
  * IncludeStatusDetails: true || false,
48
+ * AttributesToGet: [ // TableAttributesList
49
+ * "NAME" || "TABLE_TYPE",
50
+ * ],
48
51
  * };
49
52
  * const command = new GetTablesCommand(input);
50
53
  * const response = await client.send(command);
@@ -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 { UpdateWorkflowRequest, UpdateWorkflowResponse } from "../models/models_2";
4
+ import { UpdateWorkflowRequest } from "../models/models_2";
5
+ import { UpdateWorkflowResponse } from "../models/models_3";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1549,6 +1549,18 @@ export interface GetTableOptimizerResponse {
1549
1549
  */
1550
1550
  TableOptimizer?: TableOptimizer;
1551
1551
  }
1552
+ /**
1553
+ * @public
1554
+ * @enum
1555
+ */
1556
+ export declare const TableAttributes: {
1557
+ readonly NAME: "NAME";
1558
+ readonly TABLE_TYPE: "TABLE_TYPE";
1559
+ };
1560
+ /**
1561
+ * @public
1562
+ */
1563
+ export type TableAttributes = (typeof TableAttributes)[keyof typeof TableAttributes];
1552
1564
  /**
1553
1565
  * @public
1554
1566
  */
@@ -1596,6 +1608,22 @@ export interface GetTablesRequest {
1596
1608
  * @public
1597
1609
  */
1598
1610
  IncludeStatusDetails?: boolean;
1611
+ /**
1612
+ * <p> Specifies the table fields returned by the <code>GetTables</code> call. This parameter doesn’t accept an empty list. The request must include <code>NAME</code>.</p>
1613
+ * <p>The following are the valid combinations of values:</p>
1614
+ * <ul>
1615
+ * <li>
1616
+ * <p>
1617
+ * <code>NAME</code> - Names of all tables in the database.</p>
1618
+ * </li>
1619
+ * <li>
1620
+ * <p>
1621
+ * <code>NAME</code>, <code>TABLE_TYPE</code> - Names of all tables and the table types.</p>
1622
+ * </li>
1623
+ * </ul>
1624
+ * @public
1625
+ */
1626
+ AttributesToGet?: TableAttributes[];
1599
1627
  }
1600
1628
  /**
1601
1629
  * @public
@@ -6717,16 +6745,6 @@ export interface UpdateWorkflowRequest {
6717
6745
  */
6718
6746
  MaxConcurrentRuns?: number;
6719
6747
  }
6720
- /**
6721
- * @public
6722
- */
6723
- export interface UpdateWorkflowResponse {
6724
- /**
6725
- * <p>The name of the workflow which was specified in input.</p>
6726
- * @public
6727
- */
6728
- Name?: string;
6729
- }
6730
6748
  /**
6731
6749
  * @internal
6732
6750
  */
@@ -1,6 +1,16 @@
1
1
  import { Aggregate, AmazonRedshiftSource, AmazonRedshiftTarget, AthenaConnectorSource, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, Column, ConnectionsList, ConnectorDataSource, ConnectorDataTarget, CustomCode, DirectJDBCSource, DirectKafkaSource, DirectKinesisSource, DropDuplicates, DropFields, DropNullFields, DynamicTransform, DynamoDBCatalogSource, ErrorDetail, EvaluateDataQuality, EvaluateDataQualityMultiFrame, ExecutionClass, ExecutionProperty, FillMissingValues, Filter, GovernedCatalogSource, GovernedCatalogTarget, JDBCConnectorSource, JDBCConnectorTarget, JobCommand, JobMode, Join, Merge, MicrosoftSQLServerCatalogSource, MicrosoftSQLServerCatalogTarget, MySQLCatalogSource, MySQLCatalogTarget, NotificationProperty, OracleSQLCatalogSource, OracleSQLCatalogTarget, PIIDetection, PostgreSQLCatalogSource, PostgreSQLCatalogTarget, Recipe, RedshiftSource, RedshiftTarget, RelationalCatalogSource, RenameField, S3CatalogDeltaSource, S3CatalogHudiSource, S3CatalogSource, S3CatalogTarget, S3CsvSource, S3DeltaCatalogTarget, S3DeltaDirectTarget, S3DeltaSource, S3DirectTarget, S3GlueParquetTarget, S3HudiCatalogTarget, S3HudiDirectTarget, S3HudiSource, S3JsonSource, S3ParquetSource, SelectFields, SelectFromCollection, SnowflakeSource, SnowflakeTarget, SourceControlDetails, SparkConnectorSource, SparkConnectorTarget, SparkSQL, Spigot, SplitFields, StorageDescriptor, Union, WorkerType } from "./models_0";
2
2
  import { Permission, TableIdentifier } from "./models_1";
3
3
  import { ColumnRowFilter, FederatedTable, ResourceAction, ResourceState, ViewDefinition, ViewValidation } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface UpdateWorkflowResponse {
8
+ /**
9
+ * <p>The name of the workflow which was specified in input.</p>
10
+ * @public
11
+ */
12
+ Name?: string;
13
+ }
4
14
  /**
5
15
  * <p>Specifies the mapping of data property keys.</p>
6
16
  * @public
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../GlueClient";
8
- import {
9
- UpdateWorkflowRequest,
10
- UpdateWorkflowResponse,
11
- } from "../models/models_2";
8
+ import { UpdateWorkflowRequest } from "../models/models_2";
9
+ import { UpdateWorkflowResponse } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface UpdateWorkflowCommandInput extends UpdateWorkflowRequest {}
@@ -406,6 +406,12 @@ export interface GetTableOptimizerResponse {
406
406
  TableName?: string;
407
407
  TableOptimizer?: TableOptimizer;
408
408
  }
409
+ export declare const TableAttributes: {
410
+ readonly NAME: "NAME";
411
+ readonly TABLE_TYPE: "TABLE_TYPE";
412
+ };
413
+ export type TableAttributes =
414
+ (typeof TableAttributes)[keyof typeof TableAttributes];
409
415
  export interface GetTablesRequest {
410
416
  CatalogId?: string;
411
417
  DatabaseName: string | undefined;
@@ -415,6 +421,7 @@ export interface GetTablesRequest {
415
421
  TransactionId?: string;
416
422
  QueryAsOfTime?: Date;
417
423
  IncludeStatusDetails?: boolean;
424
+ AttributesToGet?: TableAttributes[];
418
425
  }
419
426
  export interface GetTableVersionRequest {
420
427
  CatalogId?: string;
@@ -1674,9 +1681,6 @@ export interface UpdateWorkflowRequest {
1674
1681
  DefaultRunProperties?: Record<string, string>;
1675
1682
  MaxConcurrentRuns?: number;
1676
1683
  }
1677
- export interface UpdateWorkflowResponse {
1678
- Name?: string;
1679
- }
1680
1684
  export declare const StatisticSummaryFilterSensitiveLog: (
1681
1685
  obj: StatisticSummary
1682
1686
  ) => any;
@@ -90,6 +90,9 @@ import {
90
90
  ViewDefinition,
91
91
  ViewValidation,
92
92
  } from "./models_2";
93
+ export interface UpdateWorkflowResponse {
94
+ Name?: string;
95
+ }
93
96
  export interface Mapping {
94
97
  ToKey?: string;
95
98
  FromPath?: string[];
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.627.0",
4
+ "version": "3.630.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,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.624.0",
24
- "@aws-sdk/client-sts": "3.624.0",
25
- "@aws-sdk/core": "3.624.0",
26
- "@aws-sdk/credential-provider-node": "3.624.0",
23
+ "@aws-sdk/client-sso-oidc": "3.629.0",
24
+ "@aws-sdk/client-sts": "3.629.0",
25
+ "@aws-sdk/core": "3.629.0",
26
+ "@aws-sdk/credential-provider-node": "3.629.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",