@aws-sdk/client-redshift-data 3.1148.0 → 3.1149.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 +12 -1
- package/dist-es/models/RedshiftDataServiceException.js +1 -0
- package/dist-es/models/errors.js +10 -0
- package/dist-types/models/RedshiftDataServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +10 -0
- package/dist-types/ts3.4/models/RedshiftDataServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +10 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1148.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class RedshiftDataServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.redshiftdata#RedshiftDataServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, RedshiftDataServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class RedshiftDataServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class ActiveSessionsExceededException extends RedshiftDataServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.redshiftdata#ActiveSessionsExceededException";
|
|
142
144
|
name = "ActiveSessionsExceededException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
Message;
|
|
@@ -153,6 +155,7 @@ class ActiveSessionsExceededException extends RedshiftDataServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class ActiveStatementsExceededException extends RedshiftDataServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.redshiftdata#ActiveStatementsExceededException";
|
|
156
159
|
name = "ActiveStatementsExceededException";
|
|
157
160
|
$fault = "client";
|
|
158
161
|
Message;
|
|
@@ -167,6 +170,7 @@ class ActiveStatementsExceededException extends RedshiftDataServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class ActiveWaitingRequestsExceededException extends RedshiftDataServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.redshiftdata#ActiveWaitingRequestsExceededException";
|
|
170
174
|
name = "ActiveWaitingRequestsExceededException";
|
|
171
175
|
$fault = "client";
|
|
172
176
|
Message;
|
|
@@ -181,6 +185,7 @@ class ActiveWaitingRequestsExceededException extends RedshiftDataServiceExceptio
|
|
|
181
185
|
}
|
|
182
186
|
}
|
|
183
187
|
class BatchExecuteStatementException extends RedshiftDataServiceException {
|
|
188
|
+
static shapeId = "com.amazonaws.redshiftdata#BatchExecuteStatementException";
|
|
184
189
|
name = "BatchExecuteStatementException";
|
|
185
190
|
$fault = "server";
|
|
186
191
|
Message;
|
|
@@ -197,6 +202,7 @@ class BatchExecuteStatementException extends RedshiftDataServiceException {
|
|
|
197
202
|
}
|
|
198
203
|
}
|
|
199
204
|
class InternalServerException extends RedshiftDataServiceException {
|
|
205
|
+
static shapeId = "com.amazonaws.redshiftdata#InternalServerException";
|
|
200
206
|
name = "InternalServerException";
|
|
201
207
|
$fault = "server";
|
|
202
208
|
Message;
|
|
@@ -211,6 +217,7 @@ class InternalServerException extends RedshiftDataServiceException {
|
|
|
211
217
|
}
|
|
212
218
|
}
|
|
213
219
|
class ResourceNotFoundException extends RedshiftDataServiceException {
|
|
220
|
+
static shapeId = "com.amazonaws.redshiftdata#ResourceNotFoundException";
|
|
214
221
|
name = "ResourceNotFoundException";
|
|
215
222
|
$fault = "client";
|
|
216
223
|
Message;
|
|
@@ -227,6 +234,7 @@ class ResourceNotFoundException extends RedshiftDataServiceException {
|
|
|
227
234
|
}
|
|
228
235
|
}
|
|
229
236
|
class ValidationException extends RedshiftDataServiceException {
|
|
237
|
+
static shapeId = "com.amazonaws.redshiftdata#ValidationException";
|
|
230
238
|
name = "ValidationException";
|
|
231
239
|
$fault = "client";
|
|
232
240
|
Message;
|
|
@@ -241,6 +249,7 @@ class ValidationException extends RedshiftDataServiceException {
|
|
|
241
249
|
}
|
|
242
250
|
}
|
|
243
251
|
class DatabaseConnectionException extends RedshiftDataServiceException {
|
|
252
|
+
static shapeId = "com.amazonaws.redshiftdata#DatabaseConnectionException";
|
|
244
253
|
name = "DatabaseConnectionException";
|
|
245
254
|
$fault = "server";
|
|
246
255
|
Message;
|
|
@@ -255,6 +264,7 @@ class DatabaseConnectionException extends RedshiftDataServiceException {
|
|
|
255
264
|
}
|
|
256
265
|
}
|
|
257
266
|
class QueryTimeoutException extends RedshiftDataServiceException {
|
|
267
|
+
static shapeId = "com.amazonaws.redshiftdata#QueryTimeoutException";
|
|
258
268
|
name = "QueryTimeoutException";
|
|
259
269
|
$fault = "client";
|
|
260
270
|
Message;
|
|
@@ -269,6 +279,7 @@ class QueryTimeoutException extends RedshiftDataServiceException {
|
|
|
269
279
|
}
|
|
270
280
|
}
|
|
271
281
|
class ExecuteStatementException extends RedshiftDataServiceException {
|
|
282
|
+
static shapeId = "com.amazonaws.redshiftdata#ExecuteStatementException";
|
|
272
283
|
name = "ExecuteStatementException";
|
|
273
284
|
$fault = "server";
|
|
274
285
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class RedshiftDataServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.redshiftdata#RedshiftDataServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, RedshiftDataServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RedshiftDataServiceException as __BaseException } from "./RedshiftDataServiceException";
|
|
2
2
|
export class ActiveSessionsExceededException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.redshiftdata#ActiveSessionsExceededException";
|
|
3
4
|
name = "ActiveSessionsExceededException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class ActiveSessionsExceededException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ActiveStatementsExceededException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.redshiftdata#ActiveStatementsExceededException";
|
|
17
19
|
name = "ActiveStatementsExceededException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class ActiveStatementsExceededException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class ActiveWaitingRequestsExceededException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.redshiftdata#ActiveWaitingRequestsExceededException";
|
|
31
34
|
name = "ActiveWaitingRequestsExceededException";
|
|
32
35
|
$fault = "client";
|
|
33
36
|
Message;
|
|
@@ -42,6 +45,7 @@ export class ActiveWaitingRequestsExceededException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class BatchExecuteStatementException extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.redshiftdata#BatchExecuteStatementException";
|
|
45
49
|
name = "BatchExecuteStatementException";
|
|
46
50
|
$fault = "server";
|
|
47
51
|
Message;
|
|
@@ -58,6 +62,7 @@ export class BatchExecuteStatementException extends __BaseException {
|
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
export class InternalServerException extends __BaseException {
|
|
65
|
+
static shapeId = "com.amazonaws.redshiftdata#InternalServerException";
|
|
61
66
|
name = "InternalServerException";
|
|
62
67
|
$fault = "server";
|
|
63
68
|
Message;
|
|
@@ -72,6 +77,7 @@ export class InternalServerException extends __BaseException {
|
|
|
72
77
|
}
|
|
73
78
|
}
|
|
74
79
|
export class ResourceNotFoundException extends __BaseException {
|
|
80
|
+
static shapeId = "com.amazonaws.redshiftdata#ResourceNotFoundException";
|
|
75
81
|
name = "ResourceNotFoundException";
|
|
76
82
|
$fault = "client";
|
|
77
83
|
Message;
|
|
@@ -88,6 +94,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
88
94
|
}
|
|
89
95
|
}
|
|
90
96
|
export class ValidationException extends __BaseException {
|
|
97
|
+
static shapeId = "com.amazonaws.redshiftdata#ValidationException";
|
|
91
98
|
name = "ValidationException";
|
|
92
99
|
$fault = "client";
|
|
93
100
|
Message;
|
|
@@ -102,6 +109,7 @@ export class ValidationException extends __BaseException {
|
|
|
102
109
|
}
|
|
103
110
|
}
|
|
104
111
|
export class DatabaseConnectionException extends __BaseException {
|
|
112
|
+
static shapeId = "com.amazonaws.redshiftdata#DatabaseConnectionException";
|
|
105
113
|
name = "DatabaseConnectionException";
|
|
106
114
|
$fault = "server";
|
|
107
115
|
Message;
|
|
@@ -116,6 +124,7 @@ export class DatabaseConnectionException extends __BaseException {
|
|
|
116
124
|
}
|
|
117
125
|
}
|
|
118
126
|
export class QueryTimeoutException extends __BaseException {
|
|
127
|
+
static shapeId = "com.amazonaws.redshiftdata#QueryTimeoutException";
|
|
119
128
|
name = "QueryTimeoutException";
|
|
120
129
|
$fault = "client";
|
|
121
130
|
Message;
|
|
@@ -130,6 +139,7 @@ export class QueryTimeoutException extends __BaseException {
|
|
|
130
139
|
}
|
|
131
140
|
}
|
|
132
141
|
export class ExecuteStatementException extends __BaseException {
|
|
142
|
+
static shapeId = "com.amazonaws.redshiftdata#ExecuteStatementException";
|
|
133
143
|
name = "ExecuteStatementException";
|
|
134
144
|
$fault = "server";
|
|
135
145
|
Message;
|
|
@@ -5,6 +5,7 @@ import { RedshiftDataServiceException as __BaseException } from "./RedshiftDataS
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class ActiveSessionsExceededException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "ActiveSessionsExceededException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
Message?: string | undefined;
|
|
@@ -18,6 +19,7 @@ export declare class ActiveSessionsExceededException extends __BaseException {
|
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
21
|
export declare class ActiveStatementsExceededException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
21
23
|
readonly name: "ActiveStatementsExceededException";
|
|
22
24
|
readonly $fault: "client";
|
|
23
25
|
Message?: string | undefined;
|
|
@@ -31,6 +33,7 @@ export declare class ActiveStatementsExceededException extends __BaseException {
|
|
|
31
33
|
* @public
|
|
32
34
|
*/
|
|
33
35
|
export declare class ActiveWaitingRequestsExceededException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
34
37
|
readonly name: "ActiveWaitingRequestsExceededException";
|
|
35
38
|
readonly $fault: "client";
|
|
36
39
|
Message?: string | undefined;
|
|
@@ -44,6 +47,7 @@ export declare class ActiveWaitingRequestsExceededException extends __BaseExcept
|
|
|
44
47
|
* @public
|
|
45
48
|
*/
|
|
46
49
|
export declare class BatchExecuteStatementException extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
47
51
|
readonly name: "BatchExecuteStatementException";
|
|
48
52
|
readonly $fault: "server";
|
|
49
53
|
Message: string | undefined;
|
|
@@ -62,6 +66,7 @@ export declare class BatchExecuteStatementException extends __BaseException {
|
|
|
62
66
|
* @public
|
|
63
67
|
*/
|
|
64
68
|
export declare class InternalServerException extends __BaseException {
|
|
69
|
+
static readonly shapeId: string;
|
|
65
70
|
readonly name: "InternalServerException";
|
|
66
71
|
readonly $fault: "server";
|
|
67
72
|
/**
|
|
@@ -79,6 +84,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
79
84
|
* @public
|
|
80
85
|
*/
|
|
81
86
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
87
|
+
static readonly shapeId: string;
|
|
82
88
|
readonly name: "ResourceNotFoundException";
|
|
83
89
|
readonly $fault: "client";
|
|
84
90
|
/**
|
|
@@ -101,6 +107,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
101
107
|
* @public
|
|
102
108
|
*/
|
|
103
109
|
export declare class ValidationException extends __BaseException {
|
|
110
|
+
static readonly shapeId: string;
|
|
104
111
|
readonly name: "ValidationException";
|
|
105
112
|
readonly $fault: "client";
|
|
106
113
|
/**
|
|
@@ -118,6 +125,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
118
125
|
* @public
|
|
119
126
|
*/
|
|
120
127
|
export declare class DatabaseConnectionException extends __BaseException {
|
|
128
|
+
static readonly shapeId: string;
|
|
121
129
|
readonly name: "DatabaseConnectionException";
|
|
122
130
|
readonly $fault: "server";
|
|
123
131
|
Message: string | undefined;
|
|
@@ -131,6 +139,7 @@ export declare class DatabaseConnectionException extends __BaseException {
|
|
|
131
139
|
* @public
|
|
132
140
|
*/
|
|
133
141
|
export declare class QueryTimeoutException extends __BaseException {
|
|
142
|
+
static readonly shapeId: string;
|
|
134
143
|
readonly name: "QueryTimeoutException";
|
|
135
144
|
readonly $fault: "client";
|
|
136
145
|
Message?: string | undefined;
|
|
@@ -144,6 +153,7 @@ export declare class QueryTimeoutException extends __BaseException {
|
|
|
144
153
|
* @public
|
|
145
154
|
*/
|
|
146
155
|
export declare class ExecuteStatementException extends __BaseException {
|
|
156
|
+
static readonly shapeId: string;
|
|
147
157
|
readonly name: "ExecuteStatementException";
|
|
148
158
|
readonly $fault: "server";
|
|
149
159
|
/**
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { RedshiftDataServiceException as __BaseException } from "./RedshiftDataServiceException";
|
|
3
3
|
export declare class ActiveSessionsExceededException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "ActiveSessionsExceededException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<ActiveSessionsExceededException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class ActiveStatementsExceededException extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "ActiveStatementsExceededException";
|
|
11
13
|
readonly $fault: "client";
|
|
12
14
|
Message?: string | undefined;
|
|
13
15
|
constructor(opts: __ExceptionOptionType<ActiveStatementsExceededException, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class ActiveWaitingRequestsExceededException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "ActiveWaitingRequestsExceededException";
|
|
17
20
|
readonly $fault: "client";
|
|
18
21
|
Message?: string | undefined;
|
|
19
22
|
constructor(opts: __ExceptionOptionType<ActiveWaitingRequestsExceededException, __BaseException>);
|
|
20
23
|
}
|
|
21
24
|
export declare class BatchExecuteStatementException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
22
26
|
readonly name: "BatchExecuteStatementException";
|
|
23
27
|
readonly $fault: "server";
|
|
24
28
|
Message: string | undefined;
|
|
@@ -26,12 +30,14 @@ export declare class BatchExecuteStatementException extends __BaseException {
|
|
|
26
30
|
constructor(opts: __ExceptionOptionType<BatchExecuteStatementException, __BaseException>);
|
|
27
31
|
}
|
|
28
32
|
export declare class InternalServerException extends __BaseException {
|
|
33
|
+
static readonly shapeId: string;
|
|
29
34
|
readonly name: "InternalServerException";
|
|
30
35
|
readonly $fault: "server";
|
|
31
36
|
Message: string | undefined;
|
|
32
37
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
33
38
|
}
|
|
34
39
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
40
|
+
static readonly shapeId: string;
|
|
35
41
|
readonly name: "ResourceNotFoundException";
|
|
36
42
|
readonly $fault: "client";
|
|
37
43
|
Message: string | undefined;
|
|
@@ -39,24 +45,28 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
39
45
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
40
46
|
}
|
|
41
47
|
export declare class ValidationException extends __BaseException {
|
|
48
|
+
static readonly shapeId: string;
|
|
42
49
|
readonly name: "ValidationException";
|
|
43
50
|
readonly $fault: "client";
|
|
44
51
|
Message?: string | undefined;
|
|
45
52
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
46
53
|
}
|
|
47
54
|
export declare class DatabaseConnectionException extends __BaseException {
|
|
55
|
+
static readonly shapeId: string;
|
|
48
56
|
readonly name: "DatabaseConnectionException";
|
|
49
57
|
readonly $fault: "server";
|
|
50
58
|
Message: string | undefined;
|
|
51
59
|
constructor(opts: __ExceptionOptionType<DatabaseConnectionException, __BaseException>);
|
|
52
60
|
}
|
|
53
61
|
export declare class QueryTimeoutException extends __BaseException {
|
|
62
|
+
static readonly shapeId: string;
|
|
54
63
|
readonly name: "QueryTimeoutException";
|
|
55
64
|
readonly $fault: "client";
|
|
56
65
|
Message?: string | undefined;
|
|
57
66
|
constructor(opts: __ExceptionOptionType<QueryTimeoutException, __BaseException>);
|
|
58
67
|
}
|
|
59
68
|
export declare class ExecuteStatementException extends __BaseException {
|
|
69
|
+
static readonly shapeId: string;
|
|
60
70
|
readonly name: "ExecuteStatementException";
|
|
61
71
|
readonly $fault: "server";
|
|
62
72
|
Message: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift-data",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Redshift Data Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-redshift-data",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|