@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
|
@@ -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, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, 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, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { AuthorizationNotFoundFault, CertificateNotFoundFault, DBClusterAlreadyExistsFault, DBClusterEndpointAlreadyExistsFault, DBClusterEndpointNotFoundFault, DBClusterEndpointQuotaExceededFault, DBClusterNotFoundFault, DBClusterParameterGroupNotFoundFault, DBClusterQuotaExceededFault, DBClusterRoleAlreadyExistsFault, DBClusterRoleNotFoundFault, DBClusterRoleQuotaExceededFault, DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, DBInstanceAlreadyExistsFault, DBInstanceNotFoundFault, DBParameterGroupAlreadyExistsFault, DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault, DBSecurityGroupNotFoundFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DBUpgradeDependencyFailureFault, DomainNotFoundFault, EventSubscriptionQuotaExceededFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBClusterCapacityFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, InvalidDBClusterEndpointStateFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBSecurityGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidGlobalClusterStateFault, InvalidRestoreFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, OptionGroupNotFoundFault, ProvisionedIopsNotAvailableInAZFault, ResourceNotFoundFault, SharedSnapshotQuotaExceededFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubnetAlreadyInUse, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, } from "../models/models_0";
|
|
5
5
|
import { NeptuneServiceException as __BaseException } from "../models/NeptuneServiceException";
|
|
6
6
|
export const se_AddRoleToDBClusterCommand = 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_AddRoleToDBClusterMessage(input, context),
|
|
@@ -16,9 +14,7 @@ export const se_AddRoleToDBClusterCommand = async (input, context) => {
|
|
|
16
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
15
|
};
|
|
18
16
|
export const se_AddSourceIdentifierToSubscriptionCommand = 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_AddSourceIdentifierToSubscriptionMessage(input, context),
|
|
@@ -28,9 +24,7 @@ export const se_AddSourceIdentifierToSubscriptionCommand = async (input, context
|
|
|
28
24
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
25
|
};
|
|
30
26
|
export const se_AddTagsToResourceCommand = 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_AddTagsToResourceMessage(input, context),
|
|
@@ -40,9 +34,7 @@ export const se_AddTagsToResourceCommand = async (input, context) => {
|
|
|
40
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
35
|
};
|
|
42
36
|
export const se_ApplyPendingMaintenanceActionCommand = 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_ApplyPendingMaintenanceActionMessage(input, context),
|
|
@@ -52,9 +44,7 @@ export const se_ApplyPendingMaintenanceActionCommand = async (input, context) =>
|
|
|
52
44
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
45
|
};
|
|
54
46
|
export const se_CopyDBClusterParameterGroupCommand = 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_CopyDBClusterParameterGroupMessage(input, context),
|
|
@@ -64,9 +54,7 @@ export const se_CopyDBClusterParameterGroupCommand = async (input, context) => {
|
|
|
64
54
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
55
|
};
|
|
66
56
|
export const se_CopyDBClusterSnapshotCommand = 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_CopyDBClusterSnapshotMessage(input, context),
|
|
@@ -76,9 +64,7 @@ export const se_CopyDBClusterSnapshotCommand = async (input, context) => {
|
|
|
76
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
65
|
};
|
|
78
66
|
export const se_CopyDBParameterGroupCommand = 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_CopyDBParameterGroupMessage(input, context),
|
|
@@ -88,9 +74,7 @@ export const se_CopyDBParameterGroupCommand = async (input, context) => {
|
|
|
88
74
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
75
|
};
|
|
90
76
|
export const se_CreateDBClusterCommand = 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_CreateDBClusterMessage(input, context),
|
|
@@ -100,9 +84,7 @@ export const se_CreateDBClusterCommand = async (input, context) => {
|
|
|
100
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
85
|
};
|
|
102
86
|
export const se_CreateDBClusterEndpointCommand = 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_CreateDBClusterEndpointMessage(input, context),
|
|
@@ -112,9 +94,7 @@ export const se_CreateDBClusterEndpointCommand = async (input, context) => {
|
|
|
112
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
95
|
};
|
|
114
96
|
export const se_CreateDBClusterParameterGroupCommand = 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_CreateDBClusterParameterGroupMessage(input, context),
|
|
@@ -124,9 +104,7 @@ export const se_CreateDBClusterParameterGroupCommand = async (input, context) =>
|
|
|
124
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
105
|
};
|
|
126
106
|
export const se_CreateDBClusterSnapshotCommand = 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_CreateDBClusterSnapshotMessage(input, context),
|
|
@@ -136,9 +114,7 @@ export const se_CreateDBClusterSnapshotCommand = async (input, context) => {
|
|
|
136
114
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
115
|
};
|
|
138
116
|
export const se_CreateDBInstanceCommand = 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_CreateDBInstanceMessage(input, context),
|
|
@@ -148,9 +124,7 @@ export const se_CreateDBInstanceCommand = async (input, context) => {
|
|
|
148
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
125
|
};
|
|
150
126
|
export const se_CreateDBParameterGroupCommand = 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_CreateDBParameterGroupMessage(input, context),
|
|
@@ -160,9 +134,7 @@ export const se_CreateDBParameterGroupCommand = async (input, context) => {
|
|
|
160
134
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
135
|
};
|
|
162
136
|
export const se_CreateDBSubnetGroupCommand = 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_CreateDBSubnetGroupMessage(input, context),
|
|
@@ -172,9 +144,7 @@ export const se_CreateDBSubnetGroupCommand = async (input, context) => {
|
|
|
172
144
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
145
|
};
|
|
174
146
|
export const se_CreateEventSubscriptionCommand = 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_CreateEventSubscriptionMessage(input, context),
|
|
@@ -184,9 +154,7 @@ export const se_CreateEventSubscriptionCommand = async (input, context) => {
|
|
|
184
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
155
|
};
|
|
186
156
|
export const se_CreateGlobalClusterCommand = 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_CreateGlobalClusterMessage(input, context),
|
|
@@ -196,9 +164,7 @@ export const se_CreateGlobalClusterCommand = async (input, context) => {
|
|
|
196
164
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
165
|
};
|
|
198
166
|
export const se_DeleteDBClusterCommand = 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_DeleteDBClusterMessage(input, context),
|
|
@@ -208,9 +174,7 @@ export const se_DeleteDBClusterCommand = async (input, context) => {
|
|
|
208
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
175
|
};
|
|
210
176
|
export const se_DeleteDBClusterEndpointCommand = 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_DeleteDBClusterEndpointMessage(input, context),
|
|
@@ -220,9 +184,7 @@ export const se_DeleteDBClusterEndpointCommand = async (input, context) => {
|
|
|
220
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
185
|
};
|
|
222
186
|
export const se_DeleteDBClusterParameterGroupCommand = 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_DeleteDBClusterParameterGroupMessage(input, context),
|
|
@@ -232,9 +194,7 @@ export const se_DeleteDBClusterParameterGroupCommand = async (input, context) =>
|
|
|
232
194
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
195
|
};
|
|
234
196
|
export const se_DeleteDBClusterSnapshotCommand = 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_DeleteDBClusterSnapshotMessage(input, context),
|
|
@@ -244,9 +204,7 @@ export const se_DeleteDBClusterSnapshotCommand = async (input, context) => {
|
|
|
244
204
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
205
|
};
|
|
246
206
|
export const se_DeleteDBInstanceCommand = 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_DeleteDBInstanceMessage(input, context),
|
|
@@ -256,9 +214,7 @@ export const se_DeleteDBInstanceCommand = async (input, context) => {
|
|
|
256
214
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
215
|
};
|
|
258
216
|
export const se_DeleteDBParameterGroupCommand = 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_DeleteDBParameterGroupMessage(input, context),
|
|
@@ -268,9 +224,7 @@ export const se_DeleteDBParameterGroupCommand = async (input, context) => {
|
|
|
268
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
225
|
};
|
|
270
226
|
export const se_DeleteDBSubnetGroupCommand = 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_DeleteDBSubnetGroupMessage(input, context),
|
|
@@ -280,9 +234,7 @@ export const se_DeleteDBSubnetGroupCommand = async (input, context) => {
|
|
|
280
234
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
235
|
};
|
|
282
236
|
export const se_DeleteEventSubscriptionCommand = 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_DeleteEventSubscriptionMessage(input, context),
|
|
@@ -292,9 +244,7 @@ export const se_DeleteEventSubscriptionCommand = async (input, context) => {
|
|
|
292
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
245
|
};
|
|
294
246
|
export const se_DeleteGlobalClusterCommand = 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_DeleteGlobalClusterMessage(input, context),
|
|
@@ -304,9 +254,7 @@ export const se_DeleteGlobalClusterCommand = async (input, context) => {
|
|
|
304
254
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
255
|
};
|
|
306
256
|
export const se_DescribeDBClusterEndpointsCommand = 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_DescribeDBClusterEndpointsMessage(input, context),
|
|
@@ -316,9 +264,7 @@ export const se_DescribeDBClusterEndpointsCommand = async (input, context) => {
|
|
|
316
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
265
|
};
|
|
318
266
|
export const se_DescribeDBClusterParameterGroupsCommand = 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_DescribeDBClusterParameterGroupsMessage(input, context),
|
|
@@ -328,9 +274,7 @@ export const se_DescribeDBClusterParameterGroupsCommand = async (input, context)
|
|
|
328
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
275
|
};
|
|
330
276
|
export const se_DescribeDBClusterParametersCommand = 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_DescribeDBClusterParametersMessage(input, context),
|
|
@@ -340,9 +284,7 @@ export const se_DescribeDBClusterParametersCommand = async (input, context) => {
|
|
|
340
284
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
285
|
};
|
|
342
286
|
export const se_DescribeDBClustersCommand = 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_DescribeDBClustersMessage(input, context),
|
|
@@ -352,9 +294,7 @@ export const se_DescribeDBClustersCommand = async (input, context) => {
|
|
|
352
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
295
|
};
|
|
354
296
|
export const se_DescribeDBClusterSnapshotAttributesCommand = 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_DescribeDBClusterSnapshotAttributesMessage(input, context),
|
|
@@ -364,9 +304,7 @@ export const se_DescribeDBClusterSnapshotAttributesCommand = async (input, conte
|
|
|
364
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
305
|
};
|
|
366
306
|
export const se_DescribeDBClusterSnapshotsCommand = 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_DescribeDBClusterSnapshotsMessage(input, context),
|
|
@@ -376,9 +314,7 @@ export const se_DescribeDBClusterSnapshotsCommand = async (input, context) => {
|
|
|
376
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
315
|
};
|
|
378
316
|
export const se_DescribeDBEngineVersionsCommand = 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_DescribeDBEngineVersionsMessage(input, context),
|
|
@@ -388,9 +324,7 @@ export const se_DescribeDBEngineVersionsCommand = async (input, context) => {
|
|
|
388
324
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
389
325
|
};
|
|
390
326
|
export const se_DescribeDBInstancesCommand = 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_DescribeDBInstancesMessage(input, context),
|
|
@@ -400,9 +334,7 @@ export const se_DescribeDBInstancesCommand = async (input, context) => {
|
|
|
400
334
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
335
|
};
|
|
402
336
|
export const se_DescribeDBParameterGroupsCommand = 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_DescribeDBParameterGroupsMessage(input, context),
|
|
@@ -412,9 +344,7 @@ export const se_DescribeDBParameterGroupsCommand = async (input, context) => {
|
|
|
412
344
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
413
345
|
};
|
|
414
346
|
export const se_DescribeDBParametersCommand = 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_DescribeDBParametersMessage(input, context),
|
|
@@ -424,9 +354,7 @@ export const se_DescribeDBParametersCommand = async (input, context) => {
|
|
|
424
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
425
355
|
};
|
|
426
356
|
export const se_DescribeDBSubnetGroupsCommand = 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_DescribeDBSubnetGroupsMessage(input, context),
|
|
@@ -436,9 +364,7 @@ export const se_DescribeDBSubnetGroupsCommand = async (input, context) => {
|
|
|
436
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
365
|
};
|
|
438
366
|
export const se_DescribeEngineDefaultClusterParametersCommand = 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_DescribeEngineDefaultClusterParametersMessage(input, context),
|
|
@@ -448,9 +374,7 @@ export const se_DescribeEngineDefaultClusterParametersCommand = async (input, co
|
|
|
448
374
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
449
375
|
};
|
|
450
376
|
export const se_DescribeEngineDefaultParametersCommand = 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_DescribeEngineDefaultParametersMessage(input, context),
|
|
@@ -460,9 +384,7 @@ export const se_DescribeEngineDefaultParametersCommand = async (input, context)
|
|
|
460
384
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
461
385
|
};
|
|
462
386
|
export const se_DescribeEventCategoriesCommand = 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_DescribeEventCategoriesMessage(input, context),
|
|
@@ -472,9 +394,7 @@ export const se_DescribeEventCategoriesCommand = async (input, context) => {
|
|
|
472
394
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
473
395
|
};
|
|
474
396
|
export const se_DescribeEventsCommand = 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_DescribeEventsMessage(input, context),
|
|
@@ -484,9 +404,7 @@ export const se_DescribeEventsCommand = async (input, context) => {
|
|
|
484
404
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
485
405
|
};
|
|
486
406
|
export const se_DescribeEventSubscriptionsCommand = 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_DescribeEventSubscriptionsMessage(input, context),
|
|
@@ -496,9 +414,7 @@ export const se_DescribeEventSubscriptionsCommand = async (input, context) => {
|
|
|
496
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
497
415
|
};
|
|
498
416
|
export const se_DescribeGlobalClustersCommand = 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_DescribeGlobalClustersMessage(input, context),
|
|
@@ -508,9 +424,7 @@ export const se_DescribeGlobalClustersCommand = async (input, context) => {
|
|
|
508
424
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
509
425
|
};
|
|
510
426
|
export const se_DescribeOrderableDBInstanceOptionsCommand = 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_DescribeOrderableDBInstanceOptionsMessage(input, context),
|
|
@@ -520,9 +434,7 @@ export const se_DescribeOrderableDBInstanceOptionsCommand = async (input, contex
|
|
|
520
434
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
521
435
|
};
|
|
522
436
|
export const se_DescribePendingMaintenanceActionsCommand = 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_DescribePendingMaintenanceActionsMessage(input, context),
|
|
@@ -532,9 +444,7 @@ export const se_DescribePendingMaintenanceActionsCommand = async (input, context
|
|
|
532
444
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
533
445
|
};
|
|
534
446
|
export const se_DescribeValidDBInstanceModificationsCommand = 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_DescribeValidDBInstanceModificationsMessage(input, context),
|
|
@@ -544,9 +454,7 @@ export const se_DescribeValidDBInstanceModificationsCommand = async (input, cont
|
|
|
544
454
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
545
455
|
};
|
|
546
456
|
export const se_FailoverDBClusterCommand = 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_FailoverDBClusterMessage(input, context),
|
|
@@ -556,9 +464,7 @@ export const se_FailoverDBClusterCommand = async (input, context) => {
|
|
|
556
464
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
557
465
|
};
|
|
558
466
|
export const se_FailoverGlobalClusterCommand = 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_FailoverGlobalClusterMessage(input, context),
|
|
@@ -568,9 +474,7 @@ export const se_FailoverGlobalClusterCommand = async (input, context) => {
|
|
|
568
474
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
569
475
|
};
|
|
570
476
|
export const se_ListTagsForResourceCommand = 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_ListTagsForResourceMessage(input, context),
|
|
@@ -580,9 +484,7 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
580
484
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
581
485
|
};
|
|
582
486
|
export const se_ModifyDBClusterCommand = 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_ModifyDBClusterMessage(input, context),
|
|
@@ -592,9 +494,7 @@ export const se_ModifyDBClusterCommand = async (input, context) => {
|
|
|
592
494
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
593
495
|
};
|
|
594
496
|
export const se_ModifyDBClusterEndpointCommand = 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_ModifyDBClusterEndpointMessage(input, context),
|
|
@@ -604,9 +504,7 @@ export const se_ModifyDBClusterEndpointCommand = async (input, context) => {
|
|
|
604
504
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
605
505
|
};
|
|
606
506
|
export const se_ModifyDBClusterParameterGroupCommand = 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_ModifyDBClusterParameterGroupMessage(input, context),
|
|
@@ -616,9 +514,7 @@ export const se_ModifyDBClusterParameterGroupCommand = async (input, context) =>
|
|
|
616
514
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
617
515
|
};
|
|
618
516
|
export const se_ModifyDBClusterSnapshotAttributeCommand = 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_ModifyDBClusterSnapshotAttributeMessage(input, context),
|
|
@@ -628,9 +524,7 @@ export const se_ModifyDBClusterSnapshotAttributeCommand = async (input, context)
|
|
|
628
524
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
629
525
|
};
|
|
630
526
|
export const se_ModifyDBInstanceCommand = 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_ModifyDBInstanceMessage(input, context),
|
|
@@ -640,9 +534,7 @@ export const se_ModifyDBInstanceCommand = async (input, context) => {
|
|
|
640
534
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
641
535
|
};
|
|
642
536
|
export const se_ModifyDBParameterGroupCommand = async (input, context) => {
|
|
643
|
-
const headers =
|
|
644
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
645
|
-
};
|
|
537
|
+
const headers = SHARED_HEADERS;
|
|
646
538
|
let body;
|
|
647
539
|
body = buildFormUrlencodedString({
|
|
648
540
|
...se_ModifyDBParameterGroupMessage(input, context),
|
|
@@ -652,9 +544,7 @@ export const se_ModifyDBParameterGroupCommand = async (input, context) => {
|
|
|
652
544
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
653
545
|
};
|
|
654
546
|
export const se_ModifyDBSubnetGroupCommand = async (input, context) => {
|
|
655
|
-
const headers =
|
|
656
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
657
|
-
};
|
|
547
|
+
const headers = SHARED_HEADERS;
|
|
658
548
|
let body;
|
|
659
549
|
body = buildFormUrlencodedString({
|
|
660
550
|
...se_ModifyDBSubnetGroupMessage(input, context),
|
|
@@ -664,9 +554,7 @@ export const se_ModifyDBSubnetGroupCommand = async (input, context) => {
|
|
|
664
554
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
665
555
|
};
|
|
666
556
|
export const se_ModifyEventSubscriptionCommand = async (input, context) => {
|
|
667
|
-
const headers =
|
|
668
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
669
|
-
};
|
|
557
|
+
const headers = SHARED_HEADERS;
|
|
670
558
|
let body;
|
|
671
559
|
body = buildFormUrlencodedString({
|
|
672
560
|
...se_ModifyEventSubscriptionMessage(input, context),
|
|
@@ -676,9 +564,7 @@ export const se_ModifyEventSubscriptionCommand = async (input, context) => {
|
|
|
676
564
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
677
565
|
};
|
|
678
566
|
export const se_ModifyGlobalClusterCommand = async (input, context) => {
|
|
679
|
-
const headers =
|
|
680
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
681
|
-
};
|
|
567
|
+
const headers = SHARED_HEADERS;
|
|
682
568
|
let body;
|
|
683
569
|
body = buildFormUrlencodedString({
|
|
684
570
|
...se_ModifyGlobalClusterMessage(input, context),
|
|
@@ -688,9 +574,7 @@ export const se_ModifyGlobalClusterCommand = async (input, context) => {
|
|
|
688
574
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
689
575
|
};
|
|
690
576
|
export const se_PromoteReadReplicaDBClusterCommand = async (input, context) => {
|
|
691
|
-
const headers =
|
|
692
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
693
|
-
};
|
|
577
|
+
const headers = SHARED_HEADERS;
|
|
694
578
|
let body;
|
|
695
579
|
body = buildFormUrlencodedString({
|
|
696
580
|
...se_PromoteReadReplicaDBClusterMessage(input, context),
|
|
@@ -700,9 +584,7 @@ export const se_PromoteReadReplicaDBClusterCommand = async (input, context) => {
|
|
|
700
584
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
701
585
|
};
|
|
702
586
|
export const se_RebootDBInstanceCommand = async (input, context) => {
|
|
703
|
-
const headers =
|
|
704
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
705
|
-
};
|
|
587
|
+
const headers = SHARED_HEADERS;
|
|
706
588
|
let body;
|
|
707
589
|
body = buildFormUrlencodedString({
|
|
708
590
|
...se_RebootDBInstanceMessage(input, context),
|
|
@@ -712,9 +594,7 @@ export const se_RebootDBInstanceCommand = async (input, context) => {
|
|
|
712
594
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
713
595
|
};
|
|
714
596
|
export const se_RemoveFromGlobalClusterCommand = async (input, context) => {
|
|
715
|
-
const headers =
|
|
716
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
717
|
-
};
|
|
597
|
+
const headers = SHARED_HEADERS;
|
|
718
598
|
let body;
|
|
719
599
|
body = buildFormUrlencodedString({
|
|
720
600
|
...se_RemoveFromGlobalClusterMessage(input, context),
|
|
@@ -724,9 +604,7 @@ export const se_RemoveFromGlobalClusterCommand = async (input, context) => {
|
|
|
724
604
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
725
605
|
};
|
|
726
606
|
export const se_RemoveRoleFromDBClusterCommand = async (input, context) => {
|
|
727
|
-
const headers =
|
|
728
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
729
|
-
};
|
|
607
|
+
const headers = SHARED_HEADERS;
|
|
730
608
|
let body;
|
|
731
609
|
body = buildFormUrlencodedString({
|
|
732
610
|
...se_RemoveRoleFromDBClusterMessage(input, context),
|
|
@@ -736,9 +614,7 @@ export const se_RemoveRoleFromDBClusterCommand = async (input, context) => {
|
|
|
736
614
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
737
615
|
};
|
|
738
616
|
export const se_RemoveSourceIdentifierFromSubscriptionCommand = async (input, context) => {
|
|
739
|
-
const headers =
|
|
740
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
741
|
-
};
|
|
617
|
+
const headers = SHARED_HEADERS;
|
|
742
618
|
let body;
|
|
743
619
|
body = buildFormUrlencodedString({
|
|
744
620
|
...se_RemoveSourceIdentifierFromSubscriptionMessage(input, context),
|
|
@@ -748,9 +624,7 @@ export const se_RemoveSourceIdentifierFromSubscriptionCommand = async (input, co
|
|
|
748
624
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
749
625
|
};
|
|
750
626
|
export const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
751
|
-
const headers =
|
|
752
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
753
|
-
};
|
|
627
|
+
const headers = SHARED_HEADERS;
|
|
754
628
|
let body;
|
|
755
629
|
body = buildFormUrlencodedString({
|
|
756
630
|
...se_RemoveTagsFromResourceMessage(input, context),
|
|
@@ -760,9 +634,7 @@ export const se_RemoveTagsFromResourceCommand = async (input, context) => {
|
|
|
760
634
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
761
635
|
};
|
|
762
636
|
export const se_ResetDBClusterParameterGroupCommand = async (input, context) => {
|
|
763
|
-
const headers =
|
|
764
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
765
|
-
};
|
|
637
|
+
const headers = SHARED_HEADERS;
|
|
766
638
|
let body;
|
|
767
639
|
body = buildFormUrlencodedString({
|
|
768
640
|
...se_ResetDBClusterParameterGroupMessage(input, context),
|
|
@@ -772,9 +644,7 @@ export const se_ResetDBClusterParameterGroupCommand = async (input, context) =>
|
|
|
772
644
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
773
645
|
};
|
|
774
646
|
export const se_ResetDBParameterGroupCommand = async (input, context) => {
|
|
775
|
-
const headers =
|
|
776
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
777
|
-
};
|
|
647
|
+
const headers = SHARED_HEADERS;
|
|
778
648
|
let body;
|
|
779
649
|
body = buildFormUrlencodedString({
|
|
780
650
|
...se_ResetDBParameterGroupMessage(input, context),
|
|
@@ -784,9 +654,7 @@ export const se_ResetDBParameterGroupCommand = async (input, context) => {
|
|
|
784
654
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
785
655
|
};
|
|
786
656
|
export const se_RestoreDBClusterFromSnapshotCommand = async (input, context) => {
|
|
787
|
-
const headers =
|
|
788
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
789
|
-
};
|
|
657
|
+
const headers = SHARED_HEADERS;
|
|
790
658
|
let body;
|
|
791
659
|
body = buildFormUrlencodedString({
|
|
792
660
|
...se_RestoreDBClusterFromSnapshotMessage(input, context),
|
|
@@ -796,9 +664,7 @@ export const se_RestoreDBClusterFromSnapshotCommand = async (input, context) =>
|
|
|
796
664
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
797
665
|
};
|
|
798
666
|
export const se_RestoreDBClusterToPointInTimeCommand = async (input, context) => {
|
|
799
|
-
const headers =
|
|
800
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
801
|
-
};
|
|
667
|
+
const headers = SHARED_HEADERS;
|
|
802
668
|
let body;
|
|
803
669
|
body = buildFormUrlencodedString({
|
|
804
670
|
...se_RestoreDBClusterToPointInTimeMessage(input, context),
|
|
@@ -808,9 +674,7 @@ export const se_RestoreDBClusterToPointInTimeCommand = async (input, context) =>
|
|
|
808
674
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
809
675
|
};
|
|
810
676
|
export const se_StartDBClusterCommand = async (input, context) => {
|
|
811
|
-
const headers =
|
|
812
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
813
|
-
};
|
|
677
|
+
const headers = SHARED_HEADERS;
|
|
814
678
|
let body;
|
|
815
679
|
body = buildFormUrlencodedString({
|
|
816
680
|
...se_StartDBClusterMessage(input, context),
|
|
@@ -820,9 +684,7 @@ export const se_StartDBClusterCommand = async (input, context) => {
|
|
|
820
684
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
821
685
|
};
|
|
822
686
|
export const se_StopDBClusterCommand = async (input, context) => {
|
|
823
|
-
const headers =
|
|
824
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
825
|
-
};
|
|
687
|
+
const headers = SHARED_HEADERS;
|
|
826
688
|
let body;
|
|
827
689
|
body = buildFormUrlencodedString({
|
|
828
690
|
...se_StopDBClusterMessage(input, context),
|
|
@@ -839,7 +701,7 @@ export const de_AddRoleToDBClusterCommand = async (output, context) => {
|
|
|
839
701
|
const response = {
|
|
840
702
|
$metadata: deserializeMetadata(output),
|
|
841
703
|
};
|
|
842
|
-
return
|
|
704
|
+
return response;
|
|
843
705
|
};
|
|
844
706
|
const de_AddRoleToDBClusterCommandError = async (output, context) => {
|
|
845
707
|
const parsedOutput = {
|
|
@@ -862,10 +724,9 @@ const de_AddRoleToDBClusterCommandError = async (output, context) => {
|
|
|
862
724
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
863
725
|
default:
|
|
864
726
|
const parsedBody = parsedOutput.body;
|
|
865
|
-
throwDefaultError({
|
|
727
|
+
return throwDefaultError({
|
|
866
728
|
output,
|
|
867
729
|
parsedBody: parsedBody.Error,
|
|
868
|
-
exceptionCtor: __BaseException,
|
|
869
730
|
errorCode,
|
|
870
731
|
});
|
|
871
732
|
}
|
|
@@ -881,7 +742,7 @@ export const de_AddSourceIdentifierToSubscriptionCommand = async (output, contex
|
|
|
881
742
|
$metadata: deserializeMetadata(output),
|
|
882
743
|
...contents,
|
|
883
744
|
};
|
|
884
|
-
return
|
|
745
|
+
return response;
|
|
885
746
|
};
|
|
886
747
|
const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context) => {
|
|
887
748
|
const parsedOutput = {
|
|
@@ -898,10 +759,9 @@ const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context)
|
|
|
898
759
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
899
760
|
default:
|
|
900
761
|
const parsedBody = parsedOutput.body;
|
|
901
|
-
throwDefaultError({
|
|
762
|
+
return throwDefaultError({
|
|
902
763
|
output,
|
|
903
764
|
parsedBody: parsedBody.Error,
|
|
904
|
-
exceptionCtor: __BaseException,
|
|
905
765
|
errorCode,
|
|
906
766
|
});
|
|
907
767
|
}
|
|
@@ -914,7 +774,7 @@ export const de_AddTagsToResourceCommand = async (output, context) => {
|
|
|
914
774
|
const response = {
|
|
915
775
|
$metadata: deserializeMetadata(output),
|
|
916
776
|
};
|
|
917
|
-
return
|
|
777
|
+
return response;
|
|
918
778
|
};
|
|
919
779
|
const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
920
780
|
const parsedOutput = {
|
|
@@ -934,10 +794,9 @@ const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
|
934
794
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
935
795
|
default:
|
|
936
796
|
const parsedBody = parsedOutput.body;
|
|
937
|
-
throwDefaultError({
|
|
797
|
+
return throwDefaultError({
|
|
938
798
|
output,
|
|
939
799
|
parsedBody: parsedBody.Error,
|
|
940
|
-
exceptionCtor: __BaseException,
|
|
941
800
|
errorCode,
|
|
942
801
|
});
|
|
943
802
|
}
|
|
@@ -953,7 +812,7 @@ export const de_ApplyPendingMaintenanceActionCommand = async (output, context) =
|
|
|
953
812
|
$metadata: deserializeMetadata(output),
|
|
954
813
|
...contents,
|
|
955
814
|
};
|
|
956
|
-
return
|
|
815
|
+
return response;
|
|
957
816
|
};
|
|
958
817
|
const de_ApplyPendingMaintenanceActionCommandError = async (output, context) => {
|
|
959
818
|
const parsedOutput = {
|
|
@@ -967,10 +826,9 @@ const de_ApplyPendingMaintenanceActionCommandError = async (output, context) =>
|
|
|
967
826
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
968
827
|
default:
|
|
969
828
|
const parsedBody = parsedOutput.body;
|
|
970
|
-
throwDefaultError({
|
|
829
|
+
return throwDefaultError({
|
|
971
830
|
output,
|
|
972
831
|
parsedBody: parsedBody.Error,
|
|
973
|
-
exceptionCtor: __BaseException,
|
|
974
832
|
errorCode,
|
|
975
833
|
});
|
|
976
834
|
}
|
|
@@ -986,7 +844,7 @@ export const de_CopyDBClusterParameterGroupCommand = async (output, context) =>
|
|
|
986
844
|
$metadata: deserializeMetadata(output),
|
|
987
845
|
...contents,
|
|
988
846
|
};
|
|
989
|
-
return
|
|
847
|
+
return response;
|
|
990
848
|
};
|
|
991
849
|
const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
992
850
|
const parsedOutput = {
|
|
@@ -1006,10 +864,9 @@ const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
1006
864
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1007
865
|
default:
|
|
1008
866
|
const parsedBody = parsedOutput.body;
|
|
1009
|
-
throwDefaultError({
|
|
867
|
+
return throwDefaultError({
|
|
1010
868
|
output,
|
|
1011
869
|
parsedBody: parsedBody.Error,
|
|
1012
|
-
exceptionCtor: __BaseException,
|
|
1013
870
|
errorCode,
|
|
1014
871
|
});
|
|
1015
872
|
}
|
|
@@ -1025,7 +882,7 @@ export const de_CopyDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1025
882
|
$metadata: deserializeMetadata(output),
|
|
1026
883
|
...contents,
|
|
1027
884
|
};
|
|
1028
|
-
return
|
|
885
|
+
return response;
|
|
1029
886
|
};
|
|
1030
887
|
const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
1031
888
|
const parsedOutput = {
|
|
@@ -1054,10 +911,9 @@ const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1054
911
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1055
912
|
default:
|
|
1056
913
|
const parsedBody = parsedOutput.body;
|
|
1057
|
-
throwDefaultError({
|
|
914
|
+
return throwDefaultError({
|
|
1058
915
|
output,
|
|
1059
916
|
parsedBody: parsedBody.Error,
|
|
1060
|
-
exceptionCtor: __BaseException,
|
|
1061
917
|
errorCode,
|
|
1062
918
|
});
|
|
1063
919
|
}
|
|
@@ -1073,7 +929,7 @@ export const de_CopyDBParameterGroupCommand = async (output, context) => {
|
|
|
1073
929
|
$metadata: deserializeMetadata(output),
|
|
1074
930
|
...contents,
|
|
1075
931
|
};
|
|
1076
|
-
return
|
|
932
|
+
return response;
|
|
1077
933
|
};
|
|
1078
934
|
const de_CopyDBParameterGroupCommandError = async (output, context) => {
|
|
1079
935
|
const parsedOutput = {
|
|
@@ -1093,10 +949,9 @@ const de_CopyDBParameterGroupCommandError = async (output, context) => {
|
|
|
1093
949
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1094
950
|
default:
|
|
1095
951
|
const parsedBody = parsedOutput.body;
|
|
1096
|
-
throwDefaultError({
|
|
952
|
+
return throwDefaultError({
|
|
1097
953
|
output,
|
|
1098
954
|
parsedBody: parsedBody.Error,
|
|
1099
|
-
exceptionCtor: __BaseException,
|
|
1100
955
|
errorCode,
|
|
1101
956
|
});
|
|
1102
957
|
}
|
|
@@ -1112,7 +967,7 @@ export const de_CreateDBClusterCommand = async (output, context) => {
|
|
|
1112
967
|
$metadata: deserializeMetadata(output),
|
|
1113
968
|
...contents,
|
|
1114
969
|
};
|
|
1115
|
-
return
|
|
970
|
+
return response;
|
|
1116
971
|
};
|
|
1117
972
|
const de_CreateDBClusterCommandError = async (output, context) => {
|
|
1118
973
|
const parsedOutput = {
|
|
@@ -1174,10 +1029,9 @@ const de_CreateDBClusterCommandError = async (output, context) => {
|
|
|
1174
1029
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
1175
1030
|
default:
|
|
1176
1031
|
const parsedBody = parsedOutput.body;
|
|
1177
|
-
throwDefaultError({
|
|
1032
|
+
return throwDefaultError({
|
|
1178
1033
|
output,
|
|
1179
1034
|
parsedBody: parsedBody.Error,
|
|
1180
|
-
exceptionCtor: __BaseException,
|
|
1181
1035
|
errorCode,
|
|
1182
1036
|
});
|
|
1183
1037
|
}
|
|
@@ -1193,7 +1047,7 @@ export const de_CreateDBClusterEndpointCommand = async (output, context) => {
|
|
|
1193
1047
|
$metadata: deserializeMetadata(output),
|
|
1194
1048
|
...contents,
|
|
1195
1049
|
};
|
|
1196
|
-
return
|
|
1050
|
+
return response;
|
|
1197
1051
|
};
|
|
1198
1052
|
const de_CreateDBClusterEndpointCommandError = async (output, context) => {
|
|
1199
1053
|
const parsedOutput = {
|
|
@@ -1222,10 +1076,9 @@ const de_CreateDBClusterEndpointCommandError = async (output, context) => {
|
|
|
1222
1076
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
1223
1077
|
default:
|
|
1224
1078
|
const parsedBody = parsedOutput.body;
|
|
1225
|
-
throwDefaultError({
|
|
1079
|
+
return throwDefaultError({
|
|
1226
1080
|
output,
|
|
1227
1081
|
parsedBody: parsedBody.Error,
|
|
1228
|
-
exceptionCtor: __BaseException,
|
|
1229
1082
|
errorCode,
|
|
1230
1083
|
});
|
|
1231
1084
|
}
|
|
@@ -1241,7 +1094,7 @@ export const de_CreateDBClusterParameterGroupCommand = async (output, context) =
|
|
|
1241
1094
|
$metadata: deserializeMetadata(output),
|
|
1242
1095
|
...contents,
|
|
1243
1096
|
};
|
|
1244
|
-
return
|
|
1097
|
+
return response;
|
|
1245
1098
|
};
|
|
1246
1099
|
const de_CreateDBClusterParameterGroupCommandError = async (output, context) => {
|
|
1247
1100
|
const parsedOutput = {
|
|
@@ -1258,10 +1111,9 @@ const de_CreateDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
1258
1111
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1259
1112
|
default:
|
|
1260
1113
|
const parsedBody = parsedOutput.body;
|
|
1261
|
-
throwDefaultError({
|
|
1114
|
+
return throwDefaultError({
|
|
1262
1115
|
output,
|
|
1263
1116
|
parsedBody: parsedBody.Error,
|
|
1264
|
-
exceptionCtor: __BaseException,
|
|
1265
1117
|
errorCode,
|
|
1266
1118
|
});
|
|
1267
1119
|
}
|
|
@@ -1277,7 +1129,7 @@ export const de_CreateDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1277
1129
|
$metadata: deserializeMetadata(output),
|
|
1278
1130
|
...contents,
|
|
1279
1131
|
};
|
|
1280
|
-
return
|
|
1132
|
+
return response;
|
|
1281
1133
|
};
|
|
1282
1134
|
const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
1283
1135
|
const parsedOutput = {
|
|
@@ -1303,10 +1155,9 @@ const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1303
1155
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1304
1156
|
default:
|
|
1305
1157
|
const parsedBody = parsedOutput.body;
|
|
1306
|
-
throwDefaultError({
|
|
1158
|
+
return throwDefaultError({
|
|
1307
1159
|
output,
|
|
1308
1160
|
parsedBody: parsedBody.Error,
|
|
1309
|
-
exceptionCtor: __BaseException,
|
|
1310
1161
|
errorCode,
|
|
1311
1162
|
});
|
|
1312
1163
|
}
|
|
@@ -1322,7 +1173,7 @@ export const de_CreateDBInstanceCommand = async (output, context) => {
|
|
|
1322
1173
|
$metadata: deserializeMetadata(output),
|
|
1323
1174
|
...contents,
|
|
1324
1175
|
};
|
|
1325
|
-
return
|
|
1176
|
+
return response;
|
|
1326
1177
|
};
|
|
1327
1178
|
const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
1328
1179
|
const parsedOutput = {
|
|
@@ -1387,10 +1238,9 @@ const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
|
1387
1238
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
1388
1239
|
default:
|
|
1389
1240
|
const parsedBody = parsedOutput.body;
|
|
1390
|
-
throwDefaultError({
|
|
1241
|
+
return throwDefaultError({
|
|
1391
1242
|
output,
|
|
1392
1243
|
parsedBody: parsedBody.Error,
|
|
1393
|
-
exceptionCtor: __BaseException,
|
|
1394
1244
|
errorCode,
|
|
1395
1245
|
});
|
|
1396
1246
|
}
|
|
@@ -1406,7 +1256,7 @@ export const de_CreateDBParameterGroupCommand = async (output, context) => {
|
|
|
1406
1256
|
$metadata: deserializeMetadata(output),
|
|
1407
1257
|
...contents,
|
|
1408
1258
|
};
|
|
1409
|
-
return
|
|
1259
|
+
return response;
|
|
1410
1260
|
};
|
|
1411
1261
|
const de_CreateDBParameterGroupCommandError = async (output, context) => {
|
|
1412
1262
|
const parsedOutput = {
|
|
@@ -1423,10 +1273,9 @@ const de_CreateDBParameterGroupCommandError = async (output, context) => {
|
|
|
1423
1273
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1424
1274
|
default:
|
|
1425
1275
|
const parsedBody = parsedOutput.body;
|
|
1426
|
-
throwDefaultError({
|
|
1276
|
+
return throwDefaultError({
|
|
1427
1277
|
output,
|
|
1428
1278
|
parsedBody: parsedBody.Error,
|
|
1429
|
-
exceptionCtor: __BaseException,
|
|
1430
1279
|
errorCode,
|
|
1431
1280
|
});
|
|
1432
1281
|
}
|
|
@@ -1442,7 +1291,7 @@ export const de_CreateDBSubnetGroupCommand = async (output, context) => {
|
|
|
1442
1291
|
$metadata: deserializeMetadata(output),
|
|
1443
1292
|
...contents,
|
|
1444
1293
|
};
|
|
1445
|
-
return
|
|
1294
|
+
return response;
|
|
1446
1295
|
};
|
|
1447
1296
|
const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
1448
1297
|
const parsedOutput = {
|
|
@@ -1468,10 +1317,9 @@ const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
|
1468
1317
|
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
1469
1318
|
default:
|
|
1470
1319
|
const parsedBody = parsedOutput.body;
|
|
1471
|
-
throwDefaultError({
|
|
1320
|
+
return throwDefaultError({
|
|
1472
1321
|
output,
|
|
1473
1322
|
parsedBody: parsedBody.Error,
|
|
1474
|
-
exceptionCtor: __BaseException,
|
|
1475
1323
|
errorCode,
|
|
1476
1324
|
});
|
|
1477
1325
|
}
|
|
@@ -1487,7 +1335,7 @@ export const de_CreateEventSubscriptionCommand = async (output, context) => {
|
|
|
1487
1335
|
$metadata: deserializeMetadata(output),
|
|
1488
1336
|
...contents,
|
|
1489
1337
|
};
|
|
1490
|
-
return
|
|
1338
|
+
return response;
|
|
1491
1339
|
};
|
|
1492
1340
|
const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
1493
1341
|
const parsedOutput = {
|
|
@@ -1519,10 +1367,9 @@ const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
|
1519
1367
|
throw await de_SubscriptionCategoryNotFoundFaultRes(parsedOutput, context);
|
|
1520
1368
|
default:
|
|
1521
1369
|
const parsedBody = parsedOutput.body;
|
|
1522
|
-
throwDefaultError({
|
|
1370
|
+
return throwDefaultError({
|
|
1523
1371
|
output,
|
|
1524
1372
|
parsedBody: parsedBody.Error,
|
|
1525
|
-
exceptionCtor: __BaseException,
|
|
1526
1373
|
errorCode,
|
|
1527
1374
|
});
|
|
1528
1375
|
}
|
|
@@ -1538,7 +1385,7 @@ export const de_CreateGlobalClusterCommand = async (output, context) => {
|
|
|
1538
1385
|
$metadata: deserializeMetadata(output),
|
|
1539
1386
|
...contents,
|
|
1540
1387
|
};
|
|
1541
|
-
return
|
|
1388
|
+
return response;
|
|
1542
1389
|
};
|
|
1543
1390
|
const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
1544
1391
|
const parsedOutput = {
|
|
@@ -1561,10 +1408,9 @@ const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
|
1561
1408
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1562
1409
|
default:
|
|
1563
1410
|
const parsedBody = parsedOutput.body;
|
|
1564
|
-
throwDefaultError({
|
|
1411
|
+
return throwDefaultError({
|
|
1565
1412
|
output,
|
|
1566
1413
|
parsedBody: parsedBody.Error,
|
|
1567
|
-
exceptionCtor: __BaseException,
|
|
1568
1414
|
errorCode,
|
|
1569
1415
|
});
|
|
1570
1416
|
}
|
|
@@ -1580,7 +1426,7 @@ export const de_DeleteDBClusterCommand = async (output, context) => {
|
|
|
1580
1426
|
$metadata: deserializeMetadata(output),
|
|
1581
1427
|
...contents,
|
|
1582
1428
|
};
|
|
1583
|
-
return
|
|
1429
|
+
return response;
|
|
1584
1430
|
};
|
|
1585
1431
|
const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
1586
1432
|
const parsedOutput = {
|
|
@@ -1606,10 +1452,9 @@ const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
|
1606
1452
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1607
1453
|
default:
|
|
1608
1454
|
const parsedBody = parsedOutput.body;
|
|
1609
|
-
throwDefaultError({
|
|
1455
|
+
return throwDefaultError({
|
|
1610
1456
|
output,
|
|
1611
1457
|
parsedBody: parsedBody.Error,
|
|
1612
|
-
exceptionCtor: __BaseException,
|
|
1613
1458
|
errorCode,
|
|
1614
1459
|
});
|
|
1615
1460
|
}
|
|
@@ -1625,7 +1470,7 @@ export const de_DeleteDBClusterEndpointCommand = async (output, context) => {
|
|
|
1625
1470
|
$metadata: deserializeMetadata(output),
|
|
1626
1471
|
...contents,
|
|
1627
1472
|
};
|
|
1628
|
-
return
|
|
1473
|
+
return response;
|
|
1629
1474
|
};
|
|
1630
1475
|
const de_DeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
1631
1476
|
const parsedOutput = {
|
|
@@ -1645,10 +1490,9 @@ const de_DeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
|
1645
1490
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1646
1491
|
default:
|
|
1647
1492
|
const parsedBody = parsedOutput.body;
|
|
1648
|
-
throwDefaultError({
|
|
1493
|
+
return throwDefaultError({
|
|
1649
1494
|
output,
|
|
1650
1495
|
parsedBody: parsedBody.Error,
|
|
1651
|
-
exceptionCtor: __BaseException,
|
|
1652
1496
|
errorCode,
|
|
1653
1497
|
});
|
|
1654
1498
|
}
|
|
@@ -1661,7 +1505,7 @@ export const de_DeleteDBClusterParameterGroupCommand = async (output, context) =
|
|
|
1661
1505
|
const response = {
|
|
1662
1506
|
$metadata: deserializeMetadata(output),
|
|
1663
1507
|
};
|
|
1664
|
-
return
|
|
1508
|
+
return response;
|
|
1665
1509
|
};
|
|
1666
1510
|
const de_DeleteDBClusterParameterGroupCommandError = async (output, context) => {
|
|
1667
1511
|
const parsedOutput = {
|
|
@@ -1678,10 +1522,9 @@ const de_DeleteDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
1678
1522
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
1679
1523
|
default:
|
|
1680
1524
|
const parsedBody = parsedOutput.body;
|
|
1681
|
-
throwDefaultError({
|
|
1525
|
+
return throwDefaultError({
|
|
1682
1526
|
output,
|
|
1683
1527
|
parsedBody: parsedBody.Error,
|
|
1684
|
-
exceptionCtor: __BaseException,
|
|
1685
1528
|
errorCode,
|
|
1686
1529
|
});
|
|
1687
1530
|
}
|
|
@@ -1697,7 +1540,7 @@ export const de_DeleteDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1697
1540
|
$metadata: deserializeMetadata(output),
|
|
1698
1541
|
...contents,
|
|
1699
1542
|
};
|
|
1700
|
-
return
|
|
1543
|
+
return response;
|
|
1701
1544
|
};
|
|
1702
1545
|
const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
1703
1546
|
const parsedOutput = {
|
|
@@ -1714,10 +1557,9 @@ const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1714
1557
|
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
1715
1558
|
default:
|
|
1716
1559
|
const parsedBody = parsedOutput.body;
|
|
1717
|
-
throwDefaultError({
|
|
1560
|
+
return throwDefaultError({
|
|
1718
1561
|
output,
|
|
1719
1562
|
parsedBody: parsedBody.Error,
|
|
1720
|
-
exceptionCtor: __BaseException,
|
|
1721
1563
|
errorCode,
|
|
1722
1564
|
});
|
|
1723
1565
|
}
|
|
@@ -1733,7 +1575,7 @@ export const de_DeleteDBInstanceCommand = async (output, context) => {
|
|
|
1733
1575
|
$metadata: deserializeMetadata(output),
|
|
1734
1576
|
...contents,
|
|
1735
1577
|
};
|
|
1736
|
-
return
|
|
1578
|
+
return response;
|
|
1737
1579
|
};
|
|
1738
1580
|
const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
1739
1581
|
const parsedOutput = {
|
|
@@ -1759,10 +1601,9 @@ const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
|
1759
1601
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1760
1602
|
default:
|
|
1761
1603
|
const parsedBody = parsedOutput.body;
|
|
1762
|
-
throwDefaultError({
|
|
1604
|
+
return throwDefaultError({
|
|
1763
1605
|
output,
|
|
1764
1606
|
parsedBody: parsedBody.Error,
|
|
1765
|
-
exceptionCtor: __BaseException,
|
|
1766
1607
|
errorCode,
|
|
1767
1608
|
});
|
|
1768
1609
|
}
|
|
@@ -1775,7 +1616,7 @@ export const de_DeleteDBParameterGroupCommand = async (output, context) => {
|
|
|
1775
1616
|
const response = {
|
|
1776
1617
|
$metadata: deserializeMetadata(output),
|
|
1777
1618
|
};
|
|
1778
|
-
return
|
|
1619
|
+
return response;
|
|
1779
1620
|
};
|
|
1780
1621
|
const de_DeleteDBParameterGroupCommandError = async (output, context) => {
|
|
1781
1622
|
const parsedOutput = {
|
|
@@ -1792,10 +1633,9 @@ const de_DeleteDBParameterGroupCommandError = async (output, context) => {
|
|
|
1792
1633
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
1793
1634
|
default:
|
|
1794
1635
|
const parsedBody = parsedOutput.body;
|
|
1795
|
-
throwDefaultError({
|
|
1636
|
+
return throwDefaultError({
|
|
1796
1637
|
output,
|
|
1797
1638
|
parsedBody: parsedBody.Error,
|
|
1798
|
-
exceptionCtor: __BaseException,
|
|
1799
1639
|
errorCode,
|
|
1800
1640
|
});
|
|
1801
1641
|
}
|
|
@@ -1808,7 +1648,7 @@ export const de_DeleteDBSubnetGroupCommand = async (output, context) => {
|
|
|
1808
1648
|
const response = {
|
|
1809
1649
|
$metadata: deserializeMetadata(output),
|
|
1810
1650
|
};
|
|
1811
|
-
return
|
|
1651
|
+
return response;
|
|
1812
1652
|
};
|
|
1813
1653
|
const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
1814
1654
|
const parsedOutput = {
|
|
@@ -1828,10 +1668,9 @@ const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
|
1828
1668
|
throw await de_InvalidDBSubnetStateFaultRes(parsedOutput, context);
|
|
1829
1669
|
default:
|
|
1830
1670
|
const parsedBody = parsedOutput.body;
|
|
1831
|
-
throwDefaultError({
|
|
1671
|
+
return throwDefaultError({
|
|
1832
1672
|
output,
|
|
1833
1673
|
parsedBody: parsedBody.Error,
|
|
1834
|
-
exceptionCtor: __BaseException,
|
|
1835
1674
|
errorCode,
|
|
1836
1675
|
});
|
|
1837
1676
|
}
|
|
@@ -1847,7 +1686,7 @@ export const de_DeleteEventSubscriptionCommand = async (output, context) => {
|
|
|
1847
1686
|
$metadata: deserializeMetadata(output),
|
|
1848
1687
|
...contents,
|
|
1849
1688
|
};
|
|
1850
|
-
return
|
|
1689
|
+
return response;
|
|
1851
1690
|
};
|
|
1852
1691
|
const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
1853
1692
|
const parsedOutput = {
|
|
@@ -1864,10 +1703,9 @@ const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
|
1864
1703
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
1865
1704
|
default:
|
|
1866
1705
|
const parsedBody = parsedOutput.body;
|
|
1867
|
-
throwDefaultError({
|
|
1706
|
+
return throwDefaultError({
|
|
1868
1707
|
output,
|
|
1869
1708
|
parsedBody: parsedBody.Error,
|
|
1870
|
-
exceptionCtor: __BaseException,
|
|
1871
1709
|
errorCode,
|
|
1872
1710
|
});
|
|
1873
1711
|
}
|
|
@@ -1883,7 +1721,7 @@ export const de_DeleteGlobalClusterCommand = async (output, context) => {
|
|
|
1883
1721
|
$metadata: deserializeMetadata(output),
|
|
1884
1722
|
...contents,
|
|
1885
1723
|
};
|
|
1886
|
-
return
|
|
1724
|
+
return response;
|
|
1887
1725
|
};
|
|
1888
1726
|
const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
1889
1727
|
const parsedOutput = {
|
|
@@ -1900,10 +1738,9 @@ const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
|
1900
1738
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
1901
1739
|
default:
|
|
1902
1740
|
const parsedBody = parsedOutput.body;
|
|
1903
|
-
throwDefaultError({
|
|
1741
|
+
return throwDefaultError({
|
|
1904
1742
|
output,
|
|
1905
1743
|
parsedBody: parsedBody.Error,
|
|
1906
|
-
exceptionCtor: __BaseException,
|
|
1907
1744
|
errorCode,
|
|
1908
1745
|
});
|
|
1909
1746
|
}
|
|
@@ -1919,7 +1756,7 @@ export const de_DescribeDBClusterEndpointsCommand = async (output, context) => {
|
|
|
1919
1756
|
$metadata: deserializeMetadata(output),
|
|
1920
1757
|
...contents,
|
|
1921
1758
|
};
|
|
1922
|
-
return
|
|
1759
|
+
return response;
|
|
1923
1760
|
};
|
|
1924
1761
|
const de_DescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
1925
1762
|
const parsedOutput = {
|
|
@@ -1933,10 +1770,9 @@ const de_DescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
|
1933
1770
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
1934
1771
|
default:
|
|
1935
1772
|
const parsedBody = parsedOutput.body;
|
|
1936
|
-
throwDefaultError({
|
|
1773
|
+
return throwDefaultError({
|
|
1937
1774
|
output,
|
|
1938
1775
|
parsedBody: parsedBody.Error,
|
|
1939
|
-
exceptionCtor: __BaseException,
|
|
1940
1776
|
errorCode,
|
|
1941
1777
|
});
|
|
1942
1778
|
}
|
|
@@ -1952,7 +1788,7 @@ export const de_DescribeDBClusterParameterGroupsCommand = async (output, context
|
|
|
1952
1788
|
$metadata: deserializeMetadata(output),
|
|
1953
1789
|
...contents,
|
|
1954
1790
|
};
|
|
1955
|
-
return
|
|
1791
|
+
return response;
|
|
1956
1792
|
};
|
|
1957
1793
|
const de_DescribeDBClusterParameterGroupsCommandError = async (output, context) => {
|
|
1958
1794
|
const parsedOutput = {
|
|
@@ -1966,10 +1802,9 @@ const de_DescribeDBClusterParameterGroupsCommandError = async (output, context)
|
|
|
1966
1802
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
1967
1803
|
default:
|
|
1968
1804
|
const parsedBody = parsedOutput.body;
|
|
1969
|
-
throwDefaultError({
|
|
1805
|
+
return throwDefaultError({
|
|
1970
1806
|
output,
|
|
1971
1807
|
parsedBody: parsedBody.Error,
|
|
1972
|
-
exceptionCtor: __BaseException,
|
|
1973
1808
|
errorCode,
|
|
1974
1809
|
});
|
|
1975
1810
|
}
|
|
@@ -1985,7 +1820,7 @@ export const de_DescribeDBClusterParametersCommand = async (output, context) =>
|
|
|
1985
1820
|
$metadata: deserializeMetadata(output),
|
|
1986
1821
|
...contents,
|
|
1987
1822
|
};
|
|
1988
|
-
return
|
|
1823
|
+
return response;
|
|
1989
1824
|
};
|
|
1990
1825
|
const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
1991
1826
|
const parsedOutput = {
|
|
@@ -1999,10 +1834,9 @@ const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
|
1999
1834
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2000
1835
|
default:
|
|
2001
1836
|
const parsedBody = parsedOutput.body;
|
|
2002
|
-
throwDefaultError({
|
|
1837
|
+
return throwDefaultError({
|
|
2003
1838
|
output,
|
|
2004
1839
|
parsedBody: parsedBody.Error,
|
|
2005
|
-
exceptionCtor: __BaseException,
|
|
2006
1840
|
errorCode,
|
|
2007
1841
|
});
|
|
2008
1842
|
}
|
|
@@ -2018,7 +1852,7 @@ export const de_DescribeDBClustersCommand = async (output, context) => {
|
|
|
2018
1852
|
$metadata: deserializeMetadata(output),
|
|
2019
1853
|
...contents,
|
|
2020
1854
|
};
|
|
2021
|
-
return
|
|
1855
|
+
return response;
|
|
2022
1856
|
};
|
|
2023
1857
|
const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
2024
1858
|
const parsedOutput = {
|
|
@@ -2032,10 +1866,9 @@ const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
|
2032
1866
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
2033
1867
|
default:
|
|
2034
1868
|
const parsedBody = parsedOutput.body;
|
|
2035
|
-
throwDefaultError({
|
|
1869
|
+
return throwDefaultError({
|
|
2036
1870
|
output,
|
|
2037
1871
|
parsedBody: parsedBody.Error,
|
|
2038
|
-
exceptionCtor: __BaseException,
|
|
2039
1872
|
errorCode,
|
|
2040
1873
|
});
|
|
2041
1874
|
}
|
|
@@ -2051,7 +1884,7 @@ export const de_DescribeDBClusterSnapshotAttributesCommand = async (output, cont
|
|
|
2051
1884
|
$metadata: deserializeMetadata(output),
|
|
2052
1885
|
...contents,
|
|
2053
1886
|
};
|
|
2054
|
-
return
|
|
1887
|
+
return response;
|
|
2055
1888
|
};
|
|
2056
1889
|
const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, context) => {
|
|
2057
1890
|
const parsedOutput = {
|
|
@@ -2065,10 +1898,9 @@ const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, contex
|
|
|
2065
1898
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2066
1899
|
default:
|
|
2067
1900
|
const parsedBody = parsedOutput.body;
|
|
2068
|
-
throwDefaultError({
|
|
1901
|
+
return throwDefaultError({
|
|
2069
1902
|
output,
|
|
2070
1903
|
parsedBody: parsedBody.Error,
|
|
2071
|
-
exceptionCtor: __BaseException,
|
|
2072
1904
|
errorCode,
|
|
2073
1905
|
});
|
|
2074
1906
|
}
|
|
@@ -2084,7 +1916,7 @@ export const de_DescribeDBClusterSnapshotsCommand = async (output, context) => {
|
|
|
2084
1916
|
$metadata: deserializeMetadata(output),
|
|
2085
1917
|
...contents,
|
|
2086
1918
|
};
|
|
2087
|
-
return
|
|
1919
|
+
return response;
|
|
2088
1920
|
};
|
|
2089
1921
|
const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
2090
1922
|
const parsedOutput = {
|
|
@@ -2098,10 +1930,9 @@ const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
|
2098
1930
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2099
1931
|
default:
|
|
2100
1932
|
const parsedBody = parsedOutput.body;
|
|
2101
|
-
throwDefaultError({
|
|
1933
|
+
return throwDefaultError({
|
|
2102
1934
|
output,
|
|
2103
1935
|
parsedBody: parsedBody.Error,
|
|
2104
|
-
exceptionCtor: __BaseException,
|
|
2105
1936
|
errorCode,
|
|
2106
1937
|
});
|
|
2107
1938
|
}
|
|
@@ -2117,7 +1948,7 @@ export const de_DescribeDBEngineVersionsCommand = async (output, context) => {
|
|
|
2117
1948
|
$metadata: deserializeMetadata(output),
|
|
2118
1949
|
...contents,
|
|
2119
1950
|
};
|
|
2120
|
-
return
|
|
1951
|
+
return response;
|
|
2121
1952
|
};
|
|
2122
1953
|
const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
2123
1954
|
const parsedOutput = {
|
|
@@ -2126,10 +1957,9 @@ const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
|
2126
1957
|
};
|
|
2127
1958
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2128
1959
|
const parsedBody = parsedOutput.body;
|
|
2129
|
-
throwDefaultError({
|
|
1960
|
+
return throwDefaultError({
|
|
2130
1961
|
output,
|
|
2131
1962
|
parsedBody: parsedBody.Error,
|
|
2132
|
-
exceptionCtor: __BaseException,
|
|
2133
1963
|
errorCode,
|
|
2134
1964
|
});
|
|
2135
1965
|
};
|
|
@@ -2144,7 +1974,7 @@ export const de_DescribeDBInstancesCommand = async (output, context) => {
|
|
|
2144
1974
|
$metadata: deserializeMetadata(output),
|
|
2145
1975
|
...contents,
|
|
2146
1976
|
};
|
|
2147
|
-
return
|
|
1977
|
+
return response;
|
|
2148
1978
|
};
|
|
2149
1979
|
const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
2150
1980
|
const parsedOutput = {
|
|
@@ -2158,10 +1988,9 @@ const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
|
2158
1988
|
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
2159
1989
|
default:
|
|
2160
1990
|
const parsedBody = parsedOutput.body;
|
|
2161
|
-
throwDefaultError({
|
|
1991
|
+
return throwDefaultError({
|
|
2162
1992
|
output,
|
|
2163
1993
|
parsedBody: parsedBody.Error,
|
|
2164
|
-
exceptionCtor: __BaseException,
|
|
2165
1994
|
errorCode,
|
|
2166
1995
|
});
|
|
2167
1996
|
}
|
|
@@ -2177,7 +2006,7 @@ export const de_DescribeDBParameterGroupsCommand = async (output, context) => {
|
|
|
2177
2006
|
$metadata: deserializeMetadata(output),
|
|
2178
2007
|
...contents,
|
|
2179
2008
|
};
|
|
2180
|
-
return
|
|
2009
|
+
return response;
|
|
2181
2010
|
};
|
|
2182
2011
|
const de_DescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
2183
2012
|
const parsedOutput = {
|
|
@@ -2191,10 +2020,9 @@ const de_DescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
|
2191
2020
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2192
2021
|
default:
|
|
2193
2022
|
const parsedBody = parsedOutput.body;
|
|
2194
|
-
throwDefaultError({
|
|
2023
|
+
return throwDefaultError({
|
|
2195
2024
|
output,
|
|
2196
2025
|
parsedBody: parsedBody.Error,
|
|
2197
|
-
exceptionCtor: __BaseException,
|
|
2198
2026
|
errorCode,
|
|
2199
2027
|
});
|
|
2200
2028
|
}
|
|
@@ -2210,7 +2038,7 @@ export const de_DescribeDBParametersCommand = async (output, context) => {
|
|
|
2210
2038
|
$metadata: deserializeMetadata(output),
|
|
2211
2039
|
...contents,
|
|
2212
2040
|
};
|
|
2213
|
-
return
|
|
2041
|
+
return response;
|
|
2214
2042
|
};
|
|
2215
2043
|
const de_DescribeDBParametersCommandError = async (output, context) => {
|
|
2216
2044
|
const parsedOutput = {
|
|
@@ -2224,10 +2052,9 @@ const de_DescribeDBParametersCommandError = async (output, context) => {
|
|
|
2224
2052
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2225
2053
|
default:
|
|
2226
2054
|
const parsedBody = parsedOutput.body;
|
|
2227
|
-
throwDefaultError({
|
|
2055
|
+
return throwDefaultError({
|
|
2228
2056
|
output,
|
|
2229
2057
|
parsedBody: parsedBody.Error,
|
|
2230
|
-
exceptionCtor: __BaseException,
|
|
2231
2058
|
errorCode,
|
|
2232
2059
|
});
|
|
2233
2060
|
}
|
|
@@ -2243,7 +2070,7 @@ export const de_DescribeDBSubnetGroupsCommand = async (output, context) => {
|
|
|
2243
2070
|
$metadata: deserializeMetadata(output),
|
|
2244
2071
|
...contents,
|
|
2245
2072
|
};
|
|
2246
|
-
return
|
|
2073
|
+
return response;
|
|
2247
2074
|
};
|
|
2248
2075
|
const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
2249
2076
|
const parsedOutput = {
|
|
@@ -2257,10 +2084,9 @@ const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
|
2257
2084
|
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
2258
2085
|
default:
|
|
2259
2086
|
const parsedBody = parsedOutput.body;
|
|
2260
|
-
throwDefaultError({
|
|
2087
|
+
return throwDefaultError({
|
|
2261
2088
|
output,
|
|
2262
2089
|
parsedBody: parsedBody.Error,
|
|
2263
|
-
exceptionCtor: __BaseException,
|
|
2264
2090
|
errorCode,
|
|
2265
2091
|
});
|
|
2266
2092
|
}
|
|
@@ -2276,7 +2102,7 @@ export const de_DescribeEngineDefaultClusterParametersCommand = async (output, c
|
|
|
2276
2102
|
$metadata: deserializeMetadata(output),
|
|
2277
2103
|
...contents,
|
|
2278
2104
|
};
|
|
2279
|
-
return
|
|
2105
|
+
return response;
|
|
2280
2106
|
};
|
|
2281
2107
|
const de_DescribeEngineDefaultClusterParametersCommandError = async (output, context) => {
|
|
2282
2108
|
const parsedOutput = {
|
|
@@ -2285,10 +2111,9 @@ const de_DescribeEngineDefaultClusterParametersCommandError = async (output, con
|
|
|
2285
2111
|
};
|
|
2286
2112
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2287
2113
|
const parsedBody = parsedOutput.body;
|
|
2288
|
-
throwDefaultError({
|
|
2114
|
+
return throwDefaultError({
|
|
2289
2115
|
output,
|
|
2290
2116
|
parsedBody: parsedBody.Error,
|
|
2291
|
-
exceptionCtor: __BaseException,
|
|
2292
2117
|
errorCode,
|
|
2293
2118
|
});
|
|
2294
2119
|
};
|
|
@@ -2303,7 +2128,7 @@ export const de_DescribeEngineDefaultParametersCommand = async (output, context)
|
|
|
2303
2128
|
$metadata: deserializeMetadata(output),
|
|
2304
2129
|
...contents,
|
|
2305
2130
|
};
|
|
2306
|
-
return
|
|
2131
|
+
return response;
|
|
2307
2132
|
};
|
|
2308
2133
|
const de_DescribeEngineDefaultParametersCommandError = async (output, context) => {
|
|
2309
2134
|
const parsedOutput = {
|
|
@@ -2312,10 +2137,9 @@ const de_DescribeEngineDefaultParametersCommandError = async (output, context) =
|
|
|
2312
2137
|
};
|
|
2313
2138
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2314
2139
|
const parsedBody = parsedOutput.body;
|
|
2315
|
-
throwDefaultError({
|
|
2140
|
+
return throwDefaultError({
|
|
2316
2141
|
output,
|
|
2317
2142
|
parsedBody: parsedBody.Error,
|
|
2318
|
-
exceptionCtor: __BaseException,
|
|
2319
2143
|
errorCode,
|
|
2320
2144
|
});
|
|
2321
2145
|
};
|
|
@@ -2330,7 +2154,7 @@ export const de_DescribeEventCategoriesCommand = async (output, context) => {
|
|
|
2330
2154
|
$metadata: deserializeMetadata(output),
|
|
2331
2155
|
...contents,
|
|
2332
2156
|
};
|
|
2333
|
-
return
|
|
2157
|
+
return response;
|
|
2334
2158
|
};
|
|
2335
2159
|
const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
2336
2160
|
const parsedOutput = {
|
|
@@ -2339,10 +2163,9 @@ const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
|
2339
2163
|
};
|
|
2340
2164
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2341
2165
|
const parsedBody = parsedOutput.body;
|
|
2342
|
-
throwDefaultError({
|
|
2166
|
+
return throwDefaultError({
|
|
2343
2167
|
output,
|
|
2344
2168
|
parsedBody: parsedBody.Error,
|
|
2345
|
-
exceptionCtor: __BaseException,
|
|
2346
2169
|
errorCode,
|
|
2347
2170
|
});
|
|
2348
2171
|
};
|
|
@@ -2357,7 +2180,7 @@ export const de_DescribeEventsCommand = async (output, context) => {
|
|
|
2357
2180
|
$metadata: deserializeMetadata(output),
|
|
2358
2181
|
...contents,
|
|
2359
2182
|
};
|
|
2360
|
-
return
|
|
2183
|
+
return response;
|
|
2361
2184
|
};
|
|
2362
2185
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
2363
2186
|
const parsedOutput = {
|
|
@@ -2366,10 +2189,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
2366
2189
|
};
|
|
2367
2190
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2368
2191
|
const parsedBody = parsedOutput.body;
|
|
2369
|
-
throwDefaultError({
|
|
2192
|
+
return throwDefaultError({
|
|
2370
2193
|
output,
|
|
2371
2194
|
parsedBody: parsedBody.Error,
|
|
2372
|
-
exceptionCtor: __BaseException,
|
|
2373
2195
|
errorCode,
|
|
2374
2196
|
});
|
|
2375
2197
|
};
|
|
@@ -2384,7 +2206,7 @@ export const de_DescribeEventSubscriptionsCommand = async (output, context) => {
|
|
|
2384
2206
|
$metadata: deserializeMetadata(output),
|
|
2385
2207
|
...contents,
|
|
2386
2208
|
};
|
|
2387
|
-
return
|
|
2209
|
+
return response;
|
|
2388
2210
|
};
|
|
2389
2211
|
const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
2390
2212
|
const parsedOutput = {
|
|
@@ -2398,10 +2220,9 @@ const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
|
2398
2220
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
2399
2221
|
default:
|
|
2400
2222
|
const parsedBody = parsedOutput.body;
|
|
2401
|
-
throwDefaultError({
|
|
2223
|
+
return throwDefaultError({
|
|
2402
2224
|
output,
|
|
2403
2225
|
parsedBody: parsedBody.Error,
|
|
2404
|
-
exceptionCtor: __BaseException,
|
|
2405
2226
|
errorCode,
|
|
2406
2227
|
});
|
|
2407
2228
|
}
|
|
@@ -2417,7 +2238,7 @@ export const de_DescribeGlobalClustersCommand = async (output, context) => {
|
|
|
2417
2238
|
$metadata: deserializeMetadata(output),
|
|
2418
2239
|
...contents,
|
|
2419
2240
|
};
|
|
2420
|
-
return
|
|
2241
|
+
return response;
|
|
2421
2242
|
};
|
|
2422
2243
|
const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
2423
2244
|
const parsedOutput = {
|
|
@@ -2431,10 +2252,9 @@ const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
|
2431
2252
|
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
2432
2253
|
default:
|
|
2433
2254
|
const parsedBody = parsedOutput.body;
|
|
2434
|
-
throwDefaultError({
|
|
2255
|
+
return throwDefaultError({
|
|
2435
2256
|
output,
|
|
2436
2257
|
parsedBody: parsedBody.Error,
|
|
2437
|
-
exceptionCtor: __BaseException,
|
|
2438
2258
|
errorCode,
|
|
2439
2259
|
});
|
|
2440
2260
|
}
|
|
@@ -2450,7 +2270,7 @@ export const de_DescribeOrderableDBInstanceOptionsCommand = async (output, conte
|
|
|
2450
2270
|
$metadata: deserializeMetadata(output),
|
|
2451
2271
|
...contents,
|
|
2452
2272
|
};
|
|
2453
|
-
return
|
|
2273
|
+
return response;
|
|
2454
2274
|
};
|
|
2455
2275
|
const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context) => {
|
|
2456
2276
|
const parsedOutput = {
|
|
@@ -2459,10 +2279,9 @@ const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context
|
|
|
2459
2279
|
};
|
|
2460
2280
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2461
2281
|
const parsedBody = parsedOutput.body;
|
|
2462
|
-
throwDefaultError({
|
|
2282
|
+
return throwDefaultError({
|
|
2463
2283
|
output,
|
|
2464
2284
|
parsedBody: parsedBody.Error,
|
|
2465
|
-
exceptionCtor: __BaseException,
|
|
2466
2285
|
errorCode,
|
|
2467
2286
|
});
|
|
2468
2287
|
};
|
|
@@ -2477,7 +2296,7 @@ export const de_DescribePendingMaintenanceActionsCommand = async (output, contex
|
|
|
2477
2296
|
$metadata: deserializeMetadata(output),
|
|
2478
2297
|
...contents,
|
|
2479
2298
|
};
|
|
2480
|
-
return
|
|
2299
|
+
return response;
|
|
2481
2300
|
};
|
|
2482
2301
|
const de_DescribePendingMaintenanceActionsCommandError = async (output, context) => {
|
|
2483
2302
|
const parsedOutput = {
|
|
@@ -2491,10 +2310,9 @@ const de_DescribePendingMaintenanceActionsCommandError = async (output, context)
|
|
|
2491
2310
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2492
2311
|
default:
|
|
2493
2312
|
const parsedBody = parsedOutput.body;
|
|
2494
|
-
throwDefaultError({
|
|
2313
|
+
return throwDefaultError({
|
|
2495
2314
|
output,
|
|
2496
2315
|
parsedBody: parsedBody.Error,
|
|
2497
|
-
exceptionCtor: __BaseException,
|
|
2498
2316
|
errorCode,
|
|
2499
2317
|
});
|
|
2500
2318
|
}
|
|
@@ -2510,7 +2328,7 @@ export const de_DescribeValidDBInstanceModificationsCommand = async (output, con
|
|
|
2510
2328
|
$metadata: deserializeMetadata(output),
|
|
2511
2329
|
...contents,
|
|
2512
2330
|
};
|
|
2513
|
-
return
|
|
2331
|
+
return response;
|
|
2514
2332
|
};
|
|
2515
2333
|
const de_DescribeValidDBInstanceModificationsCommandError = async (output, context) => {
|
|
2516
2334
|
const parsedOutput = {
|
|
@@ -2527,10 +2345,9 @@ const de_DescribeValidDBInstanceModificationsCommandError = async (output, conte
|
|
|
2527
2345
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2528
2346
|
default:
|
|
2529
2347
|
const parsedBody = parsedOutput.body;
|
|
2530
|
-
throwDefaultError({
|
|
2348
|
+
return throwDefaultError({
|
|
2531
2349
|
output,
|
|
2532
2350
|
parsedBody: parsedBody.Error,
|
|
2533
|
-
exceptionCtor: __BaseException,
|
|
2534
2351
|
errorCode,
|
|
2535
2352
|
});
|
|
2536
2353
|
}
|
|
@@ -2546,7 +2363,7 @@ export const de_FailoverDBClusterCommand = async (output, context) => {
|
|
|
2546
2363
|
$metadata: deserializeMetadata(output),
|
|
2547
2364
|
...contents,
|
|
2548
2365
|
};
|
|
2549
|
-
return
|
|
2366
|
+
return response;
|
|
2550
2367
|
};
|
|
2551
2368
|
const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
2552
2369
|
const parsedOutput = {
|
|
@@ -2566,10 +2383,9 @@ const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
|
2566
2383
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2567
2384
|
default:
|
|
2568
2385
|
const parsedBody = parsedOutput.body;
|
|
2569
|
-
throwDefaultError({
|
|
2386
|
+
return throwDefaultError({
|
|
2570
2387
|
output,
|
|
2571
2388
|
parsedBody: parsedBody.Error,
|
|
2572
|
-
exceptionCtor: __BaseException,
|
|
2573
2389
|
errorCode,
|
|
2574
2390
|
});
|
|
2575
2391
|
}
|
|
@@ -2585,7 +2401,7 @@ export const de_FailoverGlobalClusterCommand = async (output, context) => {
|
|
|
2585
2401
|
$metadata: deserializeMetadata(output),
|
|
2586
2402
|
...contents,
|
|
2587
2403
|
};
|
|
2588
|
-
return
|
|
2404
|
+
return response;
|
|
2589
2405
|
};
|
|
2590
2406
|
const de_FailoverGlobalClusterCommandError = async (output, context) => {
|
|
2591
2407
|
const parsedOutput = {
|
|
@@ -2608,10 +2424,9 @@ const de_FailoverGlobalClusterCommandError = async (output, context) => {
|
|
|
2608
2424
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
2609
2425
|
default:
|
|
2610
2426
|
const parsedBody = parsedOutput.body;
|
|
2611
|
-
throwDefaultError({
|
|
2427
|
+
return throwDefaultError({
|
|
2612
2428
|
output,
|
|
2613
2429
|
parsedBody: parsedBody.Error,
|
|
2614
|
-
exceptionCtor: __BaseException,
|
|
2615
2430
|
errorCode,
|
|
2616
2431
|
});
|
|
2617
2432
|
}
|
|
@@ -2627,7 +2442,7 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2627
2442
|
$metadata: deserializeMetadata(output),
|
|
2628
2443
|
...contents,
|
|
2629
2444
|
};
|
|
2630
|
-
return
|
|
2445
|
+
return response;
|
|
2631
2446
|
};
|
|
2632
2447
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2633
2448
|
const parsedOutput = {
|
|
@@ -2647,10 +2462,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2647
2462
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2648
2463
|
default:
|
|
2649
2464
|
const parsedBody = parsedOutput.body;
|
|
2650
|
-
throwDefaultError({
|
|
2465
|
+
return throwDefaultError({
|
|
2651
2466
|
output,
|
|
2652
2467
|
parsedBody: parsedBody.Error,
|
|
2653
|
-
exceptionCtor: __BaseException,
|
|
2654
2468
|
errorCode,
|
|
2655
2469
|
});
|
|
2656
2470
|
}
|
|
@@ -2666,7 +2480,7 @@ export const de_ModifyDBClusterCommand = async (output, context) => {
|
|
|
2666
2480
|
$metadata: deserializeMetadata(output),
|
|
2667
2481
|
...contents,
|
|
2668
2482
|
};
|
|
2669
|
-
return
|
|
2483
|
+
return response;
|
|
2670
2484
|
};
|
|
2671
2485
|
const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
2672
2486
|
const parsedOutput = {
|
|
@@ -2710,10 +2524,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
|
2710
2524
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2711
2525
|
default:
|
|
2712
2526
|
const parsedBody = parsedOutput.body;
|
|
2713
|
-
throwDefaultError({
|
|
2527
|
+
return throwDefaultError({
|
|
2714
2528
|
output,
|
|
2715
2529
|
parsedBody: parsedBody.Error,
|
|
2716
|
-
exceptionCtor: __BaseException,
|
|
2717
2530
|
errorCode,
|
|
2718
2531
|
});
|
|
2719
2532
|
}
|
|
@@ -2729,7 +2542,7 @@ export const de_ModifyDBClusterEndpointCommand = async (output, context) => {
|
|
|
2729
2542
|
$metadata: deserializeMetadata(output),
|
|
2730
2543
|
...contents,
|
|
2731
2544
|
};
|
|
2732
|
-
return
|
|
2545
|
+
return response;
|
|
2733
2546
|
};
|
|
2734
2547
|
const de_ModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
2735
2548
|
const parsedOutput = {
|
|
@@ -2755,10 +2568,9 @@ const de_ModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
|
2755
2568
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2756
2569
|
default:
|
|
2757
2570
|
const parsedBody = parsedOutput.body;
|
|
2758
|
-
throwDefaultError({
|
|
2571
|
+
return throwDefaultError({
|
|
2759
2572
|
output,
|
|
2760
2573
|
parsedBody: parsedBody.Error,
|
|
2761
|
-
exceptionCtor: __BaseException,
|
|
2762
2574
|
errorCode,
|
|
2763
2575
|
});
|
|
2764
2576
|
}
|
|
@@ -2774,7 +2586,7 @@ export const de_ModifyDBClusterParameterGroupCommand = async (output, context) =
|
|
|
2774
2586
|
$metadata: deserializeMetadata(output),
|
|
2775
2587
|
...contents,
|
|
2776
2588
|
};
|
|
2777
|
-
return
|
|
2589
|
+
return response;
|
|
2778
2590
|
};
|
|
2779
2591
|
const de_ModifyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
2780
2592
|
const parsedOutput = {
|
|
@@ -2791,10 +2603,9 @@ const de_ModifyDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
2791
2603
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
2792
2604
|
default:
|
|
2793
2605
|
const parsedBody = parsedOutput.body;
|
|
2794
|
-
throwDefaultError({
|
|
2606
|
+
return throwDefaultError({
|
|
2795
2607
|
output,
|
|
2796
2608
|
parsedBody: parsedBody.Error,
|
|
2797
|
-
exceptionCtor: __BaseException,
|
|
2798
2609
|
errorCode,
|
|
2799
2610
|
});
|
|
2800
2611
|
}
|
|
@@ -2810,7 +2621,7 @@ export const de_ModifyDBClusterSnapshotAttributeCommand = async (output, context
|
|
|
2810
2621
|
$metadata: deserializeMetadata(output),
|
|
2811
2622
|
...contents,
|
|
2812
2623
|
};
|
|
2813
|
-
return
|
|
2624
|
+
return response;
|
|
2814
2625
|
};
|
|
2815
2626
|
const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context) => {
|
|
2816
2627
|
const parsedOutput = {
|
|
@@ -2830,10 +2641,9 @@ const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context)
|
|
|
2830
2641
|
throw await de_SharedSnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2831
2642
|
default:
|
|
2832
2643
|
const parsedBody = parsedOutput.body;
|
|
2833
|
-
throwDefaultError({
|
|
2644
|
+
return throwDefaultError({
|
|
2834
2645
|
output,
|
|
2835
2646
|
parsedBody: parsedBody.Error,
|
|
2836
|
-
exceptionCtor: __BaseException,
|
|
2837
2647
|
errorCode,
|
|
2838
2648
|
});
|
|
2839
2649
|
}
|
|
@@ -2849,7 +2659,7 @@ export const de_ModifyDBInstanceCommand = async (output, context) => {
|
|
|
2849
2659
|
$metadata: deserializeMetadata(output),
|
|
2850
2660
|
...contents,
|
|
2851
2661
|
};
|
|
2852
|
-
return
|
|
2662
|
+
return response;
|
|
2853
2663
|
};
|
|
2854
2664
|
const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
2855
2665
|
const parsedOutput = {
|
|
@@ -2908,10 +2718,9 @@ const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
|
2908
2718
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2909
2719
|
default:
|
|
2910
2720
|
const parsedBody = parsedOutput.body;
|
|
2911
|
-
throwDefaultError({
|
|
2721
|
+
return throwDefaultError({
|
|
2912
2722
|
output,
|
|
2913
2723
|
parsedBody: parsedBody.Error,
|
|
2914
|
-
exceptionCtor: __BaseException,
|
|
2915
2724
|
errorCode,
|
|
2916
2725
|
});
|
|
2917
2726
|
}
|
|
@@ -2927,7 +2736,7 @@ export const de_ModifyDBParameterGroupCommand = async (output, context) => {
|
|
|
2927
2736
|
$metadata: deserializeMetadata(output),
|
|
2928
2737
|
...contents,
|
|
2929
2738
|
};
|
|
2930
|
-
return
|
|
2739
|
+
return response;
|
|
2931
2740
|
};
|
|
2932
2741
|
const de_ModifyDBParameterGroupCommandError = async (output, context) => {
|
|
2933
2742
|
const parsedOutput = {
|
|
@@ -2944,10 +2753,9 @@ const de_ModifyDBParameterGroupCommandError = async (output, context) => {
|
|
|
2944
2753
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
2945
2754
|
default:
|
|
2946
2755
|
const parsedBody = parsedOutput.body;
|
|
2947
|
-
throwDefaultError({
|
|
2756
|
+
return throwDefaultError({
|
|
2948
2757
|
output,
|
|
2949
2758
|
parsedBody: parsedBody.Error,
|
|
2950
|
-
exceptionCtor: __BaseException,
|
|
2951
2759
|
errorCode,
|
|
2952
2760
|
});
|
|
2953
2761
|
}
|
|
@@ -2963,7 +2771,7 @@ export const de_ModifyDBSubnetGroupCommand = async (output, context) => {
|
|
|
2963
2771
|
$metadata: deserializeMetadata(output),
|
|
2964
2772
|
...contents,
|
|
2965
2773
|
};
|
|
2966
|
-
return
|
|
2774
|
+
return response;
|
|
2967
2775
|
};
|
|
2968
2776
|
const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
2969
2777
|
const parsedOutput = {
|
|
@@ -2989,10 +2797,9 @@ const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
|
2989
2797
|
throw await de_SubnetAlreadyInUseRes(parsedOutput, context);
|
|
2990
2798
|
default:
|
|
2991
2799
|
const parsedBody = parsedOutput.body;
|
|
2992
|
-
throwDefaultError({
|
|
2800
|
+
return throwDefaultError({
|
|
2993
2801
|
output,
|
|
2994
2802
|
parsedBody: parsedBody.Error,
|
|
2995
|
-
exceptionCtor: __BaseException,
|
|
2996
2803
|
errorCode,
|
|
2997
2804
|
});
|
|
2998
2805
|
}
|
|
@@ -3008,7 +2815,7 @@ export const de_ModifyEventSubscriptionCommand = async (output, context) => {
|
|
|
3008
2815
|
$metadata: deserializeMetadata(output),
|
|
3009
2816
|
...contents,
|
|
3010
2817
|
};
|
|
3011
|
-
return
|
|
2818
|
+
return response;
|
|
3012
2819
|
};
|
|
3013
2820
|
const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
3014
2821
|
const parsedOutput = {
|
|
@@ -3037,10 +2844,9 @@ const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
|
3037
2844
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
3038
2845
|
default:
|
|
3039
2846
|
const parsedBody = parsedOutput.body;
|
|
3040
|
-
throwDefaultError({
|
|
2847
|
+
return throwDefaultError({
|
|
3041
2848
|
output,
|
|
3042
2849
|
parsedBody: parsedBody.Error,
|
|
3043
|
-
exceptionCtor: __BaseException,
|
|
3044
2850
|
errorCode,
|
|
3045
2851
|
});
|
|
3046
2852
|
}
|
|
@@ -3056,7 +2862,7 @@ export const de_ModifyGlobalClusterCommand = async (output, context) => {
|
|
|
3056
2862
|
$metadata: deserializeMetadata(output),
|
|
3057
2863
|
...contents,
|
|
3058
2864
|
};
|
|
3059
|
-
return
|
|
2865
|
+
return response;
|
|
3060
2866
|
};
|
|
3061
2867
|
const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
3062
2868
|
const parsedOutput = {
|
|
@@ -3073,10 +2879,9 @@ const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
|
3073
2879
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
3074
2880
|
default:
|
|
3075
2881
|
const parsedBody = parsedOutput.body;
|
|
3076
|
-
throwDefaultError({
|
|
2882
|
+
return throwDefaultError({
|
|
3077
2883
|
output,
|
|
3078
2884
|
parsedBody: parsedBody.Error,
|
|
3079
|
-
exceptionCtor: __BaseException,
|
|
3080
2885
|
errorCode,
|
|
3081
2886
|
});
|
|
3082
2887
|
}
|
|
@@ -3092,7 +2897,7 @@ export const de_PromoteReadReplicaDBClusterCommand = async (output, context) =>
|
|
|
3092
2897
|
$metadata: deserializeMetadata(output),
|
|
3093
2898
|
...contents,
|
|
3094
2899
|
};
|
|
3095
|
-
return
|
|
2900
|
+
return response;
|
|
3096
2901
|
};
|
|
3097
2902
|
const de_PromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
3098
2903
|
const parsedOutput = {
|
|
@@ -3109,10 +2914,9 @@ const de_PromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
|
3109
2914
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3110
2915
|
default:
|
|
3111
2916
|
const parsedBody = parsedOutput.body;
|
|
3112
|
-
throwDefaultError({
|
|
2917
|
+
return throwDefaultError({
|
|
3113
2918
|
output,
|
|
3114
2919
|
parsedBody: parsedBody.Error,
|
|
3115
|
-
exceptionCtor: __BaseException,
|
|
3116
2920
|
errorCode,
|
|
3117
2921
|
});
|
|
3118
2922
|
}
|
|
@@ -3128,7 +2932,7 @@ export const de_RebootDBInstanceCommand = async (output, context) => {
|
|
|
3128
2932
|
$metadata: deserializeMetadata(output),
|
|
3129
2933
|
...contents,
|
|
3130
2934
|
};
|
|
3131
|
-
return
|
|
2935
|
+
return response;
|
|
3132
2936
|
};
|
|
3133
2937
|
const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
3134
2938
|
const parsedOutput = {
|
|
@@ -3145,10 +2949,9 @@ const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
|
3145
2949
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3146
2950
|
default:
|
|
3147
2951
|
const parsedBody = parsedOutput.body;
|
|
3148
|
-
throwDefaultError({
|
|
2952
|
+
return throwDefaultError({
|
|
3149
2953
|
output,
|
|
3150
2954
|
parsedBody: parsedBody.Error,
|
|
3151
|
-
exceptionCtor: __BaseException,
|
|
3152
2955
|
errorCode,
|
|
3153
2956
|
});
|
|
3154
2957
|
}
|
|
@@ -3164,7 +2967,7 @@ export const de_RemoveFromGlobalClusterCommand = async (output, context) => {
|
|
|
3164
2967
|
$metadata: deserializeMetadata(output),
|
|
3165
2968
|
...contents,
|
|
3166
2969
|
};
|
|
3167
|
-
return
|
|
2970
|
+
return response;
|
|
3168
2971
|
};
|
|
3169
2972
|
const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
3170
2973
|
const parsedOutput = {
|
|
@@ -3184,10 +2987,9 @@ const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
|
3184
2987
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
3185
2988
|
default:
|
|
3186
2989
|
const parsedBody = parsedOutput.body;
|
|
3187
|
-
throwDefaultError({
|
|
2990
|
+
return throwDefaultError({
|
|
3188
2991
|
output,
|
|
3189
2992
|
parsedBody: parsedBody.Error,
|
|
3190
|
-
exceptionCtor: __BaseException,
|
|
3191
2993
|
errorCode,
|
|
3192
2994
|
});
|
|
3193
2995
|
}
|
|
@@ -3200,7 +3002,7 @@ export const de_RemoveRoleFromDBClusterCommand = async (output, context) => {
|
|
|
3200
3002
|
const response = {
|
|
3201
3003
|
$metadata: deserializeMetadata(output),
|
|
3202
3004
|
};
|
|
3203
|
-
return
|
|
3005
|
+
return response;
|
|
3204
3006
|
};
|
|
3205
3007
|
const de_RemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
3206
3008
|
const parsedOutput = {
|
|
@@ -3220,10 +3022,9 @@ const de_RemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
|
3220
3022
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3221
3023
|
default:
|
|
3222
3024
|
const parsedBody = parsedOutput.body;
|
|
3223
|
-
throwDefaultError({
|
|
3025
|
+
return throwDefaultError({
|
|
3224
3026
|
output,
|
|
3225
3027
|
parsedBody: parsedBody.Error,
|
|
3226
|
-
exceptionCtor: __BaseException,
|
|
3227
3028
|
errorCode,
|
|
3228
3029
|
});
|
|
3229
3030
|
}
|
|
@@ -3239,7 +3040,7 @@ export const de_RemoveSourceIdentifierFromSubscriptionCommand = async (output, c
|
|
|
3239
3040
|
$metadata: deserializeMetadata(output),
|
|
3240
3041
|
...contents,
|
|
3241
3042
|
};
|
|
3242
|
-
return
|
|
3043
|
+
return response;
|
|
3243
3044
|
};
|
|
3244
3045
|
const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, context) => {
|
|
3245
3046
|
const parsedOutput = {
|
|
@@ -3256,10 +3057,9 @@ const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, con
|
|
|
3256
3057
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
3257
3058
|
default:
|
|
3258
3059
|
const parsedBody = parsedOutput.body;
|
|
3259
|
-
throwDefaultError({
|
|
3060
|
+
return throwDefaultError({
|
|
3260
3061
|
output,
|
|
3261
3062
|
parsedBody: parsedBody.Error,
|
|
3262
|
-
exceptionCtor: __BaseException,
|
|
3263
3063
|
errorCode,
|
|
3264
3064
|
});
|
|
3265
3065
|
}
|
|
@@ -3272,7 +3072,7 @@ export const de_RemoveTagsFromResourceCommand = async (output, context) => {
|
|
|
3272
3072
|
const response = {
|
|
3273
3073
|
$metadata: deserializeMetadata(output),
|
|
3274
3074
|
};
|
|
3275
|
-
return
|
|
3075
|
+
return response;
|
|
3276
3076
|
};
|
|
3277
3077
|
const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
3278
3078
|
const parsedOutput = {
|
|
@@ -3292,10 +3092,9 @@ const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
|
3292
3092
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3293
3093
|
default:
|
|
3294
3094
|
const parsedBody = parsedOutput.body;
|
|
3295
|
-
throwDefaultError({
|
|
3095
|
+
return throwDefaultError({
|
|
3296
3096
|
output,
|
|
3297
3097
|
parsedBody: parsedBody.Error,
|
|
3298
|
-
exceptionCtor: __BaseException,
|
|
3299
3098
|
errorCode,
|
|
3300
3099
|
});
|
|
3301
3100
|
}
|
|
@@ -3311,7 +3110,7 @@ export const de_ResetDBClusterParameterGroupCommand = async (output, context) =>
|
|
|
3311
3110
|
$metadata: deserializeMetadata(output),
|
|
3312
3111
|
...contents,
|
|
3313
3112
|
};
|
|
3314
|
-
return
|
|
3113
|
+
return response;
|
|
3315
3114
|
};
|
|
3316
3115
|
const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
3317
3116
|
const parsedOutput = {
|
|
@@ -3328,10 +3127,9 @@ const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
3328
3127
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3329
3128
|
default:
|
|
3330
3129
|
const parsedBody = parsedOutput.body;
|
|
3331
|
-
throwDefaultError({
|
|
3130
|
+
return throwDefaultError({
|
|
3332
3131
|
output,
|
|
3333
3132
|
parsedBody: parsedBody.Error,
|
|
3334
|
-
exceptionCtor: __BaseException,
|
|
3335
3133
|
errorCode,
|
|
3336
3134
|
});
|
|
3337
3135
|
}
|
|
@@ -3347,7 +3145,7 @@ export const de_ResetDBParameterGroupCommand = async (output, context) => {
|
|
|
3347
3145
|
$metadata: deserializeMetadata(output),
|
|
3348
3146
|
...contents,
|
|
3349
3147
|
};
|
|
3350
|
-
return
|
|
3148
|
+
return response;
|
|
3351
3149
|
};
|
|
3352
3150
|
const de_ResetDBParameterGroupCommandError = async (output, context) => {
|
|
3353
3151
|
const parsedOutput = {
|
|
@@ -3364,10 +3162,9 @@ const de_ResetDBParameterGroupCommandError = async (output, context) => {
|
|
|
3364
3162
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3365
3163
|
default:
|
|
3366
3164
|
const parsedBody = parsedOutput.body;
|
|
3367
|
-
throwDefaultError({
|
|
3165
|
+
return throwDefaultError({
|
|
3368
3166
|
output,
|
|
3369
3167
|
parsedBody: parsedBody.Error,
|
|
3370
|
-
exceptionCtor: __BaseException,
|
|
3371
3168
|
errorCode,
|
|
3372
3169
|
});
|
|
3373
3170
|
}
|
|
@@ -3383,7 +3180,7 @@ export const de_RestoreDBClusterFromSnapshotCommand = async (output, context) =>
|
|
|
3383
3180
|
$metadata: deserializeMetadata(output),
|
|
3384
3181
|
...contents,
|
|
3385
3182
|
};
|
|
3386
|
-
return
|
|
3183
|
+
return response;
|
|
3387
3184
|
};
|
|
3388
3185
|
const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
3389
3186
|
const parsedOutput = {
|
|
@@ -3442,10 +3239,9 @@ const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
|
3442
3239
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
3443
3240
|
default:
|
|
3444
3241
|
const parsedBody = parsedOutput.body;
|
|
3445
|
-
throwDefaultError({
|
|
3242
|
+
return throwDefaultError({
|
|
3446
3243
|
output,
|
|
3447
3244
|
parsedBody: parsedBody.Error,
|
|
3448
|
-
exceptionCtor: __BaseException,
|
|
3449
3245
|
errorCode,
|
|
3450
3246
|
});
|
|
3451
3247
|
}
|
|
@@ -3461,7 +3257,7 @@ export const de_RestoreDBClusterToPointInTimeCommand = async (output, context) =
|
|
|
3461
3257
|
$metadata: deserializeMetadata(output),
|
|
3462
3258
|
...contents,
|
|
3463
3259
|
};
|
|
3464
|
-
return
|
|
3260
|
+
return response;
|
|
3465
3261
|
};
|
|
3466
3262
|
const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) => {
|
|
3467
3263
|
const parsedOutput = {
|
|
@@ -3523,10 +3319,9 @@ const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) =>
|
|
|
3523
3319
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
3524
3320
|
default:
|
|
3525
3321
|
const parsedBody = parsedOutput.body;
|
|
3526
|
-
throwDefaultError({
|
|
3322
|
+
return throwDefaultError({
|
|
3527
3323
|
output,
|
|
3528
3324
|
parsedBody: parsedBody.Error,
|
|
3529
|
-
exceptionCtor: __BaseException,
|
|
3530
3325
|
errorCode,
|
|
3531
3326
|
});
|
|
3532
3327
|
}
|
|
@@ -3542,7 +3337,7 @@ export const de_StartDBClusterCommand = async (output, context) => {
|
|
|
3542
3337
|
$metadata: deserializeMetadata(output),
|
|
3543
3338
|
...contents,
|
|
3544
3339
|
};
|
|
3545
|
-
return
|
|
3340
|
+
return response;
|
|
3546
3341
|
};
|
|
3547
3342
|
const de_StartDBClusterCommandError = async (output, context) => {
|
|
3548
3343
|
const parsedOutput = {
|
|
@@ -3562,10 +3357,9 @@ const de_StartDBClusterCommandError = async (output, context) => {
|
|
|
3562
3357
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3563
3358
|
default:
|
|
3564
3359
|
const parsedBody = parsedOutput.body;
|
|
3565
|
-
throwDefaultError({
|
|
3360
|
+
return throwDefaultError({
|
|
3566
3361
|
output,
|
|
3567
3362
|
parsedBody: parsedBody.Error,
|
|
3568
|
-
exceptionCtor: __BaseException,
|
|
3569
3363
|
errorCode,
|
|
3570
3364
|
});
|
|
3571
3365
|
}
|
|
@@ -3581,7 +3375,7 @@ export const de_StopDBClusterCommand = async (output, context) => {
|
|
|
3581
3375
|
$metadata: deserializeMetadata(output),
|
|
3582
3376
|
...contents,
|
|
3583
3377
|
};
|
|
3584
|
-
return
|
|
3378
|
+
return response;
|
|
3585
3379
|
};
|
|
3586
3380
|
const de_StopDBClusterCommandError = async (output, context) => {
|
|
3587
3381
|
const parsedOutput = {
|
|
@@ -3601,10 +3395,9 @@ const de_StopDBClusterCommandError = async (output, context) => {
|
|
|
3601
3395
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3602
3396
|
default:
|
|
3603
3397
|
const parsedBody = parsedOutput.body;
|
|
3604
|
-
throwDefaultError({
|
|
3398
|
+
return throwDefaultError({
|
|
3605
3399
|
output,
|
|
3606
3400
|
parsedBody: parsedBody.Error,
|
|
3607
|
-
exceptionCtor: __BaseException,
|
|
3608
3401
|
errorCode,
|
|
3609
3402
|
});
|
|
3610
3403
|
}
|
|
@@ -9014,6 +8807,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
9014
8807
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
9015
8808
|
};
|
|
9016
8809
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
8810
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
9017
8811
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
9018
8812
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
9019
8813
|
const contents = {
|
|
@@ -9032,6 +8826,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
9032
8826
|
}
|
|
9033
8827
|
return new __HttpRequest(contents);
|
|
9034
8828
|
};
|
|
8829
|
+
const SHARED_HEADERS = {
|
|
8830
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
8831
|
+
};
|
|
9035
8832
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
9036
8833
|
if (encoded.length) {
|
|
9037
8834
|
const parser = new XMLParser({
|