@aws-sdk/client-redshift 3.309.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.
@@ -12,9 +12,7 @@ const models_0_1 = require("../models/models_0");
12
12
  const models_1_1 = require("../models/models_1");
13
13
  const RedshiftServiceException_1 = require("../models/RedshiftServiceException");
14
14
  const se_AcceptReservedNodeExchangeCommand = async (input, context) => {
15
- const headers = {
16
- "content-type": "application/x-www-form-urlencoded",
17
- };
15
+ const headers = SHARED_HEADERS;
18
16
  let body;
19
17
  body = buildFormUrlencodedString({
20
18
  ...se_AcceptReservedNodeExchangeInputMessage(input, context),
@@ -25,9 +23,7 @@ const se_AcceptReservedNodeExchangeCommand = async (input, context) => {
25
23
  };
26
24
  exports.se_AcceptReservedNodeExchangeCommand = se_AcceptReservedNodeExchangeCommand;
27
25
  const se_AddPartnerCommand = async (input, context) => {
28
- const headers = {
29
- "content-type": "application/x-www-form-urlencoded",
30
- };
26
+ const headers = SHARED_HEADERS;
31
27
  let body;
32
28
  body = buildFormUrlencodedString({
33
29
  ...se_PartnerIntegrationInputMessage(input, context),
@@ -38,9 +34,7 @@ const se_AddPartnerCommand = async (input, context) => {
38
34
  };
39
35
  exports.se_AddPartnerCommand = se_AddPartnerCommand;
40
36
  const se_AssociateDataShareConsumerCommand = async (input, context) => {
41
- const headers = {
42
- "content-type": "application/x-www-form-urlencoded",
43
- };
37
+ const headers = SHARED_HEADERS;
44
38
  let body;
45
39
  body = buildFormUrlencodedString({
46
40
  ...se_AssociateDataShareConsumerMessage(input, context),
@@ -51,9 +45,7 @@ const se_AssociateDataShareConsumerCommand = async (input, context) => {
51
45
  };
52
46
  exports.se_AssociateDataShareConsumerCommand = se_AssociateDataShareConsumerCommand;
53
47
  const se_AuthorizeClusterSecurityGroupIngressCommand = async (input, context) => {
54
- const headers = {
55
- "content-type": "application/x-www-form-urlencoded",
56
- };
48
+ const headers = SHARED_HEADERS;
57
49
  let body;
58
50
  body = buildFormUrlencodedString({
59
51
  ...se_AuthorizeClusterSecurityGroupIngressMessage(input, context),
@@ -64,9 +56,7 @@ const se_AuthorizeClusterSecurityGroupIngressCommand = async (input, context) =>
64
56
  };
65
57
  exports.se_AuthorizeClusterSecurityGroupIngressCommand = se_AuthorizeClusterSecurityGroupIngressCommand;
66
58
  const se_AuthorizeDataShareCommand = async (input, context) => {
67
- const headers = {
68
- "content-type": "application/x-www-form-urlencoded",
69
- };
59
+ const headers = SHARED_HEADERS;
70
60
  let body;
71
61
  body = buildFormUrlencodedString({
72
62
  ...se_AuthorizeDataShareMessage(input, context),
@@ -77,9 +67,7 @@ const se_AuthorizeDataShareCommand = async (input, context) => {
77
67
  };
78
68
  exports.se_AuthorizeDataShareCommand = se_AuthorizeDataShareCommand;
79
69
  const se_AuthorizeEndpointAccessCommand = async (input, context) => {
80
- const headers = {
81
- "content-type": "application/x-www-form-urlencoded",
82
- };
70
+ const headers = SHARED_HEADERS;
83
71
  let body;
84
72
  body = buildFormUrlencodedString({
85
73
  ...se_AuthorizeEndpointAccessMessage(input, context),
@@ -90,9 +78,7 @@ const se_AuthorizeEndpointAccessCommand = async (input, context) => {
90
78
  };
91
79
  exports.se_AuthorizeEndpointAccessCommand = se_AuthorizeEndpointAccessCommand;
92
80
  const se_AuthorizeSnapshotAccessCommand = async (input, context) => {
93
- const headers = {
94
- "content-type": "application/x-www-form-urlencoded",
95
- };
81
+ const headers = SHARED_HEADERS;
96
82
  let body;
97
83
  body = buildFormUrlencodedString({
98
84
  ...se_AuthorizeSnapshotAccessMessage(input, context),
@@ -103,9 +89,7 @@ const se_AuthorizeSnapshotAccessCommand = async (input, context) => {
103
89
  };
104
90
  exports.se_AuthorizeSnapshotAccessCommand = se_AuthorizeSnapshotAccessCommand;
105
91
  const se_BatchDeleteClusterSnapshotsCommand = async (input, context) => {
106
- const headers = {
107
- "content-type": "application/x-www-form-urlencoded",
108
- };
92
+ const headers = SHARED_HEADERS;
109
93
  let body;
110
94
  body = buildFormUrlencodedString({
111
95
  ...se_BatchDeleteClusterSnapshotsRequest(input, context),
@@ -116,9 +100,7 @@ const se_BatchDeleteClusterSnapshotsCommand = async (input, context) => {
116
100
  };
117
101
  exports.se_BatchDeleteClusterSnapshotsCommand = se_BatchDeleteClusterSnapshotsCommand;
118
102
  const se_BatchModifyClusterSnapshotsCommand = async (input, context) => {
119
- const headers = {
120
- "content-type": "application/x-www-form-urlencoded",
121
- };
103
+ const headers = SHARED_HEADERS;
122
104
  let body;
123
105
  body = buildFormUrlencodedString({
124
106
  ...se_BatchModifyClusterSnapshotsMessage(input, context),
@@ -129,9 +111,7 @@ const se_BatchModifyClusterSnapshotsCommand = async (input, context) => {
129
111
  };
130
112
  exports.se_BatchModifyClusterSnapshotsCommand = se_BatchModifyClusterSnapshotsCommand;
131
113
  const se_CancelResizeCommand = async (input, context) => {
132
- const headers = {
133
- "content-type": "application/x-www-form-urlencoded",
134
- };
114
+ const headers = SHARED_HEADERS;
135
115
  let body;
136
116
  body = buildFormUrlencodedString({
137
117
  ...se_CancelResizeMessage(input, context),
@@ -142,9 +122,7 @@ const se_CancelResizeCommand = async (input, context) => {
142
122
  };
143
123
  exports.se_CancelResizeCommand = se_CancelResizeCommand;
144
124
  const se_CopyClusterSnapshotCommand = async (input, context) => {
145
- const headers = {
146
- "content-type": "application/x-www-form-urlencoded",
147
- };
125
+ const headers = SHARED_HEADERS;
148
126
  let body;
149
127
  body = buildFormUrlencodedString({
150
128
  ...se_CopyClusterSnapshotMessage(input, context),
@@ -155,9 +133,7 @@ const se_CopyClusterSnapshotCommand = async (input, context) => {
155
133
  };
156
134
  exports.se_CopyClusterSnapshotCommand = se_CopyClusterSnapshotCommand;
157
135
  const se_CreateAuthenticationProfileCommand = async (input, context) => {
158
- const headers = {
159
- "content-type": "application/x-www-form-urlencoded",
160
- };
136
+ const headers = SHARED_HEADERS;
161
137
  let body;
162
138
  body = buildFormUrlencodedString({
163
139
  ...se_CreateAuthenticationProfileMessage(input, context),
@@ -168,9 +144,7 @@ const se_CreateAuthenticationProfileCommand = async (input, context) => {
168
144
  };
169
145
  exports.se_CreateAuthenticationProfileCommand = se_CreateAuthenticationProfileCommand;
170
146
  const se_CreateClusterCommand = async (input, context) => {
171
- const headers = {
172
- "content-type": "application/x-www-form-urlencoded",
173
- };
147
+ const headers = SHARED_HEADERS;
174
148
  let body;
175
149
  body = buildFormUrlencodedString({
176
150
  ...se_CreateClusterMessage(input, context),
@@ -181,9 +155,7 @@ const se_CreateClusterCommand = async (input, context) => {
181
155
  };
182
156
  exports.se_CreateClusterCommand = se_CreateClusterCommand;
183
157
  const se_CreateClusterParameterGroupCommand = async (input, context) => {
184
- const headers = {
185
- "content-type": "application/x-www-form-urlencoded",
186
- };
158
+ const headers = SHARED_HEADERS;
187
159
  let body;
188
160
  body = buildFormUrlencodedString({
189
161
  ...se_CreateClusterParameterGroupMessage(input, context),
@@ -194,9 +166,7 @@ const se_CreateClusterParameterGroupCommand = async (input, context) => {
194
166
  };
195
167
  exports.se_CreateClusterParameterGroupCommand = se_CreateClusterParameterGroupCommand;
196
168
  const se_CreateClusterSecurityGroupCommand = async (input, context) => {
197
- const headers = {
198
- "content-type": "application/x-www-form-urlencoded",
199
- };
169
+ const headers = SHARED_HEADERS;
200
170
  let body;
201
171
  body = buildFormUrlencodedString({
202
172
  ...se_CreateClusterSecurityGroupMessage(input, context),
@@ -207,9 +177,7 @@ const se_CreateClusterSecurityGroupCommand = async (input, context) => {
207
177
  };
208
178
  exports.se_CreateClusterSecurityGroupCommand = se_CreateClusterSecurityGroupCommand;
209
179
  const se_CreateClusterSnapshotCommand = async (input, context) => {
210
- const headers = {
211
- "content-type": "application/x-www-form-urlencoded",
212
- };
180
+ const headers = SHARED_HEADERS;
213
181
  let body;
214
182
  body = buildFormUrlencodedString({
215
183
  ...se_CreateClusterSnapshotMessage(input, context),
@@ -220,9 +188,7 @@ const se_CreateClusterSnapshotCommand = async (input, context) => {
220
188
  };
221
189
  exports.se_CreateClusterSnapshotCommand = se_CreateClusterSnapshotCommand;
222
190
  const se_CreateClusterSubnetGroupCommand = async (input, context) => {
223
- const headers = {
224
- "content-type": "application/x-www-form-urlencoded",
225
- };
191
+ const headers = SHARED_HEADERS;
226
192
  let body;
227
193
  body = buildFormUrlencodedString({
228
194
  ...se_CreateClusterSubnetGroupMessage(input, context),
@@ -233,9 +199,7 @@ const se_CreateClusterSubnetGroupCommand = async (input, context) => {
233
199
  };
234
200
  exports.se_CreateClusterSubnetGroupCommand = se_CreateClusterSubnetGroupCommand;
235
201
  const se_CreateEndpointAccessCommand = async (input, context) => {
236
- const headers = {
237
- "content-type": "application/x-www-form-urlencoded",
238
- };
202
+ const headers = SHARED_HEADERS;
239
203
  let body;
240
204
  body = buildFormUrlencodedString({
241
205
  ...se_CreateEndpointAccessMessage(input, context),
@@ -246,9 +210,7 @@ const se_CreateEndpointAccessCommand = async (input, context) => {
246
210
  };
247
211
  exports.se_CreateEndpointAccessCommand = se_CreateEndpointAccessCommand;
248
212
  const se_CreateEventSubscriptionCommand = async (input, context) => {
249
- const headers = {
250
- "content-type": "application/x-www-form-urlencoded",
251
- };
213
+ const headers = SHARED_HEADERS;
252
214
  let body;
253
215
  body = buildFormUrlencodedString({
254
216
  ...se_CreateEventSubscriptionMessage(input, context),
@@ -259,9 +221,7 @@ const se_CreateEventSubscriptionCommand = async (input, context) => {
259
221
  };
260
222
  exports.se_CreateEventSubscriptionCommand = se_CreateEventSubscriptionCommand;
261
223
  const se_CreateHsmClientCertificateCommand = async (input, context) => {
262
- const headers = {
263
- "content-type": "application/x-www-form-urlencoded",
264
- };
224
+ const headers = SHARED_HEADERS;
265
225
  let body;
266
226
  body = buildFormUrlencodedString({
267
227
  ...se_CreateHsmClientCertificateMessage(input, context),
@@ -272,9 +232,7 @@ const se_CreateHsmClientCertificateCommand = async (input, context) => {
272
232
  };
273
233
  exports.se_CreateHsmClientCertificateCommand = se_CreateHsmClientCertificateCommand;
274
234
  const se_CreateHsmConfigurationCommand = async (input, context) => {
275
- const headers = {
276
- "content-type": "application/x-www-form-urlencoded",
277
- };
235
+ const headers = SHARED_HEADERS;
278
236
  let body;
279
237
  body = buildFormUrlencodedString({
280
238
  ...se_CreateHsmConfigurationMessage(input, context),
@@ -285,9 +243,7 @@ const se_CreateHsmConfigurationCommand = async (input, context) => {
285
243
  };
286
244
  exports.se_CreateHsmConfigurationCommand = se_CreateHsmConfigurationCommand;
287
245
  const se_CreateScheduledActionCommand = async (input, context) => {
288
- const headers = {
289
- "content-type": "application/x-www-form-urlencoded",
290
- };
246
+ const headers = SHARED_HEADERS;
291
247
  let body;
292
248
  body = buildFormUrlencodedString({
293
249
  ...se_CreateScheduledActionMessage(input, context),
@@ -298,9 +254,7 @@ const se_CreateScheduledActionCommand = async (input, context) => {
298
254
  };
299
255
  exports.se_CreateScheduledActionCommand = se_CreateScheduledActionCommand;
300
256
  const se_CreateSnapshotCopyGrantCommand = async (input, context) => {
301
- const headers = {
302
- "content-type": "application/x-www-form-urlencoded",
303
- };
257
+ const headers = SHARED_HEADERS;
304
258
  let body;
305
259
  body = buildFormUrlencodedString({
306
260
  ...se_CreateSnapshotCopyGrantMessage(input, context),
@@ -311,9 +265,7 @@ const se_CreateSnapshotCopyGrantCommand = async (input, context) => {
311
265
  };
312
266
  exports.se_CreateSnapshotCopyGrantCommand = se_CreateSnapshotCopyGrantCommand;
313
267
  const se_CreateSnapshotScheduleCommand = async (input, context) => {
314
- const headers = {
315
- "content-type": "application/x-www-form-urlencoded",
316
- };
268
+ const headers = SHARED_HEADERS;
317
269
  let body;
318
270
  body = buildFormUrlencodedString({
319
271
  ...se_CreateSnapshotScheduleMessage(input, context),
@@ -324,9 +276,7 @@ const se_CreateSnapshotScheduleCommand = async (input, context) => {
324
276
  };
325
277
  exports.se_CreateSnapshotScheduleCommand = se_CreateSnapshotScheduleCommand;
326
278
  const se_CreateTagsCommand = async (input, context) => {
327
- const headers = {
328
- "content-type": "application/x-www-form-urlencoded",
329
- };
279
+ const headers = SHARED_HEADERS;
330
280
  let body;
331
281
  body = buildFormUrlencodedString({
332
282
  ...se_CreateTagsMessage(input, context),
@@ -337,9 +287,7 @@ const se_CreateTagsCommand = async (input, context) => {
337
287
  };
338
288
  exports.se_CreateTagsCommand = se_CreateTagsCommand;
339
289
  const se_CreateUsageLimitCommand = async (input, context) => {
340
- const headers = {
341
- "content-type": "application/x-www-form-urlencoded",
342
- };
290
+ const headers = SHARED_HEADERS;
343
291
  let body;
344
292
  body = buildFormUrlencodedString({
345
293
  ...se_CreateUsageLimitMessage(input, context),
@@ -350,9 +298,7 @@ const se_CreateUsageLimitCommand = async (input, context) => {
350
298
  };
351
299
  exports.se_CreateUsageLimitCommand = se_CreateUsageLimitCommand;
352
300
  const se_DeauthorizeDataShareCommand = async (input, context) => {
353
- const headers = {
354
- "content-type": "application/x-www-form-urlencoded",
355
- };
301
+ const headers = SHARED_HEADERS;
356
302
  let body;
357
303
  body = buildFormUrlencodedString({
358
304
  ...se_DeauthorizeDataShareMessage(input, context),
@@ -363,9 +309,7 @@ const se_DeauthorizeDataShareCommand = async (input, context) => {
363
309
  };
364
310
  exports.se_DeauthorizeDataShareCommand = se_DeauthorizeDataShareCommand;
365
311
  const se_DeleteAuthenticationProfileCommand = async (input, context) => {
366
- const headers = {
367
- "content-type": "application/x-www-form-urlencoded",
368
- };
312
+ const headers = SHARED_HEADERS;
369
313
  let body;
370
314
  body = buildFormUrlencodedString({
371
315
  ...se_DeleteAuthenticationProfileMessage(input, context),
@@ -376,9 +320,7 @@ const se_DeleteAuthenticationProfileCommand = async (input, context) => {
376
320
  };
377
321
  exports.se_DeleteAuthenticationProfileCommand = se_DeleteAuthenticationProfileCommand;
378
322
  const se_DeleteClusterCommand = async (input, context) => {
379
- const headers = {
380
- "content-type": "application/x-www-form-urlencoded",
381
- };
323
+ const headers = SHARED_HEADERS;
382
324
  let body;
383
325
  body = buildFormUrlencodedString({
384
326
  ...se_DeleteClusterMessage(input, context),
@@ -389,9 +331,7 @@ const se_DeleteClusterCommand = async (input, context) => {
389
331
  };
390
332
  exports.se_DeleteClusterCommand = se_DeleteClusterCommand;
391
333
  const se_DeleteClusterParameterGroupCommand = async (input, context) => {
392
- const headers = {
393
- "content-type": "application/x-www-form-urlencoded",
394
- };
334
+ const headers = SHARED_HEADERS;
395
335
  let body;
396
336
  body = buildFormUrlencodedString({
397
337
  ...se_DeleteClusterParameterGroupMessage(input, context),
@@ -402,9 +342,7 @@ const se_DeleteClusterParameterGroupCommand = async (input, context) => {
402
342
  };
403
343
  exports.se_DeleteClusterParameterGroupCommand = se_DeleteClusterParameterGroupCommand;
404
344
  const se_DeleteClusterSecurityGroupCommand = async (input, context) => {
405
- const headers = {
406
- "content-type": "application/x-www-form-urlencoded",
407
- };
345
+ const headers = SHARED_HEADERS;
408
346
  let body;
409
347
  body = buildFormUrlencodedString({
410
348
  ...se_DeleteClusterSecurityGroupMessage(input, context),
@@ -415,9 +353,7 @@ const se_DeleteClusterSecurityGroupCommand = async (input, context) => {
415
353
  };
416
354
  exports.se_DeleteClusterSecurityGroupCommand = se_DeleteClusterSecurityGroupCommand;
417
355
  const se_DeleteClusterSnapshotCommand = async (input, context) => {
418
- const headers = {
419
- "content-type": "application/x-www-form-urlencoded",
420
- };
356
+ const headers = SHARED_HEADERS;
421
357
  let body;
422
358
  body = buildFormUrlencodedString({
423
359
  ...se_DeleteClusterSnapshotMessage(input, context),
@@ -428,9 +364,7 @@ const se_DeleteClusterSnapshotCommand = async (input, context) => {
428
364
  };
429
365
  exports.se_DeleteClusterSnapshotCommand = se_DeleteClusterSnapshotCommand;
430
366
  const se_DeleteClusterSubnetGroupCommand = async (input, context) => {
431
- const headers = {
432
- "content-type": "application/x-www-form-urlencoded",
433
- };
367
+ const headers = SHARED_HEADERS;
434
368
  let body;
435
369
  body = buildFormUrlencodedString({
436
370
  ...se_DeleteClusterSubnetGroupMessage(input, context),
@@ -441,9 +375,7 @@ const se_DeleteClusterSubnetGroupCommand = async (input, context) => {
441
375
  };
442
376
  exports.se_DeleteClusterSubnetGroupCommand = se_DeleteClusterSubnetGroupCommand;
443
377
  const se_DeleteEndpointAccessCommand = async (input, context) => {
444
- const headers = {
445
- "content-type": "application/x-www-form-urlencoded",
446
- };
378
+ const headers = SHARED_HEADERS;
447
379
  let body;
448
380
  body = buildFormUrlencodedString({
449
381
  ...se_DeleteEndpointAccessMessage(input, context),
@@ -454,9 +386,7 @@ const se_DeleteEndpointAccessCommand = async (input, context) => {
454
386
  };
455
387
  exports.se_DeleteEndpointAccessCommand = se_DeleteEndpointAccessCommand;
456
388
  const se_DeleteEventSubscriptionCommand = async (input, context) => {
457
- const headers = {
458
- "content-type": "application/x-www-form-urlencoded",
459
- };
389
+ const headers = SHARED_HEADERS;
460
390
  let body;
461
391
  body = buildFormUrlencodedString({
462
392
  ...se_DeleteEventSubscriptionMessage(input, context),
@@ -467,9 +397,7 @@ const se_DeleteEventSubscriptionCommand = async (input, context) => {
467
397
  };
468
398
  exports.se_DeleteEventSubscriptionCommand = se_DeleteEventSubscriptionCommand;
469
399
  const se_DeleteHsmClientCertificateCommand = async (input, context) => {
470
- const headers = {
471
- "content-type": "application/x-www-form-urlencoded",
472
- };
400
+ const headers = SHARED_HEADERS;
473
401
  let body;
474
402
  body = buildFormUrlencodedString({
475
403
  ...se_DeleteHsmClientCertificateMessage(input, context),
@@ -480,9 +408,7 @@ const se_DeleteHsmClientCertificateCommand = async (input, context) => {
480
408
  };
481
409
  exports.se_DeleteHsmClientCertificateCommand = se_DeleteHsmClientCertificateCommand;
482
410
  const se_DeleteHsmConfigurationCommand = async (input, context) => {
483
- const headers = {
484
- "content-type": "application/x-www-form-urlencoded",
485
- };
411
+ const headers = SHARED_HEADERS;
486
412
  let body;
487
413
  body = buildFormUrlencodedString({
488
414
  ...se_DeleteHsmConfigurationMessage(input, context),
@@ -493,9 +419,7 @@ const se_DeleteHsmConfigurationCommand = async (input, context) => {
493
419
  };
494
420
  exports.se_DeleteHsmConfigurationCommand = se_DeleteHsmConfigurationCommand;
495
421
  const se_DeletePartnerCommand = async (input, context) => {
496
- const headers = {
497
- "content-type": "application/x-www-form-urlencoded",
498
- };
422
+ const headers = SHARED_HEADERS;
499
423
  let body;
500
424
  body = buildFormUrlencodedString({
501
425
  ...se_PartnerIntegrationInputMessage(input, context),
@@ -506,9 +430,7 @@ const se_DeletePartnerCommand = async (input, context) => {
506
430
  };
507
431
  exports.se_DeletePartnerCommand = se_DeletePartnerCommand;
508
432
  const se_DeleteScheduledActionCommand = async (input, context) => {
509
- const headers = {
510
- "content-type": "application/x-www-form-urlencoded",
511
- };
433
+ const headers = SHARED_HEADERS;
512
434
  let body;
513
435
  body = buildFormUrlencodedString({
514
436
  ...se_DeleteScheduledActionMessage(input, context),
@@ -519,9 +441,7 @@ const se_DeleteScheduledActionCommand = async (input, context) => {
519
441
  };
520
442
  exports.se_DeleteScheduledActionCommand = se_DeleteScheduledActionCommand;
521
443
  const se_DeleteSnapshotCopyGrantCommand = async (input, context) => {
522
- const headers = {
523
- "content-type": "application/x-www-form-urlencoded",
524
- };
444
+ const headers = SHARED_HEADERS;
525
445
  let body;
526
446
  body = buildFormUrlencodedString({
527
447
  ...se_DeleteSnapshotCopyGrantMessage(input, context),
@@ -532,9 +452,7 @@ const se_DeleteSnapshotCopyGrantCommand = async (input, context) => {
532
452
  };
533
453
  exports.se_DeleteSnapshotCopyGrantCommand = se_DeleteSnapshotCopyGrantCommand;
534
454
  const se_DeleteSnapshotScheduleCommand = async (input, context) => {
535
- const headers = {
536
- "content-type": "application/x-www-form-urlencoded",
537
- };
455
+ const headers = SHARED_HEADERS;
538
456
  let body;
539
457
  body = buildFormUrlencodedString({
540
458
  ...se_DeleteSnapshotScheduleMessage(input, context),
@@ -545,9 +463,7 @@ const se_DeleteSnapshotScheduleCommand = async (input, context) => {
545
463
  };
546
464
  exports.se_DeleteSnapshotScheduleCommand = se_DeleteSnapshotScheduleCommand;
547
465
  const se_DeleteTagsCommand = async (input, context) => {
548
- const headers = {
549
- "content-type": "application/x-www-form-urlencoded",
550
- };
466
+ const headers = SHARED_HEADERS;
551
467
  let body;
552
468
  body = buildFormUrlencodedString({
553
469
  ...se_DeleteTagsMessage(input, context),
@@ -558,9 +474,7 @@ const se_DeleteTagsCommand = async (input, context) => {
558
474
  };
559
475
  exports.se_DeleteTagsCommand = se_DeleteTagsCommand;
560
476
  const se_DeleteUsageLimitCommand = async (input, context) => {
561
- const headers = {
562
- "content-type": "application/x-www-form-urlencoded",
563
- };
477
+ const headers = SHARED_HEADERS;
564
478
  let body;
565
479
  body = buildFormUrlencodedString({
566
480
  ...se_DeleteUsageLimitMessage(input, context),
@@ -571,9 +485,7 @@ const se_DeleteUsageLimitCommand = async (input, context) => {
571
485
  };
572
486
  exports.se_DeleteUsageLimitCommand = se_DeleteUsageLimitCommand;
573
487
  const se_DescribeAccountAttributesCommand = async (input, context) => {
574
- const headers = {
575
- "content-type": "application/x-www-form-urlencoded",
576
- };
488
+ const headers = SHARED_HEADERS;
577
489
  let body;
578
490
  body = buildFormUrlencodedString({
579
491
  ...se_DescribeAccountAttributesMessage(input, context),
@@ -584,9 +496,7 @@ const se_DescribeAccountAttributesCommand = async (input, context) => {
584
496
  };
585
497
  exports.se_DescribeAccountAttributesCommand = se_DescribeAccountAttributesCommand;
586
498
  const se_DescribeAuthenticationProfilesCommand = async (input, context) => {
587
- const headers = {
588
- "content-type": "application/x-www-form-urlencoded",
589
- };
499
+ const headers = SHARED_HEADERS;
590
500
  let body;
591
501
  body = buildFormUrlencodedString({
592
502
  ...se_DescribeAuthenticationProfilesMessage(input, context),
@@ -597,9 +507,7 @@ const se_DescribeAuthenticationProfilesCommand = async (input, context) => {
597
507
  };
598
508
  exports.se_DescribeAuthenticationProfilesCommand = se_DescribeAuthenticationProfilesCommand;
599
509
  const se_DescribeClusterDbRevisionsCommand = async (input, context) => {
600
- const headers = {
601
- "content-type": "application/x-www-form-urlencoded",
602
- };
510
+ const headers = SHARED_HEADERS;
603
511
  let body;
604
512
  body = buildFormUrlencodedString({
605
513
  ...se_DescribeClusterDbRevisionsMessage(input, context),
@@ -610,9 +518,7 @@ const se_DescribeClusterDbRevisionsCommand = async (input, context) => {
610
518
  };
611
519
  exports.se_DescribeClusterDbRevisionsCommand = se_DescribeClusterDbRevisionsCommand;
612
520
  const se_DescribeClusterParameterGroupsCommand = async (input, context) => {
613
- const headers = {
614
- "content-type": "application/x-www-form-urlencoded",
615
- };
521
+ const headers = SHARED_HEADERS;
616
522
  let body;
617
523
  body = buildFormUrlencodedString({
618
524
  ...se_DescribeClusterParameterGroupsMessage(input, context),
@@ -623,9 +529,7 @@ const se_DescribeClusterParameterGroupsCommand = async (input, context) => {
623
529
  };
624
530
  exports.se_DescribeClusterParameterGroupsCommand = se_DescribeClusterParameterGroupsCommand;
625
531
  const se_DescribeClusterParametersCommand = async (input, context) => {
626
- const headers = {
627
- "content-type": "application/x-www-form-urlencoded",
628
- };
532
+ const headers = SHARED_HEADERS;
629
533
  let body;
630
534
  body = buildFormUrlencodedString({
631
535
  ...se_DescribeClusterParametersMessage(input, context),
@@ -636,9 +540,7 @@ const se_DescribeClusterParametersCommand = async (input, context) => {
636
540
  };
637
541
  exports.se_DescribeClusterParametersCommand = se_DescribeClusterParametersCommand;
638
542
  const se_DescribeClustersCommand = async (input, context) => {
639
- const headers = {
640
- "content-type": "application/x-www-form-urlencoded",
641
- };
543
+ const headers = SHARED_HEADERS;
642
544
  let body;
643
545
  body = buildFormUrlencodedString({
644
546
  ...se_DescribeClustersMessage(input, context),
@@ -649,9 +551,7 @@ const se_DescribeClustersCommand = async (input, context) => {
649
551
  };
650
552
  exports.se_DescribeClustersCommand = se_DescribeClustersCommand;
651
553
  const se_DescribeClusterSecurityGroupsCommand = async (input, context) => {
652
- const headers = {
653
- "content-type": "application/x-www-form-urlencoded",
654
- };
554
+ const headers = SHARED_HEADERS;
655
555
  let body;
656
556
  body = buildFormUrlencodedString({
657
557
  ...se_DescribeClusterSecurityGroupsMessage(input, context),
@@ -662,9 +562,7 @@ const se_DescribeClusterSecurityGroupsCommand = async (input, context) => {
662
562
  };
663
563
  exports.se_DescribeClusterSecurityGroupsCommand = se_DescribeClusterSecurityGroupsCommand;
664
564
  const se_DescribeClusterSnapshotsCommand = async (input, context) => {
665
- const headers = {
666
- "content-type": "application/x-www-form-urlencoded",
667
- };
565
+ const headers = SHARED_HEADERS;
668
566
  let body;
669
567
  body = buildFormUrlencodedString({
670
568
  ...se_DescribeClusterSnapshotsMessage(input, context),
@@ -675,9 +573,7 @@ const se_DescribeClusterSnapshotsCommand = async (input, context) => {
675
573
  };
676
574
  exports.se_DescribeClusterSnapshotsCommand = se_DescribeClusterSnapshotsCommand;
677
575
  const se_DescribeClusterSubnetGroupsCommand = async (input, context) => {
678
- const headers = {
679
- "content-type": "application/x-www-form-urlencoded",
680
- };
576
+ const headers = SHARED_HEADERS;
681
577
  let body;
682
578
  body = buildFormUrlencodedString({
683
579
  ...se_DescribeClusterSubnetGroupsMessage(input, context),
@@ -688,9 +584,7 @@ const se_DescribeClusterSubnetGroupsCommand = async (input, context) => {
688
584
  };
689
585
  exports.se_DescribeClusterSubnetGroupsCommand = se_DescribeClusterSubnetGroupsCommand;
690
586
  const se_DescribeClusterTracksCommand = async (input, context) => {
691
- const headers = {
692
- "content-type": "application/x-www-form-urlencoded",
693
- };
587
+ const headers = SHARED_HEADERS;
694
588
  let body;
695
589
  body = buildFormUrlencodedString({
696
590
  ...se_DescribeClusterTracksMessage(input, context),
@@ -701,9 +595,7 @@ const se_DescribeClusterTracksCommand = async (input, context) => {
701
595
  };
702
596
  exports.se_DescribeClusterTracksCommand = se_DescribeClusterTracksCommand;
703
597
  const se_DescribeClusterVersionsCommand = async (input, context) => {
704
- const headers = {
705
- "content-type": "application/x-www-form-urlencoded",
706
- };
598
+ const headers = SHARED_HEADERS;
707
599
  let body;
708
600
  body = buildFormUrlencodedString({
709
601
  ...se_DescribeClusterVersionsMessage(input, context),
@@ -714,9 +606,7 @@ const se_DescribeClusterVersionsCommand = async (input, context) => {
714
606
  };
715
607
  exports.se_DescribeClusterVersionsCommand = se_DescribeClusterVersionsCommand;
716
608
  const se_DescribeDataSharesCommand = async (input, context) => {
717
- const headers = {
718
- "content-type": "application/x-www-form-urlencoded",
719
- };
609
+ const headers = SHARED_HEADERS;
720
610
  let body;
721
611
  body = buildFormUrlencodedString({
722
612
  ...se_DescribeDataSharesMessage(input, context),
@@ -727,9 +617,7 @@ const se_DescribeDataSharesCommand = async (input, context) => {
727
617
  };
728
618
  exports.se_DescribeDataSharesCommand = se_DescribeDataSharesCommand;
729
619
  const se_DescribeDataSharesForConsumerCommand = async (input, context) => {
730
- const headers = {
731
- "content-type": "application/x-www-form-urlencoded",
732
- };
620
+ const headers = SHARED_HEADERS;
733
621
  let body;
734
622
  body = buildFormUrlencodedString({
735
623
  ...se_DescribeDataSharesForConsumerMessage(input, context),
@@ -740,9 +628,7 @@ const se_DescribeDataSharesForConsumerCommand = async (input, context) => {
740
628
  };
741
629
  exports.se_DescribeDataSharesForConsumerCommand = se_DescribeDataSharesForConsumerCommand;
742
630
  const se_DescribeDataSharesForProducerCommand = async (input, context) => {
743
- const headers = {
744
- "content-type": "application/x-www-form-urlencoded",
745
- };
631
+ const headers = SHARED_HEADERS;
746
632
  let body;
747
633
  body = buildFormUrlencodedString({
748
634
  ...se_DescribeDataSharesForProducerMessage(input, context),
@@ -753,9 +639,7 @@ const se_DescribeDataSharesForProducerCommand = async (input, context) => {
753
639
  };
754
640
  exports.se_DescribeDataSharesForProducerCommand = se_DescribeDataSharesForProducerCommand;
755
641
  const se_DescribeDefaultClusterParametersCommand = async (input, context) => {
756
- const headers = {
757
- "content-type": "application/x-www-form-urlencoded",
758
- };
642
+ const headers = SHARED_HEADERS;
759
643
  let body;
760
644
  body = buildFormUrlencodedString({
761
645
  ...se_DescribeDefaultClusterParametersMessage(input, context),
@@ -766,9 +650,7 @@ const se_DescribeDefaultClusterParametersCommand = async (input, context) => {
766
650
  };
767
651
  exports.se_DescribeDefaultClusterParametersCommand = se_DescribeDefaultClusterParametersCommand;
768
652
  const se_DescribeEndpointAccessCommand = async (input, context) => {
769
- const headers = {
770
- "content-type": "application/x-www-form-urlencoded",
771
- };
653
+ const headers = SHARED_HEADERS;
772
654
  let body;
773
655
  body = buildFormUrlencodedString({
774
656
  ...se_DescribeEndpointAccessMessage(input, context),
@@ -779,9 +661,7 @@ const se_DescribeEndpointAccessCommand = async (input, context) => {
779
661
  };
780
662
  exports.se_DescribeEndpointAccessCommand = se_DescribeEndpointAccessCommand;
781
663
  const se_DescribeEndpointAuthorizationCommand = async (input, context) => {
782
- const headers = {
783
- "content-type": "application/x-www-form-urlencoded",
784
- };
664
+ const headers = SHARED_HEADERS;
785
665
  let body;
786
666
  body = buildFormUrlencodedString({
787
667
  ...se_DescribeEndpointAuthorizationMessage(input, context),
@@ -792,9 +672,7 @@ const se_DescribeEndpointAuthorizationCommand = async (input, context) => {
792
672
  };
793
673
  exports.se_DescribeEndpointAuthorizationCommand = se_DescribeEndpointAuthorizationCommand;
794
674
  const se_DescribeEventCategoriesCommand = async (input, context) => {
795
- const headers = {
796
- "content-type": "application/x-www-form-urlencoded",
797
- };
675
+ const headers = SHARED_HEADERS;
798
676
  let body;
799
677
  body = buildFormUrlencodedString({
800
678
  ...se_DescribeEventCategoriesMessage(input, context),
@@ -805,9 +683,7 @@ const se_DescribeEventCategoriesCommand = async (input, context) => {
805
683
  };
806
684
  exports.se_DescribeEventCategoriesCommand = se_DescribeEventCategoriesCommand;
807
685
  const se_DescribeEventsCommand = async (input, context) => {
808
- const headers = {
809
- "content-type": "application/x-www-form-urlencoded",
810
- };
686
+ const headers = SHARED_HEADERS;
811
687
  let body;
812
688
  body = buildFormUrlencodedString({
813
689
  ...se_DescribeEventsMessage(input, context),
@@ -818,9 +694,7 @@ const se_DescribeEventsCommand = async (input, context) => {
818
694
  };
819
695
  exports.se_DescribeEventsCommand = se_DescribeEventsCommand;
820
696
  const se_DescribeEventSubscriptionsCommand = async (input, context) => {
821
- const headers = {
822
- "content-type": "application/x-www-form-urlencoded",
823
- };
697
+ const headers = SHARED_HEADERS;
824
698
  let body;
825
699
  body = buildFormUrlencodedString({
826
700
  ...se_DescribeEventSubscriptionsMessage(input, context),
@@ -831,9 +705,7 @@ const se_DescribeEventSubscriptionsCommand = async (input, context) => {
831
705
  };
832
706
  exports.se_DescribeEventSubscriptionsCommand = se_DescribeEventSubscriptionsCommand;
833
707
  const se_DescribeHsmClientCertificatesCommand = async (input, context) => {
834
- const headers = {
835
- "content-type": "application/x-www-form-urlencoded",
836
- };
708
+ const headers = SHARED_HEADERS;
837
709
  let body;
838
710
  body = buildFormUrlencodedString({
839
711
  ...se_DescribeHsmClientCertificatesMessage(input, context),
@@ -844,9 +716,7 @@ const se_DescribeHsmClientCertificatesCommand = async (input, context) => {
844
716
  };
845
717
  exports.se_DescribeHsmClientCertificatesCommand = se_DescribeHsmClientCertificatesCommand;
846
718
  const se_DescribeHsmConfigurationsCommand = async (input, context) => {
847
- const headers = {
848
- "content-type": "application/x-www-form-urlencoded",
849
- };
719
+ const headers = SHARED_HEADERS;
850
720
  let body;
851
721
  body = buildFormUrlencodedString({
852
722
  ...se_DescribeHsmConfigurationsMessage(input, context),
@@ -857,9 +727,7 @@ const se_DescribeHsmConfigurationsCommand = async (input, context) => {
857
727
  };
858
728
  exports.se_DescribeHsmConfigurationsCommand = se_DescribeHsmConfigurationsCommand;
859
729
  const se_DescribeLoggingStatusCommand = async (input, context) => {
860
- const headers = {
861
- "content-type": "application/x-www-form-urlencoded",
862
- };
730
+ const headers = SHARED_HEADERS;
863
731
  let body;
864
732
  body = buildFormUrlencodedString({
865
733
  ...se_DescribeLoggingStatusMessage(input, context),
@@ -870,9 +738,7 @@ const se_DescribeLoggingStatusCommand = async (input, context) => {
870
738
  };
871
739
  exports.se_DescribeLoggingStatusCommand = se_DescribeLoggingStatusCommand;
872
740
  const se_DescribeNodeConfigurationOptionsCommand = async (input, context) => {
873
- const headers = {
874
- "content-type": "application/x-www-form-urlencoded",
875
- };
741
+ const headers = SHARED_HEADERS;
876
742
  let body;
877
743
  body = buildFormUrlencodedString({
878
744
  ...se_DescribeNodeConfigurationOptionsMessage(input, context),
@@ -883,9 +749,7 @@ const se_DescribeNodeConfigurationOptionsCommand = async (input, context) => {
883
749
  };
884
750
  exports.se_DescribeNodeConfigurationOptionsCommand = se_DescribeNodeConfigurationOptionsCommand;
885
751
  const se_DescribeOrderableClusterOptionsCommand = async (input, context) => {
886
- const headers = {
887
- "content-type": "application/x-www-form-urlencoded",
888
- };
752
+ const headers = SHARED_HEADERS;
889
753
  let body;
890
754
  body = buildFormUrlencodedString({
891
755
  ...se_DescribeOrderableClusterOptionsMessage(input, context),
@@ -896,9 +760,7 @@ const se_DescribeOrderableClusterOptionsCommand = async (input, context) => {
896
760
  };
897
761
  exports.se_DescribeOrderableClusterOptionsCommand = se_DescribeOrderableClusterOptionsCommand;
898
762
  const se_DescribePartnersCommand = async (input, context) => {
899
- const headers = {
900
- "content-type": "application/x-www-form-urlencoded",
901
- };
763
+ const headers = SHARED_HEADERS;
902
764
  let body;
903
765
  body = buildFormUrlencodedString({
904
766
  ...se_DescribePartnersInputMessage(input, context),
@@ -909,9 +771,7 @@ const se_DescribePartnersCommand = async (input, context) => {
909
771
  };
910
772
  exports.se_DescribePartnersCommand = se_DescribePartnersCommand;
911
773
  const se_DescribeReservedNodeExchangeStatusCommand = async (input, context) => {
912
- const headers = {
913
- "content-type": "application/x-www-form-urlencoded",
914
- };
774
+ const headers = SHARED_HEADERS;
915
775
  let body;
916
776
  body = buildFormUrlencodedString({
917
777
  ...se_DescribeReservedNodeExchangeStatusInputMessage(input, context),
@@ -922,9 +782,7 @@ const se_DescribeReservedNodeExchangeStatusCommand = async (input, context) => {
922
782
  };
923
783
  exports.se_DescribeReservedNodeExchangeStatusCommand = se_DescribeReservedNodeExchangeStatusCommand;
924
784
  const se_DescribeReservedNodeOfferingsCommand = async (input, context) => {
925
- const headers = {
926
- "content-type": "application/x-www-form-urlencoded",
927
- };
785
+ const headers = SHARED_HEADERS;
928
786
  let body;
929
787
  body = buildFormUrlencodedString({
930
788
  ...se_DescribeReservedNodeOfferingsMessage(input, context),
@@ -935,9 +793,7 @@ const se_DescribeReservedNodeOfferingsCommand = async (input, context) => {
935
793
  };
936
794
  exports.se_DescribeReservedNodeOfferingsCommand = se_DescribeReservedNodeOfferingsCommand;
937
795
  const se_DescribeReservedNodesCommand = async (input, context) => {
938
- const headers = {
939
- "content-type": "application/x-www-form-urlencoded",
940
- };
796
+ const headers = SHARED_HEADERS;
941
797
  let body;
942
798
  body = buildFormUrlencodedString({
943
799
  ...se_DescribeReservedNodesMessage(input, context),
@@ -948,9 +804,7 @@ const se_DescribeReservedNodesCommand = async (input, context) => {
948
804
  };
949
805
  exports.se_DescribeReservedNodesCommand = se_DescribeReservedNodesCommand;
950
806
  const se_DescribeResizeCommand = async (input, context) => {
951
- const headers = {
952
- "content-type": "application/x-www-form-urlencoded",
953
- };
807
+ const headers = SHARED_HEADERS;
954
808
  let body;
955
809
  body = buildFormUrlencodedString({
956
810
  ...se_DescribeResizeMessage(input, context),
@@ -961,9 +815,7 @@ const se_DescribeResizeCommand = async (input, context) => {
961
815
  };
962
816
  exports.se_DescribeResizeCommand = se_DescribeResizeCommand;
963
817
  const se_DescribeScheduledActionsCommand = async (input, context) => {
964
- const headers = {
965
- "content-type": "application/x-www-form-urlencoded",
966
- };
818
+ const headers = SHARED_HEADERS;
967
819
  let body;
968
820
  body = buildFormUrlencodedString({
969
821
  ...se_DescribeScheduledActionsMessage(input, context),
@@ -974,9 +826,7 @@ const se_DescribeScheduledActionsCommand = async (input, context) => {
974
826
  };
975
827
  exports.se_DescribeScheduledActionsCommand = se_DescribeScheduledActionsCommand;
976
828
  const se_DescribeSnapshotCopyGrantsCommand = async (input, context) => {
977
- const headers = {
978
- "content-type": "application/x-www-form-urlencoded",
979
- };
829
+ const headers = SHARED_HEADERS;
980
830
  let body;
981
831
  body = buildFormUrlencodedString({
982
832
  ...se_DescribeSnapshotCopyGrantsMessage(input, context),
@@ -987,9 +837,7 @@ const se_DescribeSnapshotCopyGrantsCommand = async (input, context) => {
987
837
  };
988
838
  exports.se_DescribeSnapshotCopyGrantsCommand = se_DescribeSnapshotCopyGrantsCommand;
989
839
  const se_DescribeSnapshotSchedulesCommand = async (input, context) => {
990
- const headers = {
991
- "content-type": "application/x-www-form-urlencoded",
992
- };
840
+ const headers = SHARED_HEADERS;
993
841
  let body;
994
842
  body = buildFormUrlencodedString({
995
843
  ...se_DescribeSnapshotSchedulesMessage(input, context),
@@ -1000,9 +848,7 @@ const se_DescribeSnapshotSchedulesCommand = async (input, context) => {
1000
848
  };
1001
849
  exports.se_DescribeSnapshotSchedulesCommand = se_DescribeSnapshotSchedulesCommand;
1002
850
  const se_DescribeStorageCommand = async (input, context) => {
1003
- const headers = {
1004
- "content-type": "application/x-www-form-urlencoded",
1005
- };
851
+ const headers = SHARED_HEADERS;
1006
852
  const body = buildFormUrlencodedString({
1007
853
  Action: "DescribeStorage",
1008
854
  Version: "2012-12-01",
@@ -1011,9 +857,7 @@ const se_DescribeStorageCommand = async (input, context) => {
1011
857
  };
1012
858
  exports.se_DescribeStorageCommand = se_DescribeStorageCommand;
1013
859
  const se_DescribeTableRestoreStatusCommand = async (input, context) => {
1014
- const headers = {
1015
- "content-type": "application/x-www-form-urlencoded",
1016
- };
860
+ const headers = SHARED_HEADERS;
1017
861
  let body;
1018
862
  body = buildFormUrlencodedString({
1019
863
  ...se_DescribeTableRestoreStatusMessage(input, context),
@@ -1024,9 +868,7 @@ const se_DescribeTableRestoreStatusCommand = async (input, context) => {
1024
868
  };
1025
869
  exports.se_DescribeTableRestoreStatusCommand = se_DescribeTableRestoreStatusCommand;
1026
870
  const se_DescribeTagsCommand = async (input, context) => {
1027
- const headers = {
1028
- "content-type": "application/x-www-form-urlencoded",
1029
- };
871
+ const headers = SHARED_HEADERS;
1030
872
  let body;
1031
873
  body = buildFormUrlencodedString({
1032
874
  ...se_DescribeTagsMessage(input, context),
@@ -1037,9 +879,7 @@ const se_DescribeTagsCommand = async (input, context) => {
1037
879
  };
1038
880
  exports.se_DescribeTagsCommand = se_DescribeTagsCommand;
1039
881
  const se_DescribeUsageLimitsCommand = async (input, context) => {
1040
- const headers = {
1041
- "content-type": "application/x-www-form-urlencoded",
1042
- };
882
+ const headers = SHARED_HEADERS;
1043
883
  let body;
1044
884
  body = buildFormUrlencodedString({
1045
885
  ...se_DescribeUsageLimitsMessage(input, context),
@@ -1050,9 +890,7 @@ const se_DescribeUsageLimitsCommand = async (input, context) => {
1050
890
  };
1051
891
  exports.se_DescribeUsageLimitsCommand = se_DescribeUsageLimitsCommand;
1052
892
  const se_DisableLoggingCommand = async (input, context) => {
1053
- const headers = {
1054
- "content-type": "application/x-www-form-urlencoded",
1055
- };
893
+ const headers = SHARED_HEADERS;
1056
894
  let body;
1057
895
  body = buildFormUrlencodedString({
1058
896
  ...se_DisableLoggingMessage(input, context),
@@ -1063,9 +901,7 @@ const se_DisableLoggingCommand = async (input, context) => {
1063
901
  };
1064
902
  exports.se_DisableLoggingCommand = se_DisableLoggingCommand;
1065
903
  const se_DisableSnapshotCopyCommand = async (input, context) => {
1066
- const headers = {
1067
- "content-type": "application/x-www-form-urlencoded",
1068
- };
904
+ const headers = SHARED_HEADERS;
1069
905
  let body;
1070
906
  body = buildFormUrlencodedString({
1071
907
  ...se_DisableSnapshotCopyMessage(input, context),
@@ -1076,9 +912,7 @@ const se_DisableSnapshotCopyCommand = async (input, context) => {
1076
912
  };
1077
913
  exports.se_DisableSnapshotCopyCommand = se_DisableSnapshotCopyCommand;
1078
914
  const se_DisassociateDataShareConsumerCommand = async (input, context) => {
1079
- const headers = {
1080
- "content-type": "application/x-www-form-urlencoded",
1081
- };
915
+ const headers = SHARED_HEADERS;
1082
916
  let body;
1083
917
  body = buildFormUrlencodedString({
1084
918
  ...se_DisassociateDataShareConsumerMessage(input, context),
@@ -1089,9 +923,7 @@ const se_DisassociateDataShareConsumerCommand = async (input, context) => {
1089
923
  };
1090
924
  exports.se_DisassociateDataShareConsumerCommand = se_DisassociateDataShareConsumerCommand;
1091
925
  const se_EnableLoggingCommand = async (input, context) => {
1092
- const headers = {
1093
- "content-type": "application/x-www-form-urlencoded",
1094
- };
926
+ const headers = SHARED_HEADERS;
1095
927
  let body;
1096
928
  body = buildFormUrlencodedString({
1097
929
  ...se_EnableLoggingMessage(input, context),
@@ -1102,9 +934,7 @@ const se_EnableLoggingCommand = async (input, context) => {
1102
934
  };
1103
935
  exports.se_EnableLoggingCommand = se_EnableLoggingCommand;
1104
936
  const se_EnableSnapshotCopyCommand = async (input, context) => {
1105
- const headers = {
1106
- "content-type": "application/x-www-form-urlencoded",
1107
- };
937
+ const headers = SHARED_HEADERS;
1108
938
  let body;
1109
939
  body = buildFormUrlencodedString({
1110
940
  ...se_EnableSnapshotCopyMessage(input, context),
@@ -1115,9 +945,7 @@ const se_EnableSnapshotCopyCommand = async (input, context) => {
1115
945
  };
1116
946
  exports.se_EnableSnapshotCopyCommand = se_EnableSnapshotCopyCommand;
1117
947
  const se_GetClusterCredentialsCommand = async (input, context) => {
1118
- const headers = {
1119
- "content-type": "application/x-www-form-urlencoded",
1120
- };
948
+ const headers = SHARED_HEADERS;
1121
949
  let body;
1122
950
  body = buildFormUrlencodedString({
1123
951
  ...se_GetClusterCredentialsMessage(input, context),
@@ -1128,9 +956,7 @@ const se_GetClusterCredentialsCommand = async (input, context) => {
1128
956
  };
1129
957
  exports.se_GetClusterCredentialsCommand = se_GetClusterCredentialsCommand;
1130
958
  const se_GetClusterCredentialsWithIAMCommand = async (input, context) => {
1131
- const headers = {
1132
- "content-type": "application/x-www-form-urlencoded",
1133
- };
959
+ const headers = SHARED_HEADERS;
1134
960
  let body;
1135
961
  body = buildFormUrlencodedString({
1136
962
  ...se_GetClusterCredentialsWithIAMMessage(input, context),
@@ -1141,9 +967,7 @@ const se_GetClusterCredentialsWithIAMCommand = async (input, context) => {
1141
967
  };
1142
968
  exports.se_GetClusterCredentialsWithIAMCommand = se_GetClusterCredentialsWithIAMCommand;
1143
969
  const se_GetReservedNodeExchangeConfigurationOptionsCommand = async (input, context) => {
1144
- const headers = {
1145
- "content-type": "application/x-www-form-urlencoded",
1146
- };
970
+ const headers = SHARED_HEADERS;
1147
971
  let body;
1148
972
  body = buildFormUrlencodedString({
1149
973
  ...se_GetReservedNodeExchangeConfigurationOptionsInputMessage(input, context),
@@ -1154,9 +978,7 @@ const se_GetReservedNodeExchangeConfigurationOptionsCommand = async (input, cont
1154
978
  };
1155
979
  exports.se_GetReservedNodeExchangeConfigurationOptionsCommand = se_GetReservedNodeExchangeConfigurationOptionsCommand;
1156
980
  const se_GetReservedNodeExchangeOfferingsCommand = async (input, context) => {
1157
- const headers = {
1158
- "content-type": "application/x-www-form-urlencoded",
1159
- };
981
+ const headers = SHARED_HEADERS;
1160
982
  let body;
1161
983
  body = buildFormUrlencodedString({
1162
984
  ...se_GetReservedNodeExchangeOfferingsInputMessage(input, context),
@@ -1167,9 +989,7 @@ const se_GetReservedNodeExchangeOfferingsCommand = async (input, context) => {
1167
989
  };
1168
990
  exports.se_GetReservedNodeExchangeOfferingsCommand = se_GetReservedNodeExchangeOfferingsCommand;
1169
991
  const se_ModifyAquaConfigurationCommand = async (input, context) => {
1170
- const headers = {
1171
- "content-type": "application/x-www-form-urlencoded",
1172
- };
992
+ const headers = SHARED_HEADERS;
1173
993
  let body;
1174
994
  body = buildFormUrlencodedString({
1175
995
  ...se_ModifyAquaInputMessage(input, context),
@@ -1180,9 +1000,7 @@ const se_ModifyAquaConfigurationCommand = async (input, context) => {
1180
1000
  };
1181
1001
  exports.se_ModifyAquaConfigurationCommand = se_ModifyAquaConfigurationCommand;
1182
1002
  const se_ModifyAuthenticationProfileCommand = async (input, context) => {
1183
- const headers = {
1184
- "content-type": "application/x-www-form-urlencoded",
1185
- };
1003
+ const headers = SHARED_HEADERS;
1186
1004
  let body;
1187
1005
  body = buildFormUrlencodedString({
1188
1006
  ...se_ModifyAuthenticationProfileMessage(input, context),
@@ -1193,9 +1011,7 @@ const se_ModifyAuthenticationProfileCommand = async (input, context) => {
1193
1011
  };
1194
1012
  exports.se_ModifyAuthenticationProfileCommand = se_ModifyAuthenticationProfileCommand;
1195
1013
  const se_ModifyClusterCommand = async (input, context) => {
1196
- const headers = {
1197
- "content-type": "application/x-www-form-urlencoded",
1198
- };
1014
+ const headers = SHARED_HEADERS;
1199
1015
  let body;
1200
1016
  body = buildFormUrlencodedString({
1201
1017
  ...se_ModifyClusterMessage(input, context),
@@ -1206,9 +1022,7 @@ const se_ModifyClusterCommand = async (input, context) => {
1206
1022
  };
1207
1023
  exports.se_ModifyClusterCommand = se_ModifyClusterCommand;
1208
1024
  const se_ModifyClusterDbRevisionCommand = async (input, context) => {
1209
- const headers = {
1210
- "content-type": "application/x-www-form-urlencoded",
1211
- };
1025
+ const headers = SHARED_HEADERS;
1212
1026
  let body;
1213
1027
  body = buildFormUrlencodedString({
1214
1028
  ...se_ModifyClusterDbRevisionMessage(input, context),
@@ -1219,9 +1033,7 @@ const se_ModifyClusterDbRevisionCommand = async (input, context) => {
1219
1033
  };
1220
1034
  exports.se_ModifyClusterDbRevisionCommand = se_ModifyClusterDbRevisionCommand;
1221
1035
  const se_ModifyClusterIamRolesCommand = async (input, context) => {
1222
- const headers = {
1223
- "content-type": "application/x-www-form-urlencoded",
1224
- };
1036
+ const headers = SHARED_HEADERS;
1225
1037
  let body;
1226
1038
  body = buildFormUrlencodedString({
1227
1039
  ...se_ModifyClusterIamRolesMessage(input, context),
@@ -1232,9 +1044,7 @@ const se_ModifyClusterIamRolesCommand = async (input, context) => {
1232
1044
  };
1233
1045
  exports.se_ModifyClusterIamRolesCommand = se_ModifyClusterIamRolesCommand;
1234
1046
  const se_ModifyClusterMaintenanceCommand = async (input, context) => {
1235
- const headers = {
1236
- "content-type": "application/x-www-form-urlencoded",
1237
- };
1047
+ const headers = SHARED_HEADERS;
1238
1048
  let body;
1239
1049
  body = buildFormUrlencodedString({
1240
1050
  ...se_ModifyClusterMaintenanceMessage(input, context),
@@ -1245,9 +1055,7 @@ const se_ModifyClusterMaintenanceCommand = async (input, context) => {
1245
1055
  };
1246
1056
  exports.se_ModifyClusterMaintenanceCommand = se_ModifyClusterMaintenanceCommand;
1247
1057
  const se_ModifyClusterParameterGroupCommand = async (input, context) => {
1248
- const headers = {
1249
- "content-type": "application/x-www-form-urlencoded",
1250
- };
1058
+ const headers = SHARED_HEADERS;
1251
1059
  let body;
1252
1060
  body = buildFormUrlencodedString({
1253
1061
  ...se_ModifyClusterParameterGroupMessage(input, context),
@@ -1258,9 +1066,7 @@ const se_ModifyClusterParameterGroupCommand = async (input, context) => {
1258
1066
  };
1259
1067
  exports.se_ModifyClusterParameterGroupCommand = se_ModifyClusterParameterGroupCommand;
1260
1068
  const se_ModifyClusterSnapshotCommand = async (input, context) => {
1261
- const headers = {
1262
- "content-type": "application/x-www-form-urlencoded",
1263
- };
1069
+ const headers = SHARED_HEADERS;
1264
1070
  let body;
1265
1071
  body = buildFormUrlencodedString({
1266
1072
  ...se_ModifyClusterSnapshotMessage(input, context),
@@ -1271,9 +1077,7 @@ const se_ModifyClusterSnapshotCommand = async (input, context) => {
1271
1077
  };
1272
1078
  exports.se_ModifyClusterSnapshotCommand = se_ModifyClusterSnapshotCommand;
1273
1079
  const se_ModifyClusterSnapshotScheduleCommand = async (input, context) => {
1274
- const headers = {
1275
- "content-type": "application/x-www-form-urlencoded",
1276
- };
1080
+ const headers = SHARED_HEADERS;
1277
1081
  let body;
1278
1082
  body = buildFormUrlencodedString({
1279
1083
  ...se_ModifyClusterSnapshotScheduleMessage(input, context),
@@ -1284,9 +1088,7 @@ const se_ModifyClusterSnapshotScheduleCommand = async (input, context) => {
1284
1088
  };
1285
1089
  exports.se_ModifyClusterSnapshotScheduleCommand = se_ModifyClusterSnapshotScheduleCommand;
1286
1090
  const se_ModifyClusterSubnetGroupCommand = async (input, context) => {
1287
- const headers = {
1288
- "content-type": "application/x-www-form-urlencoded",
1289
- };
1091
+ const headers = SHARED_HEADERS;
1290
1092
  let body;
1291
1093
  body = buildFormUrlencodedString({
1292
1094
  ...se_ModifyClusterSubnetGroupMessage(input, context),
@@ -1297,9 +1099,7 @@ const se_ModifyClusterSubnetGroupCommand = async (input, context) => {
1297
1099
  };
1298
1100
  exports.se_ModifyClusterSubnetGroupCommand = se_ModifyClusterSubnetGroupCommand;
1299
1101
  const se_ModifyEndpointAccessCommand = async (input, context) => {
1300
- const headers = {
1301
- "content-type": "application/x-www-form-urlencoded",
1302
- };
1102
+ const headers = SHARED_HEADERS;
1303
1103
  let body;
1304
1104
  body = buildFormUrlencodedString({
1305
1105
  ...se_ModifyEndpointAccessMessage(input, context),
@@ -1310,9 +1110,7 @@ const se_ModifyEndpointAccessCommand = async (input, context) => {
1310
1110
  };
1311
1111
  exports.se_ModifyEndpointAccessCommand = se_ModifyEndpointAccessCommand;
1312
1112
  const se_ModifyEventSubscriptionCommand = async (input, context) => {
1313
- const headers = {
1314
- "content-type": "application/x-www-form-urlencoded",
1315
- };
1113
+ const headers = SHARED_HEADERS;
1316
1114
  let body;
1317
1115
  body = buildFormUrlencodedString({
1318
1116
  ...se_ModifyEventSubscriptionMessage(input, context),
@@ -1323,9 +1121,7 @@ const se_ModifyEventSubscriptionCommand = async (input, context) => {
1323
1121
  };
1324
1122
  exports.se_ModifyEventSubscriptionCommand = se_ModifyEventSubscriptionCommand;
1325
1123
  const se_ModifyScheduledActionCommand = async (input, context) => {
1326
- const headers = {
1327
- "content-type": "application/x-www-form-urlencoded",
1328
- };
1124
+ const headers = SHARED_HEADERS;
1329
1125
  let body;
1330
1126
  body = buildFormUrlencodedString({
1331
1127
  ...se_ModifyScheduledActionMessage(input, context),
@@ -1336,9 +1132,7 @@ const se_ModifyScheduledActionCommand = async (input, context) => {
1336
1132
  };
1337
1133
  exports.se_ModifyScheduledActionCommand = se_ModifyScheduledActionCommand;
1338
1134
  const se_ModifySnapshotCopyRetentionPeriodCommand = async (input, context) => {
1339
- const headers = {
1340
- "content-type": "application/x-www-form-urlencoded",
1341
- };
1135
+ const headers = SHARED_HEADERS;
1342
1136
  let body;
1343
1137
  body = buildFormUrlencodedString({
1344
1138
  ...se_ModifySnapshotCopyRetentionPeriodMessage(input, context),
@@ -1349,9 +1143,7 @@ const se_ModifySnapshotCopyRetentionPeriodCommand = async (input, context) => {
1349
1143
  };
1350
1144
  exports.se_ModifySnapshotCopyRetentionPeriodCommand = se_ModifySnapshotCopyRetentionPeriodCommand;
1351
1145
  const se_ModifySnapshotScheduleCommand = async (input, context) => {
1352
- const headers = {
1353
- "content-type": "application/x-www-form-urlencoded",
1354
- };
1146
+ const headers = SHARED_HEADERS;
1355
1147
  let body;
1356
1148
  body = buildFormUrlencodedString({
1357
1149
  ...se_ModifySnapshotScheduleMessage(input, context),
@@ -1362,9 +1154,7 @@ const se_ModifySnapshotScheduleCommand = async (input, context) => {
1362
1154
  };
1363
1155
  exports.se_ModifySnapshotScheduleCommand = se_ModifySnapshotScheduleCommand;
1364
1156
  const se_ModifyUsageLimitCommand = async (input, context) => {
1365
- const headers = {
1366
- "content-type": "application/x-www-form-urlencoded",
1367
- };
1157
+ const headers = SHARED_HEADERS;
1368
1158
  let body;
1369
1159
  body = buildFormUrlencodedString({
1370
1160
  ...se_ModifyUsageLimitMessage(input, context),
@@ -1375,9 +1165,7 @@ const se_ModifyUsageLimitCommand = async (input, context) => {
1375
1165
  };
1376
1166
  exports.se_ModifyUsageLimitCommand = se_ModifyUsageLimitCommand;
1377
1167
  const se_PauseClusterCommand = async (input, context) => {
1378
- const headers = {
1379
- "content-type": "application/x-www-form-urlencoded",
1380
- };
1168
+ const headers = SHARED_HEADERS;
1381
1169
  let body;
1382
1170
  body = buildFormUrlencodedString({
1383
1171
  ...se_PauseClusterMessage(input, context),
@@ -1388,9 +1176,7 @@ const se_PauseClusterCommand = async (input, context) => {
1388
1176
  };
1389
1177
  exports.se_PauseClusterCommand = se_PauseClusterCommand;
1390
1178
  const se_PurchaseReservedNodeOfferingCommand = async (input, context) => {
1391
- const headers = {
1392
- "content-type": "application/x-www-form-urlencoded",
1393
- };
1179
+ const headers = SHARED_HEADERS;
1394
1180
  let body;
1395
1181
  body = buildFormUrlencodedString({
1396
1182
  ...se_PurchaseReservedNodeOfferingMessage(input, context),
@@ -1401,9 +1187,7 @@ const se_PurchaseReservedNodeOfferingCommand = async (input, context) => {
1401
1187
  };
1402
1188
  exports.se_PurchaseReservedNodeOfferingCommand = se_PurchaseReservedNodeOfferingCommand;
1403
1189
  const se_RebootClusterCommand = async (input, context) => {
1404
- const headers = {
1405
- "content-type": "application/x-www-form-urlencoded",
1406
- };
1190
+ const headers = SHARED_HEADERS;
1407
1191
  let body;
1408
1192
  body = buildFormUrlencodedString({
1409
1193
  ...se_RebootClusterMessage(input, context),
@@ -1414,9 +1198,7 @@ const se_RebootClusterCommand = async (input, context) => {
1414
1198
  };
1415
1199
  exports.se_RebootClusterCommand = se_RebootClusterCommand;
1416
1200
  const se_RejectDataShareCommand = async (input, context) => {
1417
- const headers = {
1418
- "content-type": "application/x-www-form-urlencoded",
1419
- };
1201
+ const headers = SHARED_HEADERS;
1420
1202
  let body;
1421
1203
  body = buildFormUrlencodedString({
1422
1204
  ...se_RejectDataShareMessage(input, context),
@@ -1427,9 +1209,7 @@ const se_RejectDataShareCommand = async (input, context) => {
1427
1209
  };
1428
1210
  exports.se_RejectDataShareCommand = se_RejectDataShareCommand;
1429
1211
  const se_ResetClusterParameterGroupCommand = async (input, context) => {
1430
- const headers = {
1431
- "content-type": "application/x-www-form-urlencoded",
1432
- };
1212
+ const headers = SHARED_HEADERS;
1433
1213
  let body;
1434
1214
  body = buildFormUrlencodedString({
1435
1215
  ...se_ResetClusterParameterGroupMessage(input, context),
@@ -1440,9 +1220,7 @@ const se_ResetClusterParameterGroupCommand = async (input, context) => {
1440
1220
  };
1441
1221
  exports.se_ResetClusterParameterGroupCommand = se_ResetClusterParameterGroupCommand;
1442
1222
  const se_ResizeClusterCommand = async (input, context) => {
1443
- const headers = {
1444
- "content-type": "application/x-www-form-urlencoded",
1445
- };
1223
+ const headers = SHARED_HEADERS;
1446
1224
  let body;
1447
1225
  body = buildFormUrlencodedString({
1448
1226
  ...se_ResizeClusterMessage(input, context),
@@ -1453,9 +1231,7 @@ const se_ResizeClusterCommand = async (input, context) => {
1453
1231
  };
1454
1232
  exports.se_ResizeClusterCommand = se_ResizeClusterCommand;
1455
1233
  const se_RestoreFromClusterSnapshotCommand = async (input, context) => {
1456
- const headers = {
1457
- "content-type": "application/x-www-form-urlencoded",
1458
- };
1234
+ const headers = SHARED_HEADERS;
1459
1235
  let body;
1460
1236
  body = buildFormUrlencodedString({
1461
1237
  ...se_RestoreFromClusterSnapshotMessage(input, context),
@@ -1466,9 +1242,7 @@ const se_RestoreFromClusterSnapshotCommand = async (input, context) => {
1466
1242
  };
1467
1243
  exports.se_RestoreFromClusterSnapshotCommand = se_RestoreFromClusterSnapshotCommand;
1468
1244
  const se_RestoreTableFromClusterSnapshotCommand = async (input, context) => {
1469
- const headers = {
1470
- "content-type": "application/x-www-form-urlencoded",
1471
- };
1245
+ const headers = SHARED_HEADERS;
1472
1246
  let body;
1473
1247
  body = buildFormUrlencodedString({
1474
1248
  ...se_RestoreTableFromClusterSnapshotMessage(input, context),
@@ -1479,9 +1253,7 @@ const se_RestoreTableFromClusterSnapshotCommand = async (input, context) => {
1479
1253
  };
1480
1254
  exports.se_RestoreTableFromClusterSnapshotCommand = se_RestoreTableFromClusterSnapshotCommand;
1481
1255
  const se_ResumeClusterCommand = async (input, context) => {
1482
- const headers = {
1483
- "content-type": "application/x-www-form-urlencoded",
1484
- };
1256
+ const headers = SHARED_HEADERS;
1485
1257
  let body;
1486
1258
  body = buildFormUrlencodedString({
1487
1259
  ...se_ResumeClusterMessage(input, context),
@@ -1492,9 +1264,7 @@ const se_ResumeClusterCommand = async (input, context) => {
1492
1264
  };
1493
1265
  exports.se_ResumeClusterCommand = se_ResumeClusterCommand;
1494
1266
  const se_RevokeClusterSecurityGroupIngressCommand = async (input, context) => {
1495
- const headers = {
1496
- "content-type": "application/x-www-form-urlencoded",
1497
- };
1267
+ const headers = SHARED_HEADERS;
1498
1268
  let body;
1499
1269
  body = buildFormUrlencodedString({
1500
1270
  ...se_RevokeClusterSecurityGroupIngressMessage(input, context),
@@ -1505,9 +1275,7 @@ const se_RevokeClusterSecurityGroupIngressCommand = async (input, context) => {
1505
1275
  };
1506
1276
  exports.se_RevokeClusterSecurityGroupIngressCommand = se_RevokeClusterSecurityGroupIngressCommand;
1507
1277
  const se_RevokeEndpointAccessCommand = async (input, context) => {
1508
- const headers = {
1509
- "content-type": "application/x-www-form-urlencoded",
1510
- };
1278
+ const headers = SHARED_HEADERS;
1511
1279
  let body;
1512
1280
  body = buildFormUrlencodedString({
1513
1281
  ...se_RevokeEndpointAccessMessage(input, context),
@@ -1518,9 +1286,7 @@ const se_RevokeEndpointAccessCommand = async (input, context) => {
1518
1286
  };
1519
1287
  exports.se_RevokeEndpointAccessCommand = se_RevokeEndpointAccessCommand;
1520
1288
  const se_RevokeSnapshotAccessCommand = async (input, context) => {
1521
- const headers = {
1522
- "content-type": "application/x-www-form-urlencoded",
1523
- };
1289
+ const headers = SHARED_HEADERS;
1524
1290
  let body;
1525
1291
  body = buildFormUrlencodedString({
1526
1292
  ...se_RevokeSnapshotAccessMessage(input, context),
@@ -1531,9 +1297,7 @@ const se_RevokeSnapshotAccessCommand = async (input, context) => {
1531
1297
  };
1532
1298
  exports.se_RevokeSnapshotAccessCommand = se_RevokeSnapshotAccessCommand;
1533
1299
  const se_RotateEncryptionKeyCommand = async (input, context) => {
1534
- const headers = {
1535
- "content-type": "application/x-www-form-urlencoded",
1536
- };
1300
+ const headers = SHARED_HEADERS;
1537
1301
  let body;
1538
1302
  body = buildFormUrlencodedString({
1539
1303
  ...se_RotateEncryptionKeyMessage(input, context),
@@ -1544,9 +1308,7 @@ const se_RotateEncryptionKeyCommand = async (input, context) => {
1544
1308
  };
1545
1309
  exports.se_RotateEncryptionKeyCommand = se_RotateEncryptionKeyCommand;
1546
1310
  const se_UpdatePartnerStatusCommand = async (input, context) => {
1547
- const headers = {
1548
- "content-type": "application/x-www-form-urlencoded",
1549
- };
1311
+ const headers = SHARED_HEADERS;
1550
1312
  let body;
1551
1313
  body = buildFormUrlencodedString({
1552
1314
  ...se_UpdatePartnerStatusInputMessage(input, context),
@@ -14496,6 +14258,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
14496
14258
  }
14497
14259
  return new protocol_http_1.HttpRequest(contents);
14498
14260
  };
14261
+ const SHARED_HEADERS = {
14262
+ "content-type": "application/x-www-form-urlencoded",
14263
+ };
14499
14264
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
14500
14265
  if (encoded.length) {
14501
14266
  const parser = new fast_xml_parser_1.XMLParser({