@aws-sdk/client-redshift-data 3.131.0 → 3.142.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/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +2 -2
- package/dist-cjs/commands/CancelStatementCommand.js +2 -2
- package/dist-cjs/commands/DescribeStatementCommand.js +2 -2
- package/dist-cjs/commands/DescribeTableCommand.js +2 -2
- package/dist-cjs/commands/ExecuteStatementCommand.js +2 -2
- package/dist-cjs/commands/GetStatementResultCommand.js +2 -2
- package/dist-cjs/commands/ListDatabasesCommand.js +2 -2
- package/dist-cjs/commands/ListSchemasCommand.js +2 -2
- package/dist-cjs/commands/ListStatementsCommand.js +2 -2
- package/dist-cjs/commands/ListTablesCommand.js +2 -2
- package/dist-cjs/models/models_0.js +119 -168
- package/dist-cjs/protocols/Aws_json1_1.js +51 -87
- package/dist-es/commands/BatchExecuteStatementCommand.js +3 -3
- package/dist-es/commands/CancelStatementCommand.js +3 -3
- package/dist-es/commands/DescribeStatementCommand.js +3 -3
- package/dist-es/commands/DescribeTableCommand.js +3 -3
- package/dist-es/commands/ExecuteStatementCommand.js +3 -3
- package/dist-es/commands/GetStatementResultCommand.js +3 -3
- package/dist-es/commands/ListDatabasesCommand.js +3 -3
- package/dist-es/commands/ListSchemasCommand.js +3 -3
- package/dist-es/commands/ListStatementsCommand.js +3 -3
- package/dist-es/commands/ListTablesCommand.js +3 -3
- package/dist-es/models/models_0.js +42 -117
- package/dist-es/protocols/Aws_json1_1.js +82 -88
- package/dist-types/models/models_0.d.ts +104 -154
- package/dist-types/ts3.4/models/models_0.d.ts +52 -102
- package/package.json +6 -6
|
@@ -27,14 +27,6 @@ var BatchExecuteStatementException = (function (_super) {
|
|
|
27
27
|
return BatchExecuteStatementException;
|
|
28
28
|
}(__BaseException));
|
|
29
29
|
export { BatchExecuteStatementException };
|
|
30
|
-
export var BatchExecuteStatementInput;
|
|
31
|
-
(function (BatchExecuteStatementInput) {
|
|
32
|
-
BatchExecuteStatementInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
-
})(BatchExecuteStatementInput || (BatchExecuteStatementInput = {}));
|
|
34
|
-
export var BatchExecuteStatementOutput;
|
|
35
|
-
(function (BatchExecuteStatementOutput) {
|
|
36
|
-
BatchExecuteStatementOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(BatchExecuteStatementOutput || (BatchExecuteStatementOutput = {}));
|
|
38
30
|
var ValidationException = (function (_super) {
|
|
39
31
|
__extends(ValidationException, _super);
|
|
40
32
|
function ValidationException(opts) {
|
|
@@ -48,14 +40,6 @@ var ValidationException = (function (_super) {
|
|
|
48
40
|
return ValidationException;
|
|
49
41
|
}(__BaseException));
|
|
50
42
|
export { ValidationException };
|
|
51
|
-
export var CancelStatementRequest;
|
|
52
|
-
(function (CancelStatementRequest) {
|
|
53
|
-
CancelStatementRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
|
-
})(CancelStatementRequest || (CancelStatementRequest = {}));
|
|
55
|
-
export var CancelStatementResponse;
|
|
56
|
-
(function (CancelStatementResponse) {
|
|
57
|
-
CancelStatementResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
|
-
})(CancelStatementResponse || (CancelStatementResponse = {}));
|
|
59
43
|
var DatabaseConnectionException = (function (_super) {
|
|
60
44
|
__extends(DatabaseConnectionException, _super);
|
|
61
45
|
function DatabaseConnectionException(opts) {
|
|
@@ -96,18 +80,6 @@ var ResourceNotFoundException = (function (_super) {
|
|
|
96
80
|
return ResourceNotFoundException;
|
|
97
81
|
}(__BaseException));
|
|
98
82
|
export { ResourceNotFoundException };
|
|
99
|
-
export var ColumnMetadata;
|
|
100
|
-
(function (ColumnMetadata) {
|
|
101
|
-
ColumnMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
-
})(ColumnMetadata || (ColumnMetadata = {}));
|
|
103
|
-
export var DescribeStatementRequest;
|
|
104
|
-
(function (DescribeStatementRequest) {
|
|
105
|
-
DescribeStatementRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
106
|
-
})(DescribeStatementRequest || (DescribeStatementRequest = {}));
|
|
107
|
-
export var SqlParameter;
|
|
108
|
-
(function (SqlParameter) {
|
|
109
|
-
SqlParameter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
|
-
})(SqlParameter || (SqlParameter = {}));
|
|
111
83
|
export var StatusString;
|
|
112
84
|
(function (StatusString) {
|
|
113
85
|
StatusString["ABORTED"] = "ABORTED";
|
|
@@ -127,22 +99,6 @@ export var StatementStatusString;
|
|
|
127
99
|
StatementStatusString["STARTED"] = "STARTED";
|
|
128
100
|
StatementStatusString["SUBMITTED"] = "SUBMITTED";
|
|
129
101
|
})(StatementStatusString || (StatementStatusString = {}));
|
|
130
|
-
export var SubStatementData;
|
|
131
|
-
(function (SubStatementData) {
|
|
132
|
-
SubStatementData.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
-
})(SubStatementData || (SubStatementData = {}));
|
|
134
|
-
export var DescribeStatementResponse;
|
|
135
|
-
(function (DescribeStatementResponse) {
|
|
136
|
-
DescribeStatementResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
-
})(DescribeStatementResponse || (DescribeStatementResponse = {}));
|
|
138
|
-
export var DescribeTableRequest;
|
|
139
|
-
(function (DescribeTableRequest) {
|
|
140
|
-
DescribeTableRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
-
})(DescribeTableRequest || (DescribeTableRequest = {}));
|
|
142
|
-
export var DescribeTableResponse;
|
|
143
|
-
(function (DescribeTableResponse) {
|
|
144
|
-
DescribeTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
-
})(DescribeTableResponse || (DescribeTableResponse = {}));
|
|
146
102
|
var ExecuteStatementException = (function (_super) {
|
|
147
103
|
__extends(ExecuteStatementException, _super);
|
|
148
104
|
function ExecuteStatementException(opts) {
|
|
@@ -157,14 +113,6 @@ var ExecuteStatementException = (function (_super) {
|
|
|
157
113
|
return ExecuteStatementException;
|
|
158
114
|
}(__BaseException));
|
|
159
115
|
export { ExecuteStatementException };
|
|
160
|
-
export var ExecuteStatementInput;
|
|
161
|
-
(function (ExecuteStatementInput) {
|
|
162
|
-
ExecuteStatementInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
|
-
})(ExecuteStatementInput || (ExecuteStatementInput = {}));
|
|
164
|
-
export var ExecuteStatementOutput;
|
|
165
|
-
(function (ExecuteStatementOutput) {
|
|
166
|
-
ExecuteStatementOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
|
-
})(ExecuteStatementOutput || (ExecuteStatementOutput = {}));
|
|
168
116
|
export var Field;
|
|
169
117
|
(function (Field) {
|
|
170
118
|
Field.visit = function (value, visitor) {
|
|
@@ -182,69 +130,46 @@ export var Field;
|
|
|
182
130
|
return visitor.blobValue(value.blobValue);
|
|
183
131
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
184
132
|
};
|
|
185
|
-
Field.filterSensitiveLog = function (obj) {
|
|
186
|
-
var _a;
|
|
187
|
-
if (obj.isNull !== undefined)
|
|
188
|
-
return { isNull: obj.isNull };
|
|
189
|
-
if (obj.booleanValue !== undefined)
|
|
190
|
-
return { booleanValue: obj.booleanValue };
|
|
191
|
-
if (obj.longValue !== undefined)
|
|
192
|
-
return { longValue: obj.longValue };
|
|
193
|
-
if (obj.doubleValue !== undefined)
|
|
194
|
-
return { doubleValue: obj.doubleValue };
|
|
195
|
-
if (obj.stringValue !== undefined)
|
|
196
|
-
return { stringValue: obj.stringValue };
|
|
197
|
-
if (obj.blobValue !== undefined)
|
|
198
|
-
return { blobValue: obj.blobValue };
|
|
199
|
-
if (obj.$unknown !== undefined)
|
|
200
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
201
|
-
};
|
|
202
133
|
})(Field || (Field = {}));
|
|
203
|
-
export var
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
export var
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
export var
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
export var
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
(
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
(
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
(
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
})(
|
|
235
|
-
export var
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
export var
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
export var
|
|
244
|
-
|
|
245
|
-
TableMember.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
246
|
-
})(TableMember || (TableMember = {}));
|
|
247
|
-
export var ListTablesResponse;
|
|
248
|
-
(function (ListTablesResponse) {
|
|
249
|
-
ListTablesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
250
|
-
})(ListTablesResponse || (ListTablesResponse = {}));
|
|
134
|
+
export var BatchExecuteStatementInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
135
|
+
export var BatchExecuteStatementOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
|
+
export var CancelStatementRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
+
export var CancelStatementResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
138
|
+
export var ColumnMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
139
|
+
export var DescribeStatementRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
+
export var SqlParameterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
+
export var SubStatementDataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
142
|
+
export var DescribeStatementResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
143
|
+
export var DescribeTableRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
144
|
+
export var DescribeTableResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
+
export var ExecuteStatementInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
|
+
export var ExecuteStatementOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
|
+
export var FieldFilterSensitiveLog = function (obj) {
|
|
148
|
+
var _a;
|
|
149
|
+
if (obj.isNull !== undefined)
|
|
150
|
+
return { isNull: obj.isNull };
|
|
151
|
+
if (obj.booleanValue !== undefined)
|
|
152
|
+
return { booleanValue: obj.booleanValue };
|
|
153
|
+
if (obj.longValue !== undefined)
|
|
154
|
+
return { longValue: obj.longValue };
|
|
155
|
+
if (obj.doubleValue !== undefined)
|
|
156
|
+
return { doubleValue: obj.doubleValue };
|
|
157
|
+
if (obj.stringValue !== undefined)
|
|
158
|
+
return { stringValue: obj.stringValue };
|
|
159
|
+
if (obj.blobValue !== undefined)
|
|
160
|
+
return { blobValue: obj.blobValue };
|
|
161
|
+
if (obj.$unknown !== undefined)
|
|
162
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
163
|
+
};
|
|
164
|
+
export var GetStatementResultRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
+
export var GetStatementResultResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Records && { Records: obj.Records.map(function (item) { return item.map(function (item) { return FieldFilterSensitiveLog(item); }); }) }))); };
|
|
166
|
+
export var ListDatabasesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
|
+
export var ListDatabasesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
|
+
export var ListSchemasRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
|
+
export var ListSchemasResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
170
|
+
export var ListStatementsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
|
+
export var StatementDataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
+
export var ListStatementsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
+
export var ListTablesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
+
export var TableMemberFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
|
+
export var ListTablesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { ActiveStatementsExceededException, BatchExecuteStatementException, DatabaseConnectionException, ExecuteStatementException, InternalServerException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { RedshiftDataServiceException as __BaseException } from "../models/RedshiftDataServiceException";
|
|
6
6
|
export var serializeAws_json1_1BatchExecuteStatementCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -132,7 +132,7 @@ export var deserializeAws_json1_1BatchExecuteStatementCommand = function (output
|
|
|
132
132
|
});
|
|
133
133
|
}); };
|
|
134
134
|
var deserializeAws_json1_1BatchExecuteStatementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
135
|
-
var parsedOutput, _a,
|
|
135
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
136
136
|
var _c;
|
|
137
137
|
return __generator(this, function (_d) {
|
|
138
138
|
switch (_d.label) {
|
|
@@ -161,14 +161,14 @@ var deserializeAws_json1_1BatchExecuteStatementCommandError = function (output,
|
|
|
161
161
|
case 7: throw _d.sent();
|
|
162
162
|
case 8:
|
|
163
163
|
parsedBody = parsedOutput.body;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
$metadata: $metadata,
|
|
164
|
+
throwDefaultError({
|
|
165
|
+
output: output,
|
|
166
|
+
parsedBody: parsedBody,
|
|
167
|
+
exceptionCtor: __BaseException,
|
|
168
|
+
errorCode: errorCode,
|
|
170
169
|
});
|
|
171
|
-
|
|
170
|
+
_d.label = 9;
|
|
171
|
+
case 9: return [2];
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
}); };
|
|
@@ -191,7 +191,7 @@ export var deserializeAws_json1_1CancelStatementCommand = function (output, cont
|
|
|
191
191
|
});
|
|
192
192
|
}); };
|
|
193
193
|
var deserializeAws_json1_1CancelStatementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
194
|
-
var parsedOutput, _a,
|
|
194
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
195
195
|
var _c;
|
|
196
196
|
return __generator(this, function (_d) {
|
|
197
197
|
switch (_d.label) {
|
|
@@ -224,14 +224,14 @@ var deserializeAws_json1_1CancelStatementCommandError = function (output, contex
|
|
|
224
224
|
case 9: throw _d.sent();
|
|
225
225
|
case 10:
|
|
226
226
|
parsedBody = parsedOutput.body;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
$metadata: $metadata,
|
|
227
|
+
throwDefaultError({
|
|
228
|
+
output: output,
|
|
229
|
+
parsedBody: parsedBody,
|
|
230
|
+
exceptionCtor: __BaseException,
|
|
231
|
+
errorCode: errorCode,
|
|
233
232
|
});
|
|
234
|
-
|
|
233
|
+
_d.label = 11;
|
|
234
|
+
case 11: return [2];
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
237
|
}); };
|
|
@@ -254,7 +254,7 @@ export var deserializeAws_json1_1DescribeStatementCommand = function (output, co
|
|
|
254
254
|
});
|
|
255
255
|
}); };
|
|
256
256
|
var deserializeAws_json1_1DescribeStatementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
257
|
-
var parsedOutput, _a,
|
|
257
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
258
258
|
var _c;
|
|
259
259
|
return __generator(this, function (_d) {
|
|
260
260
|
switch (_d.label) {
|
|
@@ -283,14 +283,14 @@ var deserializeAws_json1_1DescribeStatementCommandError = function (output, cont
|
|
|
283
283
|
case 7: throw _d.sent();
|
|
284
284
|
case 8:
|
|
285
285
|
parsedBody = parsedOutput.body;
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
$metadata: $metadata,
|
|
286
|
+
throwDefaultError({
|
|
287
|
+
output: output,
|
|
288
|
+
parsedBody: parsedBody,
|
|
289
|
+
exceptionCtor: __BaseException,
|
|
290
|
+
errorCode: errorCode,
|
|
292
291
|
});
|
|
293
|
-
|
|
292
|
+
_d.label = 9;
|
|
293
|
+
case 9: return [2];
|
|
294
294
|
}
|
|
295
295
|
});
|
|
296
296
|
}); };
|
|
@@ -313,7 +313,7 @@ export var deserializeAws_json1_1DescribeTableCommand = function (output, contex
|
|
|
313
313
|
});
|
|
314
314
|
}); };
|
|
315
315
|
var deserializeAws_json1_1DescribeTableCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
316
|
-
var parsedOutput, _a,
|
|
316
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
317
317
|
var _c;
|
|
318
318
|
return __generator(this, function (_d) {
|
|
319
319
|
switch (_d.label) {
|
|
@@ -342,14 +342,14 @@ var deserializeAws_json1_1DescribeTableCommandError = function (output, context)
|
|
|
342
342
|
case 7: throw _d.sent();
|
|
343
343
|
case 8:
|
|
344
344
|
parsedBody = parsedOutput.body;
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
$metadata: $metadata,
|
|
345
|
+
throwDefaultError({
|
|
346
|
+
output: output,
|
|
347
|
+
parsedBody: parsedBody,
|
|
348
|
+
exceptionCtor: __BaseException,
|
|
349
|
+
errorCode: errorCode,
|
|
351
350
|
});
|
|
352
|
-
|
|
351
|
+
_d.label = 9;
|
|
352
|
+
case 9: return [2];
|
|
353
353
|
}
|
|
354
354
|
});
|
|
355
355
|
}); };
|
|
@@ -372,7 +372,7 @@ export var deserializeAws_json1_1ExecuteStatementCommand = function (output, con
|
|
|
372
372
|
});
|
|
373
373
|
}); };
|
|
374
374
|
var deserializeAws_json1_1ExecuteStatementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
375
|
-
var parsedOutput, _a,
|
|
375
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
376
376
|
var _c;
|
|
377
377
|
return __generator(this, function (_d) {
|
|
378
378
|
switch (_d.label) {
|
|
@@ -401,14 +401,14 @@ var deserializeAws_json1_1ExecuteStatementCommandError = function (output, conte
|
|
|
401
401
|
case 7: throw _d.sent();
|
|
402
402
|
case 8:
|
|
403
403
|
parsedBody = parsedOutput.body;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
$metadata: $metadata,
|
|
404
|
+
throwDefaultError({
|
|
405
|
+
output: output,
|
|
406
|
+
parsedBody: parsedBody,
|
|
407
|
+
exceptionCtor: __BaseException,
|
|
408
|
+
errorCode: errorCode,
|
|
410
409
|
});
|
|
411
|
-
|
|
410
|
+
_d.label = 9;
|
|
411
|
+
case 9: return [2];
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
414
|
}); };
|
|
@@ -431,7 +431,7 @@ export var deserializeAws_json1_1GetStatementResultCommand = function (output, c
|
|
|
431
431
|
});
|
|
432
432
|
}); };
|
|
433
433
|
var deserializeAws_json1_1GetStatementResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
434
|
-
var parsedOutput, _a,
|
|
434
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
435
435
|
var _c;
|
|
436
436
|
return __generator(this, function (_d) {
|
|
437
437
|
switch (_d.label) {
|
|
@@ -460,14 +460,14 @@ var deserializeAws_json1_1GetStatementResultCommandError = function (output, con
|
|
|
460
460
|
case 7: throw _d.sent();
|
|
461
461
|
case 8:
|
|
462
462
|
parsedBody = parsedOutput.body;
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
$metadata: $metadata,
|
|
463
|
+
throwDefaultError({
|
|
464
|
+
output: output,
|
|
465
|
+
parsedBody: parsedBody,
|
|
466
|
+
exceptionCtor: __BaseException,
|
|
467
|
+
errorCode: errorCode,
|
|
469
468
|
});
|
|
470
|
-
|
|
469
|
+
_d.label = 9;
|
|
470
|
+
case 9: return [2];
|
|
471
471
|
}
|
|
472
472
|
});
|
|
473
473
|
}); };
|
|
@@ -490,7 +490,7 @@ export var deserializeAws_json1_1ListDatabasesCommand = function (output, contex
|
|
|
490
490
|
});
|
|
491
491
|
}); };
|
|
492
492
|
var deserializeAws_json1_1ListDatabasesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
493
|
-
var parsedOutput, _a,
|
|
493
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
494
494
|
var _c;
|
|
495
495
|
return __generator(this, function (_d) {
|
|
496
496
|
switch (_d.label) {
|
|
@@ -519,14 +519,14 @@ var deserializeAws_json1_1ListDatabasesCommandError = function (output, context)
|
|
|
519
519
|
case 7: throw _d.sent();
|
|
520
520
|
case 8:
|
|
521
521
|
parsedBody = parsedOutput.body;
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
$metadata: $metadata,
|
|
522
|
+
throwDefaultError({
|
|
523
|
+
output: output,
|
|
524
|
+
parsedBody: parsedBody,
|
|
525
|
+
exceptionCtor: __BaseException,
|
|
526
|
+
errorCode: errorCode,
|
|
528
527
|
});
|
|
529
|
-
|
|
528
|
+
_d.label = 9;
|
|
529
|
+
case 9: return [2];
|
|
530
530
|
}
|
|
531
531
|
});
|
|
532
532
|
}); };
|
|
@@ -549,7 +549,7 @@ export var deserializeAws_json1_1ListSchemasCommand = function (output, context)
|
|
|
549
549
|
});
|
|
550
550
|
}); };
|
|
551
551
|
var deserializeAws_json1_1ListSchemasCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
552
|
-
var parsedOutput, _a,
|
|
552
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
553
553
|
var _c;
|
|
554
554
|
return __generator(this, function (_d) {
|
|
555
555
|
switch (_d.label) {
|
|
@@ -578,14 +578,14 @@ var deserializeAws_json1_1ListSchemasCommandError = function (output, context) {
|
|
|
578
578
|
case 7: throw _d.sent();
|
|
579
579
|
case 8:
|
|
580
580
|
parsedBody = parsedOutput.body;
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
$metadata: $metadata,
|
|
581
|
+
throwDefaultError({
|
|
582
|
+
output: output,
|
|
583
|
+
parsedBody: parsedBody,
|
|
584
|
+
exceptionCtor: __BaseException,
|
|
585
|
+
errorCode: errorCode,
|
|
587
586
|
});
|
|
588
|
-
|
|
587
|
+
_d.label = 9;
|
|
588
|
+
case 9: return [2];
|
|
589
589
|
}
|
|
590
590
|
});
|
|
591
591
|
}); };
|
|
@@ -608,7 +608,7 @@ export var deserializeAws_json1_1ListStatementsCommand = function (output, conte
|
|
|
608
608
|
});
|
|
609
609
|
}); };
|
|
610
610
|
var deserializeAws_json1_1ListStatementsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
611
|
-
var parsedOutput, _a,
|
|
611
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
612
612
|
var _c;
|
|
613
613
|
return __generator(this, function (_d) {
|
|
614
614
|
switch (_d.label) {
|
|
@@ -633,14 +633,14 @@ var deserializeAws_json1_1ListStatementsCommandError = function (output, context
|
|
|
633
633
|
case 5: throw _d.sent();
|
|
634
634
|
case 6:
|
|
635
635
|
parsedBody = parsedOutput.body;
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
$metadata: $metadata,
|
|
636
|
+
throwDefaultError({
|
|
637
|
+
output: output,
|
|
638
|
+
parsedBody: parsedBody,
|
|
639
|
+
exceptionCtor: __BaseException,
|
|
640
|
+
errorCode: errorCode,
|
|
642
641
|
});
|
|
643
|
-
|
|
642
|
+
_d.label = 7;
|
|
643
|
+
case 7: return [2];
|
|
644
644
|
}
|
|
645
645
|
});
|
|
646
646
|
}); };
|
|
@@ -663,7 +663,7 @@ export var deserializeAws_json1_1ListTablesCommand = function (output, context)
|
|
|
663
663
|
});
|
|
664
664
|
}); };
|
|
665
665
|
var deserializeAws_json1_1ListTablesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
666
|
-
var parsedOutput, _a,
|
|
666
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
667
667
|
var _c;
|
|
668
668
|
return __generator(this, function (_d) {
|
|
669
669
|
switch (_d.label) {
|
|
@@ -692,14 +692,14 @@ var deserializeAws_json1_1ListTablesCommandError = function (output, context) {
|
|
|
692
692
|
case 7: throw _d.sent();
|
|
693
693
|
case 8:
|
|
694
694
|
parsedBody = parsedOutput.body;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
$metadata: $metadata,
|
|
695
|
+
throwDefaultError({
|
|
696
|
+
output: output,
|
|
697
|
+
parsedBody: parsedBody,
|
|
698
|
+
exceptionCtor: __BaseException,
|
|
699
|
+
errorCode: errorCode,
|
|
701
700
|
});
|
|
702
|
-
|
|
701
|
+
_d.label = 9;
|
|
702
|
+
case 9: return [2];
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
705
|
}); };
|
|
@@ -800,9 +800,6 @@ var serializeAws_json1_1SqlList = function (input, context) {
|
|
|
800
800
|
return input
|
|
801
801
|
.filter(function (e) { return e != null; })
|
|
802
802
|
.map(function (entry) {
|
|
803
|
-
if (entry === null) {
|
|
804
|
-
return null;
|
|
805
|
-
}
|
|
806
803
|
return entry;
|
|
807
804
|
});
|
|
808
805
|
};
|
|
@@ -813,9 +810,6 @@ var serializeAws_json1_1SqlParametersList = function (input, context) {
|
|
|
813
810
|
return input
|
|
814
811
|
.filter(function (e) { return e != null; })
|
|
815
812
|
.map(function (entry) {
|
|
816
|
-
if (entry === null) {
|
|
817
|
-
return null;
|
|
818
|
-
}
|
|
819
813
|
return serializeAws_json1_1SqlParameter(entry, context);
|
|
820
814
|
});
|
|
821
815
|
};
|
|
@@ -951,7 +945,7 @@ var deserializeAws_json1_1ExecuteStatementOutput = function (output, context) {
|
|
|
951
945
|
};
|
|
952
946
|
};
|
|
953
947
|
var deserializeAws_json1_1Field = function (output, context) {
|
|
954
|
-
if (output.blobValue
|
|
948
|
+
if (output.blobValue != null) {
|
|
955
949
|
return {
|
|
956
950
|
blobValue: context.base64Decoder(output.blobValue),
|
|
957
951
|
};
|