@aws-sdk/client-rds 3.310.0 → 3.314.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.
@@ -5,9 +5,7 @@ import { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, Authorizat
5
5
  import { DBClusterRoleNotFoundFault, DBInstanceRoleNotFoundFault, DBLogFileNotFoundFault, DBProxyTargetAlreadyRegisteredFault, DBUpgradeDependencyFailureFault, ExportTaskAlreadyExistsFault, IamRoleMissingPermissionsFault, IamRoleNotFoundFault, InsufficientAvailableIPsInSubnetFault, InsufficientDBClusterCapacityFault, InvalidDBClusterCapacityFault, InvalidExportOnlyFault, InvalidExportSourceStateFault, InvalidRestoreFault, InvalidS3BucketFault, PointInTimeRestoreNotEnabledFault, ReservedDBInstanceAlreadyExistsFault, ReservedDBInstanceNotFoundFault, ReservedDBInstanceQuotaExceededFault, ReservedDBInstancesOfferingNotFoundFault, SharedSnapshotQuotaExceededFault, SubnetAlreadyInUse, } from "../models/models_1";
6
6
  import { RDSServiceException as __BaseException } from "../models/RDSServiceException";
7
7
  export const se_AddRoleToDBClusterCommand = async (input, context) => {
8
- const headers = {
9
- "content-type": "application/x-www-form-urlencoded",
10
- };
8
+ const headers = SHARED_HEADERS;
11
9
  let body;
12
10
  body = buildFormUrlencodedString({
13
11
  ...se_AddRoleToDBClusterMessage(input, context),
@@ -17,9 +15,7 @@ export const se_AddRoleToDBClusterCommand = async (input, context) => {
17
15
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
18
16
  };
19
17
  export const se_AddRoleToDBInstanceCommand = async (input, context) => {
20
- const headers = {
21
- "content-type": "application/x-www-form-urlencoded",
22
- };
18
+ const headers = SHARED_HEADERS;
23
19
  let body;
24
20
  body = buildFormUrlencodedString({
25
21
  ...se_AddRoleToDBInstanceMessage(input, context),
@@ -29,9 +25,7 @@ export const se_AddRoleToDBInstanceCommand = async (input, context) => {
29
25
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
30
26
  };
31
27
  export const se_AddSourceIdentifierToSubscriptionCommand = async (input, context) => {
32
- const headers = {
33
- "content-type": "application/x-www-form-urlencoded",
34
- };
28
+ const headers = SHARED_HEADERS;
35
29
  let body;
36
30
  body = buildFormUrlencodedString({
37
31
  ...se_AddSourceIdentifierToSubscriptionMessage(input, context),
@@ -41,9 +35,7 @@ export const se_AddSourceIdentifierToSubscriptionCommand = async (input, context
41
35
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
42
36
  };
43
37
  export const se_AddTagsToResourceCommand = async (input, context) => {
44
- const headers = {
45
- "content-type": "application/x-www-form-urlencoded",
46
- };
38
+ const headers = SHARED_HEADERS;
47
39
  let body;
48
40
  body = buildFormUrlencodedString({
49
41
  ...se_AddTagsToResourceMessage(input, context),
@@ -53,9 +45,7 @@ export const se_AddTagsToResourceCommand = async (input, context) => {
53
45
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
54
46
  };
55
47
  export const se_ApplyPendingMaintenanceActionCommand = async (input, context) => {
56
- const headers = {
57
- "content-type": "application/x-www-form-urlencoded",
58
- };
48
+ const headers = SHARED_HEADERS;
59
49
  let body;
60
50
  body = buildFormUrlencodedString({
61
51
  ...se_ApplyPendingMaintenanceActionMessage(input, context),
@@ -65,9 +55,7 @@ export const se_ApplyPendingMaintenanceActionCommand = async (input, context) =>
65
55
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
66
56
  };
67
57
  export const se_AuthorizeDBSecurityGroupIngressCommand = async (input, context) => {
68
- const headers = {
69
- "content-type": "application/x-www-form-urlencoded",
70
- };
58
+ const headers = SHARED_HEADERS;
71
59
  let body;
72
60
  body = buildFormUrlencodedString({
73
61
  ...se_AuthorizeDBSecurityGroupIngressMessage(input, context),
@@ -77,9 +65,7 @@ export const se_AuthorizeDBSecurityGroupIngressCommand = async (input, context)
77
65
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
78
66
  };
79
67
  export const se_BacktrackDBClusterCommand = async (input, context) => {
80
- const headers = {
81
- "content-type": "application/x-www-form-urlencoded",
82
- };
68
+ const headers = SHARED_HEADERS;
83
69
  let body;
84
70
  body = buildFormUrlencodedString({
85
71
  ...se_BacktrackDBClusterMessage(input, context),
@@ -89,9 +75,7 @@ export const se_BacktrackDBClusterCommand = async (input, context) => {
89
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
90
76
  };
91
77
  export const se_CancelExportTaskCommand = async (input, context) => {
92
- const headers = {
93
- "content-type": "application/x-www-form-urlencoded",
94
- };
78
+ const headers = SHARED_HEADERS;
95
79
  let body;
96
80
  body = buildFormUrlencodedString({
97
81
  ...se_CancelExportTaskMessage(input, context),
@@ -101,9 +85,7 @@ export const se_CancelExportTaskCommand = async (input, context) => {
101
85
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
102
86
  };
103
87
  export const se_CopyDBClusterParameterGroupCommand = async (input, context) => {
104
- const headers = {
105
- "content-type": "application/x-www-form-urlencoded",
106
- };
88
+ const headers = SHARED_HEADERS;
107
89
  let body;
108
90
  body = buildFormUrlencodedString({
109
91
  ...se_CopyDBClusterParameterGroupMessage(input, context),
@@ -113,9 +95,7 @@ export const se_CopyDBClusterParameterGroupCommand = async (input, context) => {
113
95
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
114
96
  };
115
97
  export const se_CopyDBClusterSnapshotCommand = async (input, context) => {
116
- const headers = {
117
- "content-type": "application/x-www-form-urlencoded",
118
- };
98
+ const headers = SHARED_HEADERS;
119
99
  let body;
120
100
  body = buildFormUrlencodedString({
121
101
  ...se_CopyDBClusterSnapshotMessage(input, context),
@@ -125,9 +105,7 @@ export const se_CopyDBClusterSnapshotCommand = async (input, context) => {
125
105
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
126
106
  };
127
107
  export const se_CopyDBParameterGroupCommand = async (input, context) => {
128
- const headers = {
129
- "content-type": "application/x-www-form-urlencoded",
130
- };
108
+ const headers = SHARED_HEADERS;
131
109
  let body;
132
110
  body = buildFormUrlencodedString({
133
111
  ...se_CopyDBParameterGroupMessage(input, context),
@@ -137,9 +115,7 @@ export const se_CopyDBParameterGroupCommand = async (input, context) => {
137
115
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
138
116
  };
139
117
  export const se_CopyDBSnapshotCommand = async (input, context) => {
140
- const headers = {
141
- "content-type": "application/x-www-form-urlencoded",
142
- };
118
+ const headers = SHARED_HEADERS;
143
119
  let body;
144
120
  body = buildFormUrlencodedString({
145
121
  ...se_CopyDBSnapshotMessage(input, context),
@@ -149,9 +125,7 @@ export const se_CopyDBSnapshotCommand = async (input, context) => {
149
125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
150
126
  };
151
127
  export const se_CopyOptionGroupCommand = async (input, context) => {
152
- const headers = {
153
- "content-type": "application/x-www-form-urlencoded",
154
- };
128
+ const headers = SHARED_HEADERS;
155
129
  let body;
156
130
  body = buildFormUrlencodedString({
157
131
  ...se_CopyOptionGroupMessage(input, context),
@@ -161,9 +135,7 @@ export const se_CopyOptionGroupCommand = async (input, context) => {
161
135
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
162
136
  };
163
137
  export const se_CreateBlueGreenDeploymentCommand = async (input, context) => {
164
- const headers = {
165
- "content-type": "application/x-www-form-urlencoded",
166
- };
138
+ const headers = SHARED_HEADERS;
167
139
  let body;
168
140
  body = buildFormUrlencodedString({
169
141
  ...se_CreateBlueGreenDeploymentRequest(input, context),
@@ -173,9 +145,7 @@ export const se_CreateBlueGreenDeploymentCommand = async (input, context) => {
173
145
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
174
146
  };
175
147
  export const se_CreateCustomDBEngineVersionCommand = async (input, context) => {
176
- const headers = {
177
- "content-type": "application/x-www-form-urlencoded",
178
- };
148
+ const headers = SHARED_HEADERS;
179
149
  let body;
180
150
  body = buildFormUrlencodedString({
181
151
  ...se_CreateCustomDBEngineVersionMessage(input, context),
@@ -185,9 +155,7 @@ export const se_CreateCustomDBEngineVersionCommand = async (input, context) => {
185
155
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
186
156
  };
187
157
  export const se_CreateDBClusterCommand = async (input, context) => {
188
- const headers = {
189
- "content-type": "application/x-www-form-urlencoded",
190
- };
158
+ const headers = SHARED_HEADERS;
191
159
  let body;
192
160
  body = buildFormUrlencodedString({
193
161
  ...se_CreateDBClusterMessage(input, context),
@@ -197,9 +165,7 @@ export const se_CreateDBClusterCommand = async (input, context) => {
197
165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
198
166
  };
199
167
  export const se_CreateDBClusterEndpointCommand = async (input, context) => {
200
- const headers = {
201
- "content-type": "application/x-www-form-urlencoded",
202
- };
168
+ const headers = SHARED_HEADERS;
203
169
  let body;
204
170
  body = buildFormUrlencodedString({
205
171
  ...se_CreateDBClusterEndpointMessage(input, context),
@@ -209,9 +175,7 @@ export const se_CreateDBClusterEndpointCommand = async (input, context) => {
209
175
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
210
176
  };
211
177
  export const se_CreateDBClusterParameterGroupCommand = async (input, context) => {
212
- const headers = {
213
- "content-type": "application/x-www-form-urlencoded",
214
- };
178
+ const headers = SHARED_HEADERS;
215
179
  let body;
216
180
  body = buildFormUrlencodedString({
217
181
  ...se_CreateDBClusterParameterGroupMessage(input, context),
@@ -221,9 +185,7 @@ export const se_CreateDBClusterParameterGroupCommand = async (input, context) =>
221
185
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
222
186
  };
223
187
  export const se_CreateDBClusterSnapshotCommand = async (input, context) => {
224
- const headers = {
225
- "content-type": "application/x-www-form-urlencoded",
226
- };
188
+ const headers = SHARED_HEADERS;
227
189
  let body;
228
190
  body = buildFormUrlencodedString({
229
191
  ...se_CreateDBClusterSnapshotMessage(input, context),
@@ -233,9 +195,7 @@ export const se_CreateDBClusterSnapshotCommand = async (input, context) => {
233
195
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
234
196
  };
235
197
  export const se_CreateDBInstanceCommand = async (input, context) => {
236
- const headers = {
237
- "content-type": "application/x-www-form-urlencoded",
238
- };
198
+ const headers = SHARED_HEADERS;
239
199
  let body;
240
200
  body = buildFormUrlencodedString({
241
201
  ...se_CreateDBInstanceMessage(input, context),
@@ -245,9 +205,7 @@ export const se_CreateDBInstanceCommand = async (input, context) => {
245
205
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
246
206
  };
247
207
  export const se_CreateDBInstanceReadReplicaCommand = async (input, context) => {
248
- const headers = {
249
- "content-type": "application/x-www-form-urlencoded",
250
- };
208
+ const headers = SHARED_HEADERS;
251
209
  let body;
252
210
  body = buildFormUrlencodedString({
253
211
  ...se_CreateDBInstanceReadReplicaMessage(input, context),
@@ -257,9 +215,7 @@ export const se_CreateDBInstanceReadReplicaCommand = async (input, context) => {
257
215
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
258
216
  };
259
217
  export const se_CreateDBParameterGroupCommand = async (input, context) => {
260
- const headers = {
261
- "content-type": "application/x-www-form-urlencoded",
262
- };
218
+ const headers = SHARED_HEADERS;
263
219
  let body;
264
220
  body = buildFormUrlencodedString({
265
221
  ...se_CreateDBParameterGroupMessage(input, context),
@@ -269,9 +225,7 @@ export const se_CreateDBParameterGroupCommand = async (input, context) => {
269
225
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
270
226
  };
271
227
  export const se_CreateDBProxyCommand = async (input, context) => {
272
- const headers = {
273
- "content-type": "application/x-www-form-urlencoded",
274
- };
228
+ const headers = SHARED_HEADERS;
275
229
  let body;
276
230
  body = buildFormUrlencodedString({
277
231
  ...se_CreateDBProxyRequest(input, context),
@@ -281,9 +235,7 @@ export const se_CreateDBProxyCommand = async (input, context) => {
281
235
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
282
236
  };
283
237
  export const se_CreateDBProxyEndpointCommand = async (input, context) => {
284
- const headers = {
285
- "content-type": "application/x-www-form-urlencoded",
286
- };
238
+ const headers = SHARED_HEADERS;
287
239
  let body;
288
240
  body = buildFormUrlencodedString({
289
241
  ...se_CreateDBProxyEndpointRequest(input, context),
@@ -293,9 +245,7 @@ export const se_CreateDBProxyEndpointCommand = async (input, context) => {
293
245
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
294
246
  };
295
247
  export const se_CreateDBSecurityGroupCommand = async (input, context) => {
296
- const headers = {
297
- "content-type": "application/x-www-form-urlencoded",
298
- };
248
+ const headers = SHARED_HEADERS;
299
249
  let body;
300
250
  body = buildFormUrlencodedString({
301
251
  ...se_CreateDBSecurityGroupMessage(input, context),
@@ -305,9 +255,7 @@ export const se_CreateDBSecurityGroupCommand = async (input, context) => {
305
255
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
306
256
  };
307
257
  export const se_CreateDBSnapshotCommand = async (input, context) => {
308
- const headers = {
309
- "content-type": "application/x-www-form-urlencoded",
310
- };
258
+ const headers = SHARED_HEADERS;
311
259
  let body;
312
260
  body = buildFormUrlencodedString({
313
261
  ...se_CreateDBSnapshotMessage(input, context),
@@ -317,9 +265,7 @@ export const se_CreateDBSnapshotCommand = async (input, context) => {
317
265
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
318
266
  };
319
267
  export const se_CreateDBSubnetGroupCommand = async (input, context) => {
320
- const headers = {
321
- "content-type": "application/x-www-form-urlencoded",
322
- };
268
+ const headers = SHARED_HEADERS;
323
269
  let body;
324
270
  body = buildFormUrlencodedString({
325
271
  ...se_CreateDBSubnetGroupMessage(input, context),
@@ -329,9 +275,7 @@ export const se_CreateDBSubnetGroupCommand = async (input, context) => {
329
275
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
330
276
  };
331
277
  export const se_CreateEventSubscriptionCommand = async (input, context) => {
332
- const headers = {
333
- "content-type": "application/x-www-form-urlencoded",
334
- };
278
+ const headers = SHARED_HEADERS;
335
279
  let body;
336
280
  body = buildFormUrlencodedString({
337
281
  ...se_CreateEventSubscriptionMessage(input, context),
@@ -341,9 +285,7 @@ export const se_CreateEventSubscriptionCommand = async (input, context) => {
341
285
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
342
286
  };
343
287
  export const se_CreateGlobalClusterCommand = async (input, context) => {
344
- const headers = {
345
- "content-type": "application/x-www-form-urlencoded",
346
- };
288
+ const headers = SHARED_HEADERS;
347
289
  let body;
348
290
  body = buildFormUrlencodedString({
349
291
  ...se_CreateGlobalClusterMessage(input, context),
@@ -353,9 +295,7 @@ export const se_CreateGlobalClusterCommand = async (input, context) => {
353
295
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
354
296
  };
355
297
  export const se_CreateOptionGroupCommand = async (input, context) => {
356
- const headers = {
357
- "content-type": "application/x-www-form-urlencoded",
358
- };
298
+ const headers = SHARED_HEADERS;
359
299
  let body;
360
300
  body = buildFormUrlencodedString({
361
301
  ...se_CreateOptionGroupMessage(input, context),
@@ -365,9 +305,7 @@ export const se_CreateOptionGroupCommand = async (input, context) => {
365
305
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
366
306
  };
367
307
  export const se_DeleteBlueGreenDeploymentCommand = async (input, context) => {
368
- const headers = {
369
- "content-type": "application/x-www-form-urlencoded",
370
- };
308
+ const headers = SHARED_HEADERS;
371
309
  let body;
372
310
  body = buildFormUrlencodedString({
373
311
  ...se_DeleteBlueGreenDeploymentRequest(input, context),
@@ -377,9 +315,7 @@ export const se_DeleteBlueGreenDeploymentCommand = async (input, context) => {
377
315
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
378
316
  };
379
317
  export const se_DeleteCustomDBEngineVersionCommand = async (input, context) => {
380
- const headers = {
381
- "content-type": "application/x-www-form-urlencoded",
382
- };
318
+ const headers = SHARED_HEADERS;
383
319
  let body;
384
320
  body = buildFormUrlencodedString({
385
321
  ...se_DeleteCustomDBEngineVersionMessage(input, context),
@@ -389,9 +325,7 @@ export const se_DeleteCustomDBEngineVersionCommand = async (input, context) => {
389
325
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
390
326
  };
391
327
  export const se_DeleteDBClusterCommand = async (input, context) => {
392
- const headers = {
393
- "content-type": "application/x-www-form-urlencoded",
394
- };
328
+ const headers = SHARED_HEADERS;
395
329
  let body;
396
330
  body = buildFormUrlencodedString({
397
331
  ...se_DeleteDBClusterMessage(input, context),
@@ -401,9 +335,7 @@ export const se_DeleteDBClusterCommand = async (input, context) => {
401
335
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
402
336
  };
403
337
  export const se_DeleteDBClusterEndpointCommand = async (input, context) => {
404
- const headers = {
405
- "content-type": "application/x-www-form-urlencoded",
406
- };
338
+ const headers = SHARED_HEADERS;
407
339
  let body;
408
340
  body = buildFormUrlencodedString({
409
341
  ...se_DeleteDBClusterEndpointMessage(input, context),
@@ -413,9 +345,7 @@ export const se_DeleteDBClusterEndpointCommand = async (input, context) => {
413
345
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
414
346
  };
415
347
  export const se_DeleteDBClusterParameterGroupCommand = async (input, context) => {
416
- const headers = {
417
- "content-type": "application/x-www-form-urlencoded",
418
- };
348
+ const headers = SHARED_HEADERS;
419
349
  let body;
420
350
  body = buildFormUrlencodedString({
421
351
  ...se_DeleteDBClusterParameterGroupMessage(input, context),
@@ -425,9 +355,7 @@ export const se_DeleteDBClusterParameterGroupCommand = async (input, context) =>
425
355
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
426
356
  };
427
357
  export const se_DeleteDBClusterSnapshotCommand = async (input, context) => {
428
- const headers = {
429
- "content-type": "application/x-www-form-urlencoded",
430
- };
358
+ const headers = SHARED_HEADERS;
431
359
  let body;
432
360
  body = buildFormUrlencodedString({
433
361
  ...se_DeleteDBClusterSnapshotMessage(input, context),
@@ -437,9 +365,7 @@ export const se_DeleteDBClusterSnapshotCommand = async (input, context) => {
437
365
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
438
366
  };
439
367
  export const se_DeleteDBInstanceCommand = async (input, context) => {
440
- const headers = {
441
- "content-type": "application/x-www-form-urlencoded",
442
- };
368
+ const headers = SHARED_HEADERS;
443
369
  let body;
444
370
  body = buildFormUrlencodedString({
445
371
  ...se_DeleteDBInstanceMessage(input, context),
@@ -449,9 +375,7 @@ export const se_DeleteDBInstanceCommand = async (input, context) => {
449
375
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
450
376
  };
451
377
  export const se_DeleteDBInstanceAutomatedBackupCommand = async (input, context) => {
452
- const headers = {
453
- "content-type": "application/x-www-form-urlencoded",
454
- };
378
+ const headers = SHARED_HEADERS;
455
379
  let body;
456
380
  body = buildFormUrlencodedString({
457
381
  ...se_DeleteDBInstanceAutomatedBackupMessage(input, context),
@@ -461,9 +385,7 @@ export const se_DeleteDBInstanceAutomatedBackupCommand = async (input, context)
461
385
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
462
386
  };
463
387
  export const se_DeleteDBParameterGroupCommand = async (input, context) => {
464
- const headers = {
465
- "content-type": "application/x-www-form-urlencoded",
466
- };
388
+ const headers = SHARED_HEADERS;
467
389
  let body;
468
390
  body = buildFormUrlencodedString({
469
391
  ...se_DeleteDBParameterGroupMessage(input, context),
@@ -473,9 +395,7 @@ export const se_DeleteDBParameterGroupCommand = async (input, context) => {
473
395
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
474
396
  };
475
397
  export const se_DeleteDBProxyCommand = async (input, context) => {
476
- const headers = {
477
- "content-type": "application/x-www-form-urlencoded",
478
- };
398
+ const headers = SHARED_HEADERS;
479
399
  let body;
480
400
  body = buildFormUrlencodedString({
481
401
  ...se_DeleteDBProxyRequest(input, context),
@@ -485,9 +405,7 @@ export const se_DeleteDBProxyCommand = async (input, context) => {
485
405
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
486
406
  };
487
407
  export const se_DeleteDBProxyEndpointCommand = async (input, context) => {
488
- const headers = {
489
- "content-type": "application/x-www-form-urlencoded",
490
- };
408
+ const headers = SHARED_HEADERS;
491
409
  let body;
492
410
  body = buildFormUrlencodedString({
493
411
  ...se_DeleteDBProxyEndpointRequest(input, context),
@@ -497,9 +415,7 @@ export const se_DeleteDBProxyEndpointCommand = async (input, context) => {
497
415
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
498
416
  };
499
417
  export const se_DeleteDBSecurityGroupCommand = async (input, context) => {
500
- const headers = {
501
- "content-type": "application/x-www-form-urlencoded",
502
- };
418
+ const headers = SHARED_HEADERS;
503
419
  let body;
504
420
  body = buildFormUrlencodedString({
505
421
  ...se_DeleteDBSecurityGroupMessage(input, context),
@@ -509,9 +425,7 @@ export const se_DeleteDBSecurityGroupCommand = async (input, context) => {
509
425
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
510
426
  };
511
427
  export const se_DeleteDBSnapshotCommand = async (input, context) => {
512
- const headers = {
513
- "content-type": "application/x-www-form-urlencoded",
514
- };
428
+ const headers = SHARED_HEADERS;
515
429
  let body;
516
430
  body = buildFormUrlencodedString({
517
431
  ...se_DeleteDBSnapshotMessage(input, context),
@@ -521,9 +435,7 @@ export const se_DeleteDBSnapshotCommand = async (input, context) => {
521
435
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
522
436
  };
523
437
  export const se_DeleteDBSubnetGroupCommand = async (input, context) => {
524
- const headers = {
525
- "content-type": "application/x-www-form-urlencoded",
526
- };
438
+ const headers = SHARED_HEADERS;
527
439
  let body;
528
440
  body = buildFormUrlencodedString({
529
441
  ...se_DeleteDBSubnetGroupMessage(input, context),
@@ -533,9 +445,7 @@ export const se_DeleteDBSubnetGroupCommand = async (input, context) => {
533
445
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
534
446
  };
535
447
  export const se_DeleteEventSubscriptionCommand = async (input, context) => {
536
- const headers = {
537
- "content-type": "application/x-www-form-urlencoded",
538
- };
448
+ const headers = SHARED_HEADERS;
539
449
  let body;
540
450
  body = buildFormUrlencodedString({
541
451
  ...se_DeleteEventSubscriptionMessage(input, context),
@@ -545,9 +455,7 @@ export const se_DeleteEventSubscriptionCommand = async (input, context) => {
545
455
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
546
456
  };
547
457
  export const se_DeleteGlobalClusterCommand = async (input, context) => {
548
- const headers = {
549
- "content-type": "application/x-www-form-urlencoded",
550
- };
458
+ const headers = SHARED_HEADERS;
551
459
  let body;
552
460
  body = buildFormUrlencodedString({
553
461
  ...se_DeleteGlobalClusterMessage(input, context),
@@ -557,9 +465,7 @@ export const se_DeleteGlobalClusterCommand = async (input, context) => {
557
465
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
558
466
  };
559
467
  export const se_DeleteOptionGroupCommand = async (input, context) => {
560
- const headers = {
561
- "content-type": "application/x-www-form-urlencoded",
562
- };
468
+ const headers = SHARED_HEADERS;
563
469
  let body;
564
470
  body = buildFormUrlencodedString({
565
471
  ...se_DeleteOptionGroupMessage(input, context),
@@ -569,9 +475,7 @@ export const se_DeleteOptionGroupCommand = async (input, context) => {
569
475
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
570
476
  };
571
477
  export const se_DeregisterDBProxyTargetsCommand = async (input, context) => {
572
- const headers = {
573
- "content-type": "application/x-www-form-urlencoded",
574
- };
478
+ const headers = SHARED_HEADERS;
575
479
  let body;
576
480
  body = buildFormUrlencodedString({
577
481
  ...se_DeregisterDBProxyTargetsRequest(input, context),
@@ -581,9 +485,7 @@ export const se_DeregisterDBProxyTargetsCommand = async (input, context) => {
581
485
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
582
486
  };
583
487
  export const se_DescribeAccountAttributesCommand = async (input, context) => {
584
- const headers = {
585
- "content-type": "application/x-www-form-urlencoded",
586
- };
488
+ const headers = SHARED_HEADERS;
587
489
  let body;
588
490
  body = buildFormUrlencodedString({
589
491
  ...se_DescribeAccountAttributesMessage(input, context),
@@ -593,9 +495,7 @@ export const se_DescribeAccountAttributesCommand = async (input, context) => {
593
495
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
594
496
  };
595
497
  export const se_DescribeBlueGreenDeploymentsCommand = async (input, context) => {
596
- const headers = {
597
- "content-type": "application/x-www-form-urlencoded",
598
- };
498
+ const headers = SHARED_HEADERS;
599
499
  let body;
600
500
  body = buildFormUrlencodedString({
601
501
  ...se_DescribeBlueGreenDeploymentsRequest(input, context),
@@ -605,9 +505,7 @@ export const se_DescribeBlueGreenDeploymentsCommand = async (input, context) =>
605
505
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
606
506
  };
607
507
  export const se_DescribeCertificatesCommand = async (input, context) => {
608
- const headers = {
609
- "content-type": "application/x-www-form-urlencoded",
610
- };
508
+ const headers = SHARED_HEADERS;
611
509
  let body;
612
510
  body = buildFormUrlencodedString({
613
511
  ...se_DescribeCertificatesMessage(input, context),
@@ -617,9 +515,7 @@ export const se_DescribeCertificatesCommand = async (input, context) => {
617
515
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
618
516
  };
619
517
  export const se_DescribeDBClusterBacktracksCommand = async (input, context) => {
620
- const headers = {
621
- "content-type": "application/x-www-form-urlencoded",
622
- };
518
+ const headers = SHARED_HEADERS;
623
519
  let body;
624
520
  body = buildFormUrlencodedString({
625
521
  ...se_DescribeDBClusterBacktracksMessage(input, context),
@@ -629,9 +525,7 @@ export const se_DescribeDBClusterBacktracksCommand = async (input, context) => {
629
525
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
630
526
  };
631
527
  export const se_DescribeDBClusterEndpointsCommand = async (input, context) => {
632
- const headers = {
633
- "content-type": "application/x-www-form-urlencoded",
634
- };
528
+ const headers = SHARED_HEADERS;
635
529
  let body;
636
530
  body = buildFormUrlencodedString({
637
531
  ...se_DescribeDBClusterEndpointsMessage(input, context),
@@ -641,9 +535,7 @@ export const se_DescribeDBClusterEndpointsCommand = async (input, context) => {
641
535
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
642
536
  };
643
537
  export const se_DescribeDBClusterParameterGroupsCommand = async (input, context) => {
644
- const headers = {
645
- "content-type": "application/x-www-form-urlencoded",
646
- };
538
+ const headers = SHARED_HEADERS;
647
539
  let body;
648
540
  body = buildFormUrlencodedString({
649
541
  ...se_DescribeDBClusterParameterGroupsMessage(input, context),
@@ -653,9 +545,7 @@ export const se_DescribeDBClusterParameterGroupsCommand = async (input, context)
653
545
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
654
546
  };
655
547
  export const se_DescribeDBClusterParametersCommand = async (input, context) => {
656
- const headers = {
657
- "content-type": "application/x-www-form-urlencoded",
658
- };
548
+ const headers = SHARED_HEADERS;
659
549
  let body;
660
550
  body = buildFormUrlencodedString({
661
551
  ...se_DescribeDBClusterParametersMessage(input, context),
@@ -665,9 +555,7 @@ export const se_DescribeDBClusterParametersCommand = async (input, context) => {
665
555
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
666
556
  };
667
557
  export const se_DescribeDBClustersCommand = async (input, context) => {
668
- const headers = {
669
- "content-type": "application/x-www-form-urlencoded",
670
- };
558
+ const headers = SHARED_HEADERS;
671
559
  let body;
672
560
  body = buildFormUrlencodedString({
673
561
  ...se_DescribeDBClustersMessage(input, context),
@@ -677,9 +565,7 @@ export const se_DescribeDBClustersCommand = async (input, context) => {
677
565
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
678
566
  };
679
567
  export const se_DescribeDBClusterSnapshotAttributesCommand = async (input, context) => {
680
- const headers = {
681
- "content-type": "application/x-www-form-urlencoded",
682
- };
568
+ const headers = SHARED_HEADERS;
683
569
  let body;
684
570
  body = buildFormUrlencodedString({
685
571
  ...se_DescribeDBClusterSnapshotAttributesMessage(input, context),
@@ -689,9 +575,7 @@ export const se_DescribeDBClusterSnapshotAttributesCommand = async (input, conte
689
575
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
690
576
  };
691
577
  export const se_DescribeDBClusterSnapshotsCommand = async (input, context) => {
692
- const headers = {
693
- "content-type": "application/x-www-form-urlencoded",
694
- };
578
+ const headers = SHARED_HEADERS;
695
579
  let body;
696
580
  body = buildFormUrlencodedString({
697
581
  ...se_DescribeDBClusterSnapshotsMessage(input, context),
@@ -701,9 +585,7 @@ export const se_DescribeDBClusterSnapshotsCommand = async (input, context) => {
701
585
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
702
586
  };
703
587
  export const se_DescribeDBEngineVersionsCommand = async (input, context) => {
704
- const headers = {
705
- "content-type": "application/x-www-form-urlencoded",
706
- };
588
+ const headers = SHARED_HEADERS;
707
589
  let body;
708
590
  body = buildFormUrlencodedString({
709
591
  ...se_DescribeDBEngineVersionsMessage(input, context),
@@ -713,9 +595,7 @@ export const se_DescribeDBEngineVersionsCommand = async (input, context) => {
713
595
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
714
596
  };
715
597
  export const se_DescribeDBInstanceAutomatedBackupsCommand = async (input, context) => {
716
- const headers = {
717
- "content-type": "application/x-www-form-urlencoded",
718
- };
598
+ const headers = SHARED_HEADERS;
719
599
  let body;
720
600
  body = buildFormUrlencodedString({
721
601
  ...se_DescribeDBInstanceAutomatedBackupsMessage(input, context),
@@ -725,9 +605,7 @@ export const se_DescribeDBInstanceAutomatedBackupsCommand = async (input, contex
725
605
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
726
606
  };
727
607
  export const se_DescribeDBInstancesCommand = async (input, context) => {
728
- const headers = {
729
- "content-type": "application/x-www-form-urlencoded",
730
- };
608
+ const headers = SHARED_HEADERS;
731
609
  let body;
732
610
  body = buildFormUrlencodedString({
733
611
  ...se_DescribeDBInstancesMessage(input, context),
@@ -737,9 +615,7 @@ export const se_DescribeDBInstancesCommand = async (input, context) => {
737
615
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
738
616
  };
739
617
  export const se_DescribeDBLogFilesCommand = async (input, context) => {
740
- const headers = {
741
- "content-type": "application/x-www-form-urlencoded",
742
- };
618
+ const headers = SHARED_HEADERS;
743
619
  let body;
744
620
  body = buildFormUrlencodedString({
745
621
  ...se_DescribeDBLogFilesMessage(input, context),
@@ -749,9 +625,7 @@ export const se_DescribeDBLogFilesCommand = async (input, context) => {
749
625
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
750
626
  };
751
627
  export const se_DescribeDBParameterGroupsCommand = async (input, context) => {
752
- const headers = {
753
- "content-type": "application/x-www-form-urlencoded",
754
- };
628
+ const headers = SHARED_HEADERS;
755
629
  let body;
756
630
  body = buildFormUrlencodedString({
757
631
  ...se_DescribeDBParameterGroupsMessage(input, context),
@@ -761,9 +635,7 @@ export const se_DescribeDBParameterGroupsCommand = async (input, context) => {
761
635
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
762
636
  };
763
637
  export const se_DescribeDBParametersCommand = async (input, context) => {
764
- const headers = {
765
- "content-type": "application/x-www-form-urlencoded",
766
- };
638
+ const headers = SHARED_HEADERS;
767
639
  let body;
768
640
  body = buildFormUrlencodedString({
769
641
  ...se_DescribeDBParametersMessage(input, context),
@@ -773,9 +645,7 @@ export const se_DescribeDBParametersCommand = async (input, context) => {
773
645
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
774
646
  };
775
647
  export const se_DescribeDBProxiesCommand = async (input, context) => {
776
- const headers = {
777
- "content-type": "application/x-www-form-urlencoded",
778
- };
648
+ const headers = SHARED_HEADERS;
779
649
  let body;
780
650
  body = buildFormUrlencodedString({
781
651
  ...se_DescribeDBProxiesRequest(input, context),
@@ -785,9 +655,7 @@ export const se_DescribeDBProxiesCommand = async (input, context) => {
785
655
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
786
656
  };
787
657
  export const se_DescribeDBProxyEndpointsCommand = async (input, context) => {
788
- const headers = {
789
- "content-type": "application/x-www-form-urlencoded",
790
- };
658
+ const headers = SHARED_HEADERS;
791
659
  let body;
792
660
  body = buildFormUrlencodedString({
793
661
  ...se_DescribeDBProxyEndpointsRequest(input, context),
@@ -797,9 +665,7 @@ export const se_DescribeDBProxyEndpointsCommand = async (input, context) => {
797
665
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
798
666
  };
799
667
  export const se_DescribeDBProxyTargetGroupsCommand = async (input, context) => {
800
- const headers = {
801
- "content-type": "application/x-www-form-urlencoded",
802
- };
668
+ const headers = SHARED_HEADERS;
803
669
  let body;
804
670
  body = buildFormUrlencodedString({
805
671
  ...se_DescribeDBProxyTargetGroupsRequest(input, context),
@@ -809,9 +675,7 @@ export const se_DescribeDBProxyTargetGroupsCommand = async (input, context) => {
809
675
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
810
676
  };
811
677
  export const se_DescribeDBProxyTargetsCommand = async (input, context) => {
812
- const headers = {
813
- "content-type": "application/x-www-form-urlencoded",
814
- };
678
+ const headers = SHARED_HEADERS;
815
679
  let body;
816
680
  body = buildFormUrlencodedString({
817
681
  ...se_DescribeDBProxyTargetsRequest(input, context),
@@ -821,9 +685,7 @@ export const se_DescribeDBProxyTargetsCommand = async (input, context) => {
821
685
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
822
686
  };
823
687
  export const se_DescribeDBSecurityGroupsCommand = async (input, context) => {
824
- const headers = {
825
- "content-type": "application/x-www-form-urlencoded",
826
- };
688
+ const headers = SHARED_HEADERS;
827
689
  let body;
828
690
  body = buildFormUrlencodedString({
829
691
  ...se_DescribeDBSecurityGroupsMessage(input, context),
@@ -833,9 +695,7 @@ export const se_DescribeDBSecurityGroupsCommand = async (input, context) => {
833
695
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
834
696
  };
835
697
  export const se_DescribeDBSnapshotAttributesCommand = async (input, context) => {
836
- const headers = {
837
- "content-type": "application/x-www-form-urlencoded",
838
- };
698
+ const headers = SHARED_HEADERS;
839
699
  let body;
840
700
  body = buildFormUrlencodedString({
841
701
  ...se_DescribeDBSnapshotAttributesMessage(input, context),
@@ -845,9 +705,7 @@ export const se_DescribeDBSnapshotAttributesCommand = async (input, context) =>
845
705
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
846
706
  };
847
707
  export const se_DescribeDBSnapshotsCommand = async (input, context) => {
848
- const headers = {
849
- "content-type": "application/x-www-form-urlencoded",
850
- };
708
+ const headers = SHARED_HEADERS;
851
709
  let body;
852
710
  body = buildFormUrlencodedString({
853
711
  ...se_DescribeDBSnapshotsMessage(input, context),
@@ -857,9 +715,7 @@ export const se_DescribeDBSnapshotsCommand = async (input, context) => {
857
715
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
858
716
  };
859
717
  export const se_DescribeDBSubnetGroupsCommand = async (input, context) => {
860
- const headers = {
861
- "content-type": "application/x-www-form-urlencoded",
862
- };
718
+ const headers = SHARED_HEADERS;
863
719
  let body;
864
720
  body = buildFormUrlencodedString({
865
721
  ...se_DescribeDBSubnetGroupsMessage(input, context),
@@ -869,9 +725,7 @@ export const se_DescribeDBSubnetGroupsCommand = async (input, context) => {
869
725
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
870
726
  };
871
727
  export const se_DescribeEngineDefaultClusterParametersCommand = async (input, context) => {
872
- const headers = {
873
- "content-type": "application/x-www-form-urlencoded",
874
- };
728
+ const headers = SHARED_HEADERS;
875
729
  let body;
876
730
  body = buildFormUrlencodedString({
877
731
  ...se_DescribeEngineDefaultClusterParametersMessage(input, context),
@@ -881,9 +735,7 @@ export const se_DescribeEngineDefaultClusterParametersCommand = async (input, co
881
735
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
882
736
  };
883
737
  export const se_DescribeEngineDefaultParametersCommand = async (input, context) => {
884
- const headers = {
885
- "content-type": "application/x-www-form-urlencoded",
886
- };
738
+ const headers = SHARED_HEADERS;
887
739
  let body;
888
740
  body = buildFormUrlencodedString({
889
741
  ...se_DescribeEngineDefaultParametersMessage(input, context),
@@ -893,9 +745,7 @@ export const se_DescribeEngineDefaultParametersCommand = async (input, context)
893
745
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
894
746
  };
895
747
  export const se_DescribeEventCategoriesCommand = async (input, context) => {
896
- const headers = {
897
- "content-type": "application/x-www-form-urlencoded",
898
- };
748
+ const headers = SHARED_HEADERS;
899
749
  let body;
900
750
  body = buildFormUrlencodedString({
901
751
  ...se_DescribeEventCategoriesMessage(input, context),
@@ -905,9 +755,7 @@ export const se_DescribeEventCategoriesCommand = async (input, context) => {
905
755
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
906
756
  };
907
757
  export const se_DescribeEventsCommand = async (input, context) => {
908
- const headers = {
909
- "content-type": "application/x-www-form-urlencoded",
910
- };
758
+ const headers = SHARED_HEADERS;
911
759
  let body;
912
760
  body = buildFormUrlencodedString({
913
761
  ...se_DescribeEventsMessage(input, context),
@@ -917,9 +765,7 @@ export const se_DescribeEventsCommand = async (input, context) => {
917
765
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
918
766
  };
919
767
  export const se_DescribeEventSubscriptionsCommand = async (input, context) => {
920
- const headers = {
921
- "content-type": "application/x-www-form-urlencoded",
922
- };
768
+ const headers = SHARED_HEADERS;
923
769
  let body;
924
770
  body = buildFormUrlencodedString({
925
771
  ...se_DescribeEventSubscriptionsMessage(input, context),
@@ -929,9 +775,7 @@ export const se_DescribeEventSubscriptionsCommand = async (input, context) => {
929
775
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
930
776
  };
931
777
  export const se_DescribeExportTasksCommand = async (input, context) => {
932
- const headers = {
933
- "content-type": "application/x-www-form-urlencoded",
934
- };
778
+ const headers = SHARED_HEADERS;
935
779
  let body;
936
780
  body = buildFormUrlencodedString({
937
781
  ...se_DescribeExportTasksMessage(input, context),
@@ -941,9 +785,7 @@ export const se_DescribeExportTasksCommand = async (input, context) => {
941
785
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
942
786
  };
943
787
  export const se_DescribeGlobalClustersCommand = async (input, context) => {
944
- const headers = {
945
- "content-type": "application/x-www-form-urlencoded",
946
- };
788
+ const headers = SHARED_HEADERS;
947
789
  let body;
948
790
  body = buildFormUrlencodedString({
949
791
  ...se_DescribeGlobalClustersMessage(input, context),
@@ -953,9 +795,7 @@ export const se_DescribeGlobalClustersCommand = async (input, context) => {
953
795
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
954
796
  };
955
797
  export const se_DescribeOptionGroupOptionsCommand = async (input, context) => {
956
- const headers = {
957
- "content-type": "application/x-www-form-urlencoded",
958
- };
798
+ const headers = SHARED_HEADERS;
959
799
  let body;
960
800
  body = buildFormUrlencodedString({
961
801
  ...se_DescribeOptionGroupOptionsMessage(input, context),
@@ -965,9 +805,7 @@ export const se_DescribeOptionGroupOptionsCommand = async (input, context) => {
965
805
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
966
806
  };
967
807
  export const se_DescribeOptionGroupsCommand = async (input, context) => {
968
- const headers = {
969
- "content-type": "application/x-www-form-urlencoded",
970
- };
808
+ const headers = SHARED_HEADERS;
971
809
  let body;
972
810
  body = buildFormUrlencodedString({
973
811
  ...se_DescribeOptionGroupsMessage(input, context),
@@ -977,9 +815,7 @@ export const se_DescribeOptionGroupsCommand = async (input, context) => {
977
815
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
978
816
  };
979
817
  export const se_DescribeOrderableDBInstanceOptionsCommand = async (input, context) => {
980
- const headers = {
981
- "content-type": "application/x-www-form-urlencoded",
982
- };
818
+ const headers = SHARED_HEADERS;
983
819
  let body;
984
820
  body = buildFormUrlencodedString({
985
821
  ...se_DescribeOrderableDBInstanceOptionsMessage(input, context),
@@ -989,9 +825,7 @@ export const se_DescribeOrderableDBInstanceOptionsCommand = async (input, contex
989
825
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
990
826
  };
991
827
  export const se_DescribePendingMaintenanceActionsCommand = async (input, context) => {
992
- const headers = {
993
- "content-type": "application/x-www-form-urlencoded",
994
- };
828
+ const headers = SHARED_HEADERS;
995
829
  let body;
996
830
  body = buildFormUrlencodedString({
997
831
  ...se_DescribePendingMaintenanceActionsMessage(input, context),
@@ -1001,9 +835,7 @@ export const se_DescribePendingMaintenanceActionsCommand = async (input, context
1001
835
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1002
836
  };
1003
837
  export const se_DescribeReservedDBInstancesCommand = async (input, context) => {
1004
- const headers = {
1005
- "content-type": "application/x-www-form-urlencoded",
1006
- };
838
+ const headers = SHARED_HEADERS;
1007
839
  let body;
1008
840
  body = buildFormUrlencodedString({
1009
841
  ...se_DescribeReservedDBInstancesMessage(input, context),
@@ -1013,9 +845,7 @@ export const se_DescribeReservedDBInstancesCommand = async (input, context) => {
1013
845
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1014
846
  };
1015
847
  export const se_DescribeReservedDBInstancesOfferingsCommand = async (input, context) => {
1016
- const headers = {
1017
- "content-type": "application/x-www-form-urlencoded",
1018
- };
848
+ const headers = SHARED_HEADERS;
1019
849
  let body;
1020
850
  body = buildFormUrlencodedString({
1021
851
  ...se_DescribeReservedDBInstancesOfferingsMessage(input, context),
@@ -1025,9 +855,7 @@ export const se_DescribeReservedDBInstancesOfferingsCommand = async (input, cont
1025
855
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1026
856
  };
1027
857
  export const se_DescribeSourceRegionsCommand = async (input, context) => {
1028
- const headers = {
1029
- "content-type": "application/x-www-form-urlencoded",
1030
- };
858
+ const headers = SHARED_HEADERS;
1031
859
  let body;
1032
860
  body = buildFormUrlencodedString({
1033
861
  ...se_DescribeSourceRegionsMessage(input, context),
@@ -1037,9 +865,7 @@ export const se_DescribeSourceRegionsCommand = async (input, context) => {
1037
865
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1038
866
  };
1039
867
  export const se_DescribeValidDBInstanceModificationsCommand = async (input, context) => {
1040
- const headers = {
1041
- "content-type": "application/x-www-form-urlencoded",
1042
- };
868
+ const headers = SHARED_HEADERS;
1043
869
  let body;
1044
870
  body = buildFormUrlencodedString({
1045
871
  ...se_DescribeValidDBInstanceModificationsMessage(input, context),
@@ -1049,9 +875,7 @@ export const se_DescribeValidDBInstanceModificationsCommand = async (input, cont
1049
875
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1050
876
  };
1051
877
  export const se_DownloadDBLogFilePortionCommand = async (input, context) => {
1052
- const headers = {
1053
- "content-type": "application/x-www-form-urlencoded",
1054
- };
878
+ const headers = SHARED_HEADERS;
1055
879
  let body;
1056
880
  body = buildFormUrlencodedString({
1057
881
  ...se_DownloadDBLogFilePortionMessage(input, context),
@@ -1061,9 +885,7 @@ export const se_DownloadDBLogFilePortionCommand = async (input, context) => {
1061
885
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1062
886
  };
1063
887
  export const se_FailoverDBClusterCommand = async (input, context) => {
1064
- const headers = {
1065
- "content-type": "application/x-www-form-urlencoded",
1066
- };
888
+ const headers = SHARED_HEADERS;
1067
889
  let body;
1068
890
  body = buildFormUrlencodedString({
1069
891
  ...se_FailoverDBClusterMessage(input, context),
@@ -1073,9 +895,7 @@ export const se_FailoverDBClusterCommand = async (input, context) => {
1073
895
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1074
896
  };
1075
897
  export const se_FailoverGlobalClusterCommand = async (input, context) => {
1076
- const headers = {
1077
- "content-type": "application/x-www-form-urlencoded",
1078
- };
898
+ const headers = SHARED_HEADERS;
1079
899
  let body;
1080
900
  body = buildFormUrlencodedString({
1081
901
  ...se_FailoverGlobalClusterMessage(input, context),
@@ -1085,9 +905,7 @@ export const se_FailoverGlobalClusterCommand = async (input, context) => {
1085
905
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1086
906
  };
1087
907
  export const se_ListTagsForResourceCommand = async (input, context) => {
1088
- const headers = {
1089
- "content-type": "application/x-www-form-urlencoded",
1090
- };
908
+ const headers = SHARED_HEADERS;
1091
909
  let body;
1092
910
  body = buildFormUrlencodedString({
1093
911
  ...se_ListTagsForResourceMessage(input, context),
@@ -1097,9 +915,7 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
1097
915
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1098
916
  };
1099
917
  export const se_ModifyActivityStreamCommand = async (input, context) => {
1100
- const headers = {
1101
- "content-type": "application/x-www-form-urlencoded",
1102
- };
918
+ const headers = SHARED_HEADERS;
1103
919
  let body;
1104
920
  body = buildFormUrlencodedString({
1105
921
  ...se_ModifyActivityStreamRequest(input, context),
@@ -1109,9 +925,7 @@ export const se_ModifyActivityStreamCommand = async (input, context) => {
1109
925
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1110
926
  };
1111
927
  export const se_ModifyCertificatesCommand = async (input, context) => {
1112
- const headers = {
1113
- "content-type": "application/x-www-form-urlencoded",
1114
- };
928
+ const headers = SHARED_HEADERS;
1115
929
  let body;
1116
930
  body = buildFormUrlencodedString({
1117
931
  ...se_ModifyCertificatesMessage(input, context),
@@ -1121,9 +935,7 @@ export const se_ModifyCertificatesCommand = async (input, context) => {
1121
935
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1122
936
  };
1123
937
  export const se_ModifyCurrentDBClusterCapacityCommand = async (input, context) => {
1124
- const headers = {
1125
- "content-type": "application/x-www-form-urlencoded",
1126
- };
938
+ const headers = SHARED_HEADERS;
1127
939
  let body;
1128
940
  body = buildFormUrlencodedString({
1129
941
  ...se_ModifyCurrentDBClusterCapacityMessage(input, context),
@@ -1133,9 +945,7 @@ export const se_ModifyCurrentDBClusterCapacityCommand = async (input, context) =
1133
945
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1134
946
  };
1135
947
  export const se_ModifyCustomDBEngineVersionCommand = async (input, context) => {
1136
- const headers = {
1137
- "content-type": "application/x-www-form-urlencoded",
1138
- };
948
+ const headers = SHARED_HEADERS;
1139
949
  let body;
1140
950
  body = buildFormUrlencodedString({
1141
951
  ...se_ModifyCustomDBEngineVersionMessage(input, context),
@@ -1145,9 +955,7 @@ export const se_ModifyCustomDBEngineVersionCommand = async (input, context) => {
1145
955
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1146
956
  };
1147
957
  export const se_ModifyDBClusterCommand = async (input, context) => {
1148
- const headers = {
1149
- "content-type": "application/x-www-form-urlencoded",
1150
- };
958
+ const headers = SHARED_HEADERS;
1151
959
  let body;
1152
960
  body = buildFormUrlencodedString({
1153
961
  ...se_ModifyDBClusterMessage(input, context),
@@ -1157,9 +965,7 @@ export const se_ModifyDBClusterCommand = async (input, context) => {
1157
965
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1158
966
  };
1159
967
  export const se_ModifyDBClusterEndpointCommand = async (input, context) => {
1160
- const headers = {
1161
- "content-type": "application/x-www-form-urlencoded",
1162
- };
968
+ const headers = SHARED_HEADERS;
1163
969
  let body;
1164
970
  body = buildFormUrlencodedString({
1165
971
  ...se_ModifyDBClusterEndpointMessage(input, context),
@@ -1169,9 +975,7 @@ export const se_ModifyDBClusterEndpointCommand = async (input, context) => {
1169
975
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1170
976
  };
1171
977
  export const se_ModifyDBClusterParameterGroupCommand = async (input, context) => {
1172
- const headers = {
1173
- "content-type": "application/x-www-form-urlencoded",
1174
- };
978
+ const headers = SHARED_HEADERS;
1175
979
  let body;
1176
980
  body = buildFormUrlencodedString({
1177
981
  ...se_ModifyDBClusterParameterGroupMessage(input, context),
@@ -1181,9 +985,7 @@ export const se_ModifyDBClusterParameterGroupCommand = async (input, context) =>
1181
985
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1182
986
  };
1183
987
  export const se_ModifyDBClusterSnapshotAttributeCommand = async (input, context) => {
1184
- const headers = {
1185
- "content-type": "application/x-www-form-urlencoded",
1186
- };
988
+ const headers = SHARED_HEADERS;
1187
989
  let body;
1188
990
  body = buildFormUrlencodedString({
1189
991
  ...se_ModifyDBClusterSnapshotAttributeMessage(input, context),
@@ -1193,9 +995,7 @@ export const se_ModifyDBClusterSnapshotAttributeCommand = async (input, context)
1193
995
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1194
996
  };
1195
997
  export const se_ModifyDBInstanceCommand = async (input, context) => {
1196
- const headers = {
1197
- "content-type": "application/x-www-form-urlencoded",
1198
- };
998
+ const headers = SHARED_HEADERS;
1199
999
  let body;
1200
1000
  body = buildFormUrlencodedString({
1201
1001
  ...se_ModifyDBInstanceMessage(input, context),
@@ -1205,9 +1005,7 @@ export const se_ModifyDBInstanceCommand = async (input, context) => {
1205
1005
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1206
1006
  };
1207
1007
  export const se_ModifyDBParameterGroupCommand = async (input, context) => {
1208
- const headers = {
1209
- "content-type": "application/x-www-form-urlencoded",
1210
- };
1008
+ const headers = SHARED_HEADERS;
1211
1009
  let body;
1212
1010
  body = buildFormUrlencodedString({
1213
1011
  ...se_ModifyDBParameterGroupMessage(input, context),
@@ -1217,9 +1015,7 @@ export const se_ModifyDBParameterGroupCommand = async (input, context) => {
1217
1015
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1218
1016
  };
1219
1017
  export const se_ModifyDBProxyCommand = async (input, context) => {
1220
- const headers = {
1221
- "content-type": "application/x-www-form-urlencoded",
1222
- };
1018
+ const headers = SHARED_HEADERS;
1223
1019
  let body;
1224
1020
  body = buildFormUrlencodedString({
1225
1021
  ...se_ModifyDBProxyRequest(input, context),
@@ -1229,9 +1025,7 @@ export const se_ModifyDBProxyCommand = async (input, context) => {
1229
1025
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1230
1026
  };
1231
1027
  export const se_ModifyDBProxyEndpointCommand = async (input, context) => {
1232
- const headers = {
1233
- "content-type": "application/x-www-form-urlencoded",
1234
- };
1028
+ const headers = SHARED_HEADERS;
1235
1029
  let body;
1236
1030
  body = buildFormUrlencodedString({
1237
1031
  ...se_ModifyDBProxyEndpointRequest(input, context),
@@ -1241,9 +1035,7 @@ export const se_ModifyDBProxyEndpointCommand = async (input, context) => {
1241
1035
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1242
1036
  };
1243
1037
  export const se_ModifyDBProxyTargetGroupCommand = async (input, context) => {
1244
- const headers = {
1245
- "content-type": "application/x-www-form-urlencoded",
1246
- };
1038
+ const headers = SHARED_HEADERS;
1247
1039
  let body;
1248
1040
  body = buildFormUrlencodedString({
1249
1041
  ...se_ModifyDBProxyTargetGroupRequest(input, context),
@@ -1253,9 +1045,7 @@ export const se_ModifyDBProxyTargetGroupCommand = async (input, context) => {
1253
1045
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1254
1046
  };
1255
1047
  export const se_ModifyDBSnapshotCommand = async (input, context) => {
1256
- const headers = {
1257
- "content-type": "application/x-www-form-urlencoded",
1258
- };
1048
+ const headers = SHARED_HEADERS;
1259
1049
  let body;
1260
1050
  body = buildFormUrlencodedString({
1261
1051
  ...se_ModifyDBSnapshotMessage(input, context),
@@ -1265,9 +1055,7 @@ export const se_ModifyDBSnapshotCommand = async (input, context) => {
1265
1055
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1266
1056
  };
1267
1057
  export const se_ModifyDBSnapshotAttributeCommand = async (input, context) => {
1268
- const headers = {
1269
- "content-type": "application/x-www-form-urlencoded",
1270
- };
1058
+ const headers = SHARED_HEADERS;
1271
1059
  let body;
1272
1060
  body = buildFormUrlencodedString({
1273
1061
  ...se_ModifyDBSnapshotAttributeMessage(input, context),
@@ -1277,9 +1065,7 @@ export const se_ModifyDBSnapshotAttributeCommand = async (input, context) => {
1277
1065
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1278
1066
  };
1279
1067
  export const se_ModifyDBSubnetGroupCommand = async (input, context) => {
1280
- const headers = {
1281
- "content-type": "application/x-www-form-urlencoded",
1282
- };
1068
+ const headers = SHARED_HEADERS;
1283
1069
  let body;
1284
1070
  body = buildFormUrlencodedString({
1285
1071
  ...se_ModifyDBSubnetGroupMessage(input, context),
@@ -1289,9 +1075,7 @@ export const se_ModifyDBSubnetGroupCommand = async (input, context) => {
1289
1075
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1290
1076
  };
1291
1077
  export const se_ModifyEventSubscriptionCommand = async (input, context) => {
1292
- const headers = {
1293
- "content-type": "application/x-www-form-urlencoded",
1294
- };
1078
+ const headers = SHARED_HEADERS;
1295
1079
  let body;
1296
1080
  body = buildFormUrlencodedString({
1297
1081
  ...se_ModifyEventSubscriptionMessage(input, context),
@@ -1301,9 +1085,7 @@ export const se_ModifyEventSubscriptionCommand = async (input, context) => {
1301
1085
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1302
1086
  };
1303
1087
  export const se_ModifyGlobalClusterCommand = async (input, context) => {
1304
- const headers = {
1305
- "content-type": "application/x-www-form-urlencoded",
1306
- };
1088
+ const headers = SHARED_HEADERS;
1307
1089
  let body;
1308
1090
  body = buildFormUrlencodedString({
1309
1091
  ...se_ModifyGlobalClusterMessage(input, context),
@@ -1313,9 +1095,7 @@ export const se_ModifyGlobalClusterCommand = async (input, context) => {
1313
1095
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1314
1096
  };
1315
1097
  export const se_ModifyOptionGroupCommand = async (input, context) => {
1316
- const headers = {
1317
- "content-type": "application/x-www-form-urlencoded",
1318
- };
1098
+ const headers = SHARED_HEADERS;
1319
1099
  let body;
1320
1100
  body = buildFormUrlencodedString({
1321
1101
  ...se_ModifyOptionGroupMessage(input, context),
@@ -1325,9 +1105,7 @@ export const se_ModifyOptionGroupCommand = async (input, context) => {
1325
1105
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1326
1106
  };
1327
1107
  export const se_PromoteReadReplicaCommand = async (input, context) => {
1328
- const headers = {
1329
- "content-type": "application/x-www-form-urlencoded",
1330
- };
1108
+ const headers = SHARED_HEADERS;
1331
1109
  let body;
1332
1110
  body = buildFormUrlencodedString({
1333
1111
  ...se_PromoteReadReplicaMessage(input, context),
@@ -1337,9 +1115,7 @@ export const se_PromoteReadReplicaCommand = async (input, context) => {
1337
1115
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1338
1116
  };
1339
1117
  export const se_PromoteReadReplicaDBClusterCommand = async (input, context) => {
1340
- const headers = {
1341
- "content-type": "application/x-www-form-urlencoded",
1342
- };
1118
+ const headers = SHARED_HEADERS;
1343
1119
  let body;
1344
1120
  body = buildFormUrlencodedString({
1345
1121
  ...se_PromoteReadReplicaDBClusterMessage(input, context),
@@ -1349,9 +1125,7 @@ export const se_PromoteReadReplicaDBClusterCommand = async (input, context) => {
1349
1125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1350
1126
  };
1351
1127
  export const se_PurchaseReservedDBInstancesOfferingCommand = async (input, context) => {
1352
- const headers = {
1353
- "content-type": "application/x-www-form-urlencoded",
1354
- };
1128
+ const headers = SHARED_HEADERS;
1355
1129
  let body;
1356
1130
  body = buildFormUrlencodedString({
1357
1131
  ...se_PurchaseReservedDBInstancesOfferingMessage(input, context),
@@ -1361,9 +1135,7 @@ export const se_PurchaseReservedDBInstancesOfferingCommand = async (input, conte
1361
1135
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1362
1136
  };
1363
1137
  export const se_RebootDBClusterCommand = async (input, context) => {
1364
- const headers = {
1365
- "content-type": "application/x-www-form-urlencoded",
1366
- };
1138
+ const headers = SHARED_HEADERS;
1367
1139
  let body;
1368
1140
  body = buildFormUrlencodedString({
1369
1141
  ...se_RebootDBClusterMessage(input, context),
@@ -1373,9 +1145,7 @@ export const se_RebootDBClusterCommand = async (input, context) => {
1373
1145
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1374
1146
  };
1375
1147
  export const se_RebootDBInstanceCommand = async (input, context) => {
1376
- const headers = {
1377
- "content-type": "application/x-www-form-urlencoded",
1378
- };
1148
+ const headers = SHARED_HEADERS;
1379
1149
  let body;
1380
1150
  body = buildFormUrlencodedString({
1381
1151
  ...se_RebootDBInstanceMessage(input, context),
@@ -1385,9 +1155,7 @@ export const se_RebootDBInstanceCommand = async (input, context) => {
1385
1155
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1386
1156
  };
1387
1157
  export const se_RegisterDBProxyTargetsCommand = async (input, context) => {
1388
- const headers = {
1389
- "content-type": "application/x-www-form-urlencoded",
1390
- };
1158
+ const headers = SHARED_HEADERS;
1391
1159
  let body;
1392
1160
  body = buildFormUrlencodedString({
1393
1161
  ...se_RegisterDBProxyTargetsRequest(input, context),
@@ -1397,9 +1165,7 @@ export const se_RegisterDBProxyTargetsCommand = async (input, context) => {
1397
1165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1398
1166
  };
1399
1167
  export const se_RemoveFromGlobalClusterCommand = async (input, context) => {
1400
- const headers = {
1401
- "content-type": "application/x-www-form-urlencoded",
1402
- };
1168
+ const headers = SHARED_HEADERS;
1403
1169
  let body;
1404
1170
  body = buildFormUrlencodedString({
1405
1171
  ...se_RemoveFromGlobalClusterMessage(input, context),
@@ -1409,9 +1175,7 @@ export const se_RemoveFromGlobalClusterCommand = async (input, context) => {
1409
1175
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1410
1176
  };
1411
1177
  export const se_RemoveRoleFromDBClusterCommand = async (input, context) => {
1412
- const headers = {
1413
- "content-type": "application/x-www-form-urlencoded",
1414
- };
1178
+ const headers = SHARED_HEADERS;
1415
1179
  let body;
1416
1180
  body = buildFormUrlencodedString({
1417
1181
  ...se_RemoveRoleFromDBClusterMessage(input, context),
@@ -1421,9 +1185,7 @@ export const se_RemoveRoleFromDBClusterCommand = async (input, context) => {
1421
1185
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1422
1186
  };
1423
1187
  export const se_RemoveRoleFromDBInstanceCommand = async (input, context) => {
1424
- const headers = {
1425
- "content-type": "application/x-www-form-urlencoded",
1426
- };
1188
+ const headers = SHARED_HEADERS;
1427
1189
  let body;
1428
1190
  body = buildFormUrlencodedString({
1429
1191
  ...se_RemoveRoleFromDBInstanceMessage(input, context),
@@ -1433,9 +1195,7 @@ export const se_RemoveRoleFromDBInstanceCommand = async (input, context) => {
1433
1195
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1434
1196
  };
1435
1197
  export const se_RemoveSourceIdentifierFromSubscriptionCommand = async (input, context) => {
1436
- const headers = {
1437
- "content-type": "application/x-www-form-urlencoded",
1438
- };
1198
+ const headers = SHARED_HEADERS;
1439
1199
  let body;
1440
1200
  body = buildFormUrlencodedString({
1441
1201
  ...se_RemoveSourceIdentifierFromSubscriptionMessage(input, context),
@@ -1445,9 +1205,7 @@ export const se_RemoveSourceIdentifierFromSubscriptionCommand = async (input, co
1445
1205
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1446
1206
  };
1447
1207
  export const se_RemoveTagsFromResourceCommand = async (input, context) => {
1448
- const headers = {
1449
- "content-type": "application/x-www-form-urlencoded",
1450
- };
1208
+ const headers = SHARED_HEADERS;
1451
1209
  let body;
1452
1210
  body = buildFormUrlencodedString({
1453
1211
  ...se_RemoveTagsFromResourceMessage(input, context),
@@ -1457,9 +1215,7 @@ export const se_RemoveTagsFromResourceCommand = async (input, context) => {
1457
1215
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1458
1216
  };
1459
1217
  export const se_ResetDBClusterParameterGroupCommand = async (input, context) => {
1460
- const headers = {
1461
- "content-type": "application/x-www-form-urlencoded",
1462
- };
1218
+ const headers = SHARED_HEADERS;
1463
1219
  let body;
1464
1220
  body = buildFormUrlencodedString({
1465
1221
  ...se_ResetDBClusterParameterGroupMessage(input, context),
@@ -1469,9 +1225,7 @@ export const se_ResetDBClusterParameterGroupCommand = async (input, context) =>
1469
1225
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1470
1226
  };
1471
1227
  export const se_ResetDBParameterGroupCommand = async (input, context) => {
1472
- const headers = {
1473
- "content-type": "application/x-www-form-urlencoded",
1474
- };
1228
+ const headers = SHARED_HEADERS;
1475
1229
  let body;
1476
1230
  body = buildFormUrlencodedString({
1477
1231
  ...se_ResetDBParameterGroupMessage(input, context),
@@ -1481,9 +1235,7 @@ export const se_ResetDBParameterGroupCommand = async (input, context) => {
1481
1235
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1482
1236
  };
1483
1237
  export const se_RestoreDBClusterFromS3Command = async (input, context) => {
1484
- const headers = {
1485
- "content-type": "application/x-www-form-urlencoded",
1486
- };
1238
+ const headers = SHARED_HEADERS;
1487
1239
  let body;
1488
1240
  body = buildFormUrlencodedString({
1489
1241
  ...se_RestoreDBClusterFromS3Message(input, context),
@@ -1493,9 +1245,7 @@ export const se_RestoreDBClusterFromS3Command = async (input, context) => {
1493
1245
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1494
1246
  };
1495
1247
  export const se_RestoreDBClusterFromSnapshotCommand = async (input, context) => {
1496
- const headers = {
1497
- "content-type": "application/x-www-form-urlencoded",
1498
- };
1248
+ const headers = SHARED_HEADERS;
1499
1249
  let body;
1500
1250
  body = buildFormUrlencodedString({
1501
1251
  ...se_RestoreDBClusterFromSnapshotMessage(input, context),
@@ -1505,9 +1255,7 @@ export const se_RestoreDBClusterFromSnapshotCommand = async (input, context) =>
1505
1255
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1506
1256
  };
1507
1257
  export const se_RestoreDBClusterToPointInTimeCommand = async (input, context) => {
1508
- const headers = {
1509
- "content-type": "application/x-www-form-urlencoded",
1510
- };
1258
+ const headers = SHARED_HEADERS;
1511
1259
  let body;
1512
1260
  body = buildFormUrlencodedString({
1513
1261
  ...se_RestoreDBClusterToPointInTimeMessage(input, context),
@@ -1517,9 +1265,7 @@ export const se_RestoreDBClusterToPointInTimeCommand = async (input, context) =>
1517
1265
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1518
1266
  };
1519
1267
  export const se_RestoreDBInstanceFromDBSnapshotCommand = async (input, context) => {
1520
- const headers = {
1521
- "content-type": "application/x-www-form-urlencoded",
1522
- };
1268
+ const headers = SHARED_HEADERS;
1523
1269
  let body;
1524
1270
  body = buildFormUrlencodedString({
1525
1271
  ...se_RestoreDBInstanceFromDBSnapshotMessage(input, context),
@@ -1529,9 +1275,7 @@ export const se_RestoreDBInstanceFromDBSnapshotCommand = async (input, context)
1529
1275
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1530
1276
  };
1531
1277
  export const se_RestoreDBInstanceFromS3Command = async (input, context) => {
1532
- const headers = {
1533
- "content-type": "application/x-www-form-urlencoded",
1534
- };
1278
+ const headers = SHARED_HEADERS;
1535
1279
  let body;
1536
1280
  body = buildFormUrlencodedString({
1537
1281
  ...se_RestoreDBInstanceFromS3Message(input, context),
@@ -1541,9 +1285,7 @@ export const se_RestoreDBInstanceFromS3Command = async (input, context) => {
1541
1285
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1542
1286
  };
1543
1287
  export const se_RestoreDBInstanceToPointInTimeCommand = async (input, context) => {
1544
- const headers = {
1545
- "content-type": "application/x-www-form-urlencoded",
1546
- };
1288
+ const headers = SHARED_HEADERS;
1547
1289
  let body;
1548
1290
  body = buildFormUrlencodedString({
1549
1291
  ...se_RestoreDBInstanceToPointInTimeMessage(input, context),
@@ -1553,9 +1295,7 @@ export const se_RestoreDBInstanceToPointInTimeCommand = async (input, context) =
1553
1295
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1554
1296
  };
1555
1297
  export const se_RevokeDBSecurityGroupIngressCommand = async (input, context) => {
1556
- const headers = {
1557
- "content-type": "application/x-www-form-urlencoded",
1558
- };
1298
+ const headers = SHARED_HEADERS;
1559
1299
  let body;
1560
1300
  body = buildFormUrlencodedString({
1561
1301
  ...se_RevokeDBSecurityGroupIngressMessage(input, context),
@@ -1565,9 +1305,7 @@ export const se_RevokeDBSecurityGroupIngressCommand = async (input, context) =>
1565
1305
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1566
1306
  };
1567
1307
  export const se_StartActivityStreamCommand = async (input, context) => {
1568
- const headers = {
1569
- "content-type": "application/x-www-form-urlencoded",
1570
- };
1308
+ const headers = SHARED_HEADERS;
1571
1309
  let body;
1572
1310
  body = buildFormUrlencodedString({
1573
1311
  ...se_StartActivityStreamRequest(input, context),
@@ -1577,9 +1315,7 @@ export const se_StartActivityStreamCommand = async (input, context) => {
1577
1315
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1578
1316
  };
1579
1317
  export const se_StartDBClusterCommand = async (input, context) => {
1580
- const headers = {
1581
- "content-type": "application/x-www-form-urlencoded",
1582
- };
1318
+ const headers = SHARED_HEADERS;
1583
1319
  let body;
1584
1320
  body = buildFormUrlencodedString({
1585
1321
  ...se_StartDBClusterMessage(input, context),
@@ -1589,9 +1325,7 @@ export const se_StartDBClusterCommand = async (input, context) => {
1589
1325
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1590
1326
  };
1591
1327
  export const se_StartDBInstanceCommand = async (input, context) => {
1592
- const headers = {
1593
- "content-type": "application/x-www-form-urlencoded",
1594
- };
1328
+ const headers = SHARED_HEADERS;
1595
1329
  let body;
1596
1330
  body = buildFormUrlencodedString({
1597
1331
  ...se_StartDBInstanceMessage(input, context),
@@ -1601,9 +1335,7 @@ export const se_StartDBInstanceCommand = async (input, context) => {
1601
1335
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1602
1336
  };
1603
1337
  export const se_StartDBInstanceAutomatedBackupsReplicationCommand = async (input, context) => {
1604
- const headers = {
1605
- "content-type": "application/x-www-form-urlencoded",
1606
- };
1338
+ const headers = SHARED_HEADERS;
1607
1339
  let body;
1608
1340
  body = buildFormUrlencodedString({
1609
1341
  ...se_StartDBInstanceAutomatedBackupsReplicationMessage(input, context),
@@ -1613,9 +1345,7 @@ export const se_StartDBInstanceAutomatedBackupsReplicationCommand = async (input
1613
1345
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1614
1346
  };
1615
1347
  export const se_StartExportTaskCommand = async (input, context) => {
1616
- const headers = {
1617
- "content-type": "application/x-www-form-urlencoded",
1618
- };
1348
+ const headers = SHARED_HEADERS;
1619
1349
  let body;
1620
1350
  body = buildFormUrlencodedString({
1621
1351
  ...se_StartExportTaskMessage(input, context),
@@ -1625,9 +1355,7 @@ export const se_StartExportTaskCommand = async (input, context) => {
1625
1355
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1626
1356
  };
1627
1357
  export const se_StopActivityStreamCommand = async (input, context) => {
1628
- const headers = {
1629
- "content-type": "application/x-www-form-urlencoded",
1630
- };
1358
+ const headers = SHARED_HEADERS;
1631
1359
  let body;
1632
1360
  body = buildFormUrlencodedString({
1633
1361
  ...se_StopActivityStreamRequest(input, context),
@@ -1637,9 +1365,7 @@ export const se_StopActivityStreamCommand = async (input, context) => {
1637
1365
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1638
1366
  };
1639
1367
  export const se_StopDBClusterCommand = async (input, context) => {
1640
- const headers = {
1641
- "content-type": "application/x-www-form-urlencoded",
1642
- };
1368
+ const headers = SHARED_HEADERS;
1643
1369
  let body;
1644
1370
  body = buildFormUrlencodedString({
1645
1371
  ...se_StopDBClusterMessage(input, context),
@@ -1649,9 +1375,7 @@ export const se_StopDBClusterCommand = async (input, context) => {
1649
1375
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1650
1376
  };
1651
1377
  export const se_StopDBInstanceCommand = async (input, context) => {
1652
- const headers = {
1653
- "content-type": "application/x-www-form-urlencoded",
1654
- };
1378
+ const headers = SHARED_HEADERS;
1655
1379
  let body;
1656
1380
  body = buildFormUrlencodedString({
1657
1381
  ...se_StopDBInstanceMessage(input, context),
@@ -1661,9 +1385,7 @@ export const se_StopDBInstanceCommand = async (input, context) => {
1661
1385
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1662
1386
  };
1663
1387
  export const se_StopDBInstanceAutomatedBackupsReplicationCommand = async (input, context) => {
1664
- const headers = {
1665
- "content-type": "application/x-www-form-urlencoded",
1666
- };
1388
+ const headers = SHARED_HEADERS;
1667
1389
  let body;
1668
1390
  body = buildFormUrlencodedString({
1669
1391
  ...se_StopDBInstanceAutomatedBackupsReplicationMessage(input, context),
@@ -1673,9 +1395,7 @@ export const se_StopDBInstanceAutomatedBackupsReplicationCommand = async (input,
1673
1395
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1674
1396
  };
1675
1397
  export const se_SwitchoverBlueGreenDeploymentCommand = async (input, context) => {
1676
- const headers = {
1677
- "content-type": "application/x-www-form-urlencoded",
1678
- };
1398
+ const headers = SHARED_HEADERS;
1679
1399
  let body;
1680
1400
  body = buildFormUrlencodedString({
1681
1401
  ...se_SwitchoverBlueGreenDeploymentRequest(input, context),
@@ -1685,9 +1405,7 @@ export const se_SwitchoverBlueGreenDeploymentCommand = async (input, context) =>
1685
1405
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1686
1406
  };
1687
1407
  export const se_SwitchoverReadReplicaCommand = async (input, context) => {
1688
- const headers = {
1689
- "content-type": "application/x-www-form-urlencoded",
1690
- };
1408
+ const headers = SHARED_HEADERS;
1691
1409
  let body;
1692
1410
  body = buildFormUrlencodedString({
1693
1411
  ...se_SwitchoverReadReplicaMessage(input, context),
@@ -5370,6 +5088,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
5370
5088
  case "DBClusterParameterGroupNotFound":
5371
5089
  case "com.amazonaws.rds#DBClusterParameterGroupNotFoundFault":
5372
5090
  throw await de_DBClusterParameterGroupNotFoundFaultRes(parsedOutput, context);
5091
+ case "DBInstanceAlreadyExists":
5092
+ case "com.amazonaws.rds#DBInstanceAlreadyExistsFault":
5093
+ throw await de_DBInstanceAlreadyExistsFaultRes(parsedOutput, context);
5373
5094
  case "DBSubnetGroupNotFoundFault":
5374
5095
  case "com.amazonaws.rds#DBSubnetGroupNotFoundFault":
5375
5096
  throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
@@ -11547,6 +11268,12 @@ const se_ModifyDBClusterMessage = (input, context) => {
11547
11268
  if (input.MasterUserSecretKmsKeyId != null) {
11548
11269
  entries["MasterUserSecretKmsKeyId"] = input.MasterUserSecretKmsKeyId;
11549
11270
  }
11271
+ if (input.EngineMode != null) {
11272
+ entries["EngineMode"] = input.EngineMode;
11273
+ }
11274
+ if (input.AllowEngineModeChange != null) {
11275
+ entries["AllowEngineModeChange"] = input.AllowEngineModeChange;
11276
+ }
11550
11277
  return entries;
11551
11278
  };
11552
11279
  const se_ModifyDBClusterParameterGroupMessage = (input, context) => {
@@ -18997,6 +18724,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
18997
18724
  }
18998
18725
  return new __HttpRequest(contents);
18999
18726
  };
18727
+ const SHARED_HEADERS = {
18728
+ "content-type": "application/x-www-form-urlencoded",
18729
+ };
19000
18730
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
19001
18731
  if (encoded.length) {
19002
18732
  const parser = new XMLParser({