@aws-sdk/client-databrew 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.
@@ -3,3 +3,4 @@ export * from "./DataBrewClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { DataBrewServiceException } from "./models/DataBrewServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from DataBrew service.
4
+ */
5
+ export declare class DataBrewServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DataBrewServiceException as __BaseException } from "./DataBrewServiceException";
2
3
  /**
3
4
  * <p>Access to the specified resource was denied.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
14
  }
10
15
  /**
11
16
  * <p>Configuration of statistics that are allowed to be run on columns that
@@ -89,26 +94,38 @@ export declare namespace BatchDeleteRecipeVersionResponse {
89
94
  /**
90
95
  * <p>Updating or deleting a resource can cause an inconsistent state.</p>
91
96
  */
92
- export interface ConflictException extends __SmithyException, $MetadataBearer {
93
- name: "ConflictException";
94
- $fault: "client";
97
+ export declare class ConflictException extends __BaseException {
98
+ readonly name: "ConflictException";
99
+ readonly $fault: "client";
95
100
  Message?: string;
101
+ /**
102
+ * @internal
103
+ */
104
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
96
105
  }
97
106
  /**
98
107
  * <p>One or more resources can't be found.</p>
99
108
  */
100
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
101
- name: "ResourceNotFoundException";
102
- $fault: "client";
109
+ export declare class ResourceNotFoundException extends __BaseException {
110
+ readonly name: "ResourceNotFoundException";
111
+ readonly $fault: "client";
103
112
  Message?: string;
113
+ /**
114
+ * @internal
115
+ */
116
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
104
117
  }
105
118
  /**
106
119
  * <p>The input parameters for this request failed validation.</p>
107
120
  */
108
- export interface ValidationException extends __SmithyException, $MetadataBearer {
109
- name: "ValidationException";
110
- $fault: "client";
121
+ export declare class ValidationException extends __BaseException {
122
+ readonly name: "ValidationException";
123
+ readonly $fault: "client";
111
124
  Message?: string;
125
+ /**
126
+ * @internal
127
+ */
128
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
112
129
  }
113
130
  export declare enum InputFormat {
114
131
  CSV = "CSV",
@@ -535,10 +552,14 @@ export declare namespace CreateDatasetResponse {
535
552
  /**
536
553
  * <p>A service quota is exceeded.</p>
537
554
  */
538
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
539
- name: "ServiceQuotaExceededException";
540
- $fault: "client";
555
+ export declare class ServiceQuotaExceededException extends __BaseException {
556
+ readonly name: "ServiceQuotaExceededException";
557
+ readonly $fault: "client";
541
558
  Message?: string;
559
+ /**
560
+ * @internal
561
+ */
562
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
542
563
  }
543
564
  /**
544
565
  * <p>Selector of a column from a dataset for profile job configuration.
@@ -1001,10 +1022,14 @@ export declare namespace CreateProjectResponse {
1001
1022
  /**
1002
1023
  * <p>An internal service failure occurred.</p>
1003
1024
  */
1004
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
1005
- name: "InternalServerException";
1006
- $fault: "server";
1025
+ export declare class InternalServerException extends __BaseException {
1026
+ readonly name: "InternalServerException";
1027
+ readonly $fault: "server";
1007
1028
  Message?: string;
1029
+ /**
1030
+ * @internal
1031
+ */
1032
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
1008
1033
  }
1009
1034
  /**
1010
1035
  * <p>Represents a transformation and associated parameters that are used to apply a change
@@ -1312,6 +1337,11 @@ export interface Output {
1312
1337
  * <p>Represents options that define how DataBrew formats job output files.</p>
1313
1338
  */
1314
1339
  FormatOptions?: OutputFormatOptions;
1340
+ /**
1341
+ * <p>Maximum number of files to be generated by the job and written to the output folder. For output partitioned
1342
+ * by column(s), the MaxOutputFiles value is the maximum number of files per partition.</p>
1343
+ */
1344
+ MaxOutputFiles?: number;
1315
1345
  }
1316
1346
  export declare namespace Output {
1317
1347
  /**
@@ -3,3 +3,4 @@ export * from "./DataBrewClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { DataBrewServiceException } from "./models/DataBrewServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class DataBrewServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,9 +1,12 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DataBrewServiceException as __BaseException } from "./DataBrewServiceException";
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
  Message?: string;
8
+
9
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
10
  }
8
11
 
9
12
  export interface AllowedStatistics {
@@ -52,22 +55,28 @@ export declare namespace BatchDeleteRecipeVersionResponse {
52
55
  const filterSensitiveLog: (obj: BatchDeleteRecipeVersionResponse) => any;
53
56
  }
54
57
 
55
- export interface ConflictException extends __SmithyException, $MetadataBearer {
56
- name: "ConflictException";
57
- $fault: "client";
58
+ export declare class ConflictException extends __BaseException {
59
+ readonly name: "ConflictException";
60
+ readonly $fault: "client";
58
61
  Message?: string;
62
+
63
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
59
64
  }
60
65
 
61
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
62
- name: "ResourceNotFoundException";
63
- $fault: "client";
66
+ export declare class ResourceNotFoundException extends __BaseException {
67
+ readonly name: "ResourceNotFoundException";
68
+ readonly $fault: "client";
64
69
  Message?: string;
70
+
71
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
65
72
  }
66
73
 
67
- export interface ValidationException extends __SmithyException, $MetadataBearer {
68
- name: "ValidationException";
69
- $fault: "client";
74
+ export declare class ValidationException extends __BaseException {
75
+ readonly name: "ValidationException";
76
+ readonly $fault: "client";
70
77
  Message?: string;
78
+
79
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
71
80
  }
72
81
  export declare enum InputFormat {
73
82
  CSV = "CSV",
@@ -300,10 +309,12 @@ export declare namespace CreateDatasetResponse {
300
309
  const filterSensitiveLog: (obj: CreateDatasetResponse) => any;
301
310
  }
302
311
 
303
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
304
- name: "ServiceQuotaExceededException";
305
- $fault: "client";
312
+ export declare class ServiceQuotaExceededException extends __BaseException {
313
+ readonly name: "ServiceQuotaExceededException";
314
+ readonly $fault: "client";
306
315
  Message?: string;
316
+
317
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
307
318
  }
308
319
 
309
320
  export interface ColumnSelector {
@@ -503,10 +514,12 @@ export declare namespace CreateProjectResponse {
503
514
  const filterSensitiveLog: (obj: CreateProjectResponse) => any;
504
515
  }
505
516
 
506
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
507
- name: "InternalServerException";
508
- $fault: "server";
517
+ export declare class InternalServerException extends __BaseException {
518
+ readonly name: "InternalServerException";
519
+ readonly $fault: "server";
509
520
  Message?: string;
521
+
522
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
510
523
  }
511
524
 
512
525
  export interface RecipeAction {
@@ -677,6 +690,8 @@ export interface Output {
677
690
  Overwrite?: boolean;
678
691
 
679
692
  FormatOptions?: OutputFormatOptions;
693
+
694
+ MaxOutputFiles?: number;
680
695
  }
681
696
  export declare namespace Output {
682
697
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-databrew",
3
3
  "description": "AWS SDK for JavaScript Databrew 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"