@aws-sdk/client-glue 3.52.0 → 3.53.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.
@@ -1,10 +1,13 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { GlueServiceException as __BaseException } from "./GlueServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
6
7
 
7
8
  Message?: string;
9
+
10
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
8
11
  }
9
12
 
10
13
  export interface NotificationProperty {
@@ -37,11 +40,13 @@ export declare namespace Action {
37
40
  const filterSensitiveLog: (obj: Action) => any;
38
41
  }
39
42
 
40
- export interface AlreadyExistsException extends __SmithyException, $MetadataBearer {
41
- name: "AlreadyExistsException";
42
- $fault: "client";
43
+ export declare class AlreadyExistsException extends __BaseException {
44
+ readonly name: "AlreadyExistsException";
45
+ readonly $fault: "client";
43
46
 
44
47
  Message?: string;
48
+
49
+ constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
45
50
  }
46
51
  export interface AuditContext {
47
52
  AdditionalAuditContext?: string;
@@ -234,46 +239,58 @@ export declare namespace BatchCreatePartitionResponse {
234
239
  const filterSensitiveLog: (obj: BatchCreatePartitionResponse) => any;
235
240
  }
236
241
 
237
- export interface EntityNotFoundException extends __SmithyException, $MetadataBearer {
238
- name: "EntityNotFoundException";
239
- $fault: "client";
242
+ export declare class EntityNotFoundException extends __BaseException {
243
+ readonly name: "EntityNotFoundException";
244
+ readonly $fault: "client";
240
245
 
241
246
  Message?: string;
247
+
248
+ constructor(opts: __ExceptionOptionType<EntityNotFoundException, __BaseException>);
242
249
  }
243
250
 
244
- export interface GlueEncryptionException extends __SmithyException, $MetadataBearer {
245
- name: "GlueEncryptionException";
246
- $fault: "client";
251
+ export declare class GlueEncryptionException extends __BaseException {
252
+ readonly name: "GlueEncryptionException";
253
+ readonly $fault: "client";
247
254
 
248
255
  Message?: string;
256
+
257
+ constructor(opts: __ExceptionOptionType<GlueEncryptionException, __BaseException>);
249
258
  }
250
259
 
251
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
252
- name: "InternalServiceException";
253
- $fault: "server";
260
+ export declare class InternalServiceException extends __BaseException {
261
+ readonly name: "InternalServiceException";
262
+ readonly $fault: "server";
254
263
 
255
264
  Message?: string;
265
+
266
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
256
267
  }
257
268
 
258
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
259
- name: "InvalidInputException";
260
- $fault: "client";
269
+ export declare class InvalidInputException extends __BaseException {
270
+ readonly name: "InvalidInputException";
271
+ readonly $fault: "client";
261
272
 
262
273
  Message?: string;
274
+
275
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
263
276
  }
264
277
 
265
- export interface OperationTimeoutException extends __SmithyException, $MetadataBearer {
266
- name: "OperationTimeoutException";
267
- $fault: "client";
278
+ export declare class OperationTimeoutException extends __BaseException {
279
+ readonly name: "OperationTimeoutException";
280
+ readonly $fault: "client";
268
281
 
269
282
  Message?: string;
283
+
284
+ constructor(opts: __ExceptionOptionType<OperationTimeoutException, __BaseException>);
270
285
  }
271
286
 
272
- export interface ResourceNumberLimitExceededException extends __SmithyException, $MetadataBearer {
273
- name: "ResourceNumberLimitExceededException";
274
- $fault: "client";
287
+ export declare class ResourceNumberLimitExceededException extends __BaseException {
288
+ readonly name: "ResourceNumberLimitExceededException";
289
+ readonly $fault: "client";
275
290
 
276
291
  Message?: string;
292
+
293
+ constructor(opts: __ExceptionOptionType<ResourceNumberLimitExceededException, __BaseException>);
277
294
  }
278
295
  export interface BatchDeleteConnectionRequest {
279
296
 
@@ -362,11 +379,13 @@ export declare namespace BatchDeleteTableResponse {
362
379
  const filterSensitiveLog: (obj: BatchDeleteTableResponse) => any;
363
380
  }
364
381
 
365
- export interface ResourceNotReadyException extends __SmithyException, $MetadataBearer {
366
- name: "ResourceNotReadyException";
367
- $fault: "client";
382
+ export declare class ResourceNotReadyException extends __BaseException {
383
+ readonly name: "ResourceNotReadyException";
384
+ readonly $fault: "client";
368
385
 
369
386
  Message?: string;
387
+
388
+ constructor(opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>);
370
389
  }
371
390
  export interface BatchDeleteTableVersionRequest {
372
391
 
@@ -972,11 +991,13 @@ export declare namespace BatchGetPartitionResponse {
972
991
  const filterSensitiveLog: (obj: BatchGetPartitionResponse) => any;
973
992
  }
974
993
 
975
- export interface InvalidStateException extends __SmithyException, $MetadataBearer {
976
- name: "InvalidStateException";
977
- $fault: "client";
994
+ export declare class InvalidStateException extends __BaseException {
995
+ readonly name: "InvalidStateException";
996
+ readonly $fault: "client";
978
997
 
979
998
  Message?: string;
999
+
1000
+ constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
980
1001
  }
981
1002
  export interface BatchGetTriggersRequest {
982
1003
 
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { GlueServiceException as __BaseException } from "./GlueServiceException";
2
3
  import { Action, AuditContext, CodeGenEdge, CodeGenNode, CodeGenNodeArg, Column, ColumnStatistics, Compatibility, ConnectionInput, ConnectionsList, Crawler, CrawlerMetrics, CrawlerTargets, CsvHeaderOption, DatabaseIdentifier, DatabaseInput, DataFormat, DevEndpoint, EncryptionConfiguration, ErrorDetail, EventBatchingCondition, ExecutionProperty, GlueTable, Job, JobCommand, JobRun, LakeFormationConfiguration, Language, LineageConfiguration, NotificationProperty, Partition, PartitionInput, PartitionValueList, Predicate, PrincipalPermissions, PrincipalType, RecrawlPolicy, RegistryId, RegistryStatus, ResourceUri, SchemaChangePolicy, SchemaId, SchemaStatus, SchemaVersionStatus, StorageDescriptor, TableIdentifier, TableInput, TaskStatusType, TransformEncryption, TransformParameters, TransformType, Trigger, UserDefinedFunctionInput, WorkerType, Workflow, WorkflowRun } from "./models_0";
3
4
  export interface GetCrawlerMetricsResponse {
4
5
 
@@ -1496,10 +1497,12 @@ export declare namespace GetUnfilteredPartitionMetadataResponse {
1496
1497
 
1497
1498
  const filterSensitiveLog: (obj: GetUnfilteredPartitionMetadataResponse) => any;
1498
1499
  }
1499
- export interface PermissionTypeMismatchException extends __SmithyException, $MetadataBearer {
1500
- name: "PermissionTypeMismatchException";
1501
- $fault: "client";
1500
+ export declare class PermissionTypeMismatchException extends __BaseException {
1501
+ readonly name: "PermissionTypeMismatchException";
1502
+ readonly $fault: "client";
1502
1503
  Message?: string;
1504
+
1505
+ constructor(opts: __ExceptionOptionType<PermissionTypeMismatchException, __BaseException>);
1503
1506
  }
1504
1507
  export interface GetUnfilteredPartitionsMetadataRequest {
1505
1508
  CatalogId: string | undefined;
@@ -2270,18 +2273,22 @@ export declare namespace ResetJobBookmarkResponse {
2270
2273
  const filterSensitiveLog: (obj: ResetJobBookmarkResponse) => any;
2271
2274
  }
2272
2275
 
2273
- export interface ConcurrentRunsExceededException extends __SmithyException, $MetadataBearer {
2274
- name: "ConcurrentRunsExceededException";
2275
- $fault: "client";
2276
+ export declare class ConcurrentRunsExceededException extends __BaseException {
2277
+ readonly name: "ConcurrentRunsExceededException";
2278
+ readonly $fault: "client";
2276
2279
 
2277
2280
  Message?: string;
2281
+
2282
+ constructor(opts: __ExceptionOptionType<ConcurrentRunsExceededException, __BaseException>);
2278
2283
  }
2279
2284
 
2280
- export interface IllegalWorkflowStateException extends __SmithyException, $MetadataBearer {
2281
- name: "IllegalWorkflowStateException";
2282
- $fault: "client";
2285
+ export declare class IllegalWorkflowStateException extends __BaseException {
2286
+ readonly name: "IllegalWorkflowStateException";
2287
+ readonly $fault: "client";
2283
2288
 
2284
2289
  Message?: string;
2290
+
2291
+ constructor(opts: __ExceptionOptionType<IllegalWorkflowStateException, __BaseException>);
2285
2292
  }
2286
2293
  export interface ResumeWorkflowRunRequest {
2287
2294
 
@@ -2370,10 +2377,12 @@ export declare namespace SearchTablesResponse {
2370
2377
 
2371
2378
  const filterSensitiveLog: (obj: SearchTablesResponse) => any;
2372
2379
  }
2373
- export interface IllegalBlueprintStateException extends __SmithyException, $MetadataBearer {
2374
- name: "IllegalBlueprintStateException";
2375
- $fault: "client";
2380
+ export declare class IllegalBlueprintStateException extends __BaseException {
2381
+ readonly name: "IllegalBlueprintStateException";
2382
+ readonly $fault: "client";
2376
2383
  Message?: string;
2384
+
2385
+ constructor(opts: __ExceptionOptionType<IllegalBlueprintStateException, __BaseException>);
2377
2386
  }
2378
2387
  export interface StartBlueprintRunRequest {
2379
2388
 
@@ -2410,18 +2419,22 @@ export declare namespace StartCrawlerResponse {
2410
2419
  const filterSensitiveLog: (obj: StartCrawlerResponse) => any;
2411
2420
  }
2412
2421
 
2413
- export interface NoScheduleException extends __SmithyException, $MetadataBearer {
2414
- name: "NoScheduleException";
2415
- $fault: "client";
2422
+ export declare class NoScheduleException extends __BaseException {
2423
+ readonly name: "NoScheduleException";
2424
+ readonly $fault: "client";
2416
2425
 
2417
2426
  Message?: string;
2427
+
2428
+ constructor(opts: __ExceptionOptionType<NoScheduleException, __BaseException>);
2418
2429
  }
2419
2430
 
2420
- export interface SchedulerRunningException extends __SmithyException, $MetadataBearer {
2421
- name: "SchedulerRunningException";
2422
- $fault: "client";
2431
+ export declare class SchedulerRunningException extends __BaseException {
2432
+ readonly name: "SchedulerRunningException";
2433
+ readonly $fault: "client";
2423
2434
 
2424
2435
  Message?: string;
2436
+
2437
+ constructor(opts: __ExceptionOptionType<SchedulerRunningException, __BaseException>);
2425
2438
  }
2426
2439
  export interface StartCrawlerScheduleRequest {
2427
2440
 
@@ -2512,11 +2525,13 @@ export declare namespace StartJobRunResponse {
2512
2525
  const filterSensitiveLog: (obj: StartJobRunResponse) => any;
2513
2526
  }
2514
2527
 
2515
- export interface MLTransformNotReadyException extends __SmithyException, $MetadataBearer {
2516
- name: "MLTransformNotReadyException";
2517
- $fault: "client";
2528
+ export declare class MLTransformNotReadyException extends __BaseException {
2529
+ readonly name: "MLTransformNotReadyException";
2530
+ readonly $fault: "client";
2518
2531
 
2519
2532
  Message?: string;
2533
+
2534
+ constructor(opts: __ExceptionOptionType<MLTransformNotReadyException, __BaseException>);
2520
2535
  }
2521
2536
  export interface StartMLEvaluationTaskRunRequest {
2522
2537
 
@@ -2589,18 +2604,22 @@ export declare namespace StartWorkflowRunResponse {
2589
2604
  const filterSensitiveLog: (obj: StartWorkflowRunResponse) => any;
2590
2605
  }
2591
2606
 
2592
- export interface CrawlerNotRunningException extends __SmithyException, $MetadataBearer {
2593
- name: "CrawlerNotRunningException";
2594
- $fault: "client";
2607
+ export declare class CrawlerNotRunningException extends __BaseException {
2608
+ readonly name: "CrawlerNotRunningException";
2609
+ readonly $fault: "client";
2595
2610
 
2596
2611
  Message?: string;
2612
+
2613
+ constructor(opts: __ExceptionOptionType<CrawlerNotRunningException, __BaseException>);
2597
2614
  }
2598
2615
 
2599
- export interface CrawlerStoppingException extends __SmithyException, $MetadataBearer {
2600
- name: "CrawlerStoppingException";
2601
- $fault: "client";
2616
+ export declare class CrawlerStoppingException extends __BaseException {
2617
+ readonly name: "CrawlerStoppingException";
2618
+ readonly $fault: "client";
2602
2619
 
2603
2620
  Message?: string;
2621
+
2622
+ constructor(opts: __ExceptionOptionType<CrawlerStoppingException, __BaseException>);
2604
2623
  }
2605
2624
  export interface StopCrawlerRequest {
2606
2625
 
@@ -2617,11 +2636,13 @@ export declare namespace StopCrawlerResponse {
2617
2636
  const filterSensitiveLog: (obj: StopCrawlerResponse) => any;
2618
2637
  }
2619
2638
 
2620
- export interface SchedulerNotRunningException extends __SmithyException, $MetadataBearer {
2621
- name: "SchedulerNotRunningException";
2622
- $fault: "client";
2639
+ export declare class SchedulerNotRunningException extends __BaseException {
2640
+ readonly name: "SchedulerNotRunningException";
2641
+ readonly $fault: "client";
2623
2642
 
2624
2643
  Message?: string;
2644
+
2645
+ constructor(opts: __ExceptionOptionType<SchedulerNotRunningException, __BaseException>);
2625
2646
  }
2626
2647
  export interface StopCrawlerScheduleRequest {
2627
2648
 
@@ -2804,11 +2825,13 @@ export declare namespace UpdateClassifierResponse {
2804
2825
  const filterSensitiveLog: (obj: UpdateClassifierResponse) => any;
2805
2826
  }
2806
2827
 
2807
- export interface VersionMismatchException extends __SmithyException, $MetadataBearer {
2808
- name: "VersionMismatchException";
2809
- $fault: "client";
2828
+ export declare class VersionMismatchException extends __BaseException {
2829
+ readonly name: "VersionMismatchException";
2830
+ readonly $fault: "client";
2810
2831
 
2811
2832
  Message?: string;
2833
+
2834
+ constructor(opts: __ExceptionOptionType<VersionMismatchException, __BaseException>);
2812
2835
  }
2813
2836
  export interface UpdateColumnStatisticsForPartitionRequest {
2814
2837
 
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.52.0",
4
+ "version": "3.53.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"