@aws-sdk/client-docdb 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 +163 -318
- package/dist-es/protocols/Aws_query.js +164 -319
- package/package.json +6 -6
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { DocDBServiceException as __BaseException } from "../models/DocDBServiceException";
|
|
5
5
|
import { AuthorizationNotFoundFault, CertificateNotFoundFault, DBClusterAlreadyExistsFault, DBClusterNotFoundFault, DBClusterParameterGroupNotFoundFault, DBClusterQuotaExceededFault, DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, DBInstanceAlreadyExistsFault, DBInstanceNotFoundFault, DBParameterGroupAlreadyExistsFault, DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault, DBSecurityGroupNotFoundFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DBUpgradeDependencyFailureFault, EventSubscriptionQuotaExceededFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBClusterCapacityFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBSecurityGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidGlobalClusterStateFault, InvalidRestoreFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, ResourceNotFoundFault, SharedSnapshotQuotaExceededFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubnetAlreadyInUse, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, } from "../models/models_0";
|
|
6
6
|
export const se_AddSourceIdentifierToSubscriptionCommand = async (input, context) => {
|
|
7
|
-
const headers =
|
|
8
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
9
|
-
};
|
|
7
|
+
const headers = SHARED_HEADERS;
|
|
10
8
|
let body;
|
|
11
9
|
body = buildFormUrlencodedString({
|
|
12
10
|
...se_AddSourceIdentifierToSubscriptionMessage(input, context),
|
|
@@ -16,9 +14,7 @@ export const se_AddSourceIdentifierToSubscriptionCommand = async (input, context
|
|
|
16
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
15
|
};
|
|
18
16
|
export const se_AddTagsToResourceCommand = async (input, context) => {
|
|
19
|
-
const headers =
|
|
20
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
21
|
-
};
|
|
17
|
+
const headers = SHARED_HEADERS;
|
|
22
18
|
let body;
|
|
23
19
|
body = buildFormUrlencodedString({
|
|
24
20
|
...se_AddTagsToResourceMessage(input, context),
|
|
@@ -28,9 +24,7 @@ export const se_AddTagsToResourceCommand = async (input, context) => {
|
|
|
28
24
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
25
|
};
|
|
30
26
|
export const se_ApplyPendingMaintenanceActionCommand = async (input, context) => {
|
|
31
|
-
const headers =
|
|
32
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
33
|
-
};
|
|
27
|
+
const headers = SHARED_HEADERS;
|
|
34
28
|
let body;
|
|
35
29
|
body = buildFormUrlencodedString({
|
|
36
30
|
...se_ApplyPendingMaintenanceActionMessage(input, context),
|
|
@@ -40,9 +34,7 @@ export const se_ApplyPendingMaintenanceActionCommand = async (input, context) =>
|
|
|
40
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
35
|
};
|
|
42
36
|
export const se_CopyDBClusterParameterGroupCommand = async (input, context) => {
|
|
43
|
-
const headers =
|
|
44
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
45
|
-
};
|
|
37
|
+
const headers = SHARED_HEADERS;
|
|
46
38
|
let body;
|
|
47
39
|
body = buildFormUrlencodedString({
|
|
48
40
|
...se_CopyDBClusterParameterGroupMessage(input, context),
|
|
@@ -52,9 +44,7 @@ export const se_CopyDBClusterParameterGroupCommand = async (input, context) => {
|
|
|
52
44
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
45
|
};
|
|
54
46
|
export const se_CopyDBClusterSnapshotCommand = async (input, context) => {
|
|
55
|
-
const headers =
|
|
56
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
57
|
-
};
|
|
47
|
+
const headers = SHARED_HEADERS;
|
|
58
48
|
let body;
|
|
59
49
|
body = buildFormUrlencodedString({
|
|
60
50
|
...se_CopyDBClusterSnapshotMessage(input, context),
|
|
@@ -64,9 +54,7 @@ export const se_CopyDBClusterSnapshotCommand = async (input, context) => {
|
|
|
64
54
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
55
|
};
|
|
66
56
|
export const se_CreateDBClusterCommand = async (input, context) => {
|
|
67
|
-
const headers =
|
|
68
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
69
|
-
};
|
|
57
|
+
const headers = SHARED_HEADERS;
|
|
70
58
|
let body;
|
|
71
59
|
body = buildFormUrlencodedString({
|
|
72
60
|
...se_CreateDBClusterMessage(input, context),
|
|
@@ -76,9 +64,7 @@ export const se_CreateDBClusterCommand = async (input, context) => {
|
|
|
76
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
65
|
};
|
|
78
66
|
export const se_CreateDBClusterParameterGroupCommand = async (input, context) => {
|
|
79
|
-
const headers =
|
|
80
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
81
|
-
};
|
|
67
|
+
const headers = SHARED_HEADERS;
|
|
82
68
|
let body;
|
|
83
69
|
body = buildFormUrlencodedString({
|
|
84
70
|
...se_CreateDBClusterParameterGroupMessage(input, context),
|
|
@@ -88,9 +74,7 @@ export const se_CreateDBClusterParameterGroupCommand = async (input, context) =>
|
|
|
88
74
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
75
|
};
|
|
90
76
|
export const se_CreateDBClusterSnapshotCommand = async (input, context) => {
|
|
91
|
-
const headers =
|
|
92
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
93
|
-
};
|
|
77
|
+
const headers = SHARED_HEADERS;
|
|
94
78
|
let body;
|
|
95
79
|
body = buildFormUrlencodedString({
|
|
96
80
|
...se_CreateDBClusterSnapshotMessage(input, context),
|
|
@@ -100,9 +84,7 @@ export const se_CreateDBClusterSnapshotCommand = async (input, context) => {
|
|
|
100
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
85
|
};
|
|
102
86
|
export const se_CreateDBInstanceCommand = async (input, context) => {
|
|
103
|
-
const headers =
|
|
104
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
105
|
-
};
|
|
87
|
+
const headers = SHARED_HEADERS;
|
|
106
88
|
let body;
|
|
107
89
|
body = buildFormUrlencodedString({
|
|
108
90
|
...se_CreateDBInstanceMessage(input, context),
|
|
@@ -112,9 +94,7 @@ export const se_CreateDBInstanceCommand = async (input, context) => {
|
|
|
112
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
95
|
};
|
|
114
96
|
export const se_CreateDBSubnetGroupCommand = async (input, context) => {
|
|
115
|
-
const headers =
|
|
116
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
117
|
-
};
|
|
97
|
+
const headers = SHARED_HEADERS;
|
|
118
98
|
let body;
|
|
119
99
|
body = buildFormUrlencodedString({
|
|
120
100
|
...se_CreateDBSubnetGroupMessage(input, context),
|
|
@@ -124,9 +104,7 @@ export const se_CreateDBSubnetGroupCommand = async (input, context) => {
|
|
|
124
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
105
|
};
|
|
126
106
|
export const se_CreateEventSubscriptionCommand = async (input, context) => {
|
|
127
|
-
const headers =
|
|
128
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
129
|
-
};
|
|
107
|
+
const headers = SHARED_HEADERS;
|
|
130
108
|
let body;
|
|
131
109
|
body = buildFormUrlencodedString({
|
|
132
110
|
...se_CreateEventSubscriptionMessage(input, context),
|
|
@@ -136,9 +114,7 @@ export const se_CreateEventSubscriptionCommand = async (input, context) => {
|
|
|
136
114
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
115
|
};
|
|
138
116
|
export const se_CreateGlobalClusterCommand = async (input, context) => {
|
|
139
|
-
const headers =
|
|
140
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
141
|
-
};
|
|
117
|
+
const headers = SHARED_HEADERS;
|
|
142
118
|
let body;
|
|
143
119
|
body = buildFormUrlencodedString({
|
|
144
120
|
...se_CreateGlobalClusterMessage(input, context),
|
|
@@ -148,9 +124,7 @@ export const se_CreateGlobalClusterCommand = async (input, context) => {
|
|
|
148
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
125
|
};
|
|
150
126
|
export const se_DeleteDBClusterCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
153
|
-
};
|
|
127
|
+
const headers = SHARED_HEADERS;
|
|
154
128
|
let body;
|
|
155
129
|
body = buildFormUrlencodedString({
|
|
156
130
|
...se_DeleteDBClusterMessage(input, context),
|
|
@@ -160,9 +134,7 @@ export const se_DeleteDBClusterCommand = async (input, context) => {
|
|
|
160
134
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
135
|
};
|
|
162
136
|
export const se_DeleteDBClusterParameterGroupCommand = async (input, context) => {
|
|
163
|
-
const headers =
|
|
164
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
165
|
-
};
|
|
137
|
+
const headers = SHARED_HEADERS;
|
|
166
138
|
let body;
|
|
167
139
|
body = buildFormUrlencodedString({
|
|
168
140
|
...se_DeleteDBClusterParameterGroupMessage(input, context),
|
|
@@ -172,9 +144,7 @@ export const se_DeleteDBClusterParameterGroupCommand = async (input, context) =>
|
|
|
172
144
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
145
|
};
|
|
174
146
|
export const se_DeleteDBClusterSnapshotCommand = async (input, context) => {
|
|
175
|
-
const headers =
|
|
176
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
177
|
-
};
|
|
147
|
+
const headers = SHARED_HEADERS;
|
|
178
148
|
let body;
|
|
179
149
|
body = buildFormUrlencodedString({
|
|
180
150
|
...se_DeleteDBClusterSnapshotMessage(input, context),
|
|
@@ -184,9 +154,7 @@ export const se_DeleteDBClusterSnapshotCommand = async (input, context) => {
|
|
|
184
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
155
|
};
|
|
186
156
|
export const se_DeleteDBInstanceCommand = async (input, context) => {
|
|
187
|
-
const headers =
|
|
188
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
189
|
-
};
|
|
157
|
+
const headers = SHARED_HEADERS;
|
|
190
158
|
let body;
|
|
191
159
|
body = buildFormUrlencodedString({
|
|
192
160
|
...se_DeleteDBInstanceMessage(input, context),
|
|
@@ -196,9 +164,7 @@ export const se_DeleteDBInstanceCommand = async (input, context) => {
|
|
|
196
164
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
165
|
};
|
|
198
166
|
export const se_DeleteDBSubnetGroupCommand = async (input, context) => {
|
|
199
|
-
const headers =
|
|
200
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
201
|
-
};
|
|
167
|
+
const headers = SHARED_HEADERS;
|
|
202
168
|
let body;
|
|
203
169
|
body = buildFormUrlencodedString({
|
|
204
170
|
...se_DeleteDBSubnetGroupMessage(input, context),
|
|
@@ -208,9 +174,7 @@ export const se_DeleteDBSubnetGroupCommand = async (input, context) => {
|
|
|
208
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
175
|
};
|
|
210
176
|
export const se_DeleteEventSubscriptionCommand = async (input, context) => {
|
|
211
|
-
const headers =
|
|
212
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
213
|
-
};
|
|
177
|
+
const headers = SHARED_HEADERS;
|
|
214
178
|
let body;
|
|
215
179
|
body = buildFormUrlencodedString({
|
|
216
180
|
...se_DeleteEventSubscriptionMessage(input, context),
|
|
@@ -220,9 +184,7 @@ export const se_DeleteEventSubscriptionCommand = async (input, context) => {
|
|
|
220
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
185
|
};
|
|
222
186
|
export const se_DeleteGlobalClusterCommand = async (input, context) => {
|
|
223
|
-
const headers =
|
|
224
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
225
|
-
};
|
|
187
|
+
const headers = SHARED_HEADERS;
|
|
226
188
|
let body;
|
|
227
189
|
body = buildFormUrlencodedString({
|
|
228
190
|
...se_DeleteGlobalClusterMessage(input, context),
|
|
@@ -232,9 +194,7 @@ export const se_DeleteGlobalClusterCommand = async (input, context) => {
|
|
|
232
194
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
195
|
};
|
|
234
196
|
export const se_DescribeCertificatesCommand = async (input, context) => {
|
|
235
|
-
const headers =
|
|
236
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
237
|
-
};
|
|
197
|
+
const headers = SHARED_HEADERS;
|
|
238
198
|
let body;
|
|
239
199
|
body = buildFormUrlencodedString({
|
|
240
200
|
...se_DescribeCertificatesMessage(input, context),
|
|
@@ -244,9 +204,7 @@ export const se_DescribeCertificatesCommand = async (input, context) => {
|
|
|
244
204
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
205
|
};
|
|
246
206
|
export const se_DescribeDBClusterParameterGroupsCommand = async (input, context) => {
|
|
247
|
-
const headers =
|
|
248
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
249
|
-
};
|
|
207
|
+
const headers = SHARED_HEADERS;
|
|
250
208
|
let body;
|
|
251
209
|
body = buildFormUrlencodedString({
|
|
252
210
|
...se_DescribeDBClusterParameterGroupsMessage(input, context),
|
|
@@ -256,9 +214,7 @@ export const se_DescribeDBClusterParameterGroupsCommand = async (input, context)
|
|
|
256
214
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
215
|
};
|
|
258
216
|
export const se_DescribeDBClusterParametersCommand = async (input, context) => {
|
|
259
|
-
const headers =
|
|
260
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
261
|
-
};
|
|
217
|
+
const headers = SHARED_HEADERS;
|
|
262
218
|
let body;
|
|
263
219
|
body = buildFormUrlencodedString({
|
|
264
220
|
...se_DescribeDBClusterParametersMessage(input, context),
|
|
@@ -268,9 +224,7 @@ export const se_DescribeDBClusterParametersCommand = async (input, context) => {
|
|
|
268
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
225
|
};
|
|
270
226
|
export const se_DescribeDBClustersCommand = async (input, context) => {
|
|
271
|
-
const headers =
|
|
272
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
273
|
-
};
|
|
227
|
+
const headers = SHARED_HEADERS;
|
|
274
228
|
let body;
|
|
275
229
|
body = buildFormUrlencodedString({
|
|
276
230
|
...se_DescribeDBClustersMessage(input, context),
|
|
@@ -280,9 +234,7 @@ export const se_DescribeDBClustersCommand = async (input, context) => {
|
|
|
280
234
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
235
|
};
|
|
282
236
|
export const se_DescribeDBClusterSnapshotAttributesCommand = async (input, context) => {
|
|
283
|
-
const headers =
|
|
284
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
285
|
-
};
|
|
237
|
+
const headers = SHARED_HEADERS;
|
|
286
238
|
let body;
|
|
287
239
|
body = buildFormUrlencodedString({
|
|
288
240
|
...se_DescribeDBClusterSnapshotAttributesMessage(input, context),
|
|
@@ -292,9 +244,7 @@ export const se_DescribeDBClusterSnapshotAttributesCommand = async (input, conte
|
|
|
292
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
245
|
};
|
|
294
246
|
export const se_DescribeDBClusterSnapshotsCommand = async (input, context) => {
|
|
295
|
-
const headers =
|
|
296
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
297
|
-
};
|
|
247
|
+
const headers = SHARED_HEADERS;
|
|
298
248
|
let body;
|
|
299
249
|
body = buildFormUrlencodedString({
|
|
300
250
|
...se_DescribeDBClusterSnapshotsMessage(input, context),
|
|
@@ -304,9 +254,7 @@ export const se_DescribeDBClusterSnapshotsCommand = async (input, context) => {
|
|
|
304
254
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
255
|
};
|
|
306
256
|
export const se_DescribeDBEngineVersionsCommand = async (input, context) => {
|
|
307
|
-
const headers =
|
|
308
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
309
|
-
};
|
|
257
|
+
const headers = SHARED_HEADERS;
|
|
310
258
|
let body;
|
|
311
259
|
body = buildFormUrlencodedString({
|
|
312
260
|
...se_DescribeDBEngineVersionsMessage(input, context),
|
|
@@ -316,9 +264,7 @@ export const se_DescribeDBEngineVersionsCommand = async (input, context) => {
|
|
|
316
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
265
|
};
|
|
318
266
|
export const se_DescribeDBInstancesCommand = async (input, context) => {
|
|
319
|
-
const headers =
|
|
320
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
321
|
-
};
|
|
267
|
+
const headers = SHARED_HEADERS;
|
|
322
268
|
let body;
|
|
323
269
|
body = buildFormUrlencodedString({
|
|
324
270
|
...se_DescribeDBInstancesMessage(input, context),
|
|
@@ -328,9 +274,7 @@ export const se_DescribeDBInstancesCommand = async (input, context) => {
|
|
|
328
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
275
|
};
|
|
330
276
|
export const se_DescribeDBSubnetGroupsCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
333
|
-
};
|
|
277
|
+
const headers = SHARED_HEADERS;
|
|
334
278
|
let body;
|
|
335
279
|
body = buildFormUrlencodedString({
|
|
336
280
|
...se_DescribeDBSubnetGroupsMessage(input, context),
|
|
@@ -340,9 +284,7 @@ export const se_DescribeDBSubnetGroupsCommand = async (input, context) => {
|
|
|
340
284
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
285
|
};
|
|
342
286
|
export const se_DescribeEngineDefaultClusterParametersCommand = async (input, context) => {
|
|
343
|
-
const headers =
|
|
344
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
345
|
-
};
|
|
287
|
+
const headers = SHARED_HEADERS;
|
|
346
288
|
let body;
|
|
347
289
|
body = buildFormUrlencodedString({
|
|
348
290
|
...se_DescribeEngineDefaultClusterParametersMessage(input, context),
|
|
@@ -352,9 +294,7 @@ export const se_DescribeEngineDefaultClusterParametersCommand = async (input, co
|
|
|
352
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
295
|
};
|
|
354
296
|
export const se_DescribeEventCategoriesCommand = async (input, context) => {
|
|
355
|
-
const headers =
|
|
356
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
357
|
-
};
|
|
297
|
+
const headers = SHARED_HEADERS;
|
|
358
298
|
let body;
|
|
359
299
|
body = buildFormUrlencodedString({
|
|
360
300
|
...se_DescribeEventCategoriesMessage(input, context),
|
|
@@ -364,9 +304,7 @@ export const se_DescribeEventCategoriesCommand = async (input, context) => {
|
|
|
364
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
305
|
};
|
|
366
306
|
export const se_DescribeEventsCommand = async (input, context) => {
|
|
367
|
-
const headers =
|
|
368
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
369
|
-
};
|
|
307
|
+
const headers = SHARED_HEADERS;
|
|
370
308
|
let body;
|
|
371
309
|
body = buildFormUrlencodedString({
|
|
372
310
|
...se_DescribeEventsMessage(input, context),
|
|
@@ -376,9 +314,7 @@ export const se_DescribeEventsCommand = async (input, context) => {
|
|
|
376
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
315
|
};
|
|
378
316
|
export const se_DescribeEventSubscriptionsCommand = async (input, context) => {
|
|
379
|
-
const headers =
|
|
380
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
381
|
-
};
|
|
317
|
+
const headers = SHARED_HEADERS;
|
|
382
318
|
let body;
|
|
383
319
|
body = buildFormUrlencodedString({
|
|
384
320
|
...se_DescribeEventSubscriptionsMessage(input, context),
|
|
@@ -388,9 +324,7 @@ export const se_DescribeEventSubscriptionsCommand = async (input, context) => {
|
|
|
388
324
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
389
325
|
};
|
|
390
326
|
export const se_DescribeGlobalClustersCommand = async (input, context) => {
|
|
391
|
-
const headers =
|
|
392
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
393
|
-
};
|
|
327
|
+
const headers = SHARED_HEADERS;
|
|
394
328
|
let body;
|
|
395
329
|
body = buildFormUrlencodedString({
|
|
396
330
|
...se_DescribeGlobalClustersMessage(input, context),
|
|
@@ -400,9 +334,7 @@ export const se_DescribeGlobalClustersCommand = async (input, context) => {
|
|
|
400
334
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
335
|
};
|
|
402
336
|
export const se_DescribeOrderableDBInstanceOptionsCommand = async (input, context) => {
|
|
403
|
-
const headers =
|
|
404
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
405
|
-
};
|
|
337
|
+
const headers = SHARED_HEADERS;
|
|
406
338
|
let body;
|
|
407
339
|
body = buildFormUrlencodedString({
|
|
408
340
|
...se_DescribeOrderableDBInstanceOptionsMessage(input, context),
|
|
@@ -412,9 +344,7 @@ export const se_DescribeOrderableDBInstanceOptionsCommand = async (input, contex
|
|
|
412
344
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
413
345
|
};
|
|
414
346
|
export const se_DescribePendingMaintenanceActionsCommand = async (input, context) => {
|
|
415
|
-
const headers =
|
|
416
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
417
|
-
};
|
|
347
|
+
const headers = SHARED_HEADERS;
|
|
418
348
|
let body;
|
|
419
349
|
body = buildFormUrlencodedString({
|
|
420
350
|
...se_DescribePendingMaintenanceActionsMessage(input, context),
|
|
@@ -424,9 +354,7 @@ export const se_DescribePendingMaintenanceActionsCommand = async (input, context
|
|
|
424
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
425
355
|
};
|
|
426
356
|
export const se_FailoverDBClusterCommand = async (input, context) => {
|
|
427
|
-
const headers =
|
|
428
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
429
|
-
};
|
|
357
|
+
const headers = SHARED_HEADERS;
|
|
430
358
|
let body;
|
|
431
359
|
body = buildFormUrlencodedString({
|
|
432
360
|
...se_FailoverDBClusterMessage(input, context),
|
|
@@ -436,9 +364,7 @@ export const se_FailoverDBClusterCommand = async (input, context) => {
|
|
|
436
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
365
|
};
|
|
438
366
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
439
|
-
const headers =
|
|
440
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
441
|
-
};
|
|
367
|
+
const headers = SHARED_HEADERS;
|
|
442
368
|
let body;
|
|
443
369
|
body = buildFormUrlencodedString({
|
|
444
370
|
...se_ListTagsForResourceMessage(input, context),
|
|
@@ -448,9 +374,7 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
448
374
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
449
375
|
};
|
|
450
376
|
export const se_ModifyDBClusterCommand = async (input, context) => {
|
|
451
|
-
const headers =
|
|
452
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
453
|
-
};
|
|
377
|
+
const headers = SHARED_HEADERS;
|
|
454
378
|
let body;
|
|
455
379
|
body = buildFormUrlencodedString({
|
|
456
380
|
...se_ModifyDBClusterMessage(input, context),
|
|
@@ -460,9 +384,7 @@ export const se_ModifyDBClusterCommand = async (input, context) => {
|
|
|
460
384
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
461
385
|
};
|
|
462
386
|
export const se_ModifyDBClusterParameterGroupCommand = async (input, context) => {
|
|
463
|
-
const headers =
|
|
464
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
465
|
-
};
|
|
387
|
+
const headers = SHARED_HEADERS;
|
|
466
388
|
let body;
|
|
467
389
|
body = buildFormUrlencodedString({
|
|
468
390
|
...se_ModifyDBClusterParameterGroupMessage(input, context),
|
|
@@ -472,9 +394,7 @@ export const se_ModifyDBClusterParameterGroupCommand = async (input, context) =>
|
|
|
472
394
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
473
395
|
};
|
|
474
396
|
export const se_ModifyDBClusterSnapshotAttributeCommand = async (input, context) => {
|
|
475
|
-
const headers =
|
|
476
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
477
|
-
};
|
|
397
|
+
const headers = SHARED_HEADERS;
|
|
478
398
|
let body;
|
|
479
399
|
body = buildFormUrlencodedString({
|
|
480
400
|
...se_ModifyDBClusterSnapshotAttributeMessage(input, context),
|
|
@@ -484,9 +404,7 @@ export const se_ModifyDBClusterSnapshotAttributeCommand = async (input, context)
|
|
|
484
404
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
485
405
|
};
|
|
486
406
|
export const se_ModifyDBInstanceCommand = async (input, context) => {
|
|
487
|
-
const headers =
|
|
488
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
489
|
-
};
|
|
407
|
+
const headers = SHARED_HEADERS;
|
|
490
408
|
let body;
|
|
491
409
|
body = buildFormUrlencodedString({
|
|
492
410
|
...se_ModifyDBInstanceMessage(input, context),
|
|
@@ -496,9 +414,7 @@ export const se_ModifyDBInstanceCommand = async (input, context) => {
|
|
|
496
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
497
415
|
};
|
|
498
416
|
export const se_ModifyDBSubnetGroupCommand = async (input, context) => {
|
|
499
|
-
const headers =
|
|
500
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
501
|
-
};
|
|
417
|
+
const headers = SHARED_HEADERS;
|
|
502
418
|
let body;
|
|
503
419
|
body = buildFormUrlencodedString({
|
|
504
420
|
...se_ModifyDBSubnetGroupMessage(input, context),
|
|
@@ -508,9 +424,7 @@ export const se_ModifyDBSubnetGroupCommand = async (input, context) => {
|
|
|
508
424
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
509
425
|
};
|
|
510
426
|
export const se_ModifyEventSubscriptionCommand = async (input, context) => {
|
|
511
|
-
const headers =
|
|
512
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
513
|
-
};
|
|
427
|
+
const headers = SHARED_HEADERS;
|
|
514
428
|
let body;
|
|
515
429
|
body = buildFormUrlencodedString({
|
|
516
430
|
...se_ModifyEventSubscriptionMessage(input, context),
|
|
@@ -520,9 +434,7 @@ export const se_ModifyEventSubscriptionCommand = async (input, context) => {
|
|
|
520
434
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
521
435
|
};
|
|
522
436
|
export const se_ModifyGlobalClusterCommand = async (input, context) => {
|
|
523
|
-
const headers =
|
|
524
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
525
|
-
};
|
|
437
|
+
const headers = SHARED_HEADERS;
|
|
526
438
|
let body;
|
|
527
439
|
body = buildFormUrlencodedString({
|
|
528
440
|
...se_ModifyGlobalClusterMessage(input, context),
|
|
@@ -532,9 +444,7 @@ export const se_ModifyGlobalClusterCommand = async (input, context) => {
|
|
|
532
444
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
533
445
|
};
|
|
534
446
|
export const se_RebootDBInstanceCommand = async (input, context) => {
|
|
535
|
-
const headers =
|
|
536
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
537
|
-
};
|
|
447
|
+
const headers = SHARED_HEADERS;
|
|
538
448
|
let body;
|
|
539
449
|
body = buildFormUrlencodedString({
|
|
540
450
|
...se_RebootDBInstanceMessage(input, context),
|
|
@@ -544,9 +454,7 @@ export const se_RebootDBInstanceCommand = async (input, context) => {
|
|
|
544
454
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
545
455
|
};
|
|
546
456
|
export const se_RemoveFromGlobalClusterCommand = async (input, context) => {
|
|
547
|
-
const headers =
|
|
548
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
549
|
-
};
|
|
457
|
+
const headers = SHARED_HEADERS;
|
|
550
458
|
let body;
|
|
551
459
|
body = buildFormUrlencodedString({
|
|
552
460
|
...se_RemoveFromGlobalClusterMessage(input, context),
|
|
@@ -556,9 +464,7 @@ export const se_RemoveFromGlobalClusterCommand = async (input, context) => {
|
|
|
556
464
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
557
465
|
};
|
|
558
466
|
export const se_RemoveSourceIdentifierFromSubscriptionCommand = async (input, context) => {
|
|
559
|
-
const headers =
|
|
560
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
561
|
-
};
|
|
467
|
+
const headers = SHARED_HEADERS;
|
|
562
468
|
let body;
|
|
563
469
|
body = buildFormUrlencodedString({
|
|
564
470
|
...se_RemoveSourceIdentifierFromSubscriptionMessage(input, context),
|
|
@@ -568,9 +474,7 @@ export const se_RemoveSourceIdentifierFromSubscriptionCommand = async (input, co
|
|
|
568
474
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
569
475
|
};
|
|
570
476
|
export const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
571
|
-
const headers =
|
|
572
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
573
|
-
};
|
|
477
|
+
const headers = SHARED_HEADERS;
|
|
574
478
|
let body;
|
|
575
479
|
body = buildFormUrlencodedString({
|
|
576
480
|
...se_RemoveTagsFromResourceMessage(input, context),
|
|
@@ -580,9 +484,7 @@ export const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
|
580
484
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
581
485
|
};
|
|
582
486
|
export const se_ResetDBClusterParameterGroupCommand = async (input, context) => {
|
|
583
|
-
const headers =
|
|
584
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
585
|
-
};
|
|
487
|
+
const headers = SHARED_HEADERS;
|
|
586
488
|
let body;
|
|
587
489
|
body = buildFormUrlencodedString({
|
|
588
490
|
...se_ResetDBClusterParameterGroupMessage(input, context),
|
|
@@ -592,9 +494,7 @@ export const se_ResetDBClusterParameterGroupCommand = async (input, context) =>
|
|
|
592
494
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
593
495
|
};
|
|
594
496
|
export const se_RestoreDBClusterFromSnapshotCommand = async (input, context) => {
|
|
595
|
-
const headers =
|
|
596
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
597
|
-
};
|
|
497
|
+
const headers = SHARED_HEADERS;
|
|
598
498
|
let body;
|
|
599
499
|
body = buildFormUrlencodedString({
|
|
600
500
|
...se_RestoreDBClusterFromSnapshotMessage(input, context),
|
|
@@ -604,9 +504,7 @@ export const se_RestoreDBClusterFromSnapshotCommand = async (input, context) =>
|
|
|
604
504
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
605
505
|
};
|
|
606
506
|
export const se_RestoreDBClusterToPointInTimeCommand = async (input, context) => {
|
|
607
|
-
const headers =
|
|
608
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
609
|
-
};
|
|
507
|
+
const headers = SHARED_HEADERS;
|
|
610
508
|
let body;
|
|
611
509
|
body = buildFormUrlencodedString({
|
|
612
510
|
...se_RestoreDBClusterToPointInTimeMessage(input, context),
|
|
@@ -616,9 +514,7 @@ export const se_RestoreDBClusterToPointInTimeCommand = async (input, context) =>
|
|
|
616
514
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
617
515
|
};
|
|
618
516
|
export const se_StartDBClusterCommand = async (input, context) => {
|
|
619
|
-
const headers =
|
|
620
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
621
|
-
};
|
|
517
|
+
const headers = SHARED_HEADERS;
|
|
622
518
|
let body;
|
|
623
519
|
body = buildFormUrlencodedString({
|
|
624
520
|
...se_StartDBClusterMessage(input, context),
|
|
@@ -628,9 +524,7 @@ export const se_StartDBClusterCommand = async (input, context) => {
|
|
|
628
524
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
629
525
|
};
|
|
630
526
|
export const se_StopDBClusterCommand = async (input, context) => {
|
|
631
|
-
const headers =
|
|
632
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
633
|
-
};
|
|
527
|
+
const headers = SHARED_HEADERS;
|
|
634
528
|
let body;
|
|
635
529
|
body = buildFormUrlencodedString({
|
|
636
530
|
...se_StopDBClusterMessage(input, context),
|
|
@@ -650,7 +544,7 @@ export const de_AddSourceIdentifierToSubscriptionCommand = async (output, contex
|
|
|
650
544
|
$metadata: deserializeMetadata(output),
|
|
651
545
|
...contents,
|
|
652
546
|
};
|
|
653
|
-
return
|
|
547
|
+
return response;
|
|
654
548
|
};
|
|
655
549
|
const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context) => {
|
|
656
550
|
const parsedOutput = {
|
|
@@ -667,10 +561,9 @@ const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context)
|
|
|
667
561
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
668
562
|
default:
|
|
669
563
|
const parsedBody = parsedOutput.body;
|
|
670
|
-
throwDefaultError({
|
|
564
|
+
return throwDefaultError({
|
|
671
565
|
output,
|
|
672
566
|
parsedBody: parsedBody.Error,
|
|
673
|
-
exceptionCtor: __BaseException,
|
|
674
567
|
errorCode,
|
|
675
568
|
});
|
|
676
569
|
}
|
|
@@ -683,7 +576,7 @@ export const de_AddTagsToResourceCommand = async (output, context) => {
|
|
|
683
576
|
const response = {
|
|
684
577
|
$metadata: deserializeMetadata(output),
|
|
685
578
|
};
|
|
686
|
-
return
|
|
579
|
+
return response;
|
|
687
580
|
};
|
|
688
581
|
const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
689
582
|
const parsedOutput = {
|
|
@@ -703,10 +596,9 @@ const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
|
703
596
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
704
597
|
default:
|
|
705
598
|
const parsedBody = parsedOutput.body;
|
|
706
|
-
throwDefaultError({
|
|
599
|
+
return throwDefaultError({
|
|
707
600
|
output,
|
|
708
601
|
parsedBody: parsedBody.Error,
|
|
709
|
-
exceptionCtor: __BaseException,
|
|
710
602
|
errorCode,
|
|
711
603
|
});
|
|
712
604
|
}
|
|
@@ -722,7 +614,7 @@ export const de_ApplyPendingMaintenanceActionCommand = async (output, context) =
|
|
|
722
614
|
$metadata: deserializeMetadata(output),
|
|
723
615
|
...contents,
|
|
724
616
|
};
|
|
725
|
-
return
|
|
617
|
+
return response;
|
|
726
618
|
};
|
|
727
619
|
const de_ApplyPendingMaintenanceActionCommandError = async (output, context) => {
|
|
728
620
|
const parsedOutput = {
|
|
@@ -742,10 +634,9 @@ const de_ApplyPendingMaintenanceActionCommandError = async (output, context) =>
|
|
|
742
634
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
743
635
|
default:
|
|
744
636
|
const parsedBody = parsedOutput.body;
|
|
745
|
-
throwDefaultError({
|
|
637
|
+
return throwDefaultError({
|
|
746
638
|
output,
|
|
747
639
|
parsedBody: parsedBody.Error,
|
|
748
|
-
exceptionCtor: __BaseException,
|
|
749
640
|
errorCode,
|
|
750
641
|
});
|
|
751
642
|
}
|
|
@@ -761,7 +652,7 @@ export const de_CopyDBClusterParameterGroupCommand = async (output, context) =>
|
|
|
761
652
|
$metadata: deserializeMetadata(output),
|
|
762
653
|
...contents,
|
|
763
654
|
};
|
|
764
|
-
return
|
|
655
|
+
return response;
|
|
765
656
|
};
|
|
766
657
|
const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
767
658
|
const parsedOutput = {
|
|
@@ -781,10 +672,9 @@ const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
781
672
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
782
673
|
default:
|
|
783
674
|
const parsedBody = parsedOutput.body;
|
|
784
|
-
throwDefaultError({
|
|
675
|
+
return throwDefaultError({
|
|
785
676
|
output,
|
|
786
677
|
parsedBody: parsedBody.Error,
|
|
787
|
-
exceptionCtor: __BaseException,
|
|
788
678
|
errorCode,
|
|
789
679
|
});
|
|
790
680
|
}
|
|
@@ -800,7 +690,7 @@ export const de_CopyDBClusterSnapshotCommand = async (output, context) => {
|
|
|
800
690
|
$metadata: deserializeMetadata(output),
|
|
801
691
|
...contents,
|
|
802
692
|
};
|
|
803
|
-
return
|
|
693
|
+
return response;
|
|
804
694
|
};
|
|
805
695
|
const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
806
696
|
const parsedOutput = {
|
|
@@ -829,10 +719,9 @@ const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
829
719
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
830
720
|
default:
|
|
831
721
|
const parsedBody = parsedOutput.body;
|
|
832
|
-
throwDefaultError({
|
|
722
|
+
return throwDefaultError({
|
|
833
723
|
output,
|
|
834
724
|
parsedBody: parsedBody.Error,
|
|
835
|
-
exceptionCtor: __BaseException,
|
|
836
725
|
errorCode,
|
|
837
726
|
});
|
|
838
727
|
}
|
|
@@ -848,7 +737,7 @@ export const de_CreateDBClusterCommand = async (output, context) => {
|
|
|
848
737
|
$metadata: deserializeMetadata(output),
|
|
849
738
|
...contents,
|
|
850
739
|
};
|
|
851
|
-
return
|
|
740
|
+
return response;
|
|
852
741
|
};
|
|
853
742
|
const de_CreateDBClusterCommandError = async (output, context) => {
|
|
854
743
|
const parsedOutput = {
|
|
@@ -910,10 +799,9 @@ const de_CreateDBClusterCommandError = async (output, context) => {
|
|
|
910
799
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
911
800
|
default:
|
|
912
801
|
const parsedBody = parsedOutput.body;
|
|
913
|
-
throwDefaultError({
|
|
802
|
+
return throwDefaultError({
|
|
914
803
|
output,
|
|
915
804
|
parsedBody: parsedBody.Error,
|
|
916
|
-
exceptionCtor: __BaseException,
|
|
917
805
|
errorCode,
|
|
918
806
|
});
|
|
919
807
|
}
|
|
@@ -929,7 +817,7 @@ export const de_CreateDBClusterParameterGroupCommand = async (output, context) =
|
|
|
929
817
|
$metadata: deserializeMetadata(output),
|
|
930
818
|
...contents,
|
|
931
819
|
};
|
|
932
|
-
return
|
|
820
|
+
return response;
|
|
933
821
|
};
|
|
934
822
|
const de_CreateDBClusterParameterGroupCommandError = async (output, context) => {
|
|
935
823
|
const parsedOutput = {
|
|
@@ -946,10 +834,9 @@ const de_CreateDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
946
834
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
947
835
|
default:
|
|
948
836
|
const parsedBody = parsedOutput.body;
|
|
949
|
-
throwDefaultError({
|
|
837
|
+
return throwDefaultError({
|
|
950
838
|
output,
|
|
951
839
|
parsedBody: parsedBody.Error,
|
|
952
|
-
exceptionCtor: __BaseException,
|
|
953
840
|
errorCode,
|
|
954
841
|
});
|
|
955
842
|
}
|
|
@@ -965,7 +852,7 @@ export const de_CreateDBClusterSnapshotCommand = async (output, context) => {
|
|
|
965
852
|
$metadata: deserializeMetadata(output),
|
|
966
853
|
...contents,
|
|
967
854
|
};
|
|
968
|
-
return
|
|
855
|
+
return response;
|
|
969
856
|
};
|
|
970
857
|
const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
971
858
|
const parsedOutput = {
|
|
@@ -991,10 +878,9 @@ const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
991
878
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
992
879
|
default:
|
|
993
880
|
const parsedBody = parsedOutput.body;
|
|
994
|
-
throwDefaultError({
|
|
881
|
+
return throwDefaultError({
|
|
995
882
|
output,
|
|
996
883
|
parsedBody: parsedBody.Error,
|
|
997
|
-
exceptionCtor: __BaseException,
|
|
998
884
|
errorCode,
|
|
999
885
|
});
|
|
1000
886
|
}
|
|
@@ -1010,7 +896,7 @@ export const de_CreateDBInstanceCommand = async (output, context) => {
|
|
|
1010
896
|
$metadata: deserializeMetadata(output),
|
|
1011
897
|
...contents,
|
|
1012
898
|
};
|
|
1013
|
-
return
|
|
899
|
+
return response;
|
|
1014
900
|
};
|
|
1015
901
|
const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
1016
902
|
const parsedOutput = {
|
|
@@ -1066,10 +952,9 @@ const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
|
1066
952
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
1067
953
|
default:
|
|
1068
954
|
const parsedBody = parsedOutput.body;
|
|
1069
|
-
throwDefaultError({
|
|
955
|
+
return throwDefaultError({
|
|
1070
956
|
output,
|
|
1071
957
|
parsedBody: parsedBody.Error,
|
|
1072
|
-
exceptionCtor: __BaseException,
|
|
1073
958
|
errorCode,
|
|
1074
959
|
});
|
|
1075
960
|
}
|
|
@@ -1085,7 +970,7 @@ export const de_CreateDBSubnetGroupCommand = async (output, context) => {
|
|
|
1085
970
|
$metadata: deserializeMetadata(output),
|
|
1086
971
|
...contents,
|
|
1087
972
|
};
|
|
1088
|
-
return
|
|
973
|
+
return response;
|
|
1089
974
|
};
|
|
1090
975
|
const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
1091
976
|
const parsedOutput = {
|
|
@@ -1111,10 +996,9 @@ const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
|
1111
996
|
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
1112
997
|
default:
|
|
1113
998
|
const parsedBody = parsedOutput.body;
|
|
1114
|
-
throwDefaultError({
|
|
999
|
+
return throwDefaultError({
|
|
1115
1000
|
output,
|
|
1116
1001
|
parsedBody: parsedBody.Error,
|
|
1117
|
-
exceptionCtor: __BaseException,
|
|
1118
1002
|
errorCode,
|
|
1119
1003
|
});
|
|
1120
1004
|
}
|
|
@@ -1130,7 +1014,7 @@ export const de_CreateEventSubscriptionCommand = async (output, context) => {
|
|
|
1130
1014
|
$metadata: deserializeMetadata(output),
|
|
1131
1015
|
...contents,
|
|
1132
1016
|
};
|
|
1133
|
-
return
|
|
1017
|
+
return response;
|
|
1134
1018
|
};
|
|
1135
1019
|
const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
1136
1020
|
const parsedOutput = {
|
|
@@ -1162,10 +1046,9 @@ const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
|
1162
1046
|
throw await de_SubscriptionCategoryNotFoundFaultRes(parsedOutput, context);
|
|
1163
1047
|
default:
|
|
1164
1048
|
const parsedBody = parsedOutput.body;
|
|
1165
|
-
throwDefaultError({
|
|
1049
|
+
return throwDefaultError({
|
|
1166
1050
|
output,
|
|
1167
1051
|
parsedBody: parsedBody.Error,
|
|
1168
|
-
exceptionCtor: __BaseException,
|
|
1169
1052
|
errorCode,
|
|
1170
1053
|
});
|
|
1171
1054
|
}
|
|
@@ -1181,7 +1064,7 @@ export const de_CreateGlobalClusterCommand = async (output, context) => {
|
|
|
1181
1064
|
$metadata: deserializeMetadata(output),
|
|
1182
1065
|
...contents,
|
|
1183
1066
|
};
|
|
1184
|
-
return
|
|
1067
|
+
return response;
|
|
1185
1068
|
};
|
|
1186
1069
|
const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
1187
1070
|
const parsedOutput = {
|
|
@@ -1204,10 +1087,9 @@ const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
|
1204
1087
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1205
1088
|
default:
|
|
1206
1089
|
const parsedBody = parsedOutput.body;
|
|
1207
|
-
throwDefaultError({
|
|
1090
|
+
return throwDefaultError({
|
|
1208
1091
|
output,
|
|
1209
1092
|
parsedBody: parsedBody.Error,
|
|
1210
|
-
exceptionCtor: __BaseException,
|
|
1211
1093
|
errorCode,
|
|
1212
1094
|
});
|
|
1213
1095
|
}
|
|
@@ -1223,7 +1105,7 @@ export const de_DeleteDBClusterCommand = async (output, context) => {
|
|
|
1223
1105
|
$metadata: deserializeMetadata(output),
|
|
1224
1106
|
...contents,
|
|
1225
1107
|
};
|
|
1226
|
-
return
|
|
1108
|
+
return response;
|
|
1227
1109
|
};
|
|
1228
1110
|
const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
1229
1111
|
const parsedOutput = {
|
|
@@ -1249,10 +1131,9 @@ const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
|
1249
1131
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1250
1132
|
default:
|
|
1251
1133
|
const parsedBody = parsedOutput.body;
|
|
1252
|
-
throwDefaultError({
|
|
1134
|
+
return throwDefaultError({
|
|
1253
1135
|
output,
|
|
1254
1136
|
parsedBody: parsedBody.Error,
|
|
1255
|
-
exceptionCtor: __BaseException,
|
|
1256
1137
|
errorCode,
|
|
1257
1138
|
});
|
|
1258
1139
|
}
|
|
@@ -1265,7 +1146,7 @@ export const de_DeleteDBClusterParameterGroupCommand = async (output, context) =
|
|
|
1265
1146
|
const response = {
|
|
1266
1147
|
$metadata: deserializeMetadata(output),
|
|
1267
1148
|
};
|
|
1268
|
-
return
|
|
1149
|
+
return response;
|
|
1269
1150
|
};
|
|
1270
1151
|
const de_DeleteDBClusterParameterGroupCommandError = async (output, context) => {
|
|
1271
1152
|
const parsedOutput = {
|
|
@@ -1282,10 +1163,9 @@ const de_DeleteDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
1282
1163
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
1283
1164
|
default:
|
|
1284
1165
|
const parsedBody = parsedOutput.body;
|
|
1285
|
-
throwDefaultError({
|
|
1166
|
+
return throwDefaultError({
|
|
1286
1167
|
output,
|
|
1287
1168
|
parsedBody: parsedBody.Error,
|
|
1288
|
-
exceptionCtor: __BaseException,
|
|
1289
1169
|
errorCode,
|
|
1290
1170
|
});
|
|
1291
1171
|
}
|
|
@@ -1301,7 +1181,7 @@ export const de_DeleteDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1301
1181
|
$metadata: deserializeMetadata(output),
|
|
1302
1182
|
...contents,
|
|
1303
1183
|
};
|
|
1304
|
-
return
|
|
1184
|
+
return response;
|
|
1305
1185
|
};
|
|
1306
1186
|
const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
1307
1187
|
const parsedOutput = {
|
|
@@ -1318,10 +1198,9 @@ const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1318
1198
|
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
1319
1199
|
default:
|
|
1320
1200
|
const parsedBody = parsedOutput.body;
|
|
1321
|
-
throwDefaultError({
|
|
1201
|
+
return throwDefaultError({
|
|
1322
1202
|
output,
|
|
1323
1203
|
parsedBody: parsedBody.Error,
|
|
1324
|
-
exceptionCtor: __BaseException,
|
|
1325
1204
|
errorCode,
|
|
1326
1205
|
});
|
|
1327
1206
|
}
|
|
@@ -1337,7 +1216,7 @@ export const de_DeleteDBInstanceCommand = async (output, context) => {
|
|
|
1337
1216
|
$metadata: deserializeMetadata(output),
|
|
1338
1217
|
...contents,
|
|
1339
1218
|
};
|
|
1340
|
-
return
|
|
1219
|
+
return response;
|
|
1341
1220
|
};
|
|
1342
1221
|
const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
1343
1222
|
const parsedOutput = {
|
|
@@ -1363,10 +1242,9 @@ const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
|
1363
1242
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1364
1243
|
default:
|
|
1365
1244
|
const parsedBody = parsedOutput.body;
|
|
1366
|
-
throwDefaultError({
|
|
1245
|
+
return throwDefaultError({
|
|
1367
1246
|
output,
|
|
1368
1247
|
parsedBody: parsedBody.Error,
|
|
1369
|
-
exceptionCtor: __BaseException,
|
|
1370
1248
|
errorCode,
|
|
1371
1249
|
});
|
|
1372
1250
|
}
|
|
@@ -1379,7 +1257,7 @@ export const de_DeleteDBSubnetGroupCommand = async (output, context) => {
|
|
|
1379
1257
|
const response = {
|
|
1380
1258
|
$metadata: deserializeMetadata(output),
|
|
1381
1259
|
};
|
|
1382
|
-
return
|
|
1260
|
+
return response;
|
|
1383
1261
|
};
|
|
1384
1262
|
const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
1385
1263
|
const parsedOutput = {
|
|
@@ -1399,10 +1277,9 @@ const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
|
1399
1277
|
throw await de_InvalidDBSubnetStateFaultRes(parsedOutput, context);
|
|
1400
1278
|
default:
|
|
1401
1279
|
const parsedBody = parsedOutput.body;
|
|
1402
|
-
throwDefaultError({
|
|
1280
|
+
return throwDefaultError({
|
|
1403
1281
|
output,
|
|
1404
1282
|
parsedBody: parsedBody.Error,
|
|
1405
|
-
exceptionCtor: __BaseException,
|
|
1406
1283
|
errorCode,
|
|
1407
1284
|
});
|
|
1408
1285
|
}
|
|
@@ -1418,7 +1295,7 @@ export const de_DeleteEventSubscriptionCommand = async (output, context) => {
|
|
|
1418
1295
|
$metadata: deserializeMetadata(output),
|
|
1419
1296
|
...contents,
|
|
1420
1297
|
};
|
|
1421
|
-
return
|
|
1298
|
+
return response;
|
|
1422
1299
|
};
|
|
1423
1300
|
const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
1424
1301
|
const parsedOutput = {
|
|
@@ -1435,10 +1312,9 @@ const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
|
1435
1312
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
1436
1313
|
default:
|
|
1437
1314
|
const parsedBody = parsedOutput.body;
|
|
1438
|
-
throwDefaultError({
|
|
1315
|
+
return throwDefaultError({
|
|
1439
1316
|
output,
|
|
1440
1317
|
parsedBody: parsedBody.Error,
|
|
1441
|
-
exceptionCtor: __BaseException,
|
|
1442
1318
|
errorCode,
|
|
1443
1319
|
});
|
|
1444
1320
|
}
|
|
@@ -1454,7 +1330,7 @@ export const de_DeleteGlobalClusterCommand = async (output, context) => {
|
|
|
1454
1330
|
$metadata: deserializeMetadata(output),
|
|
1455
1331
|
...contents,
|
|
1456
1332
|
};
|
|
1457
|
-
return
|
|
1333
|
+
return response;
|
|
1458
1334
|
};
|
|
1459
1335
|
const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
1460
1336
|
const parsedOutput = {
|
|
@@ -1471,10 +1347,9 @@ const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
|
1471
1347
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
1472
1348
|
default:
|
|
1473
1349
|
const parsedBody = parsedOutput.body;
|
|
1474
|
-
throwDefaultError({
|
|
1350
|
+
return throwDefaultError({
|
|
1475
1351
|
output,
|
|
1476
1352
|
parsedBody: parsedBody.Error,
|
|
1477
|
-
exceptionCtor: __BaseException,
|
|
1478
1353
|
errorCode,
|
|
1479
1354
|
});
|
|
1480
1355
|
}
|
|
@@ -1490,7 +1365,7 @@ export const de_DescribeCertificatesCommand = async (output, context) => {
|
|
|
1490
1365
|
$metadata: deserializeMetadata(output),
|
|
1491
1366
|
...contents,
|
|
1492
1367
|
};
|
|
1493
|
-
return
|
|
1368
|
+
return response;
|
|
1494
1369
|
};
|
|
1495
1370
|
const de_DescribeCertificatesCommandError = async (output, context) => {
|
|
1496
1371
|
const parsedOutput = {
|
|
@@ -1504,10 +1379,9 @@ const de_DescribeCertificatesCommandError = async (output, context) => {
|
|
|
1504
1379
|
throw await de_CertificateNotFoundFaultRes(parsedOutput, context);
|
|
1505
1380
|
default:
|
|
1506
1381
|
const parsedBody = parsedOutput.body;
|
|
1507
|
-
throwDefaultError({
|
|
1382
|
+
return throwDefaultError({
|
|
1508
1383
|
output,
|
|
1509
1384
|
parsedBody: parsedBody.Error,
|
|
1510
|
-
exceptionCtor: __BaseException,
|
|
1511
1385
|
errorCode,
|
|
1512
1386
|
});
|
|
1513
1387
|
}
|
|
@@ -1523,7 +1397,7 @@ export const de_DescribeDBClusterParameterGroupsCommand = async (output, context
|
|
|
1523
1397
|
$metadata: deserializeMetadata(output),
|
|
1524
1398
|
...contents,
|
|
1525
1399
|
};
|
|
1526
|
-
return
|
|
1400
|
+
return response;
|
|
1527
1401
|
};
|
|
1528
1402
|
const de_DescribeDBClusterParameterGroupsCommandError = async (output, context) => {
|
|
1529
1403
|
const parsedOutput = {
|
|
@@ -1537,10 +1411,9 @@ const de_DescribeDBClusterParameterGroupsCommandError = async (output, context)
|
|
|
1537
1411
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
1538
1412
|
default:
|
|
1539
1413
|
const parsedBody = parsedOutput.body;
|
|
1540
|
-
throwDefaultError({
|
|
1414
|
+
return throwDefaultError({
|
|
1541
1415
|
output,
|
|
1542
1416
|
parsedBody: parsedBody.Error,
|
|
1543
|
-
exceptionCtor: __BaseException,
|
|
1544
1417
|
errorCode,
|
|
1545
1418
|
});
|
|
1546
1419
|
}
|
|
@@ -1556,7 +1429,7 @@ export const de_DescribeDBClusterParametersCommand = async (output, context) =>
|
|
|
1556
1429
|
$metadata: deserializeMetadata(output),
|
|
1557
1430
|
...contents,
|
|
1558
1431
|
};
|
|
1559
|
-
return
|
|
1432
|
+
return response;
|
|
1560
1433
|
};
|
|
1561
1434
|
const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
1562
1435
|
const parsedOutput = {
|
|
@@ -1570,10 +1443,9 @@ const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
|
1570
1443
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
1571
1444
|
default:
|
|
1572
1445
|
const parsedBody = parsedOutput.body;
|
|
1573
|
-
throwDefaultError({
|
|
1446
|
+
return throwDefaultError({
|
|
1574
1447
|
output,
|
|
1575
1448
|
parsedBody: parsedBody.Error,
|
|
1576
|
-
exceptionCtor: __BaseException,
|
|
1577
1449
|
errorCode,
|
|
1578
1450
|
});
|
|
1579
1451
|
}
|
|
@@ -1589,7 +1461,7 @@ export const de_DescribeDBClustersCommand = async (output, context) => {
|
|
|
1589
1461
|
$metadata: deserializeMetadata(output),
|
|
1590
1462
|
...contents,
|
|
1591
1463
|
};
|
|
1592
|
-
return
|
|
1464
|
+
return response;
|
|
1593
1465
|
};
|
|
1594
1466
|
const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
1595
1467
|
const parsedOutput = {
|
|
@@ -1603,10 +1475,9 @@ const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
|
1603
1475
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
1604
1476
|
default:
|
|
1605
1477
|
const parsedBody = parsedOutput.body;
|
|
1606
|
-
throwDefaultError({
|
|
1478
|
+
return throwDefaultError({
|
|
1607
1479
|
output,
|
|
1608
1480
|
parsedBody: parsedBody.Error,
|
|
1609
|
-
exceptionCtor: __BaseException,
|
|
1610
1481
|
errorCode,
|
|
1611
1482
|
});
|
|
1612
1483
|
}
|
|
@@ -1622,7 +1493,7 @@ export const de_DescribeDBClusterSnapshotAttributesCommand = async (output, cont
|
|
|
1622
1493
|
$metadata: deserializeMetadata(output),
|
|
1623
1494
|
...contents,
|
|
1624
1495
|
};
|
|
1625
|
-
return
|
|
1496
|
+
return response;
|
|
1626
1497
|
};
|
|
1627
1498
|
const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, context) => {
|
|
1628
1499
|
const parsedOutput = {
|
|
@@ -1636,10 +1507,9 @@ const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, contex
|
|
|
1636
1507
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1637
1508
|
default:
|
|
1638
1509
|
const parsedBody = parsedOutput.body;
|
|
1639
|
-
throwDefaultError({
|
|
1510
|
+
return throwDefaultError({
|
|
1640
1511
|
output,
|
|
1641
1512
|
parsedBody: parsedBody.Error,
|
|
1642
|
-
exceptionCtor: __BaseException,
|
|
1643
1513
|
errorCode,
|
|
1644
1514
|
});
|
|
1645
1515
|
}
|
|
@@ -1655,7 +1525,7 @@ export const de_DescribeDBClusterSnapshotsCommand = async (output, context) => {
|
|
|
1655
1525
|
$metadata: deserializeMetadata(output),
|
|
1656
1526
|
...contents,
|
|
1657
1527
|
};
|
|
1658
|
-
return
|
|
1528
|
+
return response;
|
|
1659
1529
|
};
|
|
1660
1530
|
const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
1661
1531
|
const parsedOutput = {
|
|
@@ -1669,10 +1539,9 @@ const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
|
1669
1539
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1670
1540
|
default:
|
|
1671
1541
|
const parsedBody = parsedOutput.body;
|
|
1672
|
-
throwDefaultError({
|
|
1542
|
+
return throwDefaultError({
|
|
1673
1543
|
output,
|
|
1674
1544
|
parsedBody: parsedBody.Error,
|
|
1675
|
-
exceptionCtor: __BaseException,
|
|
1676
1545
|
errorCode,
|
|
1677
1546
|
});
|
|
1678
1547
|
}
|
|
@@ -1688,7 +1557,7 @@ export const de_DescribeDBEngineVersionsCommand = async (output, context) => {
|
|
|
1688
1557
|
$metadata: deserializeMetadata(output),
|
|
1689
1558
|
...contents,
|
|
1690
1559
|
};
|
|
1691
|
-
return
|
|
1560
|
+
return response;
|
|
1692
1561
|
};
|
|
1693
1562
|
const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
1694
1563
|
const parsedOutput = {
|
|
@@ -1697,10 +1566,9 @@ const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
|
1697
1566
|
};
|
|
1698
1567
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1699
1568
|
const parsedBody = parsedOutput.body;
|
|
1700
|
-
throwDefaultError({
|
|
1569
|
+
return throwDefaultError({
|
|
1701
1570
|
output,
|
|
1702
1571
|
parsedBody: parsedBody.Error,
|
|
1703
|
-
exceptionCtor: __BaseException,
|
|
1704
1572
|
errorCode,
|
|
1705
1573
|
});
|
|
1706
1574
|
};
|
|
@@ -1715,7 +1583,7 @@ export const de_DescribeDBInstancesCommand = async (output, context) => {
|
|
|
1715
1583
|
$metadata: deserializeMetadata(output),
|
|
1716
1584
|
...contents,
|
|
1717
1585
|
};
|
|
1718
|
-
return
|
|
1586
|
+
return response;
|
|
1719
1587
|
};
|
|
1720
1588
|
const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
1721
1589
|
const parsedOutput = {
|
|
@@ -1729,10 +1597,9 @@ const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
|
1729
1597
|
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
1730
1598
|
default:
|
|
1731
1599
|
const parsedBody = parsedOutput.body;
|
|
1732
|
-
throwDefaultError({
|
|
1600
|
+
return throwDefaultError({
|
|
1733
1601
|
output,
|
|
1734
1602
|
parsedBody: parsedBody.Error,
|
|
1735
|
-
exceptionCtor: __BaseException,
|
|
1736
1603
|
errorCode,
|
|
1737
1604
|
});
|
|
1738
1605
|
}
|
|
@@ -1748,7 +1615,7 @@ export const de_DescribeDBSubnetGroupsCommand = async (output, context) => {
|
|
|
1748
1615
|
$metadata: deserializeMetadata(output),
|
|
1749
1616
|
...contents,
|
|
1750
1617
|
};
|
|
1751
|
-
return
|
|
1618
|
+
return response;
|
|
1752
1619
|
};
|
|
1753
1620
|
const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
1754
1621
|
const parsedOutput = {
|
|
@@ -1762,10 +1629,9 @@ const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
|
1762
1629
|
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
1763
1630
|
default:
|
|
1764
1631
|
const parsedBody = parsedOutput.body;
|
|
1765
|
-
throwDefaultError({
|
|
1632
|
+
return throwDefaultError({
|
|
1766
1633
|
output,
|
|
1767
1634
|
parsedBody: parsedBody.Error,
|
|
1768
|
-
exceptionCtor: __BaseException,
|
|
1769
1635
|
errorCode,
|
|
1770
1636
|
});
|
|
1771
1637
|
}
|
|
@@ -1781,7 +1647,7 @@ export const de_DescribeEngineDefaultClusterParametersCommand = async (output, c
|
|
|
1781
1647
|
$metadata: deserializeMetadata(output),
|
|
1782
1648
|
...contents,
|
|
1783
1649
|
};
|
|
1784
|
-
return
|
|
1650
|
+
return response;
|
|
1785
1651
|
};
|
|
1786
1652
|
const de_DescribeEngineDefaultClusterParametersCommandError = async (output, context) => {
|
|
1787
1653
|
const parsedOutput = {
|
|
@@ -1790,10 +1656,9 @@ const de_DescribeEngineDefaultClusterParametersCommandError = async (output, con
|
|
|
1790
1656
|
};
|
|
1791
1657
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1792
1658
|
const parsedBody = parsedOutput.body;
|
|
1793
|
-
throwDefaultError({
|
|
1659
|
+
return throwDefaultError({
|
|
1794
1660
|
output,
|
|
1795
1661
|
parsedBody: parsedBody.Error,
|
|
1796
|
-
exceptionCtor: __BaseException,
|
|
1797
1662
|
errorCode,
|
|
1798
1663
|
});
|
|
1799
1664
|
};
|
|
@@ -1808,7 +1673,7 @@ export const de_DescribeEventCategoriesCommand = async (output, context) => {
|
|
|
1808
1673
|
$metadata: deserializeMetadata(output),
|
|
1809
1674
|
...contents,
|
|
1810
1675
|
};
|
|
1811
|
-
return
|
|
1676
|
+
return response;
|
|
1812
1677
|
};
|
|
1813
1678
|
const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
1814
1679
|
const parsedOutput = {
|
|
@@ -1817,10 +1682,9 @@ const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
|
1817
1682
|
};
|
|
1818
1683
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1819
1684
|
const parsedBody = parsedOutput.body;
|
|
1820
|
-
throwDefaultError({
|
|
1685
|
+
return throwDefaultError({
|
|
1821
1686
|
output,
|
|
1822
1687
|
parsedBody: parsedBody.Error,
|
|
1823
|
-
exceptionCtor: __BaseException,
|
|
1824
1688
|
errorCode,
|
|
1825
1689
|
});
|
|
1826
1690
|
};
|
|
@@ -1835,7 +1699,7 @@ export const de_DescribeEventsCommand = async (output, context) => {
|
|
|
1835
1699
|
$metadata: deserializeMetadata(output),
|
|
1836
1700
|
...contents,
|
|
1837
1701
|
};
|
|
1838
|
-
return
|
|
1702
|
+
return response;
|
|
1839
1703
|
};
|
|
1840
1704
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
1841
1705
|
const parsedOutput = {
|
|
@@ -1844,10 +1708,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
1844
1708
|
};
|
|
1845
1709
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1846
1710
|
const parsedBody = parsedOutput.body;
|
|
1847
|
-
throwDefaultError({
|
|
1711
|
+
return throwDefaultError({
|
|
1848
1712
|
output,
|
|
1849
1713
|
parsedBody: parsedBody.Error,
|
|
1850
|
-
exceptionCtor: __BaseException,
|
|
1851
1714
|
errorCode,
|
|
1852
1715
|
});
|
|
1853
1716
|
};
|
|
@@ -1862,7 +1725,7 @@ export const de_DescribeEventSubscriptionsCommand = async (output, context) => {
|
|
|
1862
1725
|
$metadata: deserializeMetadata(output),
|
|
1863
1726
|
...contents,
|
|
1864
1727
|
};
|
|
1865
|
-
return
|
|
1728
|
+
return response;
|
|
1866
1729
|
};
|
|
1867
1730
|
const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
1868
1731
|
const parsedOutput = {
|
|
@@ -1876,10 +1739,9 @@ const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
|
1876
1739
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
1877
1740
|
default:
|
|
1878
1741
|
const parsedBody = parsedOutput.body;
|
|
1879
|
-
throwDefaultError({
|
|
1742
|
+
return throwDefaultError({
|
|
1880
1743
|
output,
|
|
1881
1744
|
parsedBody: parsedBody.Error,
|
|
1882
|
-
exceptionCtor: __BaseException,
|
|
1883
1745
|
errorCode,
|
|
1884
1746
|
});
|
|
1885
1747
|
}
|
|
@@ -1895,7 +1757,7 @@ export const de_DescribeGlobalClustersCommand = async (output, context) => {
|
|
|
1895
1757
|
$metadata: deserializeMetadata(output),
|
|
1896
1758
|
...contents,
|
|
1897
1759
|
};
|
|
1898
|
-
return
|
|
1760
|
+
return response;
|
|
1899
1761
|
};
|
|
1900
1762
|
const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
1901
1763
|
const parsedOutput = {
|
|
@@ -1909,10 +1771,9 @@ const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
|
1909
1771
|
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
1910
1772
|
default:
|
|
1911
1773
|
const parsedBody = parsedOutput.body;
|
|
1912
|
-
throwDefaultError({
|
|
1774
|
+
return throwDefaultError({
|
|
1913
1775
|
output,
|
|
1914
1776
|
parsedBody: parsedBody.Error,
|
|
1915
|
-
exceptionCtor: __BaseException,
|
|
1916
1777
|
errorCode,
|
|
1917
1778
|
});
|
|
1918
1779
|
}
|
|
@@ -1928,7 +1789,7 @@ export const de_DescribeOrderableDBInstanceOptionsCommand = async (output, conte
|
|
|
1928
1789
|
$metadata: deserializeMetadata(output),
|
|
1929
1790
|
...contents,
|
|
1930
1791
|
};
|
|
1931
|
-
return
|
|
1792
|
+
return response;
|
|
1932
1793
|
};
|
|
1933
1794
|
const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context) => {
|
|
1934
1795
|
const parsedOutput = {
|
|
@@ -1937,10 +1798,9 @@ const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context
|
|
|
1937
1798
|
};
|
|
1938
1799
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1939
1800
|
const parsedBody = parsedOutput.body;
|
|
1940
|
-
throwDefaultError({
|
|
1801
|
+
return throwDefaultError({
|
|
1941
1802
|
output,
|
|
1942
1803
|
parsedBody: parsedBody.Error,
|
|
1943
|
-
exceptionCtor: __BaseException,
|
|
1944
1804
|
errorCode,
|
|
1945
1805
|
});
|
|
1946
1806
|
};
|
|
@@ -1955,7 +1815,7 @@ export const de_DescribePendingMaintenanceActionsCommand = async (output, contex
|
|
|
1955
1815
|
$metadata: deserializeMetadata(output),
|
|
1956
1816
|
...contents,
|
|
1957
1817
|
};
|
|
1958
|
-
return
|
|
1818
|
+
return response;
|
|
1959
1819
|
};
|
|
1960
1820
|
const de_DescribePendingMaintenanceActionsCommandError = async (output, context) => {
|
|
1961
1821
|
const parsedOutput = {
|
|
@@ -1969,10 +1829,9 @@ const de_DescribePendingMaintenanceActionsCommandError = async (output, context)
|
|
|
1969
1829
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
1970
1830
|
default:
|
|
1971
1831
|
const parsedBody = parsedOutput.body;
|
|
1972
|
-
throwDefaultError({
|
|
1832
|
+
return throwDefaultError({
|
|
1973
1833
|
output,
|
|
1974
1834
|
parsedBody: parsedBody.Error,
|
|
1975
|
-
exceptionCtor: __BaseException,
|
|
1976
1835
|
errorCode,
|
|
1977
1836
|
});
|
|
1978
1837
|
}
|
|
@@ -1988,7 +1847,7 @@ export const de_FailoverDBClusterCommand = async (output, context) => {
|
|
|
1988
1847
|
$metadata: deserializeMetadata(output),
|
|
1989
1848
|
...contents,
|
|
1990
1849
|
};
|
|
1991
|
-
return
|
|
1850
|
+
return response;
|
|
1992
1851
|
};
|
|
1993
1852
|
const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
1994
1853
|
const parsedOutput = {
|
|
@@ -2008,10 +1867,9 @@ const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
|
2008
1867
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2009
1868
|
default:
|
|
2010
1869
|
const parsedBody = parsedOutput.body;
|
|
2011
|
-
throwDefaultError({
|
|
1870
|
+
return throwDefaultError({
|
|
2012
1871
|
output,
|
|
2013
1872
|
parsedBody: parsedBody.Error,
|
|
2014
|
-
exceptionCtor: __BaseException,
|
|
2015
1873
|
errorCode,
|
|
2016
1874
|
});
|
|
2017
1875
|
}
|
|
@@ -2027,7 +1885,7 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2027
1885
|
$metadata: deserializeMetadata(output),
|
|
2028
1886
|
...contents,
|
|
2029
1887
|
};
|
|
2030
|
-
return
|
|
1888
|
+
return response;
|
|
2031
1889
|
};
|
|
2032
1890
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2033
1891
|
const parsedOutput = {
|
|
@@ -2047,10 +1905,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2047
1905
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2048
1906
|
default:
|
|
2049
1907
|
const parsedBody = parsedOutput.body;
|
|
2050
|
-
throwDefaultError({
|
|
1908
|
+
return throwDefaultError({
|
|
2051
1909
|
output,
|
|
2052
1910
|
parsedBody: parsedBody.Error,
|
|
2053
|
-
exceptionCtor: __BaseException,
|
|
2054
1911
|
errorCode,
|
|
2055
1912
|
});
|
|
2056
1913
|
}
|
|
@@ -2066,7 +1923,7 @@ export const de_ModifyDBClusterCommand = async (output, context) => {
|
|
|
2066
1923
|
$metadata: deserializeMetadata(output),
|
|
2067
1924
|
...contents,
|
|
2068
1925
|
};
|
|
2069
|
-
return
|
|
1926
|
+
return response;
|
|
2070
1927
|
};
|
|
2071
1928
|
const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
2072
1929
|
const parsedOutput = {
|
|
@@ -2110,10 +1967,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
|
2110
1967
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2111
1968
|
default:
|
|
2112
1969
|
const parsedBody = parsedOutput.body;
|
|
2113
|
-
throwDefaultError({
|
|
1970
|
+
return throwDefaultError({
|
|
2114
1971
|
output,
|
|
2115
1972
|
parsedBody: parsedBody.Error,
|
|
2116
|
-
exceptionCtor: __BaseException,
|
|
2117
1973
|
errorCode,
|
|
2118
1974
|
});
|
|
2119
1975
|
}
|
|
@@ -2129,7 +1985,7 @@ export const de_ModifyDBClusterParameterGroupCommand = async (output, context) =
|
|
|
2129
1985
|
$metadata: deserializeMetadata(output),
|
|
2130
1986
|
...contents,
|
|
2131
1987
|
};
|
|
2132
|
-
return
|
|
1988
|
+
return response;
|
|
2133
1989
|
};
|
|
2134
1990
|
const de_ModifyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
2135
1991
|
const parsedOutput = {
|
|
@@ -2146,10 +2002,9 @@ const de_ModifyDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
2146
2002
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
2147
2003
|
default:
|
|
2148
2004
|
const parsedBody = parsedOutput.body;
|
|
2149
|
-
throwDefaultError({
|
|
2005
|
+
return throwDefaultError({
|
|
2150
2006
|
output,
|
|
2151
2007
|
parsedBody: parsedBody.Error,
|
|
2152
|
-
exceptionCtor: __BaseException,
|
|
2153
2008
|
errorCode,
|
|
2154
2009
|
});
|
|
2155
2010
|
}
|
|
@@ -2165,7 +2020,7 @@ export const de_ModifyDBClusterSnapshotAttributeCommand = async (output, context
|
|
|
2165
2020
|
$metadata: deserializeMetadata(output),
|
|
2166
2021
|
...contents,
|
|
2167
2022
|
};
|
|
2168
|
-
return
|
|
2023
|
+
return response;
|
|
2169
2024
|
};
|
|
2170
2025
|
const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context) => {
|
|
2171
2026
|
const parsedOutput = {
|
|
@@ -2185,10 +2040,9 @@ const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context)
|
|
|
2185
2040
|
throw await de_SharedSnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2186
2041
|
default:
|
|
2187
2042
|
const parsedBody = parsedOutput.body;
|
|
2188
|
-
throwDefaultError({
|
|
2043
|
+
return throwDefaultError({
|
|
2189
2044
|
output,
|
|
2190
2045
|
parsedBody: parsedBody.Error,
|
|
2191
|
-
exceptionCtor: __BaseException,
|
|
2192
2046
|
errorCode,
|
|
2193
2047
|
});
|
|
2194
2048
|
}
|
|
@@ -2204,7 +2058,7 @@ export const de_ModifyDBInstanceCommand = async (output, context) => {
|
|
|
2204
2058
|
$metadata: deserializeMetadata(output),
|
|
2205
2059
|
...contents,
|
|
2206
2060
|
};
|
|
2207
|
-
return
|
|
2061
|
+
return response;
|
|
2208
2062
|
};
|
|
2209
2063
|
const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
2210
2064
|
const parsedOutput = {
|
|
@@ -2254,10 +2108,9 @@ const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
|
2254
2108
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2255
2109
|
default:
|
|
2256
2110
|
const parsedBody = parsedOutput.body;
|
|
2257
|
-
throwDefaultError({
|
|
2111
|
+
return throwDefaultError({
|
|
2258
2112
|
output,
|
|
2259
2113
|
parsedBody: parsedBody.Error,
|
|
2260
|
-
exceptionCtor: __BaseException,
|
|
2261
2114
|
errorCode,
|
|
2262
2115
|
});
|
|
2263
2116
|
}
|
|
@@ -2273,7 +2126,7 @@ export const de_ModifyDBSubnetGroupCommand = async (output, context) => {
|
|
|
2273
2126
|
$metadata: deserializeMetadata(output),
|
|
2274
2127
|
...contents,
|
|
2275
2128
|
};
|
|
2276
|
-
return
|
|
2129
|
+
return response;
|
|
2277
2130
|
};
|
|
2278
2131
|
const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
2279
2132
|
const parsedOutput = {
|
|
@@ -2299,10 +2152,9 @@ const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
|
2299
2152
|
throw await de_SubnetAlreadyInUseRes(parsedOutput, context);
|
|
2300
2153
|
default:
|
|
2301
2154
|
const parsedBody = parsedOutput.body;
|
|
2302
|
-
throwDefaultError({
|
|
2155
|
+
return throwDefaultError({
|
|
2303
2156
|
output,
|
|
2304
2157
|
parsedBody: parsedBody.Error,
|
|
2305
|
-
exceptionCtor: __BaseException,
|
|
2306
2158
|
errorCode,
|
|
2307
2159
|
});
|
|
2308
2160
|
}
|
|
@@ -2318,7 +2170,7 @@ export const de_ModifyEventSubscriptionCommand = async (output, context) => {
|
|
|
2318
2170
|
$metadata: deserializeMetadata(output),
|
|
2319
2171
|
...contents,
|
|
2320
2172
|
};
|
|
2321
|
-
return
|
|
2173
|
+
return response;
|
|
2322
2174
|
};
|
|
2323
2175
|
const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
2324
2176
|
const parsedOutput = {
|
|
@@ -2347,10 +2199,9 @@ const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
|
2347
2199
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
2348
2200
|
default:
|
|
2349
2201
|
const parsedBody = parsedOutput.body;
|
|
2350
|
-
throwDefaultError({
|
|
2202
|
+
return throwDefaultError({
|
|
2351
2203
|
output,
|
|
2352
2204
|
parsedBody: parsedBody.Error,
|
|
2353
|
-
exceptionCtor: __BaseException,
|
|
2354
2205
|
errorCode,
|
|
2355
2206
|
});
|
|
2356
2207
|
}
|
|
@@ -2366,7 +2217,7 @@ export const de_ModifyGlobalClusterCommand = async (output, context) => {
|
|
|
2366
2217
|
$metadata: deserializeMetadata(output),
|
|
2367
2218
|
...contents,
|
|
2368
2219
|
};
|
|
2369
|
-
return
|
|
2220
|
+
return response;
|
|
2370
2221
|
};
|
|
2371
2222
|
const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
2372
2223
|
const parsedOutput = {
|
|
@@ -2383,10 +2234,9 @@ const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
|
2383
2234
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
2384
2235
|
default:
|
|
2385
2236
|
const parsedBody = parsedOutput.body;
|
|
2386
|
-
throwDefaultError({
|
|
2237
|
+
return throwDefaultError({
|
|
2387
2238
|
output,
|
|
2388
2239
|
parsedBody: parsedBody.Error,
|
|
2389
|
-
exceptionCtor: __BaseException,
|
|
2390
2240
|
errorCode,
|
|
2391
2241
|
});
|
|
2392
2242
|
}
|
|
@@ -2402,7 +2252,7 @@ export const de_RebootDBInstanceCommand = async (output, context) => {
|
|
|
2402
2252
|
$metadata: deserializeMetadata(output),
|
|
2403
2253
|
...contents,
|
|
2404
2254
|
};
|
|
2405
|
-
return
|
|
2255
|
+
return response;
|
|
2406
2256
|
};
|
|
2407
2257
|
const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
2408
2258
|
const parsedOutput = {
|
|
@@ -2419,10 +2269,9 @@ const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
|
2419
2269
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2420
2270
|
default:
|
|
2421
2271
|
const parsedBody = parsedOutput.body;
|
|
2422
|
-
throwDefaultError({
|
|
2272
|
+
return throwDefaultError({
|
|
2423
2273
|
output,
|
|
2424
2274
|
parsedBody: parsedBody.Error,
|
|
2425
|
-
exceptionCtor: __BaseException,
|
|
2426
2275
|
errorCode,
|
|
2427
2276
|
});
|
|
2428
2277
|
}
|
|
@@ -2438,7 +2287,7 @@ export const de_RemoveFromGlobalClusterCommand = async (output, context) => {
|
|
|
2438
2287
|
$metadata: deserializeMetadata(output),
|
|
2439
2288
|
...contents,
|
|
2440
2289
|
};
|
|
2441
|
-
return
|
|
2290
|
+
return response;
|
|
2442
2291
|
};
|
|
2443
2292
|
const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
2444
2293
|
const parsedOutput = {
|
|
@@ -2458,10 +2307,9 @@ const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
|
2458
2307
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
2459
2308
|
default:
|
|
2460
2309
|
const parsedBody = parsedOutput.body;
|
|
2461
|
-
throwDefaultError({
|
|
2310
|
+
return throwDefaultError({
|
|
2462
2311
|
output,
|
|
2463
2312
|
parsedBody: parsedBody.Error,
|
|
2464
|
-
exceptionCtor: __BaseException,
|
|
2465
2313
|
errorCode,
|
|
2466
2314
|
});
|
|
2467
2315
|
}
|
|
@@ -2477,7 +2325,7 @@ export const de_RemoveSourceIdentifierFromSubscriptionCommand = async (output, c
|
|
|
2477
2325
|
$metadata: deserializeMetadata(output),
|
|
2478
2326
|
...contents,
|
|
2479
2327
|
};
|
|
2480
|
-
return
|
|
2328
|
+
return response;
|
|
2481
2329
|
};
|
|
2482
2330
|
const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, context) => {
|
|
2483
2331
|
const parsedOutput = {
|
|
@@ -2494,10 +2342,9 @@ const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, con
|
|
|
2494
2342
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
2495
2343
|
default:
|
|
2496
2344
|
const parsedBody = parsedOutput.body;
|
|
2497
|
-
throwDefaultError({
|
|
2345
|
+
return throwDefaultError({
|
|
2498
2346
|
output,
|
|
2499
2347
|
parsedBody: parsedBody.Error,
|
|
2500
|
-
exceptionCtor: __BaseException,
|
|
2501
2348
|
errorCode,
|
|
2502
2349
|
});
|
|
2503
2350
|
}
|
|
@@ -2510,7 +2357,7 @@ export const de_RemoveTagsFromResourceCommand = async (output, context) => {
|
|
|
2510
2357
|
const response = {
|
|
2511
2358
|
$metadata: deserializeMetadata(output),
|
|
2512
2359
|
};
|
|
2513
|
-
return
|
|
2360
|
+
return response;
|
|
2514
2361
|
};
|
|
2515
2362
|
const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
2516
2363
|
const parsedOutput = {
|
|
@@ -2530,10 +2377,9 @@ const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
|
2530
2377
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2531
2378
|
default:
|
|
2532
2379
|
const parsedBody = parsedOutput.body;
|
|
2533
|
-
throwDefaultError({
|
|
2380
|
+
return throwDefaultError({
|
|
2534
2381
|
output,
|
|
2535
2382
|
parsedBody: parsedBody.Error,
|
|
2536
|
-
exceptionCtor: __BaseException,
|
|
2537
2383
|
errorCode,
|
|
2538
2384
|
});
|
|
2539
2385
|
}
|
|
@@ -2549,7 +2395,7 @@ export const de_ResetDBClusterParameterGroupCommand = async (output, context) =>
|
|
|
2549
2395
|
$metadata: deserializeMetadata(output),
|
|
2550
2396
|
...contents,
|
|
2551
2397
|
};
|
|
2552
|
-
return
|
|
2398
|
+
return response;
|
|
2553
2399
|
};
|
|
2554
2400
|
const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
2555
2401
|
const parsedOutput = {
|
|
@@ -2566,10 +2412,9 @@ const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
2566
2412
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
2567
2413
|
default:
|
|
2568
2414
|
const parsedBody = parsedOutput.body;
|
|
2569
|
-
throwDefaultError({
|
|
2415
|
+
return throwDefaultError({
|
|
2570
2416
|
output,
|
|
2571
2417
|
parsedBody: parsedBody.Error,
|
|
2572
|
-
exceptionCtor: __BaseException,
|
|
2573
2418
|
errorCode,
|
|
2574
2419
|
});
|
|
2575
2420
|
}
|
|
@@ -2585,7 +2430,7 @@ export const de_RestoreDBClusterFromSnapshotCommand = async (output, context) =>
|
|
|
2585
2430
|
$metadata: deserializeMetadata(output),
|
|
2586
2431
|
...contents,
|
|
2587
2432
|
};
|
|
2588
|
-
return
|
|
2433
|
+
return response;
|
|
2589
2434
|
};
|
|
2590
2435
|
const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
2591
2436
|
const parsedOutput = {
|
|
@@ -2638,10 +2483,9 @@ const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
|
2638
2483
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2639
2484
|
default:
|
|
2640
2485
|
const parsedBody = parsedOutput.body;
|
|
2641
|
-
throwDefaultError({
|
|
2486
|
+
return throwDefaultError({
|
|
2642
2487
|
output,
|
|
2643
2488
|
parsedBody: parsedBody.Error,
|
|
2644
|
-
exceptionCtor: __BaseException,
|
|
2645
2489
|
errorCode,
|
|
2646
2490
|
});
|
|
2647
2491
|
}
|
|
@@ -2657,7 +2501,7 @@ export const de_RestoreDBClusterToPointInTimeCommand = async (output, context) =
|
|
|
2657
2501
|
$metadata: deserializeMetadata(output),
|
|
2658
2502
|
...contents,
|
|
2659
2503
|
};
|
|
2660
|
-
return
|
|
2504
|
+
return response;
|
|
2661
2505
|
};
|
|
2662
2506
|
const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) => {
|
|
2663
2507
|
const parsedOutput = {
|
|
@@ -2713,10 +2557,9 @@ const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) =>
|
|
|
2713
2557
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2714
2558
|
default:
|
|
2715
2559
|
const parsedBody = parsedOutput.body;
|
|
2716
|
-
throwDefaultError({
|
|
2560
|
+
return throwDefaultError({
|
|
2717
2561
|
output,
|
|
2718
2562
|
parsedBody: parsedBody.Error,
|
|
2719
|
-
exceptionCtor: __BaseException,
|
|
2720
2563
|
errorCode,
|
|
2721
2564
|
});
|
|
2722
2565
|
}
|
|
@@ -2732,7 +2575,7 @@ export const de_StartDBClusterCommand = async (output, context) => {
|
|
|
2732
2575
|
$metadata: deserializeMetadata(output),
|
|
2733
2576
|
...contents,
|
|
2734
2577
|
};
|
|
2735
|
-
return
|
|
2578
|
+
return response;
|
|
2736
2579
|
};
|
|
2737
2580
|
const de_StartDBClusterCommandError = async (output, context) => {
|
|
2738
2581
|
const parsedOutput = {
|
|
@@ -2752,10 +2595,9 @@ const de_StartDBClusterCommandError = async (output, context) => {
|
|
|
2752
2595
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2753
2596
|
default:
|
|
2754
2597
|
const parsedBody = parsedOutput.body;
|
|
2755
|
-
throwDefaultError({
|
|
2598
|
+
return throwDefaultError({
|
|
2756
2599
|
output,
|
|
2757
2600
|
parsedBody: parsedBody.Error,
|
|
2758
|
-
exceptionCtor: __BaseException,
|
|
2759
2601
|
errorCode,
|
|
2760
2602
|
});
|
|
2761
2603
|
}
|
|
@@ -2771,7 +2613,7 @@ export const de_StopDBClusterCommand = async (output, context) => {
|
|
|
2771
2613
|
$metadata: deserializeMetadata(output),
|
|
2772
2614
|
...contents,
|
|
2773
2615
|
};
|
|
2774
|
-
return
|
|
2616
|
+
return response;
|
|
2775
2617
|
};
|
|
2776
2618
|
const de_StopDBClusterCommandError = async (output, context) => {
|
|
2777
2619
|
const parsedOutput = {
|
|
@@ -2791,10 +2633,9 @@ const de_StopDBClusterCommandError = async (output, context) => {
|
|
|
2791
2633
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2792
2634
|
default:
|
|
2793
2635
|
const parsedBody = parsedOutput.body;
|
|
2794
|
-
throwDefaultError({
|
|
2636
|
+
return throwDefaultError({
|
|
2795
2637
|
output,
|
|
2796
2638
|
parsedBody: parsedBody.Error,
|
|
2797
|
-
exceptionCtor: __BaseException,
|
|
2798
2639
|
errorCode,
|
|
2799
2640
|
});
|
|
2800
2641
|
}
|
|
@@ -6712,6 +6553,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
6712
6553
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
6713
6554
|
};
|
|
6714
6555
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
6556
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
6715
6557
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
6716
6558
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
6717
6559
|
const contents = {
|
|
@@ -6730,6 +6572,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
6730
6572
|
}
|
|
6731
6573
|
return new __HttpRequest(contents);
|
|
6732
6574
|
};
|
|
6575
|
+
const SHARED_HEADERS = {
|
|
6576
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
6577
|
+
};
|
|
6733
6578
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
6734
6579
|
if (encoded.length) {
|
|
6735
6580
|
const parser = new XMLParser({
|