@aws-sdk/client-rds 3.310.0 → 3.312.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.
@@ -13,9 +13,7 @@ const models_0_1 = require("../models/models_0");
13
13
  const models_1_1 = require("../models/models_1");
14
14
  const RDSServiceException_1 = require("../models/RDSServiceException");
15
15
  const se_AddRoleToDBClusterCommand = async (input, context) => {
16
- const headers = {
17
- "content-type": "application/x-www-form-urlencoded",
18
- };
16
+ const headers = SHARED_HEADERS;
19
17
  let body;
20
18
  body = buildFormUrlencodedString({
21
19
  ...se_AddRoleToDBClusterMessage(input, context),
@@ -26,9 +24,7 @@ const se_AddRoleToDBClusterCommand = async (input, context) => {
26
24
  };
27
25
  exports.se_AddRoleToDBClusterCommand = se_AddRoleToDBClusterCommand;
28
26
  const se_AddRoleToDBInstanceCommand = async (input, context) => {
29
- const headers = {
30
- "content-type": "application/x-www-form-urlencoded",
31
- };
27
+ const headers = SHARED_HEADERS;
32
28
  let body;
33
29
  body = buildFormUrlencodedString({
34
30
  ...se_AddRoleToDBInstanceMessage(input, context),
@@ -39,9 +35,7 @@ const se_AddRoleToDBInstanceCommand = async (input, context) => {
39
35
  };
40
36
  exports.se_AddRoleToDBInstanceCommand = se_AddRoleToDBInstanceCommand;
41
37
  const se_AddSourceIdentifierToSubscriptionCommand = async (input, context) => {
42
- const headers = {
43
- "content-type": "application/x-www-form-urlencoded",
44
- };
38
+ const headers = SHARED_HEADERS;
45
39
  let body;
46
40
  body = buildFormUrlencodedString({
47
41
  ...se_AddSourceIdentifierToSubscriptionMessage(input, context),
@@ -52,9 +46,7 @@ const se_AddSourceIdentifierToSubscriptionCommand = async (input, context) => {
52
46
  };
53
47
  exports.se_AddSourceIdentifierToSubscriptionCommand = se_AddSourceIdentifierToSubscriptionCommand;
54
48
  const se_AddTagsToResourceCommand = async (input, context) => {
55
- const headers = {
56
- "content-type": "application/x-www-form-urlencoded",
57
- };
49
+ const headers = SHARED_HEADERS;
58
50
  let body;
59
51
  body = buildFormUrlencodedString({
60
52
  ...se_AddTagsToResourceMessage(input, context),
@@ -65,9 +57,7 @@ const se_AddTagsToResourceCommand = async (input, context) => {
65
57
  };
66
58
  exports.se_AddTagsToResourceCommand = se_AddTagsToResourceCommand;
67
59
  const se_ApplyPendingMaintenanceActionCommand = async (input, context) => {
68
- const headers = {
69
- "content-type": "application/x-www-form-urlencoded",
70
- };
60
+ const headers = SHARED_HEADERS;
71
61
  let body;
72
62
  body = buildFormUrlencodedString({
73
63
  ...se_ApplyPendingMaintenanceActionMessage(input, context),
@@ -78,9 +68,7 @@ const se_ApplyPendingMaintenanceActionCommand = async (input, context) => {
78
68
  };
79
69
  exports.se_ApplyPendingMaintenanceActionCommand = se_ApplyPendingMaintenanceActionCommand;
80
70
  const se_AuthorizeDBSecurityGroupIngressCommand = async (input, context) => {
81
- const headers = {
82
- "content-type": "application/x-www-form-urlencoded",
83
- };
71
+ const headers = SHARED_HEADERS;
84
72
  let body;
85
73
  body = buildFormUrlencodedString({
86
74
  ...se_AuthorizeDBSecurityGroupIngressMessage(input, context),
@@ -91,9 +79,7 @@ const se_AuthorizeDBSecurityGroupIngressCommand = async (input, context) => {
91
79
  };
92
80
  exports.se_AuthorizeDBSecurityGroupIngressCommand = se_AuthorizeDBSecurityGroupIngressCommand;
93
81
  const se_BacktrackDBClusterCommand = async (input, context) => {
94
- const headers = {
95
- "content-type": "application/x-www-form-urlencoded",
96
- };
82
+ const headers = SHARED_HEADERS;
97
83
  let body;
98
84
  body = buildFormUrlencodedString({
99
85
  ...se_BacktrackDBClusterMessage(input, context),
@@ -104,9 +90,7 @@ const se_BacktrackDBClusterCommand = async (input, context) => {
104
90
  };
105
91
  exports.se_BacktrackDBClusterCommand = se_BacktrackDBClusterCommand;
106
92
  const se_CancelExportTaskCommand = async (input, context) => {
107
- const headers = {
108
- "content-type": "application/x-www-form-urlencoded",
109
- };
93
+ const headers = SHARED_HEADERS;
110
94
  let body;
111
95
  body = buildFormUrlencodedString({
112
96
  ...se_CancelExportTaskMessage(input, context),
@@ -117,9 +101,7 @@ const se_CancelExportTaskCommand = async (input, context) => {
117
101
  };
118
102
  exports.se_CancelExportTaskCommand = se_CancelExportTaskCommand;
119
103
  const se_CopyDBClusterParameterGroupCommand = async (input, context) => {
120
- const headers = {
121
- "content-type": "application/x-www-form-urlencoded",
122
- };
104
+ const headers = SHARED_HEADERS;
123
105
  let body;
124
106
  body = buildFormUrlencodedString({
125
107
  ...se_CopyDBClusterParameterGroupMessage(input, context),
@@ -130,9 +112,7 @@ const se_CopyDBClusterParameterGroupCommand = async (input, context) => {
130
112
  };
131
113
  exports.se_CopyDBClusterParameterGroupCommand = se_CopyDBClusterParameterGroupCommand;
132
114
  const se_CopyDBClusterSnapshotCommand = async (input, context) => {
133
- const headers = {
134
- "content-type": "application/x-www-form-urlencoded",
135
- };
115
+ const headers = SHARED_HEADERS;
136
116
  let body;
137
117
  body = buildFormUrlencodedString({
138
118
  ...se_CopyDBClusterSnapshotMessage(input, context),
@@ -143,9 +123,7 @@ const se_CopyDBClusterSnapshotCommand = async (input, context) => {
143
123
  };
144
124
  exports.se_CopyDBClusterSnapshotCommand = se_CopyDBClusterSnapshotCommand;
145
125
  const se_CopyDBParameterGroupCommand = async (input, context) => {
146
- const headers = {
147
- "content-type": "application/x-www-form-urlencoded",
148
- };
126
+ const headers = SHARED_HEADERS;
149
127
  let body;
150
128
  body = buildFormUrlencodedString({
151
129
  ...se_CopyDBParameterGroupMessage(input, context),
@@ -156,9 +134,7 @@ const se_CopyDBParameterGroupCommand = async (input, context) => {
156
134
  };
157
135
  exports.se_CopyDBParameterGroupCommand = se_CopyDBParameterGroupCommand;
158
136
  const se_CopyDBSnapshotCommand = async (input, context) => {
159
- const headers = {
160
- "content-type": "application/x-www-form-urlencoded",
161
- };
137
+ const headers = SHARED_HEADERS;
162
138
  let body;
163
139
  body = buildFormUrlencodedString({
164
140
  ...se_CopyDBSnapshotMessage(input, context),
@@ -169,9 +145,7 @@ const se_CopyDBSnapshotCommand = async (input, context) => {
169
145
  };
170
146
  exports.se_CopyDBSnapshotCommand = se_CopyDBSnapshotCommand;
171
147
  const se_CopyOptionGroupCommand = async (input, context) => {
172
- const headers = {
173
- "content-type": "application/x-www-form-urlencoded",
174
- };
148
+ const headers = SHARED_HEADERS;
175
149
  let body;
176
150
  body = buildFormUrlencodedString({
177
151
  ...se_CopyOptionGroupMessage(input, context),
@@ -182,9 +156,7 @@ const se_CopyOptionGroupCommand = async (input, context) => {
182
156
  };
183
157
  exports.se_CopyOptionGroupCommand = se_CopyOptionGroupCommand;
184
158
  const se_CreateBlueGreenDeploymentCommand = async (input, context) => {
185
- const headers = {
186
- "content-type": "application/x-www-form-urlencoded",
187
- };
159
+ const headers = SHARED_HEADERS;
188
160
  let body;
189
161
  body = buildFormUrlencodedString({
190
162
  ...se_CreateBlueGreenDeploymentRequest(input, context),
@@ -195,9 +167,7 @@ const se_CreateBlueGreenDeploymentCommand = async (input, context) => {
195
167
  };
196
168
  exports.se_CreateBlueGreenDeploymentCommand = se_CreateBlueGreenDeploymentCommand;
197
169
  const se_CreateCustomDBEngineVersionCommand = async (input, context) => {
198
- const headers = {
199
- "content-type": "application/x-www-form-urlencoded",
200
- };
170
+ const headers = SHARED_HEADERS;
201
171
  let body;
202
172
  body = buildFormUrlencodedString({
203
173
  ...se_CreateCustomDBEngineVersionMessage(input, context),
@@ -208,9 +178,7 @@ const se_CreateCustomDBEngineVersionCommand = async (input, context) => {
208
178
  };
209
179
  exports.se_CreateCustomDBEngineVersionCommand = se_CreateCustomDBEngineVersionCommand;
210
180
  const se_CreateDBClusterCommand = async (input, context) => {
211
- const headers = {
212
- "content-type": "application/x-www-form-urlencoded",
213
- };
181
+ const headers = SHARED_HEADERS;
214
182
  let body;
215
183
  body = buildFormUrlencodedString({
216
184
  ...se_CreateDBClusterMessage(input, context),
@@ -221,9 +189,7 @@ const se_CreateDBClusterCommand = async (input, context) => {
221
189
  };
222
190
  exports.se_CreateDBClusterCommand = se_CreateDBClusterCommand;
223
191
  const se_CreateDBClusterEndpointCommand = async (input, context) => {
224
- const headers = {
225
- "content-type": "application/x-www-form-urlencoded",
226
- };
192
+ const headers = SHARED_HEADERS;
227
193
  let body;
228
194
  body = buildFormUrlencodedString({
229
195
  ...se_CreateDBClusterEndpointMessage(input, context),
@@ -234,9 +200,7 @@ const se_CreateDBClusterEndpointCommand = async (input, context) => {
234
200
  };
235
201
  exports.se_CreateDBClusterEndpointCommand = se_CreateDBClusterEndpointCommand;
236
202
  const se_CreateDBClusterParameterGroupCommand = async (input, context) => {
237
- const headers = {
238
- "content-type": "application/x-www-form-urlencoded",
239
- };
203
+ const headers = SHARED_HEADERS;
240
204
  let body;
241
205
  body = buildFormUrlencodedString({
242
206
  ...se_CreateDBClusterParameterGroupMessage(input, context),
@@ -247,9 +211,7 @@ const se_CreateDBClusterParameterGroupCommand = async (input, context) => {
247
211
  };
248
212
  exports.se_CreateDBClusterParameterGroupCommand = se_CreateDBClusterParameterGroupCommand;
249
213
  const se_CreateDBClusterSnapshotCommand = async (input, context) => {
250
- const headers = {
251
- "content-type": "application/x-www-form-urlencoded",
252
- };
214
+ const headers = SHARED_HEADERS;
253
215
  let body;
254
216
  body = buildFormUrlencodedString({
255
217
  ...se_CreateDBClusterSnapshotMessage(input, context),
@@ -260,9 +222,7 @@ const se_CreateDBClusterSnapshotCommand = async (input, context) => {
260
222
  };
261
223
  exports.se_CreateDBClusterSnapshotCommand = se_CreateDBClusterSnapshotCommand;
262
224
  const se_CreateDBInstanceCommand = async (input, context) => {
263
- const headers = {
264
- "content-type": "application/x-www-form-urlencoded",
265
- };
225
+ const headers = SHARED_HEADERS;
266
226
  let body;
267
227
  body = buildFormUrlencodedString({
268
228
  ...se_CreateDBInstanceMessage(input, context),
@@ -273,9 +233,7 @@ const se_CreateDBInstanceCommand = async (input, context) => {
273
233
  };
274
234
  exports.se_CreateDBInstanceCommand = se_CreateDBInstanceCommand;
275
235
  const se_CreateDBInstanceReadReplicaCommand = async (input, context) => {
276
- const headers = {
277
- "content-type": "application/x-www-form-urlencoded",
278
- };
236
+ const headers = SHARED_HEADERS;
279
237
  let body;
280
238
  body = buildFormUrlencodedString({
281
239
  ...se_CreateDBInstanceReadReplicaMessage(input, context),
@@ -286,9 +244,7 @@ const se_CreateDBInstanceReadReplicaCommand = async (input, context) => {
286
244
  };
287
245
  exports.se_CreateDBInstanceReadReplicaCommand = se_CreateDBInstanceReadReplicaCommand;
288
246
  const se_CreateDBParameterGroupCommand = async (input, context) => {
289
- const headers = {
290
- "content-type": "application/x-www-form-urlencoded",
291
- };
247
+ const headers = SHARED_HEADERS;
292
248
  let body;
293
249
  body = buildFormUrlencodedString({
294
250
  ...se_CreateDBParameterGroupMessage(input, context),
@@ -299,9 +255,7 @@ const se_CreateDBParameterGroupCommand = async (input, context) => {
299
255
  };
300
256
  exports.se_CreateDBParameterGroupCommand = se_CreateDBParameterGroupCommand;
301
257
  const se_CreateDBProxyCommand = async (input, context) => {
302
- const headers = {
303
- "content-type": "application/x-www-form-urlencoded",
304
- };
258
+ const headers = SHARED_HEADERS;
305
259
  let body;
306
260
  body = buildFormUrlencodedString({
307
261
  ...se_CreateDBProxyRequest(input, context),
@@ -312,9 +266,7 @@ const se_CreateDBProxyCommand = async (input, context) => {
312
266
  };
313
267
  exports.se_CreateDBProxyCommand = se_CreateDBProxyCommand;
314
268
  const se_CreateDBProxyEndpointCommand = async (input, context) => {
315
- const headers = {
316
- "content-type": "application/x-www-form-urlencoded",
317
- };
269
+ const headers = SHARED_HEADERS;
318
270
  let body;
319
271
  body = buildFormUrlencodedString({
320
272
  ...se_CreateDBProxyEndpointRequest(input, context),
@@ -325,9 +277,7 @@ const se_CreateDBProxyEndpointCommand = async (input, context) => {
325
277
  };
326
278
  exports.se_CreateDBProxyEndpointCommand = se_CreateDBProxyEndpointCommand;
327
279
  const se_CreateDBSecurityGroupCommand = async (input, context) => {
328
- const headers = {
329
- "content-type": "application/x-www-form-urlencoded",
330
- };
280
+ const headers = SHARED_HEADERS;
331
281
  let body;
332
282
  body = buildFormUrlencodedString({
333
283
  ...se_CreateDBSecurityGroupMessage(input, context),
@@ -338,9 +288,7 @@ const se_CreateDBSecurityGroupCommand = async (input, context) => {
338
288
  };
339
289
  exports.se_CreateDBSecurityGroupCommand = se_CreateDBSecurityGroupCommand;
340
290
  const se_CreateDBSnapshotCommand = async (input, context) => {
341
- const headers = {
342
- "content-type": "application/x-www-form-urlencoded",
343
- };
291
+ const headers = SHARED_HEADERS;
344
292
  let body;
345
293
  body = buildFormUrlencodedString({
346
294
  ...se_CreateDBSnapshotMessage(input, context),
@@ -351,9 +299,7 @@ const se_CreateDBSnapshotCommand = async (input, context) => {
351
299
  };
352
300
  exports.se_CreateDBSnapshotCommand = se_CreateDBSnapshotCommand;
353
301
  const se_CreateDBSubnetGroupCommand = async (input, context) => {
354
- const headers = {
355
- "content-type": "application/x-www-form-urlencoded",
356
- };
302
+ const headers = SHARED_HEADERS;
357
303
  let body;
358
304
  body = buildFormUrlencodedString({
359
305
  ...se_CreateDBSubnetGroupMessage(input, context),
@@ -364,9 +310,7 @@ const se_CreateDBSubnetGroupCommand = async (input, context) => {
364
310
  };
365
311
  exports.se_CreateDBSubnetGroupCommand = se_CreateDBSubnetGroupCommand;
366
312
  const se_CreateEventSubscriptionCommand = async (input, context) => {
367
- const headers = {
368
- "content-type": "application/x-www-form-urlencoded",
369
- };
313
+ const headers = SHARED_HEADERS;
370
314
  let body;
371
315
  body = buildFormUrlencodedString({
372
316
  ...se_CreateEventSubscriptionMessage(input, context),
@@ -377,9 +321,7 @@ const se_CreateEventSubscriptionCommand = async (input, context) => {
377
321
  };
378
322
  exports.se_CreateEventSubscriptionCommand = se_CreateEventSubscriptionCommand;
379
323
  const se_CreateGlobalClusterCommand = async (input, context) => {
380
- const headers = {
381
- "content-type": "application/x-www-form-urlencoded",
382
- };
324
+ const headers = SHARED_HEADERS;
383
325
  let body;
384
326
  body = buildFormUrlencodedString({
385
327
  ...se_CreateGlobalClusterMessage(input, context),
@@ -390,9 +332,7 @@ const se_CreateGlobalClusterCommand = async (input, context) => {
390
332
  };
391
333
  exports.se_CreateGlobalClusterCommand = se_CreateGlobalClusterCommand;
392
334
  const se_CreateOptionGroupCommand = async (input, context) => {
393
- const headers = {
394
- "content-type": "application/x-www-form-urlencoded",
395
- };
335
+ const headers = SHARED_HEADERS;
396
336
  let body;
397
337
  body = buildFormUrlencodedString({
398
338
  ...se_CreateOptionGroupMessage(input, context),
@@ -403,9 +343,7 @@ const se_CreateOptionGroupCommand = async (input, context) => {
403
343
  };
404
344
  exports.se_CreateOptionGroupCommand = se_CreateOptionGroupCommand;
405
345
  const se_DeleteBlueGreenDeploymentCommand = async (input, context) => {
406
- const headers = {
407
- "content-type": "application/x-www-form-urlencoded",
408
- };
346
+ const headers = SHARED_HEADERS;
409
347
  let body;
410
348
  body = buildFormUrlencodedString({
411
349
  ...se_DeleteBlueGreenDeploymentRequest(input, context),
@@ -416,9 +354,7 @@ const se_DeleteBlueGreenDeploymentCommand = async (input, context) => {
416
354
  };
417
355
  exports.se_DeleteBlueGreenDeploymentCommand = se_DeleteBlueGreenDeploymentCommand;
418
356
  const se_DeleteCustomDBEngineVersionCommand = async (input, context) => {
419
- const headers = {
420
- "content-type": "application/x-www-form-urlencoded",
421
- };
357
+ const headers = SHARED_HEADERS;
422
358
  let body;
423
359
  body = buildFormUrlencodedString({
424
360
  ...se_DeleteCustomDBEngineVersionMessage(input, context),
@@ -429,9 +365,7 @@ const se_DeleteCustomDBEngineVersionCommand = async (input, context) => {
429
365
  };
430
366
  exports.se_DeleteCustomDBEngineVersionCommand = se_DeleteCustomDBEngineVersionCommand;
431
367
  const se_DeleteDBClusterCommand = async (input, context) => {
432
- const headers = {
433
- "content-type": "application/x-www-form-urlencoded",
434
- };
368
+ const headers = SHARED_HEADERS;
435
369
  let body;
436
370
  body = buildFormUrlencodedString({
437
371
  ...se_DeleteDBClusterMessage(input, context),
@@ -442,9 +376,7 @@ const se_DeleteDBClusterCommand = async (input, context) => {
442
376
  };
443
377
  exports.se_DeleteDBClusterCommand = se_DeleteDBClusterCommand;
444
378
  const se_DeleteDBClusterEndpointCommand = async (input, context) => {
445
- const headers = {
446
- "content-type": "application/x-www-form-urlencoded",
447
- };
379
+ const headers = SHARED_HEADERS;
448
380
  let body;
449
381
  body = buildFormUrlencodedString({
450
382
  ...se_DeleteDBClusterEndpointMessage(input, context),
@@ -455,9 +387,7 @@ const se_DeleteDBClusterEndpointCommand = async (input, context) => {
455
387
  };
456
388
  exports.se_DeleteDBClusterEndpointCommand = se_DeleteDBClusterEndpointCommand;
457
389
  const se_DeleteDBClusterParameterGroupCommand = async (input, context) => {
458
- const headers = {
459
- "content-type": "application/x-www-form-urlencoded",
460
- };
390
+ const headers = SHARED_HEADERS;
461
391
  let body;
462
392
  body = buildFormUrlencodedString({
463
393
  ...se_DeleteDBClusterParameterGroupMessage(input, context),
@@ -468,9 +398,7 @@ const se_DeleteDBClusterParameterGroupCommand = async (input, context) => {
468
398
  };
469
399
  exports.se_DeleteDBClusterParameterGroupCommand = se_DeleteDBClusterParameterGroupCommand;
470
400
  const se_DeleteDBClusterSnapshotCommand = async (input, context) => {
471
- const headers = {
472
- "content-type": "application/x-www-form-urlencoded",
473
- };
401
+ const headers = SHARED_HEADERS;
474
402
  let body;
475
403
  body = buildFormUrlencodedString({
476
404
  ...se_DeleteDBClusterSnapshotMessage(input, context),
@@ -481,9 +409,7 @@ const se_DeleteDBClusterSnapshotCommand = async (input, context) => {
481
409
  };
482
410
  exports.se_DeleteDBClusterSnapshotCommand = se_DeleteDBClusterSnapshotCommand;
483
411
  const se_DeleteDBInstanceCommand = async (input, context) => {
484
- const headers = {
485
- "content-type": "application/x-www-form-urlencoded",
486
- };
412
+ const headers = SHARED_HEADERS;
487
413
  let body;
488
414
  body = buildFormUrlencodedString({
489
415
  ...se_DeleteDBInstanceMessage(input, context),
@@ -494,9 +420,7 @@ const se_DeleteDBInstanceCommand = async (input, context) => {
494
420
  };
495
421
  exports.se_DeleteDBInstanceCommand = se_DeleteDBInstanceCommand;
496
422
  const se_DeleteDBInstanceAutomatedBackupCommand = async (input, context) => {
497
- const headers = {
498
- "content-type": "application/x-www-form-urlencoded",
499
- };
423
+ const headers = SHARED_HEADERS;
500
424
  let body;
501
425
  body = buildFormUrlencodedString({
502
426
  ...se_DeleteDBInstanceAutomatedBackupMessage(input, context),
@@ -507,9 +431,7 @@ const se_DeleteDBInstanceAutomatedBackupCommand = async (input, context) => {
507
431
  };
508
432
  exports.se_DeleteDBInstanceAutomatedBackupCommand = se_DeleteDBInstanceAutomatedBackupCommand;
509
433
  const se_DeleteDBParameterGroupCommand = async (input, context) => {
510
- const headers = {
511
- "content-type": "application/x-www-form-urlencoded",
512
- };
434
+ const headers = SHARED_HEADERS;
513
435
  let body;
514
436
  body = buildFormUrlencodedString({
515
437
  ...se_DeleteDBParameterGroupMessage(input, context),
@@ -520,9 +442,7 @@ const se_DeleteDBParameterGroupCommand = async (input, context) => {
520
442
  };
521
443
  exports.se_DeleteDBParameterGroupCommand = se_DeleteDBParameterGroupCommand;
522
444
  const se_DeleteDBProxyCommand = async (input, context) => {
523
- const headers = {
524
- "content-type": "application/x-www-form-urlencoded",
525
- };
445
+ const headers = SHARED_HEADERS;
526
446
  let body;
527
447
  body = buildFormUrlencodedString({
528
448
  ...se_DeleteDBProxyRequest(input, context),
@@ -533,9 +453,7 @@ const se_DeleteDBProxyCommand = async (input, context) => {
533
453
  };
534
454
  exports.se_DeleteDBProxyCommand = se_DeleteDBProxyCommand;
535
455
  const se_DeleteDBProxyEndpointCommand = async (input, context) => {
536
- const headers = {
537
- "content-type": "application/x-www-form-urlencoded",
538
- };
456
+ const headers = SHARED_HEADERS;
539
457
  let body;
540
458
  body = buildFormUrlencodedString({
541
459
  ...se_DeleteDBProxyEndpointRequest(input, context),
@@ -546,9 +464,7 @@ const se_DeleteDBProxyEndpointCommand = async (input, context) => {
546
464
  };
547
465
  exports.se_DeleteDBProxyEndpointCommand = se_DeleteDBProxyEndpointCommand;
548
466
  const se_DeleteDBSecurityGroupCommand = async (input, context) => {
549
- const headers = {
550
- "content-type": "application/x-www-form-urlencoded",
551
- };
467
+ const headers = SHARED_HEADERS;
552
468
  let body;
553
469
  body = buildFormUrlencodedString({
554
470
  ...se_DeleteDBSecurityGroupMessage(input, context),
@@ -559,9 +475,7 @@ const se_DeleteDBSecurityGroupCommand = async (input, context) => {
559
475
  };
560
476
  exports.se_DeleteDBSecurityGroupCommand = se_DeleteDBSecurityGroupCommand;
561
477
  const se_DeleteDBSnapshotCommand = async (input, context) => {
562
- const headers = {
563
- "content-type": "application/x-www-form-urlencoded",
564
- };
478
+ const headers = SHARED_HEADERS;
565
479
  let body;
566
480
  body = buildFormUrlencodedString({
567
481
  ...se_DeleteDBSnapshotMessage(input, context),
@@ -572,9 +486,7 @@ const se_DeleteDBSnapshotCommand = async (input, context) => {
572
486
  };
573
487
  exports.se_DeleteDBSnapshotCommand = se_DeleteDBSnapshotCommand;
574
488
  const se_DeleteDBSubnetGroupCommand = async (input, context) => {
575
- const headers = {
576
- "content-type": "application/x-www-form-urlencoded",
577
- };
489
+ const headers = SHARED_HEADERS;
578
490
  let body;
579
491
  body = buildFormUrlencodedString({
580
492
  ...se_DeleteDBSubnetGroupMessage(input, context),
@@ -585,9 +497,7 @@ const se_DeleteDBSubnetGroupCommand = async (input, context) => {
585
497
  };
586
498
  exports.se_DeleteDBSubnetGroupCommand = se_DeleteDBSubnetGroupCommand;
587
499
  const se_DeleteEventSubscriptionCommand = async (input, context) => {
588
- const headers = {
589
- "content-type": "application/x-www-form-urlencoded",
590
- };
500
+ const headers = SHARED_HEADERS;
591
501
  let body;
592
502
  body = buildFormUrlencodedString({
593
503
  ...se_DeleteEventSubscriptionMessage(input, context),
@@ -598,9 +508,7 @@ const se_DeleteEventSubscriptionCommand = async (input, context) => {
598
508
  };
599
509
  exports.se_DeleteEventSubscriptionCommand = se_DeleteEventSubscriptionCommand;
600
510
  const se_DeleteGlobalClusterCommand = async (input, context) => {
601
- const headers = {
602
- "content-type": "application/x-www-form-urlencoded",
603
- };
511
+ const headers = SHARED_HEADERS;
604
512
  let body;
605
513
  body = buildFormUrlencodedString({
606
514
  ...se_DeleteGlobalClusterMessage(input, context),
@@ -611,9 +519,7 @@ const se_DeleteGlobalClusterCommand = async (input, context) => {
611
519
  };
612
520
  exports.se_DeleteGlobalClusterCommand = se_DeleteGlobalClusterCommand;
613
521
  const se_DeleteOptionGroupCommand = async (input, context) => {
614
- const headers = {
615
- "content-type": "application/x-www-form-urlencoded",
616
- };
522
+ const headers = SHARED_HEADERS;
617
523
  let body;
618
524
  body = buildFormUrlencodedString({
619
525
  ...se_DeleteOptionGroupMessage(input, context),
@@ -624,9 +530,7 @@ const se_DeleteOptionGroupCommand = async (input, context) => {
624
530
  };
625
531
  exports.se_DeleteOptionGroupCommand = se_DeleteOptionGroupCommand;
626
532
  const se_DeregisterDBProxyTargetsCommand = async (input, context) => {
627
- const headers = {
628
- "content-type": "application/x-www-form-urlencoded",
629
- };
533
+ const headers = SHARED_HEADERS;
630
534
  let body;
631
535
  body = buildFormUrlencodedString({
632
536
  ...se_DeregisterDBProxyTargetsRequest(input, context),
@@ -637,9 +541,7 @@ const se_DeregisterDBProxyTargetsCommand = async (input, context) => {
637
541
  };
638
542
  exports.se_DeregisterDBProxyTargetsCommand = se_DeregisterDBProxyTargetsCommand;
639
543
  const se_DescribeAccountAttributesCommand = async (input, context) => {
640
- const headers = {
641
- "content-type": "application/x-www-form-urlencoded",
642
- };
544
+ const headers = SHARED_HEADERS;
643
545
  let body;
644
546
  body = buildFormUrlencodedString({
645
547
  ...se_DescribeAccountAttributesMessage(input, context),
@@ -650,9 +552,7 @@ const se_DescribeAccountAttributesCommand = async (input, context) => {
650
552
  };
651
553
  exports.se_DescribeAccountAttributesCommand = se_DescribeAccountAttributesCommand;
652
554
  const se_DescribeBlueGreenDeploymentsCommand = async (input, context) => {
653
- const headers = {
654
- "content-type": "application/x-www-form-urlencoded",
655
- };
555
+ const headers = SHARED_HEADERS;
656
556
  let body;
657
557
  body = buildFormUrlencodedString({
658
558
  ...se_DescribeBlueGreenDeploymentsRequest(input, context),
@@ -663,9 +563,7 @@ const se_DescribeBlueGreenDeploymentsCommand = async (input, context) => {
663
563
  };
664
564
  exports.se_DescribeBlueGreenDeploymentsCommand = se_DescribeBlueGreenDeploymentsCommand;
665
565
  const se_DescribeCertificatesCommand = async (input, context) => {
666
- const headers = {
667
- "content-type": "application/x-www-form-urlencoded",
668
- };
566
+ const headers = SHARED_HEADERS;
669
567
  let body;
670
568
  body = buildFormUrlencodedString({
671
569
  ...se_DescribeCertificatesMessage(input, context),
@@ -676,9 +574,7 @@ const se_DescribeCertificatesCommand = async (input, context) => {
676
574
  };
677
575
  exports.se_DescribeCertificatesCommand = se_DescribeCertificatesCommand;
678
576
  const se_DescribeDBClusterBacktracksCommand = async (input, context) => {
679
- const headers = {
680
- "content-type": "application/x-www-form-urlencoded",
681
- };
577
+ const headers = SHARED_HEADERS;
682
578
  let body;
683
579
  body = buildFormUrlencodedString({
684
580
  ...se_DescribeDBClusterBacktracksMessage(input, context),
@@ -689,9 +585,7 @@ const se_DescribeDBClusterBacktracksCommand = async (input, context) => {
689
585
  };
690
586
  exports.se_DescribeDBClusterBacktracksCommand = se_DescribeDBClusterBacktracksCommand;
691
587
  const se_DescribeDBClusterEndpointsCommand = async (input, context) => {
692
- const headers = {
693
- "content-type": "application/x-www-form-urlencoded",
694
- };
588
+ const headers = SHARED_HEADERS;
695
589
  let body;
696
590
  body = buildFormUrlencodedString({
697
591
  ...se_DescribeDBClusterEndpointsMessage(input, context),
@@ -702,9 +596,7 @@ const se_DescribeDBClusterEndpointsCommand = async (input, context) => {
702
596
  };
703
597
  exports.se_DescribeDBClusterEndpointsCommand = se_DescribeDBClusterEndpointsCommand;
704
598
  const se_DescribeDBClusterParameterGroupsCommand = async (input, context) => {
705
- const headers = {
706
- "content-type": "application/x-www-form-urlencoded",
707
- };
599
+ const headers = SHARED_HEADERS;
708
600
  let body;
709
601
  body = buildFormUrlencodedString({
710
602
  ...se_DescribeDBClusterParameterGroupsMessage(input, context),
@@ -715,9 +607,7 @@ const se_DescribeDBClusterParameterGroupsCommand = async (input, context) => {
715
607
  };
716
608
  exports.se_DescribeDBClusterParameterGroupsCommand = se_DescribeDBClusterParameterGroupsCommand;
717
609
  const se_DescribeDBClusterParametersCommand = async (input, context) => {
718
- const headers = {
719
- "content-type": "application/x-www-form-urlencoded",
720
- };
610
+ const headers = SHARED_HEADERS;
721
611
  let body;
722
612
  body = buildFormUrlencodedString({
723
613
  ...se_DescribeDBClusterParametersMessage(input, context),
@@ -728,9 +618,7 @@ const se_DescribeDBClusterParametersCommand = async (input, context) => {
728
618
  };
729
619
  exports.se_DescribeDBClusterParametersCommand = se_DescribeDBClusterParametersCommand;
730
620
  const se_DescribeDBClustersCommand = async (input, context) => {
731
- const headers = {
732
- "content-type": "application/x-www-form-urlencoded",
733
- };
621
+ const headers = SHARED_HEADERS;
734
622
  let body;
735
623
  body = buildFormUrlencodedString({
736
624
  ...se_DescribeDBClustersMessage(input, context),
@@ -741,9 +629,7 @@ const se_DescribeDBClustersCommand = async (input, context) => {
741
629
  };
742
630
  exports.se_DescribeDBClustersCommand = se_DescribeDBClustersCommand;
743
631
  const se_DescribeDBClusterSnapshotAttributesCommand = async (input, context) => {
744
- const headers = {
745
- "content-type": "application/x-www-form-urlencoded",
746
- };
632
+ const headers = SHARED_HEADERS;
747
633
  let body;
748
634
  body = buildFormUrlencodedString({
749
635
  ...se_DescribeDBClusterSnapshotAttributesMessage(input, context),
@@ -754,9 +640,7 @@ const se_DescribeDBClusterSnapshotAttributesCommand = async (input, context) =>
754
640
  };
755
641
  exports.se_DescribeDBClusterSnapshotAttributesCommand = se_DescribeDBClusterSnapshotAttributesCommand;
756
642
  const se_DescribeDBClusterSnapshotsCommand = async (input, context) => {
757
- const headers = {
758
- "content-type": "application/x-www-form-urlencoded",
759
- };
643
+ const headers = SHARED_HEADERS;
760
644
  let body;
761
645
  body = buildFormUrlencodedString({
762
646
  ...se_DescribeDBClusterSnapshotsMessage(input, context),
@@ -767,9 +651,7 @@ const se_DescribeDBClusterSnapshotsCommand = async (input, context) => {
767
651
  };
768
652
  exports.se_DescribeDBClusterSnapshotsCommand = se_DescribeDBClusterSnapshotsCommand;
769
653
  const se_DescribeDBEngineVersionsCommand = async (input, context) => {
770
- const headers = {
771
- "content-type": "application/x-www-form-urlencoded",
772
- };
654
+ const headers = SHARED_HEADERS;
773
655
  let body;
774
656
  body = buildFormUrlencodedString({
775
657
  ...se_DescribeDBEngineVersionsMessage(input, context),
@@ -780,9 +662,7 @@ const se_DescribeDBEngineVersionsCommand = async (input, context) => {
780
662
  };
781
663
  exports.se_DescribeDBEngineVersionsCommand = se_DescribeDBEngineVersionsCommand;
782
664
  const se_DescribeDBInstanceAutomatedBackupsCommand = async (input, context) => {
783
- const headers = {
784
- "content-type": "application/x-www-form-urlencoded",
785
- };
665
+ const headers = SHARED_HEADERS;
786
666
  let body;
787
667
  body = buildFormUrlencodedString({
788
668
  ...se_DescribeDBInstanceAutomatedBackupsMessage(input, context),
@@ -793,9 +673,7 @@ const se_DescribeDBInstanceAutomatedBackupsCommand = async (input, context) => {
793
673
  };
794
674
  exports.se_DescribeDBInstanceAutomatedBackupsCommand = se_DescribeDBInstanceAutomatedBackupsCommand;
795
675
  const se_DescribeDBInstancesCommand = async (input, context) => {
796
- const headers = {
797
- "content-type": "application/x-www-form-urlencoded",
798
- };
676
+ const headers = SHARED_HEADERS;
799
677
  let body;
800
678
  body = buildFormUrlencodedString({
801
679
  ...se_DescribeDBInstancesMessage(input, context),
@@ -806,9 +684,7 @@ const se_DescribeDBInstancesCommand = async (input, context) => {
806
684
  };
807
685
  exports.se_DescribeDBInstancesCommand = se_DescribeDBInstancesCommand;
808
686
  const se_DescribeDBLogFilesCommand = async (input, context) => {
809
- const headers = {
810
- "content-type": "application/x-www-form-urlencoded",
811
- };
687
+ const headers = SHARED_HEADERS;
812
688
  let body;
813
689
  body = buildFormUrlencodedString({
814
690
  ...se_DescribeDBLogFilesMessage(input, context),
@@ -819,9 +695,7 @@ const se_DescribeDBLogFilesCommand = async (input, context) => {
819
695
  };
820
696
  exports.se_DescribeDBLogFilesCommand = se_DescribeDBLogFilesCommand;
821
697
  const se_DescribeDBParameterGroupsCommand = async (input, context) => {
822
- const headers = {
823
- "content-type": "application/x-www-form-urlencoded",
824
- };
698
+ const headers = SHARED_HEADERS;
825
699
  let body;
826
700
  body = buildFormUrlencodedString({
827
701
  ...se_DescribeDBParameterGroupsMessage(input, context),
@@ -832,9 +706,7 @@ const se_DescribeDBParameterGroupsCommand = async (input, context) => {
832
706
  };
833
707
  exports.se_DescribeDBParameterGroupsCommand = se_DescribeDBParameterGroupsCommand;
834
708
  const se_DescribeDBParametersCommand = async (input, context) => {
835
- const headers = {
836
- "content-type": "application/x-www-form-urlencoded",
837
- };
709
+ const headers = SHARED_HEADERS;
838
710
  let body;
839
711
  body = buildFormUrlencodedString({
840
712
  ...se_DescribeDBParametersMessage(input, context),
@@ -845,9 +717,7 @@ const se_DescribeDBParametersCommand = async (input, context) => {
845
717
  };
846
718
  exports.se_DescribeDBParametersCommand = se_DescribeDBParametersCommand;
847
719
  const se_DescribeDBProxiesCommand = async (input, context) => {
848
- const headers = {
849
- "content-type": "application/x-www-form-urlencoded",
850
- };
720
+ const headers = SHARED_HEADERS;
851
721
  let body;
852
722
  body = buildFormUrlencodedString({
853
723
  ...se_DescribeDBProxiesRequest(input, context),
@@ -858,9 +728,7 @@ const se_DescribeDBProxiesCommand = async (input, context) => {
858
728
  };
859
729
  exports.se_DescribeDBProxiesCommand = se_DescribeDBProxiesCommand;
860
730
  const se_DescribeDBProxyEndpointsCommand = async (input, context) => {
861
- const headers = {
862
- "content-type": "application/x-www-form-urlencoded",
863
- };
731
+ const headers = SHARED_HEADERS;
864
732
  let body;
865
733
  body = buildFormUrlencodedString({
866
734
  ...se_DescribeDBProxyEndpointsRequest(input, context),
@@ -871,9 +739,7 @@ const se_DescribeDBProxyEndpointsCommand = async (input, context) => {
871
739
  };
872
740
  exports.se_DescribeDBProxyEndpointsCommand = se_DescribeDBProxyEndpointsCommand;
873
741
  const se_DescribeDBProxyTargetGroupsCommand = async (input, context) => {
874
- const headers = {
875
- "content-type": "application/x-www-form-urlencoded",
876
- };
742
+ const headers = SHARED_HEADERS;
877
743
  let body;
878
744
  body = buildFormUrlencodedString({
879
745
  ...se_DescribeDBProxyTargetGroupsRequest(input, context),
@@ -884,9 +750,7 @@ const se_DescribeDBProxyTargetGroupsCommand = async (input, context) => {
884
750
  };
885
751
  exports.se_DescribeDBProxyTargetGroupsCommand = se_DescribeDBProxyTargetGroupsCommand;
886
752
  const se_DescribeDBProxyTargetsCommand = async (input, context) => {
887
- const headers = {
888
- "content-type": "application/x-www-form-urlencoded",
889
- };
753
+ const headers = SHARED_HEADERS;
890
754
  let body;
891
755
  body = buildFormUrlencodedString({
892
756
  ...se_DescribeDBProxyTargetsRequest(input, context),
@@ -897,9 +761,7 @@ const se_DescribeDBProxyTargetsCommand = async (input, context) => {
897
761
  };
898
762
  exports.se_DescribeDBProxyTargetsCommand = se_DescribeDBProxyTargetsCommand;
899
763
  const se_DescribeDBSecurityGroupsCommand = async (input, context) => {
900
- const headers = {
901
- "content-type": "application/x-www-form-urlencoded",
902
- };
764
+ const headers = SHARED_HEADERS;
903
765
  let body;
904
766
  body = buildFormUrlencodedString({
905
767
  ...se_DescribeDBSecurityGroupsMessage(input, context),
@@ -910,9 +772,7 @@ const se_DescribeDBSecurityGroupsCommand = async (input, context) => {
910
772
  };
911
773
  exports.se_DescribeDBSecurityGroupsCommand = se_DescribeDBSecurityGroupsCommand;
912
774
  const se_DescribeDBSnapshotAttributesCommand = async (input, context) => {
913
- const headers = {
914
- "content-type": "application/x-www-form-urlencoded",
915
- };
775
+ const headers = SHARED_HEADERS;
916
776
  let body;
917
777
  body = buildFormUrlencodedString({
918
778
  ...se_DescribeDBSnapshotAttributesMessage(input, context),
@@ -923,9 +783,7 @@ const se_DescribeDBSnapshotAttributesCommand = async (input, context) => {
923
783
  };
924
784
  exports.se_DescribeDBSnapshotAttributesCommand = se_DescribeDBSnapshotAttributesCommand;
925
785
  const se_DescribeDBSnapshotsCommand = async (input, context) => {
926
- const headers = {
927
- "content-type": "application/x-www-form-urlencoded",
928
- };
786
+ const headers = SHARED_HEADERS;
929
787
  let body;
930
788
  body = buildFormUrlencodedString({
931
789
  ...se_DescribeDBSnapshotsMessage(input, context),
@@ -936,9 +794,7 @@ const se_DescribeDBSnapshotsCommand = async (input, context) => {
936
794
  };
937
795
  exports.se_DescribeDBSnapshotsCommand = se_DescribeDBSnapshotsCommand;
938
796
  const se_DescribeDBSubnetGroupsCommand = async (input, context) => {
939
- const headers = {
940
- "content-type": "application/x-www-form-urlencoded",
941
- };
797
+ const headers = SHARED_HEADERS;
942
798
  let body;
943
799
  body = buildFormUrlencodedString({
944
800
  ...se_DescribeDBSubnetGroupsMessage(input, context),
@@ -949,9 +805,7 @@ const se_DescribeDBSubnetGroupsCommand = async (input, context) => {
949
805
  };
950
806
  exports.se_DescribeDBSubnetGroupsCommand = se_DescribeDBSubnetGroupsCommand;
951
807
  const se_DescribeEngineDefaultClusterParametersCommand = async (input, context) => {
952
- const headers = {
953
- "content-type": "application/x-www-form-urlencoded",
954
- };
808
+ const headers = SHARED_HEADERS;
955
809
  let body;
956
810
  body = buildFormUrlencodedString({
957
811
  ...se_DescribeEngineDefaultClusterParametersMessage(input, context),
@@ -962,9 +816,7 @@ const se_DescribeEngineDefaultClusterParametersCommand = async (input, context)
962
816
  };
963
817
  exports.se_DescribeEngineDefaultClusterParametersCommand = se_DescribeEngineDefaultClusterParametersCommand;
964
818
  const se_DescribeEngineDefaultParametersCommand = async (input, context) => {
965
- const headers = {
966
- "content-type": "application/x-www-form-urlencoded",
967
- };
819
+ const headers = SHARED_HEADERS;
968
820
  let body;
969
821
  body = buildFormUrlencodedString({
970
822
  ...se_DescribeEngineDefaultParametersMessage(input, context),
@@ -975,9 +827,7 @@ const se_DescribeEngineDefaultParametersCommand = async (input, context) => {
975
827
  };
976
828
  exports.se_DescribeEngineDefaultParametersCommand = se_DescribeEngineDefaultParametersCommand;
977
829
  const se_DescribeEventCategoriesCommand = async (input, context) => {
978
- const headers = {
979
- "content-type": "application/x-www-form-urlencoded",
980
- };
830
+ const headers = SHARED_HEADERS;
981
831
  let body;
982
832
  body = buildFormUrlencodedString({
983
833
  ...se_DescribeEventCategoriesMessage(input, context),
@@ -988,9 +838,7 @@ const se_DescribeEventCategoriesCommand = async (input, context) => {
988
838
  };
989
839
  exports.se_DescribeEventCategoriesCommand = se_DescribeEventCategoriesCommand;
990
840
  const se_DescribeEventsCommand = async (input, context) => {
991
- const headers = {
992
- "content-type": "application/x-www-form-urlencoded",
993
- };
841
+ const headers = SHARED_HEADERS;
994
842
  let body;
995
843
  body = buildFormUrlencodedString({
996
844
  ...se_DescribeEventsMessage(input, context),
@@ -1001,9 +849,7 @@ const se_DescribeEventsCommand = async (input, context) => {
1001
849
  };
1002
850
  exports.se_DescribeEventsCommand = se_DescribeEventsCommand;
1003
851
  const se_DescribeEventSubscriptionsCommand = async (input, context) => {
1004
- const headers = {
1005
- "content-type": "application/x-www-form-urlencoded",
1006
- };
852
+ const headers = SHARED_HEADERS;
1007
853
  let body;
1008
854
  body = buildFormUrlencodedString({
1009
855
  ...se_DescribeEventSubscriptionsMessage(input, context),
@@ -1014,9 +860,7 @@ const se_DescribeEventSubscriptionsCommand = async (input, context) => {
1014
860
  };
1015
861
  exports.se_DescribeEventSubscriptionsCommand = se_DescribeEventSubscriptionsCommand;
1016
862
  const se_DescribeExportTasksCommand = async (input, context) => {
1017
- const headers = {
1018
- "content-type": "application/x-www-form-urlencoded",
1019
- };
863
+ const headers = SHARED_HEADERS;
1020
864
  let body;
1021
865
  body = buildFormUrlencodedString({
1022
866
  ...se_DescribeExportTasksMessage(input, context),
@@ -1027,9 +871,7 @@ const se_DescribeExportTasksCommand = async (input, context) => {
1027
871
  };
1028
872
  exports.se_DescribeExportTasksCommand = se_DescribeExportTasksCommand;
1029
873
  const se_DescribeGlobalClustersCommand = async (input, context) => {
1030
- const headers = {
1031
- "content-type": "application/x-www-form-urlencoded",
1032
- };
874
+ const headers = SHARED_HEADERS;
1033
875
  let body;
1034
876
  body = buildFormUrlencodedString({
1035
877
  ...se_DescribeGlobalClustersMessage(input, context),
@@ -1040,9 +882,7 @@ const se_DescribeGlobalClustersCommand = async (input, context) => {
1040
882
  };
1041
883
  exports.se_DescribeGlobalClustersCommand = se_DescribeGlobalClustersCommand;
1042
884
  const se_DescribeOptionGroupOptionsCommand = async (input, context) => {
1043
- const headers = {
1044
- "content-type": "application/x-www-form-urlencoded",
1045
- };
885
+ const headers = SHARED_HEADERS;
1046
886
  let body;
1047
887
  body = buildFormUrlencodedString({
1048
888
  ...se_DescribeOptionGroupOptionsMessage(input, context),
@@ -1053,9 +893,7 @@ const se_DescribeOptionGroupOptionsCommand = async (input, context) => {
1053
893
  };
1054
894
  exports.se_DescribeOptionGroupOptionsCommand = se_DescribeOptionGroupOptionsCommand;
1055
895
  const se_DescribeOptionGroupsCommand = async (input, context) => {
1056
- const headers = {
1057
- "content-type": "application/x-www-form-urlencoded",
1058
- };
896
+ const headers = SHARED_HEADERS;
1059
897
  let body;
1060
898
  body = buildFormUrlencodedString({
1061
899
  ...se_DescribeOptionGroupsMessage(input, context),
@@ -1066,9 +904,7 @@ const se_DescribeOptionGroupsCommand = async (input, context) => {
1066
904
  };
1067
905
  exports.se_DescribeOptionGroupsCommand = se_DescribeOptionGroupsCommand;
1068
906
  const se_DescribeOrderableDBInstanceOptionsCommand = async (input, context) => {
1069
- const headers = {
1070
- "content-type": "application/x-www-form-urlencoded",
1071
- };
907
+ const headers = SHARED_HEADERS;
1072
908
  let body;
1073
909
  body = buildFormUrlencodedString({
1074
910
  ...se_DescribeOrderableDBInstanceOptionsMessage(input, context),
@@ -1079,9 +915,7 @@ const se_DescribeOrderableDBInstanceOptionsCommand = async (input, context) => {
1079
915
  };
1080
916
  exports.se_DescribeOrderableDBInstanceOptionsCommand = se_DescribeOrderableDBInstanceOptionsCommand;
1081
917
  const se_DescribePendingMaintenanceActionsCommand = async (input, context) => {
1082
- const headers = {
1083
- "content-type": "application/x-www-form-urlencoded",
1084
- };
918
+ const headers = SHARED_HEADERS;
1085
919
  let body;
1086
920
  body = buildFormUrlencodedString({
1087
921
  ...se_DescribePendingMaintenanceActionsMessage(input, context),
@@ -1092,9 +926,7 @@ const se_DescribePendingMaintenanceActionsCommand = async (input, context) => {
1092
926
  };
1093
927
  exports.se_DescribePendingMaintenanceActionsCommand = se_DescribePendingMaintenanceActionsCommand;
1094
928
  const se_DescribeReservedDBInstancesCommand = async (input, context) => {
1095
- const headers = {
1096
- "content-type": "application/x-www-form-urlencoded",
1097
- };
929
+ const headers = SHARED_HEADERS;
1098
930
  let body;
1099
931
  body = buildFormUrlencodedString({
1100
932
  ...se_DescribeReservedDBInstancesMessage(input, context),
@@ -1105,9 +937,7 @@ const se_DescribeReservedDBInstancesCommand = async (input, context) => {
1105
937
  };
1106
938
  exports.se_DescribeReservedDBInstancesCommand = se_DescribeReservedDBInstancesCommand;
1107
939
  const se_DescribeReservedDBInstancesOfferingsCommand = async (input, context) => {
1108
- const headers = {
1109
- "content-type": "application/x-www-form-urlencoded",
1110
- };
940
+ const headers = SHARED_HEADERS;
1111
941
  let body;
1112
942
  body = buildFormUrlencodedString({
1113
943
  ...se_DescribeReservedDBInstancesOfferingsMessage(input, context),
@@ -1118,9 +948,7 @@ const se_DescribeReservedDBInstancesOfferingsCommand = async (input, context) =>
1118
948
  };
1119
949
  exports.se_DescribeReservedDBInstancesOfferingsCommand = se_DescribeReservedDBInstancesOfferingsCommand;
1120
950
  const se_DescribeSourceRegionsCommand = async (input, context) => {
1121
- const headers = {
1122
- "content-type": "application/x-www-form-urlencoded",
1123
- };
951
+ const headers = SHARED_HEADERS;
1124
952
  let body;
1125
953
  body = buildFormUrlencodedString({
1126
954
  ...se_DescribeSourceRegionsMessage(input, context),
@@ -1131,9 +959,7 @@ const se_DescribeSourceRegionsCommand = async (input, context) => {
1131
959
  };
1132
960
  exports.se_DescribeSourceRegionsCommand = se_DescribeSourceRegionsCommand;
1133
961
  const se_DescribeValidDBInstanceModificationsCommand = async (input, context) => {
1134
- const headers = {
1135
- "content-type": "application/x-www-form-urlencoded",
1136
- };
962
+ const headers = SHARED_HEADERS;
1137
963
  let body;
1138
964
  body = buildFormUrlencodedString({
1139
965
  ...se_DescribeValidDBInstanceModificationsMessage(input, context),
@@ -1144,9 +970,7 @@ const se_DescribeValidDBInstanceModificationsCommand = async (input, context) =>
1144
970
  };
1145
971
  exports.se_DescribeValidDBInstanceModificationsCommand = se_DescribeValidDBInstanceModificationsCommand;
1146
972
  const se_DownloadDBLogFilePortionCommand = async (input, context) => {
1147
- const headers = {
1148
- "content-type": "application/x-www-form-urlencoded",
1149
- };
973
+ const headers = SHARED_HEADERS;
1150
974
  let body;
1151
975
  body = buildFormUrlencodedString({
1152
976
  ...se_DownloadDBLogFilePortionMessage(input, context),
@@ -1157,9 +981,7 @@ const se_DownloadDBLogFilePortionCommand = async (input, context) => {
1157
981
  };
1158
982
  exports.se_DownloadDBLogFilePortionCommand = se_DownloadDBLogFilePortionCommand;
1159
983
  const se_FailoverDBClusterCommand = async (input, context) => {
1160
- const headers = {
1161
- "content-type": "application/x-www-form-urlencoded",
1162
- };
984
+ const headers = SHARED_HEADERS;
1163
985
  let body;
1164
986
  body = buildFormUrlencodedString({
1165
987
  ...se_FailoverDBClusterMessage(input, context),
@@ -1170,9 +992,7 @@ const se_FailoverDBClusterCommand = async (input, context) => {
1170
992
  };
1171
993
  exports.se_FailoverDBClusterCommand = se_FailoverDBClusterCommand;
1172
994
  const se_FailoverGlobalClusterCommand = async (input, context) => {
1173
- const headers = {
1174
- "content-type": "application/x-www-form-urlencoded",
1175
- };
995
+ const headers = SHARED_HEADERS;
1176
996
  let body;
1177
997
  body = buildFormUrlencodedString({
1178
998
  ...se_FailoverGlobalClusterMessage(input, context),
@@ -1183,9 +1003,7 @@ const se_FailoverGlobalClusterCommand = async (input, context) => {
1183
1003
  };
1184
1004
  exports.se_FailoverGlobalClusterCommand = se_FailoverGlobalClusterCommand;
1185
1005
  const se_ListTagsForResourceCommand = async (input, context) => {
1186
- const headers = {
1187
- "content-type": "application/x-www-form-urlencoded",
1188
- };
1006
+ const headers = SHARED_HEADERS;
1189
1007
  let body;
1190
1008
  body = buildFormUrlencodedString({
1191
1009
  ...se_ListTagsForResourceMessage(input, context),
@@ -1196,9 +1014,7 @@ const se_ListTagsForResourceCommand = async (input, context) => {
1196
1014
  };
1197
1015
  exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
1198
1016
  const se_ModifyActivityStreamCommand = async (input, context) => {
1199
- const headers = {
1200
- "content-type": "application/x-www-form-urlencoded",
1201
- };
1017
+ const headers = SHARED_HEADERS;
1202
1018
  let body;
1203
1019
  body = buildFormUrlencodedString({
1204
1020
  ...se_ModifyActivityStreamRequest(input, context),
@@ -1209,9 +1025,7 @@ const se_ModifyActivityStreamCommand = async (input, context) => {
1209
1025
  };
1210
1026
  exports.se_ModifyActivityStreamCommand = se_ModifyActivityStreamCommand;
1211
1027
  const se_ModifyCertificatesCommand = async (input, context) => {
1212
- const headers = {
1213
- "content-type": "application/x-www-form-urlencoded",
1214
- };
1028
+ const headers = SHARED_HEADERS;
1215
1029
  let body;
1216
1030
  body = buildFormUrlencodedString({
1217
1031
  ...se_ModifyCertificatesMessage(input, context),
@@ -1222,9 +1036,7 @@ const se_ModifyCertificatesCommand = async (input, context) => {
1222
1036
  };
1223
1037
  exports.se_ModifyCertificatesCommand = se_ModifyCertificatesCommand;
1224
1038
  const se_ModifyCurrentDBClusterCapacityCommand = async (input, context) => {
1225
- const headers = {
1226
- "content-type": "application/x-www-form-urlencoded",
1227
- };
1039
+ const headers = SHARED_HEADERS;
1228
1040
  let body;
1229
1041
  body = buildFormUrlencodedString({
1230
1042
  ...se_ModifyCurrentDBClusterCapacityMessage(input, context),
@@ -1235,9 +1047,7 @@ const se_ModifyCurrentDBClusterCapacityCommand = async (input, context) => {
1235
1047
  };
1236
1048
  exports.se_ModifyCurrentDBClusterCapacityCommand = se_ModifyCurrentDBClusterCapacityCommand;
1237
1049
  const se_ModifyCustomDBEngineVersionCommand = async (input, context) => {
1238
- const headers = {
1239
- "content-type": "application/x-www-form-urlencoded",
1240
- };
1050
+ const headers = SHARED_HEADERS;
1241
1051
  let body;
1242
1052
  body = buildFormUrlencodedString({
1243
1053
  ...se_ModifyCustomDBEngineVersionMessage(input, context),
@@ -1248,9 +1058,7 @@ const se_ModifyCustomDBEngineVersionCommand = async (input, context) => {
1248
1058
  };
1249
1059
  exports.se_ModifyCustomDBEngineVersionCommand = se_ModifyCustomDBEngineVersionCommand;
1250
1060
  const se_ModifyDBClusterCommand = async (input, context) => {
1251
- const headers = {
1252
- "content-type": "application/x-www-form-urlencoded",
1253
- };
1061
+ const headers = SHARED_HEADERS;
1254
1062
  let body;
1255
1063
  body = buildFormUrlencodedString({
1256
1064
  ...se_ModifyDBClusterMessage(input, context),
@@ -1261,9 +1069,7 @@ const se_ModifyDBClusterCommand = async (input, context) => {
1261
1069
  };
1262
1070
  exports.se_ModifyDBClusterCommand = se_ModifyDBClusterCommand;
1263
1071
  const se_ModifyDBClusterEndpointCommand = async (input, context) => {
1264
- const headers = {
1265
- "content-type": "application/x-www-form-urlencoded",
1266
- };
1072
+ const headers = SHARED_HEADERS;
1267
1073
  let body;
1268
1074
  body = buildFormUrlencodedString({
1269
1075
  ...se_ModifyDBClusterEndpointMessage(input, context),
@@ -1274,9 +1080,7 @@ const se_ModifyDBClusterEndpointCommand = async (input, context) => {
1274
1080
  };
1275
1081
  exports.se_ModifyDBClusterEndpointCommand = se_ModifyDBClusterEndpointCommand;
1276
1082
  const se_ModifyDBClusterParameterGroupCommand = async (input, context) => {
1277
- const headers = {
1278
- "content-type": "application/x-www-form-urlencoded",
1279
- };
1083
+ const headers = SHARED_HEADERS;
1280
1084
  let body;
1281
1085
  body = buildFormUrlencodedString({
1282
1086
  ...se_ModifyDBClusterParameterGroupMessage(input, context),
@@ -1287,9 +1091,7 @@ const se_ModifyDBClusterParameterGroupCommand = async (input, context) => {
1287
1091
  };
1288
1092
  exports.se_ModifyDBClusterParameterGroupCommand = se_ModifyDBClusterParameterGroupCommand;
1289
1093
  const se_ModifyDBClusterSnapshotAttributeCommand = async (input, context) => {
1290
- const headers = {
1291
- "content-type": "application/x-www-form-urlencoded",
1292
- };
1094
+ const headers = SHARED_HEADERS;
1293
1095
  let body;
1294
1096
  body = buildFormUrlencodedString({
1295
1097
  ...se_ModifyDBClusterSnapshotAttributeMessage(input, context),
@@ -1300,9 +1102,7 @@ const se_ModifyDBClusterSnapshotAttributeCommand = async (input, context) => {
1300
1102
  };
1301
1103
  exports.se_ModifyDBClusterSnapshotAttributeCommand = se_ModifyDBClusterSnapshotAttributeCommand;
1302
1104
  const se_ModifyDBInstanceCommand = async (input, context) => {
1303
- const headers = {
1304
- "content-type": "application/x-www-form-urlencoded",
1305
- };
1105
+ const headers = SHARED_HEADERS;
1306
1106
  let body;
1307
1107
  body = buildFormUrlencodedString({
1308
1108
  ...se_ModifyDBInstanceMessage(input, context),
@@ -1313,9 +1113,7 @@ const se_ModifyDBInstanceCommand = async (input, context) => {
1313
1113
  };
1314
1114
  exports.se_ModifyDBInstanceCommand = se_ModifyDBInstanceCommand;
1315
1115
  const se_ModifyDBParameterGroupCommand = async (input, context) => {
1316
- const headers = {
1317
- "content-type": "application/x-www-form-urlencoded",
1318
- };
1116
+ const headers = SHARED_HEADERS;
1319
1117
  let body;
1320
1118
  body = buildFormUrlencodedString({
1321
1119
  ...se_ModifyDBParameterGroupMessage(input, context),
@@ -1326,9 +1124,7 @@ const se_ModifyDBParameterGroupCommand = async (input, context) => {
1326
1124
  };
1327
1125
  exports.se_ModifyDBParameterGroupCommand = se_ModifyDBParameterGroupCommand;
1328
1126
  const se_ModifyDBProxyCommand = async (input, context) => {
1329
- const headers = {
1330
- "content-type": "application/x-www-form-urlencoded",
1331
- };
1127
+ const headers = SHARED_HEADERS;
1332
1128
  let body;
1333
1129
  body = buildFormUrlencodedString({
1334
1130
  ...se_ModifyDBProxyRequest(input, context),
@@ -1339,9 +1135,7 @@ const se_ModifyDBProxyCommand = async (input, context) => {
1339
1135
  };
1340
1136
  exports.se_ModifyDBProxyCommand = se_ModifyDBProxyCommand;
1341
1137
  const se_ModifyDBProxyEndpointCommand = async (input, context) => {
1342
- const headers = {
1343
- "content-type": "application/x-www-form-urlencoded",
1344
- };
1138
+ const headers = SHARED_HEADERS;
1345
1139
  let body;
1346
1140
  body = buildFormUrlencodedString({
1347
1141
  ...se_ModifyDBProxyEndpointRequest(input, context),
@@ -1352,9 +1146,7 @@ const se_ModifyDBProxyEndpointCommand = async (input, context) => {
1352
1146
  };
1353
1147
  exports.se_ModifyDBProxyEndpointCommand = se_ModifyDBProxyEndpointCommand;
1354
1148
  const se_ModifyDBProxyTargetGroupCommand = async (input, context) => {
1355
- const headers = {
1356
- "content-type": "application/x-www-form-urlencoded",
1357
- };
1149
+ const headers = SHARED_HEADERS;
1358
1150
  let body;
1359
1151
  body = buildFormUrlencodedString({
1360
1152
  ...se_ModifyDBProxyTargetGroupRequest(input, context),
@@ -1365,9 +1157,7 @@ const se_ModifyDBProxyTargetGroupCommand = async (input, context) => {
1365
1157
  };
1366
1158
  exports.se_ModifyDBProxyTargetGroupCommand = se_ModifyDBProxyTargetGroupCommand;
1367
1159
  const se_ModifyDBSnapshotCommand = async (input, context) => {
1368
- const headers = {
1369
- "content-type": "application/x-www-form-urlencoded",
1370
- };
1160
+ const headers = SHARED_HEADERS;
1371
1161
  let body;
1372
1162
  body = buildFormUrlencodedString({
1373
1163
  ...se_ModifyDBSnapshotMessage(input, context),
@@ -1378,9 +1168,7 @@ const se_ModifyDBSnapshotCommand = async (input, context) => {
1378
1168
  };
1379
1169
  exports.se_ModifyDBSnapshotCommand = se_ModifyDBSnapshotCommand;
1380
1170
  const se_ModifyDBSnapshotAttributeCommand = async (input, context) => {
1381
- const headers = {
1382
- "content-type": "application/x-www-form-urlencoded",
1383
- };
1171
+ const headers = SHARED_HEADERS;
1384
1172
  let body;
1385
1173
  body = buildFormUrlencodedString({
1386
1174
  ...se_ModifyDBSnapshotAttributeMessage(input, context),
@@ -1391,9 +1179,7 @@ const se_ModifyDBSnapshotAttributeCommand = async (input, context) => {
1391
1179
  };
1392
1180
  exports.se_ModifyDBSnapshotAttributeCommand = se_ModifyDBSnapshotAttributeCommand;
1393
1181
  const se_ModifyDBSubnetGroupCommand = async (input, context) => {
1394
- const headers = {
1395
- "content-type": "application/x-www-form-urlencoded",
1396
- };
1182
+ const headers = SHARED_HEADERS;
1397
1183
  let body;
1398
1184
  body = buildFormUrlencodedString({
1399
1185
  ...se_ModifyDBSubnetGroupMessage(input, context),
@@ -1404,9 +1190,7 @@ const se_ModifyDBSubnetGroupCommand = async (input, context) => {
1404
1190
  };
1405
1191
  exports.se_ModifyDBSubnetGroupCommand = se_ModifyDBSubnetGroupCommand;
1406
1192
  const se_ModifyEventSubscriptionCommand = async (input, context) => {
1407
- const headers = {
1408
- "content-type": "application/x-www-form-urlencoded",
1409
- };
1193
+ const headers = SHARED_HEADERS;
1410
1194
  let body;
1411
1195
  body = buildFormUrlencodedString({
1412
1196
  ...se_ModifyEventSubscriptionMessage(input, context),
@@ -1417,9 +1201,7 @@ const se_ModifyEventSubscriptionCommand = async (input, context) => {
1417
1201
  };
1418
1202
  exports.se_ModifyEventSubscriptionCommand = se_ModifyEventSubscriptionCommand;
1419
1203
  const se_ModifyGlobalClusterCommand = async (input, context) => {
1420
- const headers = {
1421
- "content-type": "application/x-www-form-urlencoded",
1422
- };
1204
+ const headers = SHARED_HEADERS;
1423
1205
  let body;
1424
1206
  body = buildFormUrlencodedString({
1425
1207
  ...se_ModifyGlobalClusterMessage(input, context),
@@ -1430,9 +1212,7 @@ const se_ModifyGlobalClusterCommand = async (input, context) => {
1430
1212
  };
1431
1213
  exports.se_ModifyGlobalClusterCommand = se_ModifyGlobalClusterCommand;
1432
1214
  const se_ModifyOptionGroupCommand = async (input, context) => {
1433
- const headers = {
1434
- "content-type": "application/x-www-form-urlencoded",
1435
- };
1215
+ const headers = SHARED_HEADERS;
1436
1216
  let body;
1437
1217
  body = buildFormUrlencodedString({
1438
1218
  ...se_ModifyOptionGroupMessage(input, context),
@@ -1443,9 +1223,7 @@ const se_ModifyOptionGroupCommand = async (input, context) => {
1443
1223
  };
1444
1224
  exports.se_ModifyOptionGroupCommand = se_ModifyOptionGroupCommand;
1445
1225
  const se_PromoteReadReplicaCommand = async (input, context) => {
1446
- const headers = {
1447
- "content-type": "application/x-www-form-urlencoded",
1448
- };
1226
+ const headers = SHARED_HEADERS;
1449
1227
  let body;
1450
1228
  body = buildFormUrlencodedString({
1451
1229
  ...se_PromoteReadReplicaMessage(input, context),
@@ -1456,9 +1234,7 @@ const se_PromoteReadReplicaCommand = async (input, context) => {
1456
1234
  };
1457
1235
  exports.se_PromoteReadReplicaCommand = se_PromoteReadReplicaCommand;
1458
1236
  const se_PromoteReadReplicaDBClusterCommand = async (input, context) => {
1459
- const headers = {
1460
- "content-type": "application/x-www-form-urlencoded",
1461
- };
1237
+ const headers = SHARED_HEADERS;
1462
1238
  let body;
1463
1239
  body = buildFormUrlencodedString({
1464
1240
  ...se_PromoteReadReplicaDBClusterMessage(input, context),
@@ -1469,9 +1245,7 @@ const se_PromoteReadReplicaDBClusterCommand = async (input, context) => {
1469
1245
  };
1470
1246
  exports.se_PromoteReadReplicaDBClusterCommand = se_PromoteReadReplicaDBClusterCommand;
1471
1247
  const se_PurchaseReservedDBInstancesOfferingCommand = async (input, context) => {
1472
- const headers = {
1473
- "content-type": "application/x-www-form-urlencoded",
1474
- };
1248
+ const headers = SHARED_HEADERS;
1475
1249
  let body;
1476
1250
  body = buildFormUrlencodedString({
1477
1251
  ...se_PurchaseReservedDBInstancesOfferingMessage(input, context),
@@ -1482,9 +1256,7 @@ const se_PurchaseReservedDBInstancesOfferingCommand = async (input, context) =>
1482
1256
  };
1483
1257
  exports.se_PurchaseReservedDBInstancesOfferingCommand = se_PurchaseReservedDBInstancesOfferingCommand;
1484
1258
  const se_RebootDBClusterCommand = async (input, context) => {
1485
- const headers = {
1486
- "content-type": "application/x-www-form-urlencoded",
1487
- };
1259
+ const headers = SHARED_HEADERS;
1488
1260
  let body;
1489
1261
  body = buildFormUrlencodedString({
1490
1262
  ...se_RebootDBClusterMessage(input, context),
@@ -1495,9 +1267,7 @@ const se_RebootDBClusterCommand = async (input, context) => {
1495
1267
  };
1496
1268
  exports.se_RebootDBClusterCommand = se_RebootDBClusterCommand;
1497
1269
  const se_RebootDBInstanceCommand = async (input, context) => {
1498
- const headers = {
1499
- "content-type": "application/x-www-form-urlencoded",
1500
- };
1270
+ const headers = SHARED_HEADERS;
1501
1271
  let body;
1502
1272
  body = buildFormUrlencodedString({
1503
1273
  ...se_RebootDBInstanceMessage(input, context),
@@ -1508,9 +1278,7 @@ const se_RebootDBInstanceCommand = async (input, context) => {
1508
1278
  };
1509
1279
  exports.se_RebootDBInstanceCommand = se_RebootDBInstanceCommand;
1510
1280
  const se_RegisterDBProxyTargetsCommand = async (input, context) => {
1511
- const headers = {
1512
- "content-type": "application/x-www-form-urlencoded",
1513
- };
1281
+ const headers = SHARED_HEADERS;
1514
1282
  let body;
1515
1283
  body = buildFormUrlencodedString({
1516
1284
  ...se_RegisterDBProxyTargetsRequest(input, context),
@@ -1521,9 +1289,7 @@ const se_RegisterDBProxyTargetsCommand = async (input, context) => {
1521
1289
  };
1522
1290
  exports.se_RegisterDBProxyTargetsCommand = se_RegisterDBProxyTargetsCommand;
1523
1291
  const se_RemoveFromGlobalClusterCommand = async (input, context) => {
1524
- const headers = {
1525
- "content-type": "application/x-www-form-urlencoded",
1526
- };
1292
+ const headers = SHARED_HEADERS;
1527
1293
  let body;
1528
1294
  body = buildFormUrlencodedString({
1529
1295
  ...se_RemoveFromGlobalClusterMessage(input, context),
@@ -1534,9 +1300,7 @@ const se_RemoveFromGlobalClusterCommand = async (input, context) => {
1534
1300
  };
1535
1301
  exports.se_RemoveFromGlobalClusterCommand = se_RemoveFromGlobalClusterCommand;
1536
1302
  const se_RemoveRoleFromDBClusterCommand = async (input, context) => {
1537
- const headers = {
1538
- "content-type": "application/x-www-form-urlencoded",
1539
- };
1303
+ const headers = SHARED_HEADERS;
1540
1304
  let body;
1541
1305
  body = buildFormUrlencodedString({
1542
1306
  ...se_RemoveRoleFromDBClusterMessage(input, context),
@@ -1547,9 +1311,7 @@ const se_RemoveRoleFromDBClusterCommand = async (input, context) => {
1547
1311
  };
1548
1312
  exports.se_RemoveRoleFromDBClusterCommand = se_RemoveRoleFromDBClusterCommand;
1549
1313
  const se_RemoveRoleFromDBInstanceCommand = async (input, context) => {
1550
- const headers = {
1551
- "content-type": "application/x-www-form-urlencoded",
1552
- };
1314
+ const headers = SHARED_HEADERS;
1553
1315
  let body;
1554
1316
  body = buildFormUrlencodedString({
1555
1317
  ...se_RemoveRoleFromDBInstanceMessage(input, context),
@@ -1560,9 +1322,7 @@ const se_RemoveRoleFromDBInstanceCommand = async (input, context) => {
1560
1322
  };
1561
1323
  exports.se_RemoveRoleFromDBInstanceCommand = se_RemoveRoleFromDBInstanceCommand;
1562
1324
  const se_RemoveSourceIdentifierFromSubscriptionCommand = async (input, context) => {
1563
- const headers = {
1564
- "content-type": "application/x-www-form-urlencoded",
1565
- };
1325
+ const headers = SHARED_HEADERS;
1566
1326
  let body;
1567
1327
  body = buildFormUrlencodedString({
1568
1328
  ...se_RemoveSourceIdentifierFromSubscriptionMessage(input, context),
@@ -1573,9 +1333,7 @@ const se_RemoveSourceIdentifierFromSubscriptionCommand = async (input, context)
1573
1333
  };
1574
1334
  exports.se_RemoveSourceIdentifierFromSubscriptionCommand = se_RemoveSourceIdentifierFromSubscriptionCommand;
1575
1335
  const se_RemoveTagsFromResourceCommand = async (input, context) => {
1576
- const headers = {
1577
- "content-type": "application/x-www-form-urlencoded",
1578
- };
1336
+ const headers = SHARED_HEADERS;
1579
1337
  let body;
1580
1338
  body = buildFormUrlencodedString({
1581
1339
  ...se_RemoveTagsFromResourceMessage(input, context),
@@ -1586,9 +1344,7 @@ const se_RemoveTagsFromResourceCommand = async (input, context) => {
1586
1344
  };
1587
1345
  exports.se_RemoveTagsFromResourceCommand = se_RemoveTagsFromResourceCommand;
1588
1346
  const se_ResetDBClusterParameterGroupCommand = async (input, context) => {
1589
- const headers = {
1590
- "content-type": "application/x-www-form-urlencoded",
1591
- };
1347
+ const headers = SHARED_HEADERS;
1592
1348
  let body;
1593
1349
  body = buildFormUrlencodedString({
1594
1350
  ...se_ResetDBClusterParameterGroupMessage(input, context),
@@ -1599,9 +1355,7 @@ const se_ResetDBClusterParameterGroupCommand = async (input, context) => {
1599
1355
  };
1600
1356
  exports.se_ResetDBClusterParameterGroupCommand = se_ResetDBClusterParameterGroupCommand;
1601
1357
  const se_ResetDBParameterGroupCommand = async (input, context) => {
1602
- const headers = {
1603
- "content-type": "application/x-www-form-urlencoded",
1604
- };
1358
+ const headers = SHARED_HEADERS;
1605
1359
  let body;
1606
1360
  body = buildFormUrlencodedString({
1607
1361
  ...se_ResetDBParameterGroupMessage(input, context),
@@ -1612,9 +1366,7 @@ const se_ResetDBParameterGroupCommand = async (input, context) => {
1612
1366
  };
1613
1367
  exports.se_ResetDBParameterGroupCommand = se_ResetDBParameterGroupCommand;
1614
1368
  const se_RestoreDBClusterFromS3Command = async (input, context) => {
1615
- const headers = {
1616
- "content-type": "application/x-www-form-urlencoded",
1617
- };
1369
+ const headers = SHARED_HEADERS;
1618
1370
  let body;
1619
1371
  body = buildFormUrlencodedString({
1620
1372
  ...se_RestoreDBClusterFromS3Message(input, context),
@@ -1625,9 +1377,7 @@ const se_RestoreDBClusterFromS3Command = async (input, context) => {
1625
1377
  };
1626
1378
  exports.se_RestoreDBClusterFromS3Command = se_RestoreDBClusterFromS3Command;
1627
1379
  const se_RestoreDBClusterFromSnapshotCommand = async (input, context) => {
1628
- const headers = {
1629
- "content-type": "application/x-www-form-urlencoded",
1630
- };
1380
+ const headers = SHARED_HEADERS;
1631
1381
  let body;
1632
1382
  body = buildFormUrlencodedString({
1633
1383
  ...se_RestoreDBClusterFromSnapshotMessage(input, context),
@@ -1638,9 +1388,7 @@ const se_RestoreDBClusterFromSnapshotCommand = async (input, context) => {
1638
1388
  };
1639
1389
  exports.se_RestoreDBClusterFromSnapshotCommand = se_RestoreDBClusterFromSnapshotCommand;
1640
1390
  const se_RestoreDBClusterToPointInTimeCommand = async (input, context) => {
1641
- const headers = {
1642
- "content-type": "application/x-www-form-urlencoded",
1643
- };
1391
+ const headers = SHARED_HEADERS;
1644
1392
  let body;
1645
1393
  body = buildFormUrlencodedString({
1646
1394
  ...se_RestoreDBClusterToPointInTimeMessage(input, context),
@@ -1651,9 +1399,7 @@ const se_RestoreDBClusterToPointInTimeCommand = async (input, context) => {
1651
1399
  };
1652
1400
  exports.se_RestoreDBClusterToPointInTimeCommand = se_RestoreDBClusterToPointInTimeCommand;
1653
1401
  const se_RestoreDBInstanceFromDBSnapshotCommand = async (input, context) => {
1654
- const headers = {
1655
- "content-type": "application/x-www-form-urlencoded",
1656
- };
1402
+ const headers = SHARED_HEADERS;
1657
1403
  let body;
1658
1404
  body = buildFormUrlencodedString({
1659
1405
  ...se_RestoreDBInstanceFromDBSnapshotMessage(input, context),
@@ -1664,9 +1410,7 @@ const se_RestoreDBInstanceFromDBSnapshotCommand = async (input, context) => {
1664
1410
  };
1665
1411
  exports.se_RestoreDBInstanceFromDBSnapshotCommand = se_RestoreDBInstanceFromDBSnapshotCommand;
1666
1412
  const se_RestoreDBInstanceFromS3Command = async (input, context) => {
1667
- const headers = {
1668
- "content-type": "application/x-www-form-urlencoded",
1669
- };
1413
+ const headers = SHARED_HEADERS;
1670
1414
  let body;
1671
1415
  body = buildFormUrlencodedString({
1672
1416
  ...se_RestoreDBInstanceFromS3Message(input, context),
@@ -1677,9 +1421,7 @@ const se_RestoreDBInstanceFromS3Command = async (input, context) => {
1677
1421
  };
1678
1422
  exports.se_RestoreDBInstanceFromS3Command = se_RestoreDBInstanceFromS3Command;
1679
1423
  const se_RestoreDBInstanceToPointInTimeCommand = async (input, context) => {
1680
- const headers = {
1681
- "content-type": "application/x-www-form-urlencoded",
1682
- };
1424
+ const headers = SHARED_HEADERS;
1683
1425
  let body;
1684
1426
  body = buildFormUrlencodedString({
1685
1427
  ...se_RestoreDBInstanceToPointInTimeMessage(input, context),
@@ -1690,9 +1432,7 @@ const se_RestoreDBInstanceToPointInTimeCommand = async (input, context) => {
1690
1432
  };
1691
1433
  exports.se_RestoreDBInstanceToPointInTimeCommand = se_RestoreDBInstanceToPointInTimeCommand;
1692
1434
  const se_RevokeDBSecurityGroupIngressCommand = async (input, context) => {
1693
- const headers = {
1694
- "content-type": "application/x-www-form-urlencoded",
1695
- };
1435
+ const headers = SHARED_HEADERS;
1696
1436
  let body;
1697
1437
  body = buildFormUrlencodedString({
1698
1438
  ...se_RevokeDBSecurityGroupIngressMessage(input, context),
@@ -1703,9 +1443,7 @@ const se_RevokeDBSecurityGroupIngressCommand = async (input, context) => {
1703
1443
  };
1704
1444
  exports.se_RevokeDBSecurityGroupIngressCommand = se_RevokeDBSecurityGroupIngressCommand;
1705
1445
  const se_StartActivityStreamCommand = async (input, context) => {
1706
- const headers = {
1707
- "content-type": "application/x-www-form-urlencoded",
1708
- };
1446
+ const headers = SHARED_HEADERS;
1709
1447
  let body;
1710
1448
  body = buildFormUrlencodedString({
1711
1449
  ...se_StartActivityStreamRequest(input, context),
@@ -1716,9 +1454,7 @@ const se_StartActivityStreamCommand = async (input, context) => {
1716
1454
  };
1717
1455
  exports.se_StartActivityStreamCommand = se_StartActivityStreamCommand;
1718
1456
  const se_StartDBClusterCommand = async (input, context) => {
1719
- const headers = {
1720
- "content-type": "application/x-www-form-urlencoded",
1721
- };
1457
+ const headers = SHARED_HEADERS;
1722
1458
  let body;
1723
1459
  body = buildFormUrlencodedString({
1724
1460
  ...se_StartDBClusterMessage(input, context),
@@ -1729,9 +1465,7 @@ const se_StartDBClusterCommand = async (input, context) => {
1729
1465
  };
1730
1466
  exports.se_StartDBClusterCommand = se_StartDBClusterCommand;
1731
1467
  const se_StartDBInstanceCommand = async (input, context) => {
1732
- const headers = {
1733
- "content-type": "application/x-www-form-urlencoded",
1734
- };
1468
+ const headers = SHARED_HEADERS;
1735
1469
  let body;
1736
1470
  body = buildFormUrlencodedString({
1737
1471
  ...se_StartDBInstanceMessage(input, context),
@@ -1742,9 +1476,7 @@ const se_StartDBInstanceCommand = async (input, context) => {
1742
1476
  };
1743
1477
  exports.se_StartDBInstanceCommand = se_StartDBInstanceCommand;
1744
1478
  const se_StartDBInstanceAutomatedBackupsReplicationCommand = async (input, context) => {
1745
- const headers = {
1746
- "content-type": "application/x-www-form-urlencoded",
1747
- };
1479
+ const headers = SHARED_HEADERS;
1748
1480
  let body;
1749
1481
  body = buildFormUrlencodedString({
1750
1482
  ...se_StartDBInstanceAutomatedBackupsReplicationMessage(input, context),
@@ -1755,9 +1487,7 @@ const se_StartDBInstanceAutomatedBackupsReplicationCommand = async (input, conte
1755
1487
  };
1756
1488
  exports.se_StartDBInstanceAutomatedBackupsReplicationCommand = se_StartDBInstanceAutomatedBackupsReplicationCommand;
1757
1489
  const se_StartExportTaskCommand = async (input, context) => {
1758
- const headers = {
1759
- "content-type": "application/x-www-form-urlencoded",
1760
- };
1490
+ const headers = SHARED_HEADERS;
1761
1491
  let body;
1762
1492
  body = buildFormUrlencodedString({
1763
1493
  ...se_StartExportTaskMessage(input, context),
@@ -1768,9 +1498,7 @@ const se_StartExportTaskCommand = async (input, context) => {
1768
1498
  };
1769
1499
  exports.se_StartExportTaskCommand = se_StartExportTaskCommand;
1770
1500
  const se_StopActivityStreamCommand = async (input, context) => {
1771
- const headers = {
1772
- "content-type": "application/x-www-form-urlencoded",
1773
- };
1501
+ const headers = SHARED_HEADERS;
1774
1502
  let body;
1775
1503
  body = buildFormUrlencodedString({
1776
1504
  ...se_StopActivityStreamRequest(input, context),
@@ -1781,9 +1509,7 @@ const se_StopActivityStreamCommand = async (input, context) => {
1781
1509
  };
1782
1510
  exports.se_StopActivityStreamCommand = se_StopActivityStreamCommand;
1783
1511
  const se_StopDBClusterCommand = async (input, context) => {
1784
- const headers = {
1785
- "content-type": "application/x-www-form-urlencoded",
1786
- };
1512
+ const headers = SHARED_HEADERS;
1787
1513
  let body;
1788
1514
  body = buildFormUrlencodedString({
1789
1515
  ...se_StopDBClusterMessage(input, context),
@@ -1794,9 +1520,7 @@ const se_StopDBClusterCommand = async (input, context) => {
1794
1520
  };
1795
1521
  exports.se_StopDBClusterCommand = se_StopDBClusterCommand;
1796
1522
  const se_StopDBInstanceCommand = async (input, context) => {
1797
- const headers = {
1798
- "content-type": "application/x-www-form-urlencoded",
1799
- };
1523
+ const headers = SHARED_HEADERS;
1800
1524
  let body;
1801
1525
  body = buildFormUrlencodedString({
1802
1526
  ...se_StopDBInstanceMessage(input, context),
@@ -1807,9 +1531,7 @@ const se_StopDBInstanceCommand = async (input, context) => {
1807
1531
  };
1808
1532
  exports.se_StopDBInstanceCommand = se_StopDBInstanceCommand;
1809
1533
  const se_StopDBInstanceAutomatedBackupsReplicationCommand = async (input, context) => {
1810
- const headers = {
1811
- "content-type": "application/x-www-form-urlencoded",
1812
- };
1534
+ const headers = SHARED_HEADERS;
1813
1535
  let body;
1814
1536
  body = buildFormUrlencodedString({
1815
1537
  ...se_StopDBInstanceAutomatedBackupsReplicationMessage(input, context),
@@ -1820,9 +1542,7 @@ const se_StopDBInstanceAutomatedBackupsReplicationCommand = async (input, contex
1820
1542
  };
1821
1543
  exports.se_StopDBInstanceAutomatedBackupsReplicationCommand = se_StopDBInstanceAutomatedBackupsReplicationCommand;
1822
1544
  const se_SwitchoverBlueGreenDeploymentCommand = async (input, context) => {
1823
- const headers = {
1824
- "content-type": "application/x-www-form-urlencoded",
1825
- };
1545
+ const headers = SHARED_HEADERS;
1826
1546
  let body;
1827
1547
  body = buildFormUrlencodedString({
1828
1548
  ...se_SwitchoverBlueGreenDeploymentRequest(input, context),
@@ -1833,9 +1553,7 @@ const se_SwitchoverBlueGreenDeploymentCommand = async (input, context) => {
1833
1553
  };
1834
1554
  exports.se_SwitchoverBlueGreenDeploymentCommand = se_SwitchoverBlueGreenDeploymentCommand;
1835
1555
  const se_SwitchoverReadReplicaCommand = async (input, context) => {
1836
- const headers = {
1837
- "content-type": "application/x-www-form-urlencoded",
1838
- };
1556
+ const headers = SHARED_HEADERS;
1839
1557
  let body;
1840
1558
  body = buildFormUrlencodedString({
1841
1559
  ...se_SwitchoverReadReplicaMessage(input, context),
@@ -19287,6 +19005,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
19287
19005
  }
19288
19006
  return new protocol_http_1.HttpRequest(contents);
19289
19007
  };
19008
+ const SHARED_HEADERS = {
19009
+ "content-type": "application/x-www-form-urlencoded",
19010
+ };
19290
19011
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
19291
19012
  if (encoded.length) {
19292
19013
  const parser = new fast_xml_parser_1.XMLParser({