@aws-sdk/client-neptune 3.310.0 → 3.315.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/protocols/Aws_query.js +211 -414
- package/dist-es/protocols/Aws_query.js +212 -415
- package/package.json +6 -6
|
@@ -9,9 +9,7 @@ const fast_xml_parser_1 = require("fast-xml-parser");
|
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const NeptuneServiceException_1 = require("../models/NeptuneServiceException");
|
|
11
11
|
const se_AddRoleToDBClusterCommand = async (input, context) => {
|
|
12
|
-
const headers =
|
|
13
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
14
|
-
};
|
|
12
|
+
const headers = SHARED_HEADERS;
|
|
15
13
|
let body;
|
|
16
14
|
body = buildFormUrlencodedString({
|
|
17
15
|
...se_AddRoleToDBClusterMessage(input, context),
|
|
@@ -22,9 +20,7 @@ const se_AddRoleToDBClusterCommand = async (input, context) => {
|
|
|
22
20
|
};
|
|
23
21
|
exports.se_AddRoleToDBClusterCommand = se_AddRoleToDBClusterCommand;
|
|
24
22
|
const se_AddSourceIdentifierToSubscriptionCommand = async (input, context) => {
|
|
25
|
-
const headers =
|
|
26
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
27
|
-
};
|
|
23
|
+
const headers = SHARED_HEADERS;
|
|
28
24
|
let body;
|
|
29
25
|
body = buildFormUrlencodedString({
|
|
30
26
|
...se_AddSourceIdentifierToSubscriptionMessage(input, context),
|
|
@@ -35,9 +31,7 @@ const se_AddSourceIdentifierToSubscriptionCommand = async (input, context) => {
|
|
|
35
31
|
};
|
|
36
32
|
exports.se_AddSourceIdentifierToSubscriptionCommand = se_AddSourceIdentifierToSubscriptionCommand;
|
|
37
33
|
const se_AddTagsToResourceCommand = async (input, context) => {
|
|
38
|
-
const headers =
|
|
39
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
40
|
-
};
|
|
34
|
+
const headers = SHARED_HEADERS;
|
|
41
35
|
let body;
|
|
42
36
|
body = buildFormUrlencodedString({
|
|
43
37
|
...se_AddTagsToResourceMessage(input, context),
|
|
@@ -48,9 +42,7 @@ const se_AddTagsToResourceCommand = async (input, context) => {
|
|
|
48
42
|
};
|
|
49
43
|
exports.se_AddTagsToResourceCommand = se_AddTagsToResourceCommand;
|
|
50
44
|
const se_ApplyPendingMaintenanceActionCommand = async (input, context) => {
|
|
51
|
-
const headers =
|
|
52
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
53
|
-
};
|
|
45
|
+
const headers = SHARED_HEADERS;
|
|
54
46
|
let body;
|
|
55
47
|
body = buildFormUrlencodedString({
|
|
56
48
|
...se_ApplyPendingMaintenanceActionMessage(input, context),
|
|
@@ -61,9 +53,7 @@ const se_ApplyPendingMaintenanceActionCommand = async (input, context) => {
|
|
|
61
53
|
};
|
|
62
54
|
exports.se_ApplyPendingMaintenanceActionCommand = se_ApplyPendingMaintenanceActionCommand;
|
|
63
55
|
const se_CopyDBClusterParameterGroupCommand = async (input, context) => {
|
|
64
|
-
const headers =
|
|
65
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
66
|
-
};
|
|
56
|
+
const headers = SHARED_HEADERS;
|
|
67
57
|
let body;
|
|
68
58
|
body = buildFormUrlencodedString({
|
|
69
59
|
...se_CopyDBClusterParameterGroupMessage(input, context),
|
|
@@ -74,9 +64,7 @@ const se_CopyDBClusterParameterGroupCommand = async (input, context) => {
|
|
|
74
64
|
};
|
|
75
65
|
exports.se_CopyDBClusterParameterGroupCommand = se_CopyDBClusterParameterGroupCommand;
|
|
76
66
|
const se_CopyDBClusterSnapshotCommand = async (input, context) => {
|
|
77
|
-
const headers =
|
|
78
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
79
|
-
};
|
|
67
|
+
const headers = SHARED_HEADERS;
|
|
80
68
|
let body;
|
|
81
69
|
body = buildFormUrlencodedString({
|
|
82
70
|
...se_CopyDBClusterSnapshotMessage(input, context),
|
|
@@ -87,9 +75,7 @@ const se_CopyDBClusterSnapshotCommand = async (input, context) => {
|
|
|
87
75
|
};
|
|
88
76
|
exports.se_CopyDBClusterSnapshotCommand = se_CopyDBClusterSnapshotCommand;
|
|
89
77
|
const se_CopyDBParameterGroupCommand = async (input, context) => {
|
|
90
|
-
const headers =
|
|
91
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
92
|
-
};
|
|
78
|
+
const headers = SHARED_HEADERS;
|
|
93
79
|
let body;
|
|
94
80
|
body = buildFormUrlencodedString({
|
|
95
81
|
...se_CopyDBParameterGroupMessage(input, context),
|
|
@@ -100,9 +86,7 @@ const se_CopyDBParameterGroupCommand = async (input, context) => {
|
|
|
100
86
|
};
|
|
101
87
|
exports.se_CopyDBParameterGroupCommand = se_CopyDBParameterGroupCommand;
|
|
102
88
|
const se_CreateDBClusterCommand = async (input, context) => {
|
|
103
|
-
const headers =
|
|
104
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
105
|
-
};
|
|
89
|
+
const headers = SHARED_HEADERS;
|
|
106
90
|
let body;
|
|
107
91
|
body = buildFormUrlencodedString({
|
|
108
92
|
...se_CreateDBClusterMessage(input, context),
|
|
@@ -113,9 +97,7 @@ const se_CreateDBClusterCommand = async (input, context) => {
|
|
|
113
97
|
};
|
|
114
98
|
exports.se_CreateDBClusterCommand = se_CreateDBClusterCommand;
|
|
115
99
|
const se_CreateDBClusterEndpointCommand = async (input, context) => {
|
|
116
|
-
const headers =
|
|
117
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
118
|
-
};
|
|
100
|
+
const headers = SHARED_HEADERS;
|
|
119
101
|
let body;
|
|
120
102
|
body = buildFormUrlencodedString({
|
|
121
103
|
...se_CreateDBClusterEndpointMessage(input, context),
|
|
@@ -126,9 +108,7 @@ const se_CreateDBClusterEndpointCommand = async (input, context) => {
|
|
|
126
108
|
};
|
|
127
109
|
exports.se_CreateDBClusterEndpointCommand = se_CreateDBClusterEndpointCommand;
|
|
128
110
|
const se_CreateDBClusterParameterGroupCommand = async (input, context) => {
|
|
129
|
-
const headers =
|
|
130
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
131
|
-
};
|
|
111
|
+
const headers = SHARED_HEADERS;
|
|
132
112
|
let body;
|
|
133
113
|
body = buildFormUrlencodedString({
|
|
134
114
|
...se_CreateDBClusterParameterGroupMessage(input, context),
|
|
@@ -139,9 +119,7 @@ const se_CreateDBClusterParameterGroupCommand = async (input, context) => {
|
|
|
139
119
|
};
|
|
140
120
|
exports.se_CreateDBClusterParameterGroupCommand = se_CreateDBClusterParameterGroupCommand;
|
|
141
121
|
const se_CreateDBClusterSnapshotCommand = async (input, context) => {
|
|
142
|
-
const headers =
|
|
143
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
144
|
-
};
|
|
122
|
+
const headers = SHARED_HEADERS;
|
|
145
123
|
let body;
|
|
146
124
|
body = buildFormUrlencodedString({
|
|
147
125
|
...se_CreateDBClusterSnapshotMessage(input, context),
|
|
@@ -152,9 +130,7 @@ const se_CreateDBClusterSnapshotCommand = async (input, context) => {
|
|
|
152
130
|
};
|
|
153
131
|
exports.se_CreateDBClusterSnapshotCommand = se_CreateDBClusterSnapshotCommand;
|
|
154
132
|
const se_CreateDBInstanceCommand = async (input, context) => {
|
|
155
|
-
const headers =
|
|
156
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
157
|
-
};
|
|
133
|
+
const headers = SHARED_HEADERS;
|
|
158
134
|
let body;
|
|
159
135
|
body = buildFormUrlencodedString({
|
|
160
136
|
...se_CreateDBInstanceMessage(input, context),
|
|
@@ -165,9 +141,7 @@ const se_CreateDBInstanceCommand = async (input, context) => {
|
|
|
165
141
|
};
|
|
166
142
|
exports.se_CreateDBInstanceCommand = se_CreateDBInstanceCommand;
|
|
167
143
|
const se_CreateDBParameterGroupCommand = async (input, context) => {
|
|
168
|
-
const headers =
|
|
169
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
170
|
-
};
|
|
144
|
+
const headers = SHARED_HEADERS;
|
|
171
145
|
let body;
|
|
172
146
|
body = buildFormUrlencodedString({
|
|
173
147
|
...se_CreateDBParameterGroupMessage(input, context),
|
|
@@ -178,9 +152,7 @@ const se_CreateDBParameterGroupCommand = async (input, context) => {
|
|
|
178
152
|
};
|
|
179
153
|
exports.se_CreateDBParameterGroupCommand = se_CreateDBParameterGroupCommand;
|
|
180
154
|
const se_CreateDBSubnetGroupCommand = async (input, context) => {
|
|
181
|
-
const headers =
|
|
182
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
183
|
-
};
|
|
155
|
+
const headers = SHARED_HEADERS;
|
|
184
156
|
let body;
|
|
185
157
|
body = buildFormUrlencodedString({
|
|
186
158
|
...se_CreateDBSubnetGroupMessage(input, context),
|
|
@@ -191,9 +163,7 @@ const se_CreateDBSubnetGroupCommand = async (input, context) => {
|
|
|
191
163
|
};
|
|
192
164
|
exports.se_CreateDBSubnetGroupCommand = se_CreateDBSubnetGroupCommand;
|
|
193
165
|
const se_CreateEventSubscriptionCommand = async (input, context) => {
|
|
194
|
-
const headers =
|
|
195
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
196
|
-
};
|
|
166
|
+
const headers = SHARED_HEADERS;
|
|
197
167
|
let body;
|
|
198
168
|
body = buildFormUrlencodedString({
|
|
199
169
|
...se_CreateEventSubscriptionMessage(input, context),
|
|
@@ -204,9 +174,7 @@ const se_CreateEventSubscriptionCommand = async (input, context) => {
|
|
|
204
174
|
};
|
|
205
175
|
exports.se_CreateEventSubscriptionCommand = se_CreateEventSubscriptionCommand;
|
|
206
176
|
const se_CreateGlobalClusterCommand = async (input, context) => {
|
|
207
|
-
const headers =
|
|
208
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
209
|
-
};
|
|
177
|
+
const headers = SHARED_HEADERS;
|
|
210
178
|
let body;
|
|
211
179
|
body = buildFormUrlencodedString({
|
|
212
180
|
...se_CreateGlobalClusterMessage(input, context),
|
|
@@ -217,9 +185,7 @@ const se_CreateGlobalClusterCommand = async (input, context) => {
|
|
|
217
185
|
};
|
|
218
186
|
exports.se_CreateGlobalClusterCommand = se_CreateGlobalClusterCommand;
|
|
219
187
|
const se_DeleteDBClusterCommand = async (input, context) => {
|
|
220
|
-
const headers =
|
|
221
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
222
|
-
};
|
|
188
|
+
const headers = SHARED_HEADERS;
|
|
223
189
|
let body;
|
|
224
190
|
body = buildFormUrlencodedString({
|
|
225
191
|
...se_DeleteDBClusterMessage(input, context),
|
|
@@ -230,9 +196,7 @@ const se_DeleteDBClusterCommand = async (input, context) => {
|
|
|
230
196
|
};
|
|
231
197
|
exports.se_DeleteDBClusterCommand = se_DeleteDBClusterCommand;
|
|
232
198
|
const se_DeleteDBClusterEndpointCommand = async (input, context) => {
|
|
233
|
-
const headers =
|
|
234
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
235
|
-
};
|
|
199
|
+
const headers = SHARED_HEADERS;
|
|
236
200
|
let body;
|
|
237
201
|
body = buildFormUrlencodedString({
|
|
238
202
|
...se_DeleteDBClusterEndpointMessage(input, context),
|
|
@@ -243,9 +207,7 @@ const se_DeleteDBClusterEndpointCommand = async (input, context) => {
|
|
|
243
207
|
};
|
|
244
208
|
exports.se_DeleteDBClusterEndpointCommand = se_DeleteDBClusterEndpointCommand;
|
|
245
209
|
const se_DeleteDBClusterParameterGroupCommand = async (input, context) => {
|
|
246
|
-
const headers =
|
|
247
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
248
|
-
};
|
|
210
|
+
const headers = SHARED_HEADERS;
|
|
249
211
|
let body;
|
|
250
212
|
body = buildFormUrlencodedString({
|
|
251
213
|
...se_DeleteDBClusterParameterGroupMessage(input, context),
|
|
@@ -256,9 +218,7 @@ const se_DeleteDBClusterParameterGroupCommand = async (input, context) => {
|
|
|
256
218
|
};
|
|
257
219
|
exports.se_DeleteDBClusterParameterGroupCommand = se_DeleteDBClusterParameterGroupCommand;
|
|
258
220
|
const se_DeleteDBClusterSnapshotCommand = async (input, context) => {
|
|
259
|
-
const headers =
|
|
260
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
261
|
-
};
|
|
221
|
+
const headers = SHARED_HEADERS;
|
|
262
222
|
let body;
|
|
263
223
|
body = buildFormUrlencodedString({
|
|
264
224
|
...se_DeleteDBClusterSnapshotMessage(input, context),
|
|
@@ -269,9 +229,7 @@ const se_DeleteDBClusterSnapshotCommand = async (input, context) => {
|
|
|
269
229
|
};
|
|
270
230
|
exports.se_DeleteDBClusterSnapshotCommand = se_DeleteDBClusterSnapshotCommand;
|
|
271
231
|
const se_DeleteDBInstanceCommand = async (input, context) => {
|
|
272
|
-
const headers =
|
|
273
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
274
|
-
};
|
|
232
|
+
const headers = SHARED_HEADERS;
|
|
275
233
|
let body;
|
|
276
234
|
body = buildFormUrlencodedString({
|
|
277
235
|
...se_DeleteDBInstanceMessage(input, context),
|
|
@@ -282,9 +240,7 @@ const se_DeleteDBInstanceCommand = async (input, context) => {
|
|
|
282
240
|
};
|
|
283
241
|
exports.se_DeleteDBInstanceCommand = se_DeleteDBInstanceCommand;
|
|
284
242
|
const se_DeleteDBParameterGroupCommand = async (input, context) => {
|
|
285
|
-
const headers =
|
|
286
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
287
|
-
};
|
|
243
|
+
const headers = SHARED_HEADERS;
|
|
288
244
|
let body;
|
|
289
245
|
body = buildFormUrlencodedString({
|
|
290
246
|
...se_DeleteDBParameterGroupMessage(input, context),
|
|
@@ -295,9 +251,7 @@ const se_DeleteDBParameterGroupCommand = async (input, context) => {
|
|
|
295
251
|
};
|
|
296
252
|
exports.se_DeleteDBParameterGroupCommand = se_DeleteDBParameterGroupCommand;
|
|
297
253
|
const se_DeleteDBSubnetGroupCommand = async (input, context) => {
|
|
298
|
-
const headers =
|
|
299
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
300
|
-
};
|
|
254
|
+
const headers = SHARED_HEADERS;
|
|
301
255
|
let body;
|
|
302
256
|
body = buildFormUrlencodedString({
|
|
303
257
|
...se_DeleteDBSubnetGroupMessage(input, context),
|
|
@@ -308,9 +262,7 @@ const se_DeleteDBSubnetGroupCommand = async (input, context) => {
|
|
|
308
262
|
};
|
|
309
263
|
exports.se_DeleteDBSubnetGroupCommand = se_DeleteDBSubnetGroupCommand;
|
|
310
264
|
const se_DeleteEventSubscriptionCommand = async (input, context) => {
|
|
311
|
-
const headers =
|
|
312
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
313
|
-
};
|
|
265
|
+
const headers = SHARED_HEADERS;
|
|
314
266
|
let body;
|
|
315
267
|
body = buildFormUrlencodedString({
|
|
316
268
|
...se_DeleteEventSubscriptionMessage(input, context),
|
|
@@ -321,9 +273,7 @@ const se_DeleteEventSubscriptionCommand = async (input, context) => {
|
|
|
321
273
|
};
|
|
322
274
|
exports.se_DeleteEventSubscriptionCommand = se_DeleteEventSubscriptionCommand;
|
|
323
275
|
const se_DeleteGlobalClusterCommand = async (input, context) => {
|
|
324
|
-
const headers =
|
|
325
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
326
|
-
};
|
|
276
|
+
const headers = SHARED_HEADERS;
|
|
327
277
|
let body;
|
|
328
278
|
body = buildFormUrlencodedString({
|
|
329
279
|
...se_DeleteGlobalClusterMessage(input, context),
|
|
@@ -334,9 +284,7 @@ const se_DeleteGlobalClusterCommand = async (input, context) => {
|
|
|
334
284
|
};
|
|
335
285
|
exports.se_DeleteGlobalClusterCommand = se_DeleteGlobalClusterCommand;
|
|
336
286
|
const se_DescribeDBClusterEndpointsCommand = async (input, context) => {
|
|
337
|
-
const headers =
|
|
338
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
339
|
-
};
|
|
287
|
+
const headers = SHARED_HEADERS;
|
|
340
288
|
let body;
|
|
341
289
|
body = buildFormUrlencodedString({
|
|
342
290
|
...se_DescribeDBClusterEndpointsMessage(input, context),
|
|
@@ -347,9 +295,7 @@ const se_DescribeDBClusterEndpointsCommand = async (input, context) => {
|
|
|
347
295
|
};
|
|
348
296
|
exports.se_DescribeDBClusterEndpointsCommand = se_DescribeDBClusterEndpointsCommand;
|
|
349
297
|
const se_DescribeDBClusterParameterGroupsCommand = async (input, context) => {
|
|
350
|
-
const headers =
|
|
351
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
352
|
-
};
|
|
298
|
+
const headers = SHARED_HEADERS;
|
|
353
299
|
let body;
|
|
354
300
|
body = buildFormUrlencodedString({
|
|
355
301
|
...se_DescribeDBClusterParameterGroupsMessage(input, context),
|
|
@@ -360,9 +306,7 @@ const se_DescribeDBClusterParameterGroupsCommand = async (input, context) => {
|
|
|
360
306
|
};
|
|
361
307
|
exports.se_DescribeDBClusterParameterGroupsCommand = se_DescribeDBClusterParameterGroupsCommand;
|
|
362
308
|
const se_DescribeDBClusterParametersCommand = async (input, context) => {
|
|
363
|
-
const headers =
|
|
364
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
365
|
-
};
|
|
309
|
+
const headers = SHARED_HEADERS;
|
|
366
310
|
let body;
|
|
367
311
|
body = buildFormUrlencodedString({
|
|
368
312
|
...se_DescribeDBClusterParametersMessage(input, context),
|
|
@@ -373,9 +317,7 @@ const se_DescribeDBClusterParametersCommand = async (input, context) => {
|
|
|
373
317
|
};
|
|
374
318
|
exports.se_DescribeDBClusterParametersCommand = se_DescribeDBClusterParametersCommand;
|
|
375
319
|
const se_DescribeDBClustersCommand = async (input, context) => {
|
|
376
|
-
const headers =
|
|
377
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
378
|
-
};
|
|
320
|
+
const headers = SHARED_HEADERS;
|
|
379
321
|
let body;
|
|
380
322
|
body = buildFormUrlencodedString({
|
|
381
323
|
...se_DescribeDBClustersMessage(input, context),
|
|
@@ -386,9 +328,7 @@ const se_DescribeDBClustersCommand = async (input, context) => {
|
|
|
386
328
|
};
|
|
387
329
|
exports.se_DescribeDBClustersCommand = se_DescribeDBClustersCommand;
|
|
388
330
|
const se_DescribeDBClusterSnapshotAttributesCommand = async (input, context) => {
|
|
389
|
-
const headers =
|
|
390
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
391
|
-
};
|
|
331
|
+
const headers = SHARED_HEADERS;
|
|
392
332
|
let body;
|
|
393
333
|
body = buildFormUrlencodedString({
|
|
394
334
|
...se_DescribeDBClusterSnapshotAttributesMessage(input, context),
|
|
@@ -399,9 +339,7 @@ const se_DescribeDBClusterSnapshotAttributesCommand = async (input, context) =>
|
|
|
399
339
|
};
|
|
400
340
|
exports.se_DescribeDBClusterSnapshotAttributesCommand = se_DescribeDBClusterSnapshotAttributesCommand;
|
|
401
341
|
const se_DescribeDBClusterSnapshotsCommand = async (input, context) => {
|
|
402
|
-
const headers =
|
|
403
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
404
|
-
};
|
|
342
|
+
const headers = SHARED_HEADERS;
|
|
405
343
|
let body;
|
|
406
344
|
body = buildFormUrlencodedString({
|
|
407
345
|
...se_DescribeDBClusterSnapshotsMessage(input, context),
|
|
@@ -412,9 +350,7 @@ const se_DescribeDBClusterSnapshotsCommand = async (input, context) => {
|
|
|
412
350
|
};
|
|
413
351
|
exports.se_DescribeDBClusterSnapshotsCommand = se_DescribeDBClusterSnapshotsCommand;
|
|
414
352
|
const se_DescribeDBEngineVersionsCommand = async (input, context) => {
|
|
415
|
-
const headers =
|
|
416
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
417
|
-
};
|
|
353
|
+
const headers = SHARED_HEADERS;
|
|
418
354
|
let body;
|
|
419
355
|
body = buildFormUrlencodedString({
|
|
420
356
|
...se_DescribeDBEngineVersionsMessage(input, context),
|
|
@@ -425,9 +361,7 @@ const se_DescribeDBEngineVersionsCommand = async (input, context) => {
|
|
|
425
361
|
};
|
|
426
362
|
exports.se_DescribeDBEngineVersionsCommand = se_DescribeDBEngineVersionsCommand;
|
|
427
363
|
const se_DescribeDBInstancesCommand = async (input, context) => {
|
|
428
|
-
const headers =
|
|
429
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
430
|
-
};
|
|
364
|
+
const headers = SHARED_HEADERS;
|
|
431
365
|
let body;
|
|
432
366
|
body = buildFormUrlencodedString({
|
|
433
367
|
...se_DescribeDBInstancesMessage(input, context),
|
|
@@ -438,9 +372,7 @@ const se_DescribeDBInstancesCommand = async (input, context) => {
|
|
|
438
372
|
};
|
|
439
373
|
exports.se_DescribeDBInstancesCommand = se_DescribeDBInstancesCommand;
|
|
440
374
|
const se_DescribeDBParameterGroupsCommand = async (input, context) => {
|
|
441
|
-
const headers =
|
|
442
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
443
|
-
};
|
|
375
|
+
const headers = SHARED_HEADERS;
|
|
444
376
|
let body;
|
|
445
377
|
body = buildFormUrlencodedString({
|
|
446
378
|
...se_DescribeDBParameterGroupsMessage(input, context),
|
|
@@ -451,9 +383,7 @@ const se_DescribeDBParameterGroupsCommand = async (input, context) => {
|
|
|
451
383
|
};
|
|
452
384
|
exports.se_DescribeDBParameterGroupsCommand = se_DescribeDBParameterGroupsCommand;
|
|
453
385
|
const se_DescribeDBParametersCommand = async (input, context) => {
|
|
454
|
-
const headers =
|
|
455
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
456
|
-
};
|
|
386
|
+
const headers = SHARED_HEADERS;
|
|
457
387
|
let body;
|
|
458
388
|
body = buildFormUrlencodedString({
|
|
459
389
|
...se_DescribeDBParametersMessage(input, context),
|
|
@@ -464,9 +394,7 @@ const se_DescribeDBParametersCommand = async (input, context) => {
|
|
|
464
394
|
};
|
|
465
395
|
exports.se_DescribeDBParametersCommand = se_DescribeDBParametersCommand;
|
|
466
396
|
const se_DescribeDBSubnetGroupsCommand = async (input, context) => {
|
|
467
|
-
const headers =
|
|
468
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
469
|
-
};
|
|
397
|
+
const headers = SHARED_HEADERS;
|
|
470
398
|
let body;
|
|
471
399
|
body = buildFormUrlencodedString({
|
|
472
400
|
...se_DescribeDBSubnetGroupsMessage(input, context),
|
|
@@ -477,9 +405,7 @@ const se_DescribeDBSubnetGroupsCommand = async (input, context) => {
|
|
|
477
405
|
};
|
|
478
406
|
exports.se_DescribeDBSubnetGroupsCommand = se_DescribeDBSubnetGroupsCommand;
|
|
479
407
|
const se_DescribeEngineDefaultClusterParametersCommand = async (input, context) => {
|
|
480
|
-
const headers =
|
|
481
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
482
|
-
};
|
|
408
|
+
const headers = SHARED_HEADERS;
|
|
483
409
|
let body;
|
|
484
410
|
body = buildFormUrlencodedString({
|
|
485
411
|
...se_DescribeEngineDefaultClusterParametersMessage(input, context),
|
|
@@ -490,9 +416,7 @@ const se_DescribeEngineDefaultClusterParametersCommand = async (input, context)
|
|
|
490
416
|
};
|
|
491
417
|
exports.se_DescribeEngineDefaultClusterParametersCommand = se_DescribeEngineDefaultClusterParametersCommand;
|
|
492
418
|
const se_DescribeEngineDefaultParametersCommand = async (input, context) => {
|
|
493
|
-
const headers =
|
|
494
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
495
|
-
};
|
|
419
|
+
const headers = SHARED_HEADERS;
|
|
496
420
|
let body;
|
|
497
421
|
body = buildFormUrlencodedString({
|
|
498
422
|
...se_DescribeEngineDefaultParametersMessage(input, context),
|
|
@@ -503,9 +427,7 @@ const se_DescribeEngineDefaultParametersCommand = async (input, context) => {
|
|
|
503
427
|
};
|
|
504
428
|
exports.se_DescribeEngineDefaultParametersCommand = se_DescribeEngineDefaultParametersCommand;
|
|
505
429
|
const se_DescribeEventCategoriesCommand = async (input, context) => {
|
|
506
|
-
const headers =
|
|
507
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
508
|
-
};
|
|
430
|
+
const headers = SHARED_HEADERS;
|
|
509
431
|
let body;
|
|
510
432
|
body = buildFormUrlencodedString({
|
|
511
433
|
...se_DescribeEventCategoriesMessage(input, context),
|
|
@@ -516,9 +438,7 @@ const se_DescribeEventCategoriesCommand = async (input, context) => {
|
|
|
516
438
|
};
|
|
517
439
|
exports.se_DescribeEventCategoriesCommand = se_DescribeEventCategoriesCommand;
|
|
518
440
|
const se_DescribeEventsCommand = async (input, context) => {
|
|
519
|
-
const headers =
|
|
520
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
521
|
-
};
|
|
441
|
+
const headers = SHARED_HEADERS;
|
|
522
442
|
let body;
|
|
523
443
|
body = buildFormUrlencodedString({
|
|
524
444
|
...se_DescribeEventsMessage(input, context),
|
|
@@ -529,9 +449,7 @@ const se_DescribeEventsCommand = async (input, context) => {
|
|
|
529
449
|
};
|
|
530
450
|
exports.se_DescribeEventsCommand = se_DescribeEventsCommand;
|
|
531
451
|
const se_DescribeEventSubscriptionsCommand = async (input, context) => {
|
|
532
|
-
const headers =
|
|
533
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
534
|
-
};
|
|
452
|
+
const headers = SHARED_HEADERS;
|
|
535
453
|
let body;
|
|
536
454
|
body = buildFormUrlencodedString({
|
|
537
455
|
...se_DescribeEventSubscriptionsMessage(input, context),
|
|
@@ -542,9 +460,7 @@ const se_DescribeEventSubscriptionsCommand = async (input, context) => {
|
|
|
542
460
|
};
|
|
543
461
|
exports.se_DescribeEventSubscriptionsCommand = se_DescribeEventSubscriptionsCommand;
|
|
544
462
|
const se_DescribeGlobalClustersCommand = async (input, context) => {
|
|
545
|
-
const headers =
|
|
546
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
547
|
-
};
|
|
463
|
+
const headers = SHARED_HEADERS;
|
|
548
464
|
let body;
|
|
549
465
|
body = buildFormUrlencodedString({
|
|
550
466
|
...se_DescribeGlobalClustersMessage(input, context),
|
|
@@ -555,9 +471,7 @@ const se_DescribeGlobalClustersCommand = async (input, context) => {
|
|
|
555
471
|
};
|
|
556
472
|
exports.se_DescribeGlobalClustersCommand = se_DescribeGlobalClustersCommand;
|
|
557
473
|
const se_DescribeOrderableDBInstanceOptionsCommand = async (input, context) => {
|
|
558
|
-
const headers =
|
|
559
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
560
|
-
};
|
|
474
|
+
const headers = SHARED_HEADERS;
|
|
561
475
|
let body;
|
|
562
476
|
body = buildFormUrlencodedString({
|
|
563
477
|
...se_DescribeOrderableDBInstanceOptionsMessage(input, context),
|
|
@@ -568,9 +482,7 @@ const se_DescribeOrderableDBInstanceOptionsCommand = async (input, context) => {
|
|
|
568
482
|
};
|
|
569
483
|
exports.se_DescribeOrderableDBInstanceOptionsCommand = se_DescribeOrderableDBInstanceOptionsCommand;
|
|
570
484
|
const se_DescribePendingMaintenanceActionsCommand = async (input, context) => {
|
|
571
|
-
const headers =
|
|
572
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
573
|
-
};
|
|
485
|
+
const headers = SHARED_HEADERS;
|
|
574
486
|
let body;
|
|
575
487
|
body = buildFormUrlencodedString({
|
|
576
488
|
...se_DescribePendingMaintenanceActionsMessage(input, context),
|
|
@@ -581,9 +493,7 @@ const se_DescribePendingMaintenanceActionsCommand = async (input, context) => {
|
|
|
581
493
|
};
|
|
582
494
|
exports.se_DescribePendingMaintenanceActionsCommand = se_DescribePendingMaintenanceActionsCommand;
|
|
583
495
|
const se_DescribeValidDBInstanceModificationsCommand = async (input, context) => {
|
|
584
|
-
const headers =
|
|
585
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
586
|
-
};
|
|
496
|
+
const headers = SHARED_HEADERS;
|
|
587
497
|
let body;
|
|
588
498
|
body = buildFormUrlencodedString({
|
|
589
499
|
...se_DescribeValidDBInstanceModificationsMessage(input, context),
|
|
@@ -594,9 +504,7 @@ const se_DescribeValidDBInstanceModificationsCommand = async (input, context) =>
|
|
|
594
504
|
};
|
|
595
505
|
exports.se_DescribeValidDBInstanceModificationsCommand = se_DescribeValidDBInstanceModificationsCommand;
|
|
596
506
|
const se_FailoverDBClusterCommand = async (input, context) => {
|
|
597
|
-
const headers =
|
|
598
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
599
|
-
};
|
|
507
|
+
const headers = SHARED_HEADERS;
|
|
600
508
|
let body;
|
|
601
509
|
body = buildFormUrlencodedString({
|
|
602
510
|
...se_FailoverDBClusterMessage(input, context),
|
|
@@ -607,9 +515,7 @@ const se_FailoverDBClusterCommand = async (input, context) => {
|
|
|
607
515
|
};
|
|
608
516
|
exports.se_FailoverDBClusterCommand = se_FailoverDBClusterCommand;
|
|
609
517
|
const se_FailoverGlobalClusterCommand = async (input, context) => {
|
|
610
|
-
const headers =
|
|
611
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
612
|
-
};
|
|
518
|
+
const headers = SHARED_HEADERS;
|
|
613
519
|
let body;
|
|
614
520
|
body = buildFormUrlencodedString({
|
|
615
521
|
...se_FailoverGlobalClusterMessage(input, context),
|
|
@@ -620,9 +526,7 @@ const se_FailoverGlobalClusterCommand = async (input, context) => {
|
|
|
620
526
|
};
|
|
621
527
|
exports.se_FailoverGlobalClusterCommand = se_FailoverGlobalClusterCommand;
|
|
622
528
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
623
|
-
const headers =
|
|
624
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
625
|
-
};
|
|
529
|
+
const headers = SHARED_HEADERS;
|
|
626
530
|
let body;
|
|
627
531
|
body = buildFormUrlencodedString({
|
|
628
532
|
...se_ListTagsForResourceMessage(input, context),
|
|
@@ -633,9 +537,7 @@ const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
633
537
|
};
|
|
634
538
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
635
539
|
const se_ModifyDBClusterCommand = async (input, context) => {
|
|
636
|
-
const headers =
|
|
637
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
638
|
-
};
|
|
540
|
+
const headers = SHARED_HEADERS;
|
|
639
541
|
let body;
|
|
640
542
|
body = buildFormUrlencodedString({
|
|
641
543
|
...se_ModifyDBClusterMessage(input, context),
|
|
@@ -646,9 +548,7 @@ const se_ModifyDBClusterCommand = async (input, context) => {
|
|
|
646
548
|
};
|
|
647
549
|
exports.se_ModifyDBClusterCommand = se_ModifyDBClusterCommand;
|
|
648
550
|
const se_ModifyDBClusterEndpointCommand = async (input, context) => {
|
|
649
|
-
const headers =
|
|
650
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
651
|
-
};
|
|
551
|
+
const headers = SHARED_HEADERS;
|
|
652
552
|
let body;
|
|
653
553
|
body = buildFormUrlencodedString({
|
|
654
554
|
...se_ModifyDBClusterEndpointMessage(input, context),
|
|
@@ -659,9 +559,7 @@ const se_ModifyDBClusterEndpointCommand = async (input, context) => {
|
|
|
659
559
|
};
|
|
660
560
|
exports.se_ModifyDBClusterEndpointCommand = se_ModifyDBClusterEndpointCommand;
|
|
661
561
|
const se_ModifyDBClusterParameterGroupCommand = async (input, context) => {
|
|
662
|
-
const headers =
|
|
663
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
664
|
-
};
|
|
562
|
+
const headers = SHARED_HEADERS;
|
|
665
563
|
let body;
|
|
666
564
|
body = buildFormUrlencodedString({
|
|
667
565
|
...se_ModifyDBClusterParameterGroupMessage(input, context),
|
|
@@ -672,9 +570,7 @@ const se_ModifyDBClusterParameterGroupCommand = async (input, context) => {
|
|
|
672
570
|
};
|
|
673
571
|
exports.se_ModifyDBClusterParameterGroupCommand = se_ModifyDBClusterParameterGroupCommand;
|
|
674
572
|
const se_ModifyDBClusterSnapshotAttributeCommand = async (input, context) => {
|
|
675
|
-
const headers =
|
|
676
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
677
|
-
};
|
|
573
|
+
const headers = SHARED_HEADERS;
|
|
678
574
|
let body;
|
|
679
575
|
body = buildFormUrlencodedString({
|
|
680
576
|
...se_ModifyDBClusterSnapshotAttributeMessage(input, context),
|
|
@@ -685,9 +581,7 @@ const se_ModifyDBClusterSnapshotAttributeCommand = async (input, context) => {
|
|
|
685
581
|
};
|
|
686
582
|
exports.se_ModifyDBClusterSnapshotAttributeCommand = se_ModifyDBClusterSnapshotAttributeCommand;
|
|
687
583
|
const se_ModifyDBInstanceCommand = async (input, context) => {
|
|
688
|
-
const headers =
|
|
689
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
690
|
-
};
|
|
584
|
+
const headers = SHARED_HEADERS;
|
|
691
585
|
let body;
|
|
692
586
|
body = buildFormUrlencodedString({
|
|
693
587
|
...se_ModifyDBInstanceMessage(input, context),
|
|
@@ -698,9 +592,7 @@ const se_ModifyDBInstanceCommand = async (input, context) => {
|
|
|
698
592
|
};
|
|
699
593
|
exports.se_ModifyDBInstanceCommand = se_ModifyDBInstanceCommand;
|
|
700
594
|
const se_ModifyDBParameterGroupCommand = async (input, context) => {
|
|
701
|
-
const headers =
|
|
702
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
703
|
-
};
|
|
595
|
+
const headers = SHARED_HEADERS;
|
|
704
596
|
let body;
|
|
705
597
|
body = buildFormUrlencodedString({
|
|
706
598
|
...se_ModifyDBParameterGroupMessage(input, context),
|
|
@@ -711,9 +603,7 @@ const se_ModifyDBParameterGroupCommand = async (input, context) => {
|
|
|
711
603
|
};
|
|
712
604
|
exports.se_ModifyDBParameterGroupCommand = se_ModifyDBParameterGroupCommand;
|
|
713
605
|
const se_ModifyDBSubnetGroupCommand = async (input, context) => {
|
|
714
|
-
const headers =
|
|
715
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
716
|
-
};
|
|
606
|
+
const headers = SHARED_HEADERS;
|
|
717
607
|
let body;
|
|
718
608
|
body = buildFormUrlencodedString({
|
|
719
609
|
...se_ModifyDBSubnetGroupMessage(input, context),
|
|
@@ -724,9 +614,7 @@ const se_ModifyDBSubnetGroupCommand = async (input, context) => {
|
|
|
724
614
|
};
|
|
725
615
|
exports.se_ModifyDBSubnetGroupCommand = se_ModifyDBSubnetGroupCommand;
|
|
726
616
|
const se_ModifyEventSubscriptionCommand = async (input, context) => {
|
|
727
|
-
const headers =
|
|
728
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
729
|
-
};
|
|
617
|
+
const headers = SHARED_HEADERS;
|
|
730
618
|
let body;
|
|
731
619
|
body = buildFormUrlencodedString({
|
|
732
620
|
...se_ModifyEventSubscriptionMessage(input, context),
|
|
@@ -737,9 +625,7 @@ const se_ModifyEventSubscriptionCommand = async (input, context) => {
|
|
|
737
625
|
};
|
|
738
626
|
exports.se_ModifyEventSubscriptionCommand = se_ModifyEventSubscriptionCommand;
|
|
739
627
|
const se_ModifyGlobalClusterCommand = async (input, context) => {
|
|
740
|
-
const headers =
|
|
741
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
742
|
-
};
|
|
628
|
+
const headers = SHARED_HEADERS;
|
|
743
629
|
let body;
|
|
744
630
|
body = buildFormUrlencodedString({
|
|
745
631
|
...se_ModifyGlobalClusterMessage(input, context),
|
|
@@ -750,9 +636,7 @@ const se_ModifyGlobalClusterCommand = async (input, context) => {
|
|
|
750
636
|
};
|
|
751
637
|
exports.se_ModifyGlobalClusterCommand = se_ModifyGlobalClusterCommand;
|
|
752
638
|
const se_PromoteReadReplicaDBClusterCommand = async (input, context) => {
|
|
753
|
-
const headers =
|
|
754
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
755
|
-
};
|
|
639
|
+
const headers = SHARED_HEADERS;
|
|
756
640
|
let body;
|
|
757
641
|
body = buildFormUrlencodedString({
|
|
758
642
|
...se_PromoteReadReplicaDBClusterMessage(input, context),
|
|
@@ -763,9 +647,7 @@ const se_PromoteReadReplicaDBClusterCommand = async (input, context) => {
|
|
|
763
647
|
};
|
|
764
648
|
exports.se_PromoteReadReplicaDBClusterCommand = se_PromoteReadReplicaDBClusterCommand;
|
|
765
649
|
const se_RebootDBInstanceCommand = async (input, context) => {
|
|
766
|
-
const headers =
|
|
767
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
768
|
-
};
|
|
650
|
+
const headers = SHARED_HEADERS;
|
|
769
651
|
let body;
|
|
770
652
|
body = buildFormUrlencodedString({
|
|
771
653
|
...se_RebootDBInstanceMessage(input, context),
|
|
@@ -776,9 +658,7 @@ const se_RebootDBInstanceCommand = async (input, context) => {
|
|
|
776
658
|
};
|
|
777
659
|
exports.se_RebootDBInstanceCommand = se_RebootDBInstanceCommand;
|
|
778
660
|
const se_RemoveFromGlobalClusterCommand = async (input, context) => {
|
|
779
|
-
const headers =
|
|
780
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
781
|
-
};
|
|
661
|
+
const headers = SHARED_HEADERS;
|
|
782
662
|
let body;
|
|
783
663
|
body = buildFormUrlencodedString({
|
|
784
664
|
...se_RemoveFromGlobalClusterMessage(input, context),
|
|
@@ -789,9 +669,7 @@ const se_RemoveFromGlobalClusterCommand = async (input, context) => {
|
|
|
789
669
|
};
|
|
790
670
|
exports.se_RemoveFromGlobalClusterCommand = se_RemoveFromGlobalClusterCommand;
|
|
791
671
|
const se_RemoveRoleFromDBClusterCommand = async (input, context) => {
|
|
792
|
-
const headers =
|
|
793
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
794
|
-
};
|
|
672
|
+
const headers = SHARED_HEADERS;
|
|
795
673
|
let body;
|
|
796
674
|
body = buildFormUrlencodedString({
|
|
797
675
|
...se_RemoveRoleFromDBClusterMessage(input, context),
|
|
@@ -802,9 +680,7 @@ const se_RemoveRoleFromDBClusterCommand = async (input, context) => {
|
|
|
802
680
|
};
|
|
803
681
|
exports.se_RemoveRoleFromDBClusterCommand = se_RemoveRoleFromDBClusterCommand;
|
|
804
682
|
const se_RemoveSourceIdentifierFromSubscriptionCommand = async (input, context) => {
|
|
805
|
-
const headers =
|
|
806
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
807
|
-
};
|
|
683
|
+
const headers = SHARED_HEADERS;
|
|
808
684
|
let body;
|
|
809
685
|
body = buildFormUrlencodedString({
|
|
810
686
|
...se_RemoveSourceIdentifierFromSubscriptionMessage(input, context),
|
|
@@ -815,9 +691,7 @@ const se_RemoveSourceIdentifierFromSubscriptionCommand = async (input, context)
|
|
|
815
691
|
};
|
|
816
692
|
exports.se_RemoveSourceIdentifierFromSubscriptionCommand = se_RemoveSourceIdentifierFromSubscriptionCommand;
|
|
817
693
|
const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
818
|
-
const headers =
|
|
819
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
820
|
-
};
|
|
694
|
+
const headers = SHARED_HEADERS;
|
|
821
695
|
let body;
|
|
822
696
|
body = buildFormUrlencodedString({
|
|
823
697
|
...se_RemoveTagsFromResourceMessage(input, context),
|
|
@@ -828,9 +702,7 @@ const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
|
828
702
|
};
|
|
829
703
|
exports.se_RemoveTagsFromResourceCommand = se_RemoveTagsFromResourceCommand;
|
|
830
704
|
const se_ResetDBClusterParameterGroupCommand = async (input, context) => {
|
|
831
|
-
const headers =
|
|
832
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
833
|
-
};
|
|
705
|
+
const headers = SHARED_HEADERS;
|
|
834
706
|
let body;
|
|
835
707
|
body = buildFormUrlencodedString({
|
|
836
708
|
...se_ResetDBClusterParameterGroupMessage(input, context),
|
|
@@ -841,9 +713,7 @@ const se_ResetDBClusterParameterGroupCommand = async (input, context) => {
|
|
|
841
713
|
};
|
|
842
714
|
exports.se_ResetDBClusterParameterGroupCommand = se_ResetDBClusterParameterGroupCommand;
|
|
843
715
|
const se_ResetDBParameterGroupCommand = async (input, context) => {
|
|
844
|
-
const headers =
|
|
845
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
846
|
-
};
|
|
716
|
+
const headers = SHARED_HEADERS;
|
|
847
717
|
let body;
|
|
848
718
|
body = buildFormUrlencodedString({
|
|
849
719
|
...se_ResetDBParameterGroupMessage(input, context),
|
|
@@ -854,9 +724,7 @@ const se_ResetDBParameterGroupCommand = async (input, context) => {
|
|
|
854
724
|
};
|
|
855
725
|
exports.se_ResetDBParameterGroupCommand = se_ResetDBParameterGroupCommand;
|
|
856
726
|
const se_RestoreDBClusterFromSnapshotCommand = async (input, context) => {
|
|
857
|
-
const headers =
|
|
858
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
859
|
-
};
|
|
727
|
+
const headers = SHARED_HEADERS;
|
|
860
728
|
let body;
|
|
861
729
|
body = buildFormUrlencodedString({
|
|
862
730
|
...se_RestoreDBClusterFromSnapshotMessage(input, context),
|
|
@@ -867,9 +735,7 @@ const se_RestoreDBClusterFromSnapshotCommand = async (input, context) => {
|
|
|
867
735
|
};
|
|
868
736
|
exports.se_RestoreDBClusterFromSnapshotCommand = se_RestoreDBClusterFromSnapshotCommand;
|
|
869
737
|
const se_RestoreDBClusterToPointInTimeCommand = async (input, context) => {
|
|
870
|
-
const headers =
|
|
871
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
872
|
-
};
|
|
738
|
+
const headers = SHARED_HEADERS;
|
|
873
739
|
let body;
|
|
874
740
|
body = buildFormUrlencodedString({
|
|
875
741
|
...se_RestoreDBClusterToPointInTimeMessage(input, context),
|
|
@@ -880,9 +746,7 @@ const se_RestoreDBClusterToPointInTimeCommand = async (input, context) => {
|
|
|
880
746
|
};
|
|
881
747
|
exports.se_RestoreDBClusterToPointInTimeCommand = se_RestoreDBClusterToPointInTimeCommand;
|
|
882
748
|
const se_StartDBClusterCommand = async (input, context) => {
|
|
883
|
-
const headers =
|
|
884
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
885
|
-
};
|
|
749
|
+
const headers = SHARED_HEADERS;
|
|
886
750
|
let body;
|
|
887
751
|
body = buildFormUrlencodedString({
|
|
888
752
|
...se_StartDBClusterMessage(input, context),
|
|
@@ -893,9 +757,7 @@ const se_StartDBClusterCommand = async (input, context) => {
|
|
|
893
757
|
};
|
|
894
758
|
exports.se_StartDBClusterCommand = se_StartDBClusterCommand;
|
|
895
759
|
const se_StopDBClusterCommand = async (input, context) => {
|
|
896
|
-
const headers =
|
|
897
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
898
|
-
};
|
|
760
|
+
const headers = SHARED_HEADERS;
|
|
899
761
|
let body;
|
|
900
762
|
body = buildFormUrlencodedString({
|
|
901
763
|
...se_StopDBClusterMessage(input, context),
|
|
@@ -913,7 +775,7 @@ const de_AddRoleToDBClusterCommand = async (output, context) => {
|
|
|
913
775
|
const response = {
|
|
914
776
|
$metadata: deserializeMetadata(output),
|
|
915
777
|
};
|
|
916
|
-
return
|
|
778
|
+
return response;
|
|
917
779
|
};
|
|
918
780
|
exports.de_AddRoleToDBClusterCommand = de_AddRoleToDBClusterCommand;
|
|
919
781
|
const de_AddRoleToDBClusterCommandError = async (output, context) => {
|
|
@@ -937,10 +799,9 @@ const de_AddRoleToDBClusterCommandError = async (output, context) => {
|
|
|
937
799
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
938
800
|
default:
|
|
939
801
|
const parsedBody = parsedOutput.body;
|
|
940
|
-
|
|
802
|
+
return throwDefaultError({
|
|
941
803
|
output,
|
|
942
804
|
parsedBody: parsedBody.Error,
|
|
943
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
944
805
|
errorCode,
|
|
945
806
|
});
|
|
946
807
|
}
|
|
@@ -956,7 +817,7 @@ const de_AddSourceIdentifierToSubscriptionCommand = async (output, context) => {
|
|
|
956
817
|
$metadata: deserializeMetadata(output),
|
|
957
818
|
...contents,
|
|
958
819
|
};
|
|
959
|
-
return
|
|
820
|
+
return response;
|
|
960
821
|
};
|
|
961
822
|
exports.de_AddSourceIdentifierToSubscriptionCommand = de_AddSourceIdentifierToSubscriptionCommand;
|
|
962
823
|
const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context) => {
|
|
@@ -974,10 +835,9 @@ const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context)
|
|
|
974
835
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
975
836
|
default:
|
|
976
837
|
const parsedBody = parsedOutput.body;
|
|
977
|
-
|
|
838
|
+
return throwDefaultError({
|
|
978
839
|
output,
|
|
979
840
|
parsedBody: parsedBody.Error,
|
|
980
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
981
841
|
errorCode,
|
|
982
842
|
});
|
|
983
843
|
}
|
|
@@ -990,7 +850,7 @@ const de_AddTagsToResourceCommand = async (output, context) => {
|
|
|
990
850
|
const response = {
|
|
991
851
|
$metadata: deserializeMetadata(output),
|
|
992
852
|
};
|
|
993
|
-
return
|
|
853
|
+
return response;
|
|
994
854
|
};
|
|
995
855
|
exports.de_AddTagsToResourceCommand = de_AddTagsToResourceCommand;
|
|
996
856
|
const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
@@ -1011,10 +871,9 @@ const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
|
1011
871
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1012
872
|
default:
|
|
1013
873
|
const parsedBody = parsedOutput.body;
|
|
1014
|
-
|
|
874
|
+
return throwDefaultError({
|
|
1015
875
|
output,
|
|
1016
876
|
parsedBody: parsedBody.Error,
|
|
1017
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1018
877
|
errorCode,
|
|
1019
878
|
});
|
|
1020
879
|
}
|
|
@@ -1030,7 +889,7 @@ const de_ApplyPendingMaintenanceActionCommand = async (output, context) => {
|
|
|
1030
889
|
$metadata: deserializeMetadata(output),
|
|
1031
890
|
...contents,
|
|
1032
891
|
};
|
|
1033
|
-
return
|
|
892
|
+
return response;
|
|
1034
893
|
};
|
|
1035
894
|
exports.de_ApplyPendingMaintenanceActionCommand = de_ApplyPendingMaintenanceActionCommand;
|
|
1036
895
|
const de_ApplyPendingMaintenanceActionCommandError = async (output, context) => {
|
|
@@ -1045,10 +904,9 @@ const de_ApplyPendingMaintenanceActionCommandError = async (output, context) =>
|
|
|
1045
904
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1046
905
|
default:
|
|
1047
906
|
const parsedBody = parsedOutput.body;
|
|
1048
|
-
|
|
907
|
+
return throwDefaultError({
|
|
1049
908
|
output,
|
|
1050
909
|
parsedBody: parsedBody.Error,
|
|
1051
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1052
910
|
errorCode,
|
|
1053
911
|
});
|
|
1054
912
|
}
|
|
@@ -1064,7 +922,7 @@ const de_CopyDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
1064
922
|
$metadata: deserializeMetadata(output),
|
|
1065
923
|
...contents,
|
|
1066
924
|
};
|
|
1067
|
-
return
|
|
925
|
+
return response;
|
|
1068
926
|
};
|
|
1069
927
|
exports.de_CopyDBClusterParameterGroupCommand = de_CopyDBClusterParameterGroupCommand;
|
|
1070
928
|
const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
@@ -1085,10 +943,9 @@ const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
1085
943
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1086
944
|
default:
|
|
1087
945
|
const parsedBody = parsedOutput.body;
|
|
1088
|
-
|
|
946
|
+
return throwDefaultError({
|
|
1089
947
|
output,
|
|
1090
948
|
parsedBody: parsedBody.Error,
|
|
1091
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1092
949
|
errorCode,
|
|
1093
950
|
});
|
|
1094
951
|
}
|
|
@@ -1104,7 +961,7 @@ const de_CopyDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1104
961
|
$metadata: deserializeMetadata(output),
|
|
1105
962
|
...contents,
|
|
1106
963
|
};
|
|
1107
|
-
return
|
|
964
|
+
return response;
|
|
1108
965
|
};
|
|
1109
966
|
exports.de_CopyDBClusterSnapshotCommand = de_CopyDBClusterSnapshotCommand;
|
|
1110
967
|
const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
@@ -1134,10 +991,9 @@ const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1134
991
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1135
992
|
default:
|
|
1136
993
|
const parsedBody = parsedOutput.body;
|
|
1137
|
-
|
|
994
|
+
return throwDefaultError({
|
|
1138
995
|
output,
|
|
1139
996
|
parsedBody: parsedBody.Error,
|
|
1140
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1141
997
|
errorCode,
|
|
1142
998
|
});
|
|
1143
999
|
}
|
|
@@ -1153,7 +1009,7 @@ const de_CopyDBParameterGroupCommand = async (output, context) => {
|
|
|
1153
1009
|
$metadata: deserializeMetadata(output),
|
|
1154
1010
|
...contents,
|
|
1155
1011
|
};
|
|
1156
|
-
return
|
|
1012
|
+
return response;
|
|
1157
1013
|
};
|
|
1158
1014
|
exports.de_CopyDBParameterGroupCommand = de_CopyDBParameterGroupCommand;
|
|
1159
1015
|
const de_CopyDBParameterGroupCommandError = async (output, context) => {
|
|
@@ -1174,10 +1030,9 @@ const de_CopyDBParameterGroupCommandError = async (output, context) => {
|
|
|
1174
1030
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1175
1031
|
default:
|
|
1176
1032
|
const parsedBody = parsedOutput.body;
|
|
1177
|
-
|
|
1033
|
+
return throwDefaultError({
|
|
1178
1034
|
output,
|
|
1179
1035
|
parsedBody: parsedBody.Error,
|
|
1180
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1181
1036
|
errorCode,
|
|
1182
1037
|
});
|
|
1183
1038
|
}
|
|
@@ -1193,7 +1048,7 @@ const de_CreateDBClusterCommand = async (output, context) => {
|
|
|
1193
1048
|
$metadata: deserializeMetadata(output),
|
|
1194
1049
|
...contents,
|
|
1195
1050
|
};
|
|
1196
|
-
return
|
|
1051
|
+
return response;
|
|
1197
1052
|
};
|
|
1198
1053
|
exports.de_CreateDBClusterCommand = de_CreateDBClusterCommand;
|
|
1199
1054
|
const de_CreateDBClusterCommandError = async (output, context) => {
|
|
@@ -1256,10 +1111,9 @@ const de_CreateDBClusterCommandError = async (output, context) => {
|
|
|
1256
1111
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
1257
1112
|
default:
|
|
1258
1113
|
const parsedBody = parsedOutput.body;
|
|
1259
|
-
|
|
1114
|
+
return throwDefaultError({
|
|
1260
1115
|
output,
|
|
1261
1116
|
parsedBody: parsedBody.Error,
|
|
1262
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1263
1117
|
errorCode,
|
|
1264
1118
|
});
|
|
1265
1119
|
}
|
|
@@ -1275,7 +1129,7 @@ const de_CreateDBClusterEndpointCommand = async (output, context) => {
|
|
|
1275
1129
|
$metadata: deserializeMetadata(output),
|
|
1276
1130
|
...contents,
|
|
1277
1131
|
};
|
|
1278
|
-
return
|
|
1132
|
+
return response;
|
|
1279
1133
|
};
|
|
1280
1134
|
exports.de_CreateDBClusterEndpointCommand = de_CreateDBClusterEndpointCommand;
|
|
1281
1135
|
const de_CreateDBClusterEndpointCommandError = async (output, context) => {
|
|
@@ -1305,10 +1159,9 @@ const de_CreateDBClusterEndpointCommandError = async (output, context) => {
|
|
|
1305
1159
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
1306
1160
|
default:
|
|
1307
1161
|
const parsedBody = parsedOutput.body;
|
|
1308
|
-
|
|
1162
|
+
return throwDefaultError({
|
|
1309
1163
|
output,
|
|
1310
1164
|
parsedBody: parsedBody.Error,
|
|
1311
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1312
1165
|
errorCode,
|
|
1313
1166
|
});
|
|
1314
1167
|
}
|
|
@@ -1324,7 +1177,7 @@ const de_CreateDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
1324
1177
|
$metadata: deserializeMetadata(output),
|
|
1325
1178
|
...contents,
|
|
1326
1179
|
};
|
|
1327
|
-
return
|
|
1180
|
+
return response;
|
|
1328
1181
|
};
|
|
1329
1182
|
exports.de_CreateDBClusterParameterGroupCommand = de_CreateDBClusterParameterGroupCommand;
|
|
1330
1183
|
const de_CreateDBClusterParameterGroupCommandError = async (output, context) => {
|
|
@@ -1342,10 +1195,9 @@ const de_CreateDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
1342
1195
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1343
1196
|
default:
|
|
1344
1197
|
const parsedBody = parsedOutput.body;
|
|
1345
|
-
|
|
1198
|
+
return throwDefaultError({
|
|
1346
1199
|
output,
|
|
1347
1200
|
parsedBody: parsedBody.Error,
|
|
1348
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1349
1201
|
errorCode,
|
|
1350
1202
|
});
|
|
1351
1203
|
}
|
|
@@ -1361,7 +1213,7 @@ const de_CreateDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1361
1213
|
$metadata: deserializeMetadata(output),
|
|
1362
1214
|
...contents,
|
|
1363
1215
|
};
|
|
1364
|
-
return
|
|
1216
|
+
return response;
|
|
1365
1217
|
};
|
|
1366
1218
|
exports.de_CreateDBClusterSnapshotCommand = de_CreateDBClusterSnapshotCommand;
|
|
1367
1219
|
const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
@@ -1388,10 +1240,9 @@ const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1388
1240
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1389
1241
|
default:
|
|
1390
1242
|
const parsedBody = parsedOutput.body;
|
|
1391
|
-
|
|
1243
|
+
return throwDefaultError({
|
|
1392
1244
|
output,
|
|
1393
1245
|
parsedBody: parsedBody.Error,
|
|
1394
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1395
1246
|
errorCode,
|
|
1396
1247
|
});
|
|
1397
1248
|
}
|
|
@@ -1407,7 +1258,7 @@ const de_CreateDBInstanceCommand = async (output, context) => {
|
|
|
1407
1258
|
$metadata: deserializeMetadata(output),
|
|
1408
1259
|
...contents,
|
|
1409
1260
|
};
|
|
1410
|
-
return
|
|
1261
|
+
return response;
|
|
1411
1262
|
};
|
|
1412
1263
|
exports.de_CreateDBInstanceCommand = de_CreateDBInstanceCommand;
|
|
1413
1264
|
const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
@@ -1473,10 +1324,9 @@ const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
|
1473
1324
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
1474
1325
|
default:
|
|
1475
1326
|
const parsedBody = parsedOutput.body;
|
|
1476
|
-
|
|
1327
|
+
return throwDefaultError({
|
|
1477
1328
|
output,
|
|
1478
1329
|
parsedBody: parsedBody.Error,
|
|
1479
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1480
1330
|
errorCode,
|
|
1481
1331
|
});
|
|
1482
1332
|
}
|
|
@@ -1492,7 +1342,7 @@ const de_CreateDBParameterGroupCommand = async (output, context) => {
|
|
|
1492
1342
|
$metadata: deserializeMetadata(output),
|
|
1493
1343
|
...contents,
|
|
1494
1344
|
};
|
|
1495
|
-
return
|
|
1345
|
+
return response;
|
|
1496
1346
|
};
|
|
1497
1347
|
exports.de_CreateDBParameterGroupCommand = de_CreateDBParameterGroupCommand;
|
|
1498
1348
|
const de_CreateDBParameterGroupCommandError = async (output, context) => {
|
|
@@ -1510,10 +1360,9 @@ const de_CreateDBParameterGroupCommandError = async (output, context) => {
|
|
|
1510
1360
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1511
1361
|
default:
|
|
1512
1362
|
const parsedBody = parsedOutput.body;
|
|
1513
|
-
|
|
1363
|
+
return throwDefaultError({
|
|
1514
1364
|
output,
|
|
1515
1365
|
parsedBody: parsedBody.Error,
|
|
1516
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1517
1366
|
errorCode,
|
|
1518
1367
|
});
|
|
1519
1368
|
}
|
|
@@ -1529,7 +1378,7 @@ const de_CreateDBSubnetGroupCommand = async (output, context) => {
|
|
|
1529
1378
|
$metadata: deserializeMetadata(output),
|
|
1530
1379
|
...contents,
|
|
1531
1380
|
};
|
|
1532
|
-
return
|
|
1381
|
+
return response;
|
|
1533
1382
|
};
|
|
1534
1383
|
exports.de_CreateDBSubnetGroupCommand = de_CreateDBSubnetGroupCommand;
|
|
1535
1384
|
const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
@@ -1556,10 +1405,9 @@ const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
|
1556
1405
|
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
1557
1406
|
default:
|
|
1558
1407
|
const parsedBody = parsedOutput.body;
|
|
1559
|
-
|
|
1408
|
+
return throwDefaultError({
|
|
1560
1409
|
output,
|
|
1561
1410
|
parsedBody: parsedBody.Error,
|
|
1562
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1563
1411
|
errorCode,
|
|
1564
1412
|
});
|
|
1565
1413
|
}
|
|
@@ -1575,7 +1423,7 @@ const de_CreateEventSubscriptionCommand = async (output, context) => {
|
|
|
1575
1423
|
$metadata: deserializeMetadata(output),
|
|
1576
1424
|
...contents,
|
|
1577
1425
|
};
|
|
1578
|
-
return
|
|
1426
|
+
return response;
|
|
1579
1427
|
};
|
|
1580
1428
|
exports.de_CreateEventSubscriptionCommand = de_CreateEventSubscriptionCommand;
|
|
1581
1429
|
const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
@@ -1608,10 +1456,9 @@ const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
|
1608
1456
|
throw await de_SubscriptionCategoryNotFoundFaultRes(parsedOutput, context);
|
|
1609
1457
|
default:
|
|
1610
1458
|
const parsedBody = parsedOutput.body;
|
|
1611
|
-
|
|
1459
|
+
return throwDefaultError({
|
|
1612
1460
|
output,
|
|
1613
1461
|
parsedBody: parsedBody.Error,
|
|
1614
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1615
1462
|
errorCode,
|
|
1616
1463
|
});
|
|
1617
1464
|
}
|
|
@@ -1627,7 +1474,7 @@ const de_CreateGlobalClusterCommand = async (output, context) => {
|
|
|
1627
1474
|
$metadata: deserializeMetadata(output),
|
|
1628
1475
|
...contents,
|
|
1629
1476
|
};
|
|
1630
|
-
return
|
|
1477
|
+
return response;
|
|
1631
1478
|
};
|
|
1632
1479
|
exports.de_CreateGlobalClusterCommand = de_CreateGlobalClusterCommand;
|
|
1633
1480
|
const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
@@ -1651,10 +1498,9 @@ const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
|
1651
1498
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1652
1499
|
default:
|
|
1653
1500
|
const parsedBody = parsedOutput.body;
|
|
1654
|
-
|
|
1501
|
+
return throwDefaultError({
|
|
1655
1502
|
output,
|
|
1656
1503
|
parsedBody: parsedBody.Error,
|
|
1657
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1658
1504
|
errorCode,
|
|
1659
1505
|
});
|
|
1660
1506
|
}
|
|
@@ -1670,7 +1516,7 @@ const de_DeleteDBClusterCommand = async (output, context) => {
|
|
|
1670
1516
|
$metadata: deserializeMetadata(output),
|
|
1671
1517
|
...contents,
|
|
1672
1518
|
};
|
|
1673
|
-
return
|
|
1519
|
+
return response;
|
|
1674
1520
|
};
|
|
1675
1521
|
exports.de_DeleteDBClusterCommand = de_DeleteDBClusterCommand;
|
|
1676
1522
|
const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
@@ -1697,10 +1543,9 @@ const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
|
1697
1543
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1698
1544
|
default:
|
|
1699
1545
|
const parsedBody = parsedOutput.body;
|
|
1700
|
-
|
|
1546
|
+
return throwDefaultError({
|
|
1701
1547
|
output,
|
|
1702
1548
|
parsedBody: parsedBody.Error,
|
|
1703
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1704
1549
|
errorCode,
|
|
1705
1550
|
});
|
|
1706
1551
|
}
|
|
@@ -1716,7 +1561,7 @@ const de_DeleteDBClusterEndpointCommand = async (output, context) => {
|
|
|
1716
1561
|
$metadata: deserializeMetadata(output),
|
|
1717
1562
|
...contents,
|
|
1718
1563
|
};
|
|
1719
|
-
return
|
|
1564
|
+
return response;
|
|
1720
1565
|
};
|
|
1721
1566
|
exports.de_DeleteDBClusterEndpointCommand = de_DeleteDBClusterEndpointCommand;
|
|
1722
1567
|
const de_DeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
@@ -1737,10 +1582,9 @@ const de_DeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
|
1737
1582
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1738
1583
|
default:
|
|
1739
1584
|
const parsedBody = parsedOutput.body;
|
|
1740
|
-
|
|
1585
|
+
return throwDefaultError({
|
|
1741
1586
|
output,
|
|
1742
1587
|
parsedBody: parsedBody.Error,
|
|
1743
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1744
1588
|
errorCode,
|
|
1745
1589
|
});
|
|
1746
1590
|
}
|
|
@@ -1753,7 +1597,7 @@ const de_DeleteDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
1753
1597
|
const response = {
|
|
1754
1598
|
$metadata: deserializeMetadata(output),
|
|
1755
1599
|
};
|
|
1756
|
-
return
|
|
1600
|
+
return response;
|
|
1757
1601
|
};
|
|
1758
1602
|
exports.de_DeleteDBClusterParameterGroupCommand = de_DeleteDBClusterParameterGroupCommand;
|
|
1759
1603
|
const de_DeleteDBClusterParameterGroupCommandError = async (output, context) => {
|
|
@@ -1771,10 +1615,9 @@ const de_DeleteDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
1771
1615
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
1772
1616
|
default:
|
|
1773
1617
|
const parsedBody = parsedOutput.body;
|
|
1774
|
-
|
|
1618
|
+
return throwDefaultError({
|
|
1775
1619
|
output,
|
|
1776
1620
|
parsedBody: parsedBody.Error,
|
|
1777
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1778
1621
|
errorCode,
|
|
1779
1622
|
});
|
|
1780
1623
|
}
|
|
@@ -1790,7 +1633,7 @@ const de_DeleteDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1790
1633
|
$metadata: deserializeMetadata(output),
|
|
1791
1634
|
...contents,
|
|
1792
1635
|
};
|
|
1793
|
-
return
|
|
1636
|
+
return response;
|
|
1794
1637
|
};
|
|
1795
1638
|
exports.de_DeleteDBClusterSnapshotCommand = de_DeleteDBClusterSnapshotCommand;
|
|
1796
1639
|
const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
@@ -1808,10 +1651,9 @@ const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1808
1651
|
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
1809
1652
|
default:
|
|
1810
1653
|
const parsedBody = parsedOutput.body;
|
|
1811
|
-
|
|
1654
|
+
return throwDefaultError({
|
|
1812
1655
|
output,
|
|
1813
1656
|
parsedBody: parsedBody.Error,
|
|
1814
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1815
1657
|
errorCode,
|
|
1816
1658
|
});
|
|
1817
1659
|
}
|
|
@@ -1827,7 +1669,7 @@ const de_DeleteDBInstanceCommand = async (output, context) => {
|
|
|
1827
1669
|
$metadata: deserializeMetadata(output),
|
|
1828
1670
|
...contents,
|
|
1829
1671
|
};
|
|
1830
|
-
return
|
|
1672
|
+
return response;
|
|
1831
1673
|
};
|
|
1832
1674
|
exports.de_DeleteDBInstanceCommand = de_DeleteDBInstanceCommand;
|
|
1833
1675
|
const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
@@ -1854,10 +1696,9 @@ const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
|
1854
1696
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1855
1697
|
default:
|
|
1856
1698
|
const parsedBody = parsedOutput.body;
|
|
1857
|
-
|
|
1699
|
+
return throwDefaultError({
|
|
1858
1700
|
output,
|
|
1859
1701
|
parsedBody: parsedBody.Error,
|
|
1860
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1861
1702
|
errorCode,
|
|
1862
1703
|
});
|
|
1863
1704
|
}
|
|
@@ -1870,7 +1711,7 @@ const de_DeleteDBParameterGroupCommand = async (output, context) => {
|
|
|
1870
1711
|
const response = {
|
|
1871
1712
|
$metadata: deserializeMetadata(output),
|
|
1872
1713
|
};
|
|
1873
|
-
return
|
|
1714
|
+
return response;
|
|
1874
1715
|
};
|
|
1875
1716
|
exports.de_DeleteDBParameterGroupCommand = de_DeleteDBParameterGroupCommand;
|
|
1876
1717
|
const de_DeleteDBParameterGroupCommandError = async (output, context) => {
|
|
@@ -1888,10 +1729,9 @@ const de_DeleteDBParameterGroupCommandError = async (output, context) => {
|
|
|
1888
1729
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
1889
1730
|
default:
|
|
1890
1731
|
const parsedBody = parsedOutput.body;
|
|
1891
|
-
|
|
1732
|
+
return throwDefaultError({
|
|
1892
1733
|
output,
|
|
1893
1734
|
parsedBody: parsedBody.Error,
|
|
1894
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1895
1735
|
errorCode,
|
|
1896
1736
|
});
|
|
1897
1737
|
}
|
|
@@ -1904,7 +1744,7 @@ const de_DeleteDBSubnetGroupCommand = async (output, context) => {
|
|
|
1904
1744
|
const response = {
|
|
1905
1745
|
$metadata: deserializeMetadata(output),
|
|
1906
1746
|
};
|
|
1907
|
-
return
|
|
1747
|
+
return response;
|
|
1908
1748
|
};
|
|
1909
1749
|
exports.de_DeleteDBSubnetGroupCommand = de_DeleteDBSubnetGroupCommand;
|
|
1910
1750
|
const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
@@ -1925,10 +1765,9 @@ const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
|
1925
1765
|
throw await de_InvalidDBSubnetStateFaultRes(parsedOutput, context);
|
|
1926
1766
|
default:
|
|
1927
1767
|
const parsedBody = parsedOutput.body;
|
|
1928
|
-
|
|
1768
|
+
return throwDefaultError({
|
|
1929
1769
|
output,
|
|
1930
1770
|
parsedBody: parsedBody.Error,
|
|
1931
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1932
1771
|
errorCode,
|
|
1933
1772
|
});
|
|
1934
1773
|
}
|
|
@@ -1944,7 +1783,7 @@ const de_DeleteEventSubscriptionCommand = async (output, context) => {
|
|
|
1944
1783
|
$metadata: deserializeMetadata(output),
|
|
1945
1784
|
...contents,
|
|
1946
1785
|
};
|
|
1947
|
-
return
|
|
1786
|
+
return response;
|
|
1948
1787
|
};
|
|
1949
1788
|
exports.de_DeleteEventSubscriptionCommand = de_DeleteEventSubscriptionCommand;
|
|
1950
1789
|
const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
@@ -1962,10 +1801,9 @@ const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
|
1962
1801
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
1963
1802
|
default:
|
|
1964
1803
|
const parsedBody = parsedOutput.body;
|
|
1965
|
-
|
|
1804
|
+
return throwDefaultError({
|
|
1966
1805
|
output,
|
|
1967
1806
|
parsedBody: parsedBody.Error,
|
|
1968
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
1969
1807
|
errorCode,
|
|
1970
1808
|
});
|
|
1971
1809
|
}
|
|
@@ -1981,7 +1819,7 @@ const de_DeleteGlobalClusterCommand = async (output, context) => {
|
|
|
1981
1819
|
$metadata: deserializeMetadata(output),
|
|
1982
1820
|
...contents,
|
|
1983
1821
|
};
|
|
1984
|
-
return
|
|
1822
|
+
return response;
|
|
1985
1823
|
};
|
|
1986
1824
|
exports.de_DeleteGlobalClusterCommand = de_DeleteGlobalClusterCommand;
|
|
1987
1825
|
const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
@@ -1999,10 +1837,9 @@ const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
|
1999
1837
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
2000
1838
|
default:
|
|
2001
1839
|
const parsedBody = parsedOutput.body;
|
|
2002
|
-
|
|
1840
|
+
return throwDefaultError({
|
|
2003
1841
|
output,
|
|
2004
1842
|
parsedBody: parsedBody.Error,
|
|
2005
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2006
1843
|
errorCode,
|
|
2007
1844
|
});
|
|
2008
1845
|
}
|
|
@@ -2018,7 +1855,7 @@ const de_DescribeDBClusterEndpointsCommand = async (output, context) => {
|
|
|
2018
1855
|
$metadata: deserializeMetadata(output),
|
|
2019
1856
|
...contents,
|
|
2020
1857
|
};
|
|
2021
|
-
return
|
|
1858
|
+
return response;
|
|
2022
1859
|
};
|
|
2023
1860
|
exports.de_DescribeDBClusterEndpointsCommand = de_DescribeDBClusterEndpointsCommand;
|
|
2024
1861
|
const de_DescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
@@ -2033,10 +1870,9 @@ const de_DescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
|
2033
1870
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
2034
1871
|
default:
|
|
2035
1872
|
const parsedBody = parsedOutput.body;
|
|
2036
|
-
|
|
1873
|
+
return throwDefaultError({
|
|
2037
1874
|
output,
|
|
2038
1875
|
parsedBody: parsedBody.Error,
|
|
2039
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2040
1876
|
errorCode,
|
|
2041
1877
|
});
|
|
2042
1878
|
}
|
|
@@ -2052,7 +1888,7 @@ const de_DescribeDBClusterParameterGroupsCommand = async (output, context) => {
|
|
|
2052
1888
|
$metadata: deserializeMetadata(output),
|
|
2053
1889
|
...contents,
|
|
2054
1890
|
};
|
|
2055
|
-
return
|
|
1891
|
+
return response;
|
|
2056
1892
|
};
|
|
2057
1893
|
exports.de_DescribeDBClusterParameterGroupsCommand = de_DescribeDBClusterParameterGroupsCommand;
|
|
2058
1894
|
const de_DescribeDBClusterParameterGroupsCommandError = async (output, context) => {
|
|
@@ -2067,10 +1903,9 @@ const de_DescribeDBClusterParameterGroupsCommandError = async (output, context)
|
|
|
2067
1903
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2068
1904
|
default:
|
|
2069
1905
|
const parsedBody = parsedOutput.body;
|
|
2070
|
-
|
|
1906
|
+
return throwDefaultError({
|
|
2071
1907
|
output,
|
|
2072
1908
|
parsedBody: parsedBody.Error,
|
|
2073
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2074
1909
|
errorCode,
|
|
2075
1910
|
});
|
|
2076
1911
|
}
|
|
@@ -2086,7 +1921,7 @@ const de_DescribeDBClusterParametersCommand = async (output, context) => {
|
|
|
2086
1921
|
$metadata: deserializeMetadata(output),
|
|
2087
1922
|
...contents,
|
|
2088
1923
|
};
|
|
2089
|
-
return
|
|
1924
|
+
return response;
|
|
2090
1925
|
};
|
|
2091
1926
|
exports.de_DescribeDBClusterParametersCommand = de_DescribeDBClusterParametersCommand;
|
|
2092
1927
|
const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
@@ -2101,10 +1936,9 @@ const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
|
2101
1936
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2102
1937
|
default:
|
|
2103
1938
|
const parsedBody = parsedOutput.body;
|
|
2104
|
-
|
|
1939
|
+
return throwDefaultError({
|
|
2105
1940
|
output,
|
|
2106
1941
|
parsedBody: parsedBody.Error,
|
|
2107
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2108
1942
|
errorCode,
|
|
2109
1943
|
});
|
|
2110
1944
|
}
|
|
@@ -2120,7 +1954,7 @@ const de_DescribeDBClustersCommand = async (output, context) => {
|
|
|
2120
1954
|
$metadata: deserializeMetadata(output),
|
|
2121
1955
|
...contents,
|
|
2122
1956
|
};
|
|
2123
|
-
return
|
|
1957
|
+
return response;
|
|
2124
1958
|
};
|
|
2125
1959
|
exports.de_DescribeDBClustersCommand = de_DescribeDBClustersCommand;
|
|
2126
1960
|
const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
@@ -2135,10 +1969,9 @@ const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
|
2135
1969
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
2136
1970
|
default:
|
|
2137
1971
|
const parsedBody = parsedOutput.body;
|
|
2138
|
-
|
|
1972
|
+
return throwDefaultError({
|
|
2139
1973
|
output,
|
|
2140
1974
|
parsedBody: parsedBody.Error,
|
|
2141
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2142
1975
|
errorCode,
|
|
2143
1976
|
});
|
|
2144
1977
|
}
|
|
@@ -2154,7 +1987,7 @@ const de_DescribeDBClusterSnapshotAttributesCommand = async (output, context) =>
|
|
|
2154
1987
|
$metadata: deserializeMetadata(output),
|
|
2155
1988
|
...contents,
|
|
2156
1989
|
};
|
|
2157
|
-
return
|
|
1990
|
+
return response;
|
|
2158
1991
|
};
|
|
2159
1992
|
exports.de_DescribeDBClusterSnapshotAttributesCommand = de_DescribeDBClusterSnapshotAttributesCommand;
|
|
2160
1993
|
const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, context) => {
|
|
@@ -2169,10 +2002,9 @@ const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, contex
|
|
|
2169
2002
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2170
2003
|
default:
|
|
2171
2004
|
const parsedBody = parsedOutput.body;
|
|
2172
|
-
|
|
2005
|
+
return throwDefaultError({
|
|
2173
2006
|
output,
|
|
2174
2007
|
parsedBody: parsedBody.Error,
|
|
2175
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2176
2008
|
errorCode,
|
|
2177
2009
|
});
|
|
2178
2010
|
}
|
|
@@ -2188,7 +2020,7 @@ const de_DescribeDBClusterSnapshotsCommand = async (output, context) => {
|
|
|
2188
2020
|
$metadata: deserializeMetadata(output),
|
|
2189
2021
|
...contents,
|
|
2190
2022
|
};
|
|
2191
|
-
return
|
|
2023
|
+
return response;
|
|
2192
2024
|
};
|
|
2193
2025
|
exports.de_DescribeDBClusterSnapshotsCommand = de_DescribeDBClusterSnapshotsCommand;
|
|
2194
2026
|
const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
@@ -2203,10 +2035,9 @@ const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
|
2203
2035
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2204
2036
|
default:
|
|
2205
2037
|
const parsedBody = parsedOutput.body;
|
|
2206
|
-
|
|
2038
|
+
return throwDefaultError({
|
|
2207
2039
|
output,
|
|
2208
2040
|
parsedBody: parsedBody.Error,
|
|
2209
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2210
2041
|
errorCode,
|
|
2211
2042
|
});
|
|
2212
2043
|
}
|
|
@@ -2222,7 +2053,7 @@ const de_DescribeDBEngineVersionsCommand = async (output, context) => {
|
|
|
2222
2053
|
$metadata: deserializeMetadata(output),
|
|
2223
2054
|
...contents,
|
|
2224
2055
|
};
|
|
2225
|
-
return
|
|
2056
|
+
return response;
|
|
2226
2057
|
};
|
|
2227
2058
|
exports.de_DescribeDBEngineVersionsCommand = de_DescribeDBEngineVersionsCommand;
|
|
2228
2059
|
const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
@@ -2232,10 +2063,9 @@ const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
|
2232
2063
|
};
|
|
2233
2064
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2234
2065
|
const parsedBody = parsedOutput.body;
|
|
2235
|
-
|
|
2066
|
+
return throwDefaultError({
|
|
2236
2067
|
output,
|
|
2237
2068
|
parsedBody: parsedBody.Error,
|
|
2238
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2239
2069
|
errorCode,
|
|
2240
2070
|
});
|
|
2241
2071
|
};
|
|
@@ -2250,7 +2080,7 @@ const de_DescribeDBInstancesCommand = async (output, context) => {
|
|
|
2250
2080
|
$metadata: deserializeMetadata(output),
|
|
2251
2081
|
...contents,
|
|
2252
2082
|
};
|
|
2253
|
-
return
|
|
2083
|
+
return response;
|
|
2254
2084
|
};
|
|
2255
2085
|
exports.de_DescribeDBInstancesCommand = de_DescribeDBInstancesCommand;
|
|
2256
2086
|
const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
@@ -2265,10 +2095,9 @@ const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
|
2265
2095
|
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
2266
2096
|
default:
|
|
2267
2097
|
const parsedBody = parsedOutput.body;
|
|
2268
|
-
|
|
2098
|
+
return throwDefaultError({
|
|
2269
2099
|
output,
|
|
2270
2100
|
parsedBody: parsedBody.Error,
|
|
2271
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2272
2101
|
errorCode,
|
|
2273
2102
|
});
|
|
2274
2103
|
}
|
|
@@ -2284,7 +2113,7 @@ const de_DescribeDBParameterGroupsCommand = async (output, context) => {
|
|
|
2284
2113
|
$metadata: deserializeMetadata(output),
|
|
2285
2114
|
...contents,
|
|
2286
2115
|
};
|
|
2287
|
-
return
|
|
2116
|
+
return response;
|
|
2288
2117
|
};
|
|
2289
2118
|
exports.de_DescribeDBParameterGroupsCommand = de_DescribeDBParameterGroupsCommand;
|
|
2290
2119
|
const de_DescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
@@ -2299,10 +2128,9 @@ const de_DescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
|
2299
2128
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2300
2129
|
default:
|
|
2301
2130
|
const parsedBody = parsedOutput.body;
|
|
2302
|
-
|
|
2131
|
+
return throwDefaultError({
|
|
2303
2132
|
output,
|
|
2304
2133
|
parsedBody: parsedBody.Error,
|
|
2305
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2306
2134
|
errorCode,
|
|
2307
2135
|
});
|
|
2308
2136
|
}
|
|
@@ -2318,7 +2146,7 @@ const de_DescribeDBParametersCommand = async (output, context) => {
|
|
|
2318
2146
|
$metadata: deserializeMetadata(output),
|
|
2319
2147
|
...contents,
|
|
2320
2148
|
};
|
|
2321
|
-
return
|
|
2149
|
+
return response;
|
|
2322
2150
|
};
|
|
2323
2151
|
exports.de_DescribeDBParametersCommand = de_DescribeDBParametersCommand;
|
|
2324
2152
|
const de_DescribeDBParametersCommandError = async (output, context) => {
|
|
@@ -2333,10 +2161,9 @@ const de_DescribeDBParametersCommandError = async (output, context) => {
|
|
|
2333
2161
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2334
2162
|
default:
|
|
2335
2163
|
const parsedBody = parsedOutput.body;
|
|
2336
|
-
|
|
2164
|
+
return throwDefaultError({
|
|
2337
2165
|
output,
|
|
2338
2166
|
parsedBody: parsedBody.Error,
|
|
2339
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2340
2167
|
errorCode,
|
|
2341
2168
|
});
|
|
2342
2169
|
}
|
|
@@ -2352,7 +2179,7 @@ const de_DescribeDBSubnetGroupsCommand = async (output, context) => {
|
|
|
2352
2179
|
$metadata: deserializeMetadata(output),
|
|
2353
2180
|
...contents,
|
|
2354
2181
|
};
|
|
2355
|
-
return
|
|
2182
|
+
return response;
|
|
2356
2183
|
};
|
|
2357
2184
|
exports.de_DescribeDBSubnetGroupsCommand = de_DescribeDBSubnetGroupsCommand;
|
|
2358
2185
|
const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
@@ -2367,10 +2194,9 @@ const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
|
2367
2194
|
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
2368
2195
|
default:
|
|
2369
2196
|
const parsedBody = parsedOutput.body;
|
|
2370
|
-
|
|
2197
|
+
return throwDefaultError({
|
|
2371
2198
|
output,
|
|
2372
2199
|
parsedBody: parsedBody.Error,
|
|
2373
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2374
2200
|
errorCode,
|
|
2375
2201
|
});
|
|
2376
2202
|
}
|
|
@@ -2386,7 +2212,7 @@ const de_DescribeEngineDefaultClusterParametersCommand = async (output, context)
|
|
|
2386
2212
|
$metadata: deserializeMetadata(output),
|
|
2387
2213
|
...contents,
|
|
2388
2214
|
};
|
|
2389
|
-
return
|
|
2215
|
+
return response;
|
|
2390
2216
|
};
|
|
2391
2217
|
exports.de_DescribeEngineDefaultClusterParametersCommand = de_DescribeEngineDefaultClusterParametersCommand;
|
|
2392
2218
|
const de_DescribeEngineDefaultClusterParametersCommandError = async (output, context) => {
|
|
@@ -2396,10 +2222,9 @@ const de_DescribeEngineDefaultClusterParametersCommandError = async (output, con
|
|
|
2396
2222
|
};
|
|
2397
2223
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2398
2224
|
const parsedBody = parsedOutput.body;
|
|
2399
|
-
|
|
2225
|
+
return throwDefaultError({
|
|
2400
2226
|
output,
|
|
2401
2227
|
parsedBody: parsedBody.Error,
|
|
2402
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2403
2228
|
errorCode,
|
|
2404
2229
|
});
|
|
2405
2230
|
};
|
|
@@ -2414,7 +2239,7 @@ const de_DescribeEngineDefaultParametersCommand = async (output, context) => {
|
|
|
2414
2239
|
$metadata: deserializeMetadata(output),
|
|
2415
2240
|
...contents,
|
|
2416
2241
|
};
|
|
2417
|
-
return
|
|
2242
|
+
return response;
|
|
2418
2243
|
};
|
|
2419
2244
|
exports.de_DescribeEngineDefaultParametersCommand = de_DescribeEngineDefaultParametersCommand;
|
|
2420
2245
|
const de_DescribeEngineDefaultParametersCommandError = async (output, context) => {
|
|
@@ -2424,10 +2249,9 @@ const de_DescribeEngineDefaultParametersCommandError = async (output, context) =
|
|
|
2424
2249
|
};
|
|
2425
2250
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2426
2251
|
const parsedBody = parsedOutput.body;
|
|
2427
|
-
|
|
2252
|
+
return throwDefaultError({
|
|
2428
2253
|
output,
|
|
2429
2254
|
parsedBody: parsedBody.Error,
|
|
2430
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2431
2255
|
errorCode,
|
|
2432
2256
|
});
|
|
2433
2257
|
};
|
|
@@ -2442,7 +2266,7 @@ const de_DescribeEventCategoriesCommand = async (output, context) => {
|
|
|
2442
2266
|
$metadata: deserializeMetadata(output),
|
|
2443
2267
|
...contents,
|
|
2444
2268
|
};
|
|
2445
|
-
return
|
|
2269
|
+
return response;
|
|
2446
2270
|
};
|
|
2447
2271
|
exports.de_DescribeEventCategoriesCommand = de_DescribeEventCategoriesCommand;
|
|
2448
2272
|
const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
@@ -2452,10 +2276,9 @@ const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
|
2452
2276
|
};
|
|
2453
2277
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2454
2278
|
const parsedBody = parsedOutput.body;
|
|
2455
|
-
|
|
2279
|
+
return throwDefaultError({
|
|
2456
2280
|
output,
|
|
2457
2281
|
parsedBody: parsedBody.Error,
|
|
2458
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2459
2282
|
errorCode,
|
|
2460
2283
|
});
|
|
2461
2284
|
};
|
|
@@ -2470,7 +2293,7 @@ const de_DescribeEventsCommand = async (output, context) => {
|
|
|
2470
2293
|
$metadata: deserializeMetadata(output),
|
|
2471
2294
|
...contents,
|
|
2472
2295
|
};
|
|
2473
|
-
return
|
|
2296
|
+
return response;
|
|
2474
2297
|
};
|
|
2475
2298
|
exports.de_DescribeEventsCommand = de_DescribeEventsCommand;
|
|
2476
2299
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
@@ -2480,10 +2303,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
2480
2303
|
};
|
|
2481
2304
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2482
2305
|
const parsedBody = parsedOutput.body;
|
|
2483
|
-
|
|
2306
|
+
return throwDefaultError({
|
|
2484
2307
|
output,
|
|
2485
2308
|
parsedBody: parsedBody.Error,
|
|
2486
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2487
2309
|
errorCode,
|
|
2488
2310
|
});
|
|
2489
2311
|
};
|
|
@@ -2498,7 +2320,7 @@ const de_DescribeEventSubscriptionsCommand = async (output, context) => {
|
|
|
2498
2320
|
$metadata: deserializeMetadata(output),
|
|
2499
2321
|
...contents,
|
|
2500
2322
|
};
|
|
2501
|
-
return
|
|
2323
|
+
return response;
|
|
2502
2324
|
};
|
|
2503
2325
|
exports.de_DescribeEventSubscriptionsCommand = de_DescribeEventSubscriptionsCommand;
|
|
2504
2326
|
const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
@@ -2513,10 +2335,9 @@ const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
|
2513
2335
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
2514
2336
|
default:
|
|
2515
2337
|
const parsedBody = parsedOutput.body;
|
|
2516
|
-
|
|
2338
|
+
return throwDefaultError({
|
|
2517
2339
|
output,
|
|
2518
2340
|
parsedBody: parsedBody.Error,
|
|
2519
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2520
2341
|
errorCode,
|
|
2521
2342
|
});
|
|
2522
2343
|
}
|
|
@@ -2532,7 +2353,7 @@ const de_DescribeGlobalClustersCommand = async (output, context) => {
|
|
|
2532
2353
|
$metadata: deserializeMetadata(output),
|
|
2533
2354
|
...contents,
|
|
2534
2355
|
};
|
|
2535
|
-
return
|
|
2356
|
+
return response;
|
|
2536
2357
|
};
|
|
2537
2358
|
exports.de_DescribeGlobalClustersCommand = de_DescribeGlobalClustersCommand;
|
|
2538
2359
|
const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
@@ -2547,10 +2368,9 @@ const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
|
2547
2368
|
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
2548
2369
|
default:
|
|
2549
2370
|
const parsedBody = parsedOutput.body;
|
|
2550
|
-
|
|
2371
|
+
return throwDefaultError({
|
|
2551
2372
|
output,
|
|
2552
2373
|
parsedBody: parsedBody.Error,
|
|
2553
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2554
2374
|
errorCode,
|
|
2555
2375
|
});
|
|
2556
2376
|
}
|
|
@@ -2566,7 +2386,7 @@ const de_DescribeOrderableDBInstanceOptionsCommand = async (output, context) =>
|
|
|
2566
2386
|
$metadata: deserializeMetadata(output),
|
|
2567
2387
|
...contents,
|
|
2568
2388
|
};
|
|
2569
|
-
return
|
|
2389
|
+
return response;
|
|
2570
2390
|
};
|
|
2571
2391
|
exports.de_DescribeOrderableDBInstanceOptionsCommand = de_DescribeOrderableDBInstanceOptionsCommand;
|
|
2572
2392
|
const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context) => {
|
|
@@ -2576,10 +2396,9 @@ const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context
|
|
|
2576
2396
|
};
|
|
2577
2397
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2578
2398
|
const parsedBody = parsedOutput.body;
|
|
2579
|
-
|
|
2399
|
+
return throwDefaultError({
|
|
2580
2400
|
output,
|
|
2581
2401
|
parsedBody: parsedBody.Error,
|
|
2582
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2583
2402
|
errorCode,
|
|
2584
2403
|
});
|
|
2585
2404
|
};
|
|
@@ -2594,7 +2413,7 @@ const de_DescribePendingMaintenanceActionsCommand = async (output, context) => {
|
|
|
2594
2413
|
$metadata: deserializeMetadata(output),
|
|
2595
2414
|
...contents,
|
|
2596
2415
|
};
|
|
2597
|
-
return
|
|
2416
|
+
return response;
|
|
2598
2417
|
};
|
|
2599
2418
|
exports.de_DescribePendingMaintenanceActionsCommand = de_DescribePendingMaintenanceActionsCommand;
|
|
2600
2419
|
const de_DescribePendingMaintenanceActionsCommandError = async (output, context) => {
|
|
@@ -2609,10 +2428,9 @@ const de_DescribePendingMaintenanceActionsCommandError = async (output, context)
|
|
|
2609
2428
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2610
2429
|
default:
|
|
2611
2430
|
const parsedBody = parsedOutput.body;
|
|
2612
|
-
|
|
2431
|
+
return throwDefaultError({
|
|
2613
2432
|
output,
|
|
2614
2433
|
parsedBody: parsedBody.Error,
|
|
2615
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2616
2434
|
errorCode,
|
|
2617
2435
|
});
|
|
2618
2436
|
}
|
|
@@ -2628,7 +2446,7 @@ const de_DescribeValidDBInstanceModificationsCommand = async (output, context) =
|
|
|
2628
2446
|
$metadata: deserializeMetadata(output),
|
|
2629
2447
|
...contents,
|
|
2630
2448
|
};
|
|
2631
|
-
return
|
|
2449
|
+
return response;
|
|
2632
2450
|
};
|
|
2633
2451
|
exports.de_DescribeValidDBInstanceModificationsCommand = de_DescribeValidDBInstanceModificationsCommand;
|
|
2634
2452
|
const de_DescribeValidDBInstanceModificationsCommandError = async (output, context) => {
|
|
@@ -2646,10 +2464,9 @@ const de_DescribeValidDBInstanceModificationsCommandError = async (output, conte
|
|
|
2646
2464
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2647
2465
|
default:
|
|
2648
2466
|
const parsedBody = parsedOutput.body;
|
|
2649
|
-
|
|
2467
|
+
return throwDefaultError({
|
|
2650
2468
|
output,
|
|
2651
2469
|
parsedBody: parsedBody.Error,
|
|
2652
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2653
2470
|
errorCode,
|
|
2654
2471
|
});
|
|
2655
2472
|
}
|
|
@@ -2665,7 +2482,7 @@ const de_FailoverDBClusterCommand = async (output, context) => {
|
|
|
2665
2482
|
$metadata: deserializeMetadata(output),
|
|
2666
2483
|
...contents,
|
|
2667
2484
|
};
|
|
2668
|
-
return
|
|
2485
|
+
return response;
|
|
2669
2486
|
};
|
|
2670
2487
|
exports.de_FailoverDBClusterCommand = de_FailoverDBClusterCommand;
|
|
2671
2488
|
const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
@@ -2686,10 +2503,9 @@ const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
|
2686
2503
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2687
2504
|
default:
|
|
2688
2505
|
const parsedBody = parsedOutput.body;
|
|
2689
|
-
|
|
2506
|
+
return throwDefaultError({
|
|
2690
2507
|
output,
|
|
2691
2508
|
parsedBody: parsedBody.Error,
|
|
2692
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2693
2509
|
errorCode,
|
|
2694
2510
|
});
|
|
2695
2511
|
}
|
|
@@ -2705,7 +2521,7 @@ const de_FailoverGlobalClusterCommand = async (output, context) => {
|
|
|
2705
2521
|
$metadata: deserializeMetadata(output),
|
|
2706
2522
|
...contents,
|
|
2707
2523
|
};
|
|
2708
|
-
return
|
|
2524
|
+
return response;
|
|
2709
2525
|
};
|
|
2710
2526
|
exports.de_FailoverGlobalClusterCommand = de_FailoverGlobalClusterCommand;
|
|
2711
2527
|
const de_FailoverGlobalClusterCommandError = async (output, context) => {
|
|
@@ -2729,10 +2545,9 @@ const de_FailoverGlobalClusterCommandError = async (output, context) => {
|
|
|
2729
2545
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
2730
2546
|
default:
|
|
2731
2547
|
const parsedBody = parsedOutput.body;
|
|
2732
|
-
|
|
2548
|
+
return throwDefaultError({
|
|
2733
2549
|
output,
|
|
2734
2550
|
parsedBody: parsedBody.Error,
|
|
2735
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2736
2551
|
errorCode,
|
|
2737
2552
|
});
|
|
2738
2553
|
}
|
|
@@ -2748,7 +2563,7 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2748
2563
|
$metadata: deserializeMetadata(output),
|
|
2749
2564
|
...contents,
|
|
2750
2565
|
};
|
|
2751
|
-
return
|
|
2566
|
+
return response;
|
|
2752
2567
|
};
|
|
2753
2568
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2754
2569
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2769,10 +2584,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2769
2584
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2770
2585
|
default:
|
|
2771
2586
|
const parsedBody = parsedOutput.body;
|
|
2772
|
-
|
|
2587
|
+
return throwDefaultError({
|
|
2773
2588
|
output,
|
|
2774
2589
|
parsedBody: parsedBody.Error,
|
|
2775
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2776
2590
|
errorCode,
|
|
2777
2591
|
});
|
|
2778
2592
|
}
|
|
@@ -2788,7 +2602,7 @@ const de_ModifyDBClusterCommand = async (output, context) => {
|
|
|
2788
2602
|
$metadata: deserializeMetadata(output),
|
|
2789
2603
|
...contents,
|
|
2790
2604
|
};
|
|
2791
|
-
return
|
|
2605
|
+
return response;
|
|
2792
2606
|
};
|
|
2793
2607
|
exports.de_ModifyDBClusterCommand = de_ModifyDBClusterCommand;
|
|
2794
2608
|
const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
@@ -2833,10 +2647,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
|
2833
2647
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2834
2648
|
default:
|
|
2835
2649
|
const parsedBody = parsedOutput.body;
|
|
2836
|
-
|
|
2650
|
+
return throwDefaultError({
|
|
2837
2651
|
output,
|
|
2838
2652
|
parsedBody: parsedBody.Error,
|
|
2839
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2840
2653
|
errorCode,
|
|
2841
2654
|
});
|
|
2842
2655
|
}
|
|
@@ -2852,7 +2665,7 @@ const de_ModifyDBClusterEndpointCommand = async (output, context) => {
|
|
|
2852
2665
|
$metadata: deserializeMetadata(output),
|
|
2853
2666
|
...contents,
|
|
2854
2667
|
};
|
|
2855
|
-
return
|
|
2668
|
+
return response;
|
|
2856
2669
|
};
|
|
2857
2670
|
exports.de_ModifyDBClusterEndpointCommand = de_ModifyDBClusterEndpointCommand;
|
|
2858
2671
|
const de_ModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
@@ -2879,10 +2692,9 @@ const de_ModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
|
2879
2692
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2880
2693
|
default:
|
|
2881
2694
|
const parsedBody = parsedOutput.body;
|
|
2882
|
-
|
|
2695
|
+
return throwDefaultError({
|
|
2883
2696
|
output,
|
|
2884
2697
|
parsedBody: parsedBody.Error,
|
|
2885
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2886
2698
|
errorCode,
|
|
2887
2699
|
});
|
|
2888
2700
|
}
|
|
@@ -2898,7 +2710,7 @@ const de_ModifyDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
2898
2710
|
$metadata: deserializeMetadata(output),
|
|
2899
2711
|
...contents,
|
|
2900
2712
|
};
|
|
2901
|
-
return
|
|
2713
|
+
return response;
|
|
2902
2714
|
};
|
|
2903
2715
|
exports.de_ModifyDBClusterParameterGroupCommand = de_ModifyDBClusterParameterGroupCommand;
|
|
2904
2716
|
const de_ModifyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
@@ -2916,10 +2728,9 @@ const de_ModifyDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
2916
2728
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
2917
2729
|
default:
|
|
2918
2730
|
const parsedBody = parsedOutput.body;
|
|
2919
|
-
|
|
2731
|
+
return throwDefaultError({
|
|
2920
2732
|
output,
|
|
2921
2733
|
parsedBody: parsedBody.Error,
|
|
2922
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2923
2734
|
errorCode,
|
|
2924
2735
|
});
|
|
2925
2736
|
}
|
|
@@ -2935,7 +2746,7 @@ const de_ModifyDBClusterSnapshotAttributeCommand = async (output, context) => {
|
|
|
2935
2746
|
$metadata: deserializeMetadata(output),
|
|
2936
2747
|
...contents,
|
|
2937
2748
|
};
|
|
2938
|
-
return
|
|
2749
|
+
return response;
|
|
2939
2750
|
};
|
|
2940
2751
|
exports.de_ModifyDBClusterSnapshotAttributeCommand = de_ModifyDBClusterSnapshotAttributeCommand;
|
|
2941
2752
|
const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context) => {
|
|
@@ -2956,10 +2767,9 @@ const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context)
|
|
|
2956
2767
|
throw await de_SharedSnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2957
2768
|
default:
|
|
2958
2769
|
const parsedBody = parsedOutput.body;
|
|
2959
|
-
|
|
2770
|
+
return throwDefaultError({
|
|
2960
2771
|
output,
|
|
2961
2772
|
parsedBody: parsedBody.Error,
|
|
2962
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
2963
2773
|
errorCode,
|
|
2964
2774
|
});
|
|
2965
2775
|
}
|
|
@@ -2975,7 +2785,7 @@ const de_ModifyDBInstanceCommand = async (output, context) => {
|
|
|
2975
2785
|
$metadata: deserializeMetadata(output),
|
|
2976
2786
|
...contents,
|
|
2977
2787
|
};
|
|
2978
|
-
return
|
|
2788
|
+
return response;
|
|
2979
2789
|
};
|
|
2980
2790
|
exports.de_ModifyDBInstanceCommand = de_ModifyDBInstanceCommand;
|
|
2981
2791
|
const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
@@ -3035,10 +2845,9 @@ const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
|
3035
2845
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
3036
2846
|
default:
|
|
3037
2847
|
const parsedBody = parsedOutput.body;
|
|
3038
|
-
|
|
2848
|
+
return throwDefaultError({
|
|
3039
2849
|
output,
|
|
3040
2850
|
parsedBody: parsedBody.Error,
|
|
3041
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3042
2851
|
errorCode,
|
|
3043
2852
|
});
|
|
3044
2853
|
}
|
|
@@ -3054,7 +2863,7 @@ const de_ModifyDBParameterGroupCommand = async (output, context) => {
|
|
|
3054
2863
|
$metadata: deserializeMetadata(output),
|
|
3055
2864
|
...contents,
|
|
3056
2865
|
};
|
|
3057
|
-
return
|
|
2866
|
+
return response;
|
|
3058
2867
|
};
|
|
3059
2868
|
exports.de_ModifyDBParameterGroupCommand = de_ModifyDBParameterGroupCommand;
|
|
3060
2869
|
const de_ModifyDBParameterGroupCommandError = async (output, context) => {
|
|
@@ -3072,10 +2881,9 @@ const de_ModifyDBParameterGroupCommandError = async (output, context) => {
|
|
|
3072
2881
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3073
2882
|
default:
|
|
3074
2883
|
const parsedBody = parsedOutput.body;
|
|
3075
|
-
|
|
2884
|
+
return throwDefaultError({
|
|
3076
2885
|
output,
|
|
3077
2886
|
parsedBody: parsedBody.Error,
|
|
3078
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3079
2887
|
errorCode,
|
|
3080
2888
|
});
|
|
3081
2889
|
}
|
|
@@ -3091,7 +2899,7 @@ const de_ModifyDBSubnetGroupCommand = async (output, context) => {
|
|
|
3091
2899
|
$metadata: deserializeMetadata(output),
|
|
3092
2900
|
...contents,
|
|
3093
2901
|
};
|
|
3094
|
-
return
|
|
2902
|
+
return response;
|
|
3095
2903
|
};
|
|
3096
2904
|
exports.de_ModifyDBSubnetGroupCommand = de_ModifyDBSubnetGroupCommand;
|
|
3097
2905
|
const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
@@ -3118,10 +2926,9 @@ const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
|
3118
2926
|
throw await de_SubnetAlreadyInUseRes(parsedOutput, context);
|
|
3119
2927
|
default:
|
|
3120
2928
|
const parsedBody = parsedOutput.body;
|
|
3121
|
-
|
|
2929
|
+
return throwDefaultError({
|
|
3122
2930
|
output,
|
|
3123
2931
|
parsedBody: parsedBody.Error,
|
|
3124
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3125
2932
|
errorCode,
|
|
3126
2933
|
});
|
|
3127
2934
|
}
|
|
@@ -3137,7 +2944,7 @@ const de_ModifyEventSubscriptionCommand = async (output, context) => {
|
|
|
3137
2944
|
$metadata: deserializeMetadata(output),
|
|
3138
2945
|
...contents,
|
|
3139
2946
|
};
|
|
3140
|
-
return
|
|
2947
|
+
return response;
|
|
3141
2948
|
};
|
|
3142
2949
|
exports.de_ModifyEventSubscriptionCommand = de_ModifyEventSubscriptionCommand;
|
|
3143
2950
|
const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
@@ -3167,10 +2974,9 @@ const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
|
3167
2974
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
3168
2975
|
default:
|
|
3169
2976
|
const parsedBody = parsedOutput.body;
|
|
3170
|
-
|
|
2977
|
+
return throwDefaultError({
|
|
3171
2978
|
output,
|
|
3172
2979
|
parsedBody: parsedBody.Error,
|
|
3173
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3174
2980
|
errorCode,
|
|
3175
2981
|
});
|
|
3176
2982
|
}
|
|
@@ -3186,7 +2992,7 @@ const de_ModifyGlobalClusterCommand = async (output, context) => {
|
|
|
3186
2992
|
$metadata: deserializeMetadata(output),
|
|
3187
2993
|
...contents,
|
|
3188
2994
|
};
|
|
3189
|
-
return
|
|
2995
|
+
return response;
|
|
3190
2996
|
};
|
|
3191
2997
|
exports.de_ModifyGlobalClusterCommand = de_ModifyGlobalClusterCommand;
|
|
3192
2998
|
const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
@@ -3204,10 +3010,9 @@ const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
|
3204
3010
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
3205
3011
|
default:
|
|
3206
3012
|
const parsedBody = parsedOutput.body;
|
|
3207
|
-
|
|
3013
|
+
return throwDefaultError({
|
|
3208
3014
|
output,
|
|
3209
3015
|
parsedBody: parsedBody.Error,
|
|
3210
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3211
3016
|
errorCode,
|
|
3212
3017
|
});
|
|
3213
3018
|
}
|
|
@@ -3223,7 +3028,7 @@ const de_PromoteReadReplicaDBClusterCommand = async (output, context) => {
|
|
|
3223
3028
|
$metadata: deserializeMetadata(output),
|
|
3224
3029
|
...contents,
|
|
3225
3030
|
};
|
|
3226
|
-
return
|
|
3031
|
+
return response;
|
|
3227
3032
|
};
|
|
3228
3033
|
exports.de_PromoteReadReplicaDBClusterCommand = de_PromoteReadReplicaDBClusterCommand;
|
|
3229
3034
|
const de_PromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
@@ -3241,10 +3046,9 @@ const de_PromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
|
3241
3046
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3242
3047
|
default:
|
|
3243
3048
|
const parsedBody = parsedOutput.body;
|
|
3244
|
-
|
|
3049
|
+
return throwDefaultError({
|
|
3245
3050
|
output,
|
|
3246
3051
|
parsedBody: parsedBody.Error,
|
|
3247
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3248
3052
|
errorCode,
|
|
3249
3053
|
});
|
|
3250
3054
|
}
|
|
@@ -3260,7 +3064,7 @@ const de_RebootDBInstanceCommand = async (output, context) => {
|
|
|
3260
3064
|
$metadata: deserializeMetadata(output),
|
|
3261
3065
|
...contents,
|
|
3262
3066
|
};
|
|
3263
|
-
return
|
|
3067
|
+
return response;
|
|
3264
3068
|
};
|
|
3265
3069
|
exports.de_RebootDBInstanceCommand = de_RebootDBInstanceCommand;
|
|
3266
3070
|
const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
@@ -3278,10 +3082,9 @@ const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
|
3278
3082
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3279
3083
|
default:
|
|
3280
3084
|
const parsedBody = parsedOutput.body;
|
|
3281
|
-
|
|
3085
|
+
return throwDefaultError({
|
|
3282
3086
|
output,
|
|
3283
3087
|
parsedBody: parsedBody.Error,
|
|
3284
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3285
3088
|
errorCode,
|
|
3286
3089
|
});
|
|
3287
3090
|
}
|
|
@@ -3297,7 +3100,7 @@ const de_RemoveFromGlobalClusterCommand = async (output, context) => {
|
|
|
3297
3100
|
$metadata: deserializeMetadata(output),
|
|
3298
3101
|
...contents,
|
|
3299
3102
|
};
|
|
3300
|
-
return
|
|
3103
|
+
return response;
|
|
3301
3104
|
};
|
|
3302
3105
|
exports.de_RemoveFromGlobalClusterCommand = de_RemoveFromGlobalClusterCommand;
|
|
3303
3106
|
const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
@@ -3318,10 +3121,9 @@ const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
|
3318
3121
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
3319
3122
|
default:
|
|
3320
3123
|
const parsedBody = parsedOutput.body;
|
|
3321
|
-
|
|
3124
|
+
return throwDefaultError({
|
|
3322
3125
|
output,
|
|
3323
3126
|
parsedBody: parsedBody.Error,
|
|
3324
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3325
3127
|
errorCode,
|
|
3326
3128
|
});
|
|
3327
3129
|
}
|
|
@@ -3334,7 +3136,7 @@ const de_RemoveRoleFromDBClusterCommand = async (output, context) => {
|
|
|
3334
3136
|
const response = {
|
|
3335
3137
|
$metadata: deserializeMetadata(output),
|
|
3336
3138
|
};
|
|
3337
|
-
return
|
|
3139
|
+
return response;
|
|
3338
3140
|
};
|
|
3339
3141
|
exports.de_RemoveRoleFromDBClusterCommand = de_RemoveRoleFromDBClusterCommand;
|
|
3340
3142
|
const de_RemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
@@ -3355,10 +3157,9 @@ const de_RemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
|
3355
3157
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3356
3158
|
default:
|
|
3357
3159
|
const parsedBody = parsedOutput.body;
|
|
3358
|
-
|
|
3160
|
+
return throwDefaultError({
|
|
3359
3161
|
output,
|
|
3360
3162
|
parsedBody: parsedBody.Error,
|
|
3361
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3362
3163
|
errorCode,
|
|
3363
3164
|
});
|
|
3364
3165
|
}
|
|
@@ -3374,7 +3175,7 @@ const de_RemoveSourceIdentifierFromSubscriptionCommand = async (output, context)
|
|
|
3374
3175
|
$metadata: deserializeMetadata(output),
|
|
3375
3176
|
...contents,
|
|
3376
3177
|
};
|
|
3377
|
-
return
|
|
3178
|
+
return response;
|
|
3378
3179
|
};
|
|
3379
3180
|
exports.de_RemoveSourceIdentifierFromSubscriptionCommand = de_RemoveSourceIdentifierFromSubscriptionCommand;
|
|
3380
3181
|
const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, context) => {
|
|
@@ -3392,10 +3193,9 @@ const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, con
|
|
|
3392
3193
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
3393
3194
|
default:
|
|
3394
3195
|
const parsedBody = parsedOutput.body;
|
|
3395
|
-
|
|
3196
|
+
return throwDefaultError({
|
|
3396
3197
|
output,
|
|
3397
3198
|
parsedBody: parsedBody.Error,
|
|
3398
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3399
3199
|
errorCode,
|
|
3400
3200
|
});
|
|
3401
3201
|
}
|
|
@@ -3408,7 +3208,7 @@ const de_RemoveTagsFromResourceCommand = async (output, context) => {
|
|
|
3408
3208
|
const response = {
|
|
3409
3209
|
$metadata: deserializeMetadata(output),
|
|
3410
3210
|
};
|
|
3411
|
-
return
|
|
3211
|
+
return response;
|
|
3412
3212
|
};
|
|
3413
3213
|
exports.de_RemoveTagsFromResourceCommand = de_RemoveTagsFromResourceCommand;
|
|
3414
3214
|
const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
@@ -3429,10 +3229,9 @@ const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
|
3429
3229
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3430
3230
|
default:
|
|
3431
3231
|
const parsedBody = parsedOutput.body;
|
|
3432
|
-
|
|
3232
|
+
return throwDefaultError({
|
|
3433
3233
|
output,
|
|
3434
3234
|
parsedBody: parsedBody.Error,
|
|
3435
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3436
3235
|
errorCode,
|
|
3437
3236
|
});
|
|
3438
3237
|
}
|
|
@@ -3448,7 +3247,7 @@ const de_ResetDBClusterParameterGroupCommand = async (output, context) => {
|
|
|
3448
3247
|
$metadata: deserializeMetadata(output),
|
|
3449
3248
|
...contents,
|
|
3450
3249
|
};
|
|
3451
|
-
return
|
|
3250
|
+
return response;
|
|
3452
3251
|
};
|
|
3453
3252
|
exports.de_ResetDBClusterParameterGroupCommand = de_ResetDBClusterParameterGroupCommand;
|
|
3454
3253
|
const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
@@ -3466,10 +3265,9 @@ const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
3466
3265
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3467
3266
|
default:
|
|
3468
3267
|
const parsedBody = parsedOutput.body;
|
|
3469
|
-
|
|
3268
|
+
return throwDefaultError({
|
|
3470
3269
|
output,
|
|
3471
3270
|
parsedBody: parsedBody.Error,
|
|
3472
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3473
3271
|
errorCode,
|
|
3474
3272
|
});
|
|
3475
3273
|
}
|
|
@@ -3485,7 +3283,7 @@ const de_ResetDBParameterGroupCommand = async (output, context) => {
|
|
|
3485
3283
|
$metadata: deserializeMetadata(output),
|
|
3486
3284
|
...contents,
|
|
3487
3285
|
};
|
|
3488
|
-
return
|
|
3286
|
+
return response;
|
|
3489
3287
|
};
|
|
3490
3288
|
exports.de_ResetDBParameterGroupCommand = de_ResetDBParameterGroupCommand;
|
|
3491
3289
|
const de_ResetDBParameterGroupCommandError = async (output, context) => {
|
|
@@ -3503,10 +3301,9 @@ const de_ResetDBParameterGroupCommandError = async (output, context) => {
|
|
|
3503
3301
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3504
3302
|
default:
|
|
3505
3303
|
const parsedBody = parsedOutput.body;
|
|
3506
|
-
|
|
3304
|
+
return throwDefaultError({
|
|
3507
3305
|
output,
|
|
3508
3306
|
parsedBody: parsedBody.Error,
|
|
3509
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3510
3307
|
errorCode,
|
|
3511
3308
|
});
|
|
3512
3309
|
}
|
|
@@ -3522,7 +3319,7 @@ const de_RestoreDBClusterFromSnapshotCommand = async (output, context) => {
|
|
|
3522
3319
|
$metadata: deserializeMetadata(output),
|
|
3523
3320
|
...contents,
|
|
3524
3321
|
};
|
|
3525
|
-
return
|
|
3322
|
+
return response;
|
|
3526
3323
|
};
|
|
3527
3324
|
exports.de_RestoreDBClusterFromSnapshotCommand = de_RestoreDBClusterFromSnapshotCommand;
|
|
3528
3325
|
const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
@@ -3582,10 +3379,9 @@ const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
|
3582
3379
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
3583
3380
|
default:
|
|
3584
3381
|
const parsedBody = parsedOutput.body;
|
|
3585
|
-
|
|
3382
|
+
return throwDefaultError({
|
|
3586
3383
|
output,
|
|
3587
3384
|
parsedBody: parsedBody.Error,
|
|
3588
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3589
3385
|
errorCode,
|
|
3590
3386
|
});
|
|
3591
3387
|
}
|
|
@@ -3601,7 +3397,7 @@ const de_RestoreDBClusterToPointInTimeCommand = async (output, context) => {
|
|
|
3601
3397
|
$metadata: deserializeMetadata(output),
|
|
3602
3398
|
...contents,
|
|
3603
3399
|
};
|
|
3604
|
-
return
|
|
3400
|
+
return response;
|
|
3605
3401
|
};
|
|
3606
3402
|
exports.de_RestoreDBClusterToPointInTimeCommand = de_RestoreDBClusterToPointInTimeCommand;
|
|
3607
3403
|
const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) => {
|
|
@@ -3664,10 +3460,9 @@ const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) =>
|
|
|
3664
3460
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
3665
3461
|
default:
|
|
3666
3462
|
const parsedBody = parsedOutput.body;
|
|
3667
|
-
|
|
3463
|
+
return throwDefaultError({
|
|
3668
3464
|
output,
|
|
3669
3465
|
parsedBody: parsedBody.Error,
|
|
3670
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3671
3466
|
errorCode,
|
|
3672
3467
|
});
|
|
3673
3468
|
}
|
|
@@ -3683,7 +3478,7 @@ const de_StartDBClusterCommand = async (output, context) => {
|
|
|
3683
3478
|
$metadata: deserializeMetadata(output),
|
|
3684
3479
|
...contents,
|
|
3685
3480
|
};
|
|
3686
|
-
return
|
|
3481
|
+
return response;
|
|
3687
3482
|
};
|
|
3688
3483
|
exports.de_StartDBClusterCommand = de_StartDBClusterCommand;
|
|
3689
3484
|
const de_StartDBClusterCommandError = async (output, context) => {
|
|
@@ -3704,10 +3499,9 @@ const de_StartDBClusterCommandError = async (output, context) => {
|
|
|
3704
3499
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3705
3500
|
default:
|
|
3706
3501
|
const parsedBody = parsedOutput.body;
|
|
3707
|
-
|
|
3502
|
+
return throwDefaultError({
|
|
3708
3503
|
output,
|
|
3709
3504
|
parsedBody: parsedBody.Error,
|
|
3710
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3711
3505
|
errorCode,
|
|
3712
3506
|
});
|
|
3713
3507
|
}
|
|
@@ -3723,7 +3517,7 @@ const de_StopDBClusterCommand = async (output, context) => {
|
|
|
3723
3517
|
$metadata: deserializeMetadata(output),
|
|
3724
3518
|
...contents,
|
|
3725
3519
|
};
|
|
3726
|
-
return
|
|
3520
|
+
return response;
|
|
3727
3521
|
};
|
|
3728
3522
|
exports.de_StopDBClusterCommand = de_StopDBClusterCommand;
|
|
3729
3523
|
const de_StopDBClusterCommandError = async (output, context) => {
|
|
@@ -3744,10 +3538,9 @@ const de_StopDBClusterCommandError = async (output, context) => {
|
|
|
3744
3538
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3745
3539
|
default:
|
|
3746
3540
|
const parsedBody = parsedOutput.body;
|
|
3747
|
-
|
|
3541
|
+
return throwDefaultError({
|
|
3748
3542
|
output,
|
|
3749
3543
|
parsedBody: parsedBody.Error,
|
|
3750
|
-
exceptionCtor: NeptuneServiceException_1.NeptuneServiceException,
|
|
3751
3544
|
errorCode,
|
|
3752
3545
|
});
|
|
3753
3546
|
}
|
|
@@ -9157,6 +8950,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
9157
8950
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
9158
8951
|
};
|
|
9159
8952
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
8953
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(NeptuneServiceException_1.NeptuneServiceException);
|
|
9160
8954
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
9161
8955
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
9162
8956
|
const contents = {
|
|
@@ -9175,6 +8969,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
9175
8969
|
}
|
|
9176
8970
|
return new protocol_http_1.HttpRequest(contents);
|
|
9177
8971
|
};
|
|
8972
|
+
const SHARED_HEADERS = {
|
|
8973
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
8974
|
+
};
|
|
9178
8975
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
9179
8976
|
if (encoded.length) {
|
|
9180
8977
|
const parser = new fast_xml_parser_1.XMLParser({
|