@aws-sdk/client-glue 3.606.0 → 3.607.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
@@ -107,6 +107,7 @@ __export(src_exports, {
107
107
  DQTransformOutput: () => DQTransformOutput,
108
108
  DataFormat: () => DataFormat,
109
109
  DataQualityRuleResultStatus: () => DataQualityRuleResultStatus,
110
+ DatabaseAttributes: () => DatabaseAttributes,
110
111
  DeleteBehavior: () => DeleteBehavior,
111
112
  DeleteBlueprintCommand: () => DeleteBlueprintCommand,
112
113
  DeleteClassifierCommand: () => DeleteClassifierCommand,
@@ -1542,6 +1543,9 @@ var ColumnStatisticsState = {
1542
1543
  STOPPED: "STOPPED",
1543
1544
  SUCCEEDED: "SUCCEEDED"
1544
1545
  };
1546
+ var DatabaseAttributes = {
1547
+ NAME: "NAME"
1548
+ };
1545
1549
  var ResourceShareType = {
1546
1550
  ALL: "ALL",
1547
1551
  FEDERATED: "FEDERATED",
@@ -13400,6 +13404,7 @@ var paginateSearchTables = (0, import_core.createPaginator)(GlueClient, SearchTa
13400
13404
  BlueprintRunState,
13401
13405
  ColumnStatisticsType,
13402
13406
  ColumnStatisticsState,
13407
+ DatabaseAttributes,
13403
13408
  ResourceShareType,
13404
13409
  CatalogEncryptionMode,
13405
13410
  DQCompositeRuleEvaluationMethod,
@@ -285,6 +285,9 @@ export const ColumnStatisticsState = {
285
285
  STOPPED: "STOPPED",
286
286
  SUCCEEDED: "SUCCEEDED",
287
287
  };
288
+ export const DatabaseAttributes = {
289
+ NAME: "NAME",
290
+ };
288
291
  export const ResourceShareType = {
289
292
  ALL: "ALL",
290
293
  FEDERATED: "FEDERATED",
@@ -39,6 +39,9 @@ declare const GetDatabasesCommand_base: {
39
39
  * NextToken: "STRING_VALUE",
40
40
  * MaxResults: Number("int"),
41
41
  * ResourceShareType: "FOREIGN" || "ALL" || "FEDERATED",
42
+ * AttributesToGet: [ // DatabaseAttributesList
43
+ * "NAME",
44
+ * ],
42
45
  * };
43
46
  * const command = new GetDatabasesCommand(input);
44
47
  * 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 { GetPlanRequest, GetPlanResponse } from "../models/models_1";
4
+ import { GetPlanRequest } from "../models/models_1";
5
+ import { GetPlanResponse } from "../models/models_2";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -5070,6 +5070,17 @@ export interface GetDatabaseResponse {
5070
5070
  */
5071
5071
  Database?: Database;
5072
5072
  }
5073
+ /**
5074
+ * @public
5075
+ * @enum
5076
+ */
5077
+ export declare const DatabaseAttributes: {
5078
+ readonly NAME: "NAME";
5079
+ };
5080
+ /**
5081
+ * @public
5082
+ */
5083
+ export type DatabaseAttributes = (typeof DatabaseAttributes)[keyof typeof DatabaseAttributes];
5073
5084
  /**
5074
5085
  * @public
5075
5086
  * @enum
@@ -5119,6 +5130,11 @@ export interface GetDatabasesRequest {
5119
5130
  * @public
5120
5131
  */
5121
5132
  ResourceShareType?: ResourceShareType;
5133
+ /**
5134
+ * <p>Specifies the database fields returned by the <code>GetDatabases</code> call. This parameter doesn’t accept an empty list. The request must include the <code>NAME</code>.</p>
5135
+ * @public
5136
+ */
5137
+ AttributesToGet?: DatabaseAttributes[];
5122
5138
  }
5123
5139
  /**
5124
5140
  * @public
@@ -7258,18 +7274,3 @@ export interface GetPlanRequest {
7258
7274
  */
7259
7275
  AdditionalPlanOptionsMap?: Record<string, string>;
7260
7276
  }
7261
- /**
7262
- * @public
7263
- */
7264
- export interface GetPlanResponse {
7265
- /**
7266
- * <p>A Python script to perform the mapping.</p>
7267
- * @public
7268
- */
7269
- PythonScript?: string;
7270
- /**
7271
- * <p>The Scala code to perform the mapping.</p>
7272
- * @public
7273
- */
7274
- ScalaCode?: string;
7275
- }
@@ -2,6 +2,21 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
3
3
  import { Action, Aggregate, AmazonRedshiftSource, AmazonRedshiftTarget, AthenaConnectorSource, AuditContext, BasicCatalogTarget, CatalogDeltaSource, CatalogHudiSource, CatalogKafkaSource, CatalogKinesisSource, CatalogSource, Column, ConnectionsList, ConnectorDataSource, ConnectorDataTarget, CrawlerTargets, CsvHeaderOption, CsvSerdeOption, CustomCode, CustomEntityType, DataFormat, DataSource, DirectJDBCSource, DirectKafkaSource, DirectKinesisSource, DropDuplicates, DropFields, DropNullFields, DynamicTransform, DynamoDBCatalogSource, ErrorDetail, EvaluateDataQuality, EvaluateDataQualityMultiFrame, EventBatchingCondition, ExecutionClass, ExecutionProperty, FillMissingValues, Filter, GovernedCatalogSource, GovernedCatalogTarget, JDBCConnectorSource, JDBCConnectorTarget, JobCommand, JobMode, Join, LakeFormationConfiguration, LineageConfiguration, Merge, MicrosoftSQLServerCatalogSource, MicrosoftSQLServerCatalogTarget, MySQLCatalogSource, MySQLCatalogTarget, NotificationProperty, OracleSQLCatalogSource, OracleSQLCatalogTarget, Partition, PartitionInput, PIIDetection, PostgreSQLCatalogSource, PostgreSQLCatalogTarget, Predicate, Recipe, RecrawlPolicy, RedshiftSource, RedshiftTarget, RelationalCatalogSource, RenameField, S3CatalogDeltaSource, S3CatalogHudiSource, S3CatalogSource, S3CatalogTarget, S3CsvSource, S3DeltaCatalogTarget, S3DeltaDirectTarget, S3DeltaSource, S3DirectTarget, S3GlueParquetTarget, S3HudiCatalogTarget, S3HudiDirectTarget, S3HudiSource, S3JsonSource, S3ParquetSource, SchemaChangePolicy, SchemaId, SelectFields, SelectFromCollection, SnowflakeSource, SnowflakeTarget, SourceControlAuthStrategy, SourceControlDetails, SourceControlProvider, SparkConnectorSource, SparkConnectorTarget, SparkSQL, Spigot, SplitFields, StorageDescriptor, TableOptimizer, TableOptimizerConfiguration, TableOptimizerRun, TableOptimizerType, TaskStatusType, Trigger, Union, WorkerType, Workflow, WorkflowRun } from "./models_0";
4
4
  import { ColumnStatistics, Compatibility, ConnectionInput, DatabaseInput, DataCatalogEncryptionSettings, DataQualityEvaluationRunAdditionalRunOptions, DataQualityTargetTable, EncryptionConfiguration, JobBookmarkEntry, Permission, PrincipalType, ProfileConfiguration, RegistryId, RegistryStatus, ResourceShareType, ResourceUri, SchemaStatus, SchemaVersionStatus, Segment, Session, TableIdentifier, TableInput, TransformFilterCriteria, TransformParameters, TransformSortCriteria, UserDefinedFunctionInput, ViewDialect } from "./models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface GetPlanResponse {
9
+ /**
10
+ * <p>A Python script to perform the mapping.</p>
11
+ * @public
12
+ */
13
+ PythonScript?: string;
14
+ /**
15
+ * <p>The Scala code to perform the mapping.</p>
16
+ * @public
17
+ */
18
+ ScalaCode?: string;
19
+ }
5
20
  /**
6
21
  * @public
7
22
  */
@@ -5,7 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../GlueClient";
8
- import { GetPlanRequest, GetPlanResponse } from "../models/models_1";
8
+ import { GetPlanRequest } from "../models/models_1";
9
+ import { GetPlanResponse } from "../models/models_2";
9
10
  export { __MetadataBearer };
10
11
  export { $Command };
11
12
  export interface GetPlanCommandInput extends GetPlanRequest {}
@@ -1266,6 +1266,11 @@ export interface Database {
1266
1266
  export interface GetDatabaseResponse {
1267
1267
  Database?: Database;
1268
1268
  }
1269
+ export declare const DatabaseAttributes: {
1270
+ readonly NAME: "NAME";
1271
+ };
1272
+ export type DatabaseAttributes =
1273
+ (typeof DatabaseAttributes)[keyof typeof DatabaseAttributes];
1269
1274
  export declare const ResourceShareType: {
1270
1275
  readonly ALL: "ALL";
1271
1276
  readonly FEDERATED: "FEDERATED";
@@ -1278,6 +1283,7 @@ export interface GetDatabasesRequest {
1278
1283
  NextToken?: string;
1279
1284
  MaxResults?: number;
1280
1285
  ResourceShareType?: ResourceShareType;
1286
+ AttributesToGet?: DatabaseAttributes[];
1281
1287
  }
1282
1288
  export interface GetDatabasesResponse {
1283
1289
  DatabaseList: Database[] | undefined;
@@ -1756,7 +1762,3 @@ export interface GetPlanRequest {
1756
1762
  Language?: Language;
1757
1763
  AdditionalPlanOptionsMap?: Record<string, string>;
1758
1764
  }
1759
- export interface GetPlanResponse {
1760
- PythonScript?: string;
1761
- ScalaCode?: string;
1762
- }
@@ -139,6 +139,10 @@ import {
139
139
  UserDefinedFunctionInput,
140
140
  ViewDialect,
141
141
  } from "./models_1";
142
+ export interface GetPlanResponse {
143
+ PythonScript?: string;
144
+ ScalaCode?: string;
145
+ }
142
146
  export interface GetRegistryInput {
143
147
  RegistryId: RegistryId | undefined;
144
148
  }
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.606.0",
4
+ "version": "3.607.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",