@aws-sdk/client-cloudformation 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.
@@ -10,9 +10,7 @@ const uuid_1 = require("uuid");
10
10
  const CloudFormationServiceException_1 = require("../models/CloudFormationServiceException");
11
11
  const models_0_1 = require("../models/models_0");
12
12
  const se_ActivateTypeCommand = async (input, context) => {
13
- const headers = {
14
- "content-type": "application/x-www-form-urlencoded",
15
- };
13
+ const headers = SHARED_HEADERS;
16
14
  let body;
17
15
  body = buildFormUrlencodedString({
18
16
  ...se_ActivateTypeInput(input, context),
@@ -23,9 +21,7 @@ const se_ActivateTypeCommand = async (input, context) => {
23
21
  };
24
22
  exports.se_ActivateTypeCommand = se_ActivateTypeCommand;
25
23
  const se_BatchDescribeTypeConfigurationsCommand = async (input, context) => {
26
- const headers = {
27
- "content-type": "application/x-www-form-urlencoded",
28
- };
24
+ const headers = SHARED_HEADERS;
29
25
  let body;
30
26
  body = buildFormUrlencodedString({
31
27
  ...se_BatchDescribeTypeConfigurationsInput(input, context),
@@ -36,9 +32,7 @@ const se_BatchDescribeTypeConfigurationsCommand = async (input, context) => {
36
32
  };
37
33
  exports.se_BatchDescribeTypeConfigurationsCommand = se_BatchDescribeTypeConfigurationsCommand;
38
34
  const se_CancelUpdateStackCommand = async (input, context) => {
39
- const headers = {
40
- "content-type": "application/x-www-form-urlencoded",
41
- };
35
+ const headers = SHARED_HEADERS;
42
36
  let body;
43
37
  body = buildFormUrlencodedString({
44
38
  ...se_CancelUpdateStackInput(input, context),
@@ -49,9 +43,7 @@ const se_CancelUpdateStackCommand = async (input, context) => {
49
43
  };
50
44
  exports.se_CancelUpdateStackCommand = se_CancelUpdateStackCommand;
51
45
  const se_ContinueUpdateRollbackCommand = async (input, context) => {
52
- const headers = {
53
- "content-type": "application/x-www-form-urlencoded",
54
- };
46
+ const headers = SHARED_HEADERS;
55
47
  let body;
56
48
  body = buildFormUrlencodedString({
57
49
  ...se_ContinueUpdateRollbackInput(input, context),
@@ -62,9 +54,7 @@ const se_ContinueUpdateRollbackCommand = async (input, context) => {
62
54
  };
63
55
  exports.se_ContinueUpdateRollbackCommand = se_ContinueUpdateRollbackCommand;
64
56
  const se_CreateChangeSetCommand = async (input, context) => {
65
- const headers = {
66
- "content-type": "application/x-www-form-urlencoded",
67
- };
57
+ const headers = SHARED_HEADERS;
68
58
  let body;
69
59
  body = buildFormUrlencodedString({
70
60
  ...se_CreateChangeSetInput(input, context),
@@ -75,9 +65,7 @@ const se_CreateChangeSetCommand = async (input, context) => {
75
65
  };
76
66
  exports.se_CreateChangeSetCommand = se_CreateChangeSetCommand;
77
67
  const se_CreateStackCommand = async (input, context) => {
78
- const headers = {
79
- "content-type": "application/x-www-form-urlencoded",
80
- };
68
+ const headers = SHARED_HEADERS;
81
69
  let body;
82
70
  body = buildFormUrlencodedString({
83
71
  ...se_CreateStackInput(input, context),
@@ -88,9 +76,7 @@ const se_CreateStackCommand = async (input, context) => {
88
76
  };
89
77
  exports.se_CreateStackCommand = se_CreateStackCommand;
90
78
  const se_CreateStackInstancesCommand = async (input, context) => {
91
- const headers = {
92
- "content-type": "application/x-www-form-urlencoded",
93
- };
79
+ const headers = SHARED_HEADERS;
94
80
  let body;
95
81
  body = buildFormUrlencodedString({
96
82
  ...se_CreateStackInstancesInput(input, context),
@@ -101,9 +87,7 @@ const se_CreateStackInstancesCommand = async (input, context) => {
101
87
  };
102
88
  exports.se_CreateStackInstancesCommand = se_CreateStackInstancesCommand;
103
89
  const se_CreateStackSetCommand = async (input, context) => {
104
- const headers = {
105
- "content-type": "application/x-www-form-urlencoded",
106
- };
90
+ const headers = SHARED_HEADERS;
107
91
  let body;
108
92
  body = buildFormUrlencodedString({
109
93
  ...se_CreateStackSetInput(input, context),
@@ -114,9 +98,7 @@ const se_CreateStackSetCommand = async (input, context) => {
114
98
  };
115
99
  exports.se_CreateStackSetCommand = se_CreateStackSetCommand;
116
100
  const se_DeactivateTypeCommand = async (input, context) => {
117
- const headers = {
118
- "content-type": "application/x-www-form-urlencoded",
119
- };
101
+ const headers = SHARED_HEADERS;
120
102
  let body;
121
103
  body = buildFormUrlencodedString({
122
104
  ...se_DeactivateTypeInput(input, context),
@@ -127,9 +109,7 @@ const se_DeactivateTypeCommand = async (input, context) => {
127
109
  };
128
110
  exports.se_DeactivateTypeCommand = se_DeactivateTypeCommand;
129
111
  const se_DeleteChangeSetCommand = async (input, context) => {
130
- const headers = {
131
- "content-type": "application/x-www-form-urlencoded",
132
- };
112
+ const headers = SHARED_HEADERS;
133
113
  let body;
134
114
  body = buildFormUrlencodedString({
135
115
  ...se_DeleteChangeSetInput(input, context),
@@ -140,9 +120,7 @@ const se_DeleteChangeSetCommand = async (input, context) => {
140
120
  };
141
121
  exports.se_DeleteChangeSetCommand = se_DeleteChangeSetCommand;
142
122
  const se_DeleteStackCommand = async (input, context) => {
143
- const headers = {
144
- "content-type": "application/x-www-form-urlencoded",
145
- };
123
+ const headers = SHARED_HEADERS;
146
124
  let body;
147
125
  body = buildFormUrlencodedString({
148
126
  ...se_DeleteStackInput(input, context),
@@ -153,9 +131,7 @@ const se_DeleteStackCommand = async (input, context) => {
153
131
  };
154
132
  exports.se_DeleteStackCommand = se_DeleteStackCommand;
155
133
  const se_DeleteStackInstancesCommand = async (input, context) => {
156
- const headers = {
157
- "content-type": "application/x-www-form-urlencoded",
158
- };
134
+ const headers = SHARED_HEADERS;
159
135
  let body;
160
136
  body = buildFormUrlencodedString({
161
137
  ...se_DeleteStackInstancesInput(input, context),
@@ -166,9 +142,7 @@ const se_DeleteStackInstancesCommand = async (input, context) => {
166
142
  };
167
143
  exports.se_DeleteStackInstancesCommand = se_DeleteStackInstancesCommand;
168
144
  const se_DeleteStackSetCommand = async (input, context) => {
169
- const headers = {
170
- "content-type": "application/x-www-form-urlencoded",
171
- };
145
+ const headers = SHARED_HEADERS;
172
146
  let body;
173
147
  body = buildFormUrlencodedString({
174
148
  ...se_DeleteStackSetInput(input, context),
@@ -179,9 +153,7 @@ const se_DeleteStackSetCommand = async (input, context) => {
179
153
  };
180
154
  exports.se_DeleteStackSetCommand = se_DeleteStackSetCommand;
181
155
  const se_DeregisterTypeCommand = async (input, context) => {
182
- const headers = {
183
- "content-type": "application/x-www-form-urlencoded",
184
- };
156
+ const headers = SHARED_HEADERS;
185
157
  let body;
186
158
  body = buildFormUrlencodedString({
187
159
  ...se_DeregisterTypeInput(input, context),
@@ -192,9 +164,7 @@ const se_DeregisterTypeCommand = async (input, context) => {
192
164
  };
193
165
  exports.se_DeregisterTypeCommand = se_DeregisterTypeCommand;
194
166
  const se_DescribeAccountLimitsCommand = async (input, context) => {
195
- const headers = {
196
- "content-type": "application/x-www-form-urlencoded",
197
- };
167
+ const headers = SHARED_HEADERS;
198
168
  let body;
199
169
  body = buildFormUrlencodedString({
200
170
  ...se_DescribeAccountLimitsInput(input, context),
@@ -205,9 +175,7 @@ const se_DescribeAccountLimitsCommand = async (input, context) => {
205
175
  };
206
176
  exports.se_DescribeAccountLimitsCommand = se_DescribeAccountLimitsCommand;
207
177
  const se_DescribeChangeSetCommand = async (input, context) => {
208
- const headers = {
209
- "content-type": "application/x-www-form-urlencoded",
210
- };
178
+ const headers = SHARED_HEADERS;
211
179
  let body;
212
180
  body = buildFormUrlencodedString({
213
181
  ...se_DescribeChangeSetInput(input, context),
@@ -218,9 +186,7 @@ const se_DescribeChangeSetCommand = async (input, context) => {
218
186
  };
219
187
  exports.se_DescribeChangeSetCommand = se_DescribeChangeSetCommand;
220
188
  const se_DescribeChangeSetHooksCommand = async (input, context) => {
221
- const headers = {
222
- "content-type": "application/x-www-form-urlencoded",
223
- };
189
+ const headers = SHARED_HEADERS;
224
190
  let body;
225
191
  body = buildFormUrlencodedString({
226
192
  ...se_DescribeChangeSetHooksInput(input, context),
@@ -231,9 +197,7 @@ const se_DescribeChangeSetHooksCommand = async (input, context) => {
231
197
  };
232
198
  exports.se_DescribeChangeSetHooksCommand = se_DescribeChangeSetHooksCommand;
233
199
  const se_DescribePublisherCommand = async (input, context) => {
234
- const headers = {
235
- "content-type": "application/x-www-form-urlencoded",
236
- };
200
+ const headers = SHARED_HEADERS;
237
201
  let body;
238
202
  body = buildFormUrlencodedString({
239
203
  ...se_DescribePublisherInput(input, context),
@@ -244,9 +208,7 @@ const se_DescribePublisherCommand = async (input, context) => {
244
208
  };
245
209
  exports.se_DescribePublisherCommand = se_DescribePublisherCommand;
246
210
  const se_DescribeStackDriftDetectionStatusCommand = async (input, context) => {
247
- const headers = {
248
- "content-type": "application/x-www-form-urlencoded",
249
- };
211
+ const headers = SHARED_HEADERS;
250
212
  let body;
251
213
  body = buildFormUrlencodedString({
252
214
  ...se_DescribeStackDriftDetectionStatusInput(input, context),
@@ -257,9 +219,7 @@ const se_DescribeStackDriftDetectionStatusCommand = async (input, context) => {
257
219
  };
258
220
  exports.se_DescribeStackDriftDetectionStatusCommand = se_DescribeStackDriftDetectionStatusCommand;
259
221
  const se_DescribeStackEventsCommand = async (input, context) => {
260
- const headers = {
261
- "content-type": "application/x-www-form-urlencoded",
262
- };
222
+ const headers = SHARED_HEADERS;
263
223
  let body;
264
224
  body = buildFormUrlencodedString({
265
225
  ...se_DescribeStackEventsInput(input, context),
@@ -270,9 +230,7 @@ const se_DescribeStackEventsCommand = async (input, context) => {
270
230
  };
271
231
  exports.se_DescribeStackEventsCommand = se_DescribeStackEventsCommand;
272
232
  const se_DescribeStackInstanceCommand = async (input, context) => {
273
- const headers = {
274
- "content-type": "application/x-www-form-urlencoded",
275
- };
233
+ const headers = SHARED_HEADERS;
276
234
  let body;
277
235
  body = buildFormUrlencodedString({
278
236
  ...se_DescribeStackInstanceInput(input, context),
@@ -283,9 +241,7 @@ const se_DescribeStackInstanceCommand = async (input, context) => {
283
241
  };
284
242
  exports.se_DescribeStackInstanceCommand = se_DescribeStackInstanceCommand;
285
243
  const se_DescribeStackResourceCommand = async (input, context) => {
286
- const headers = {
287
- "content-type": "application/x-www-form-urlencoded",
288
- };
244
+ const headers = SHARED_HEADERS;
289
245
  let body;
290
246
  body = buildFormUrlencodedString({
291
247
  ...se_DescribeStackResourceInput(input, context),
@@ -296,9 +252,7 @@ const se_DescribeStackResourceCommand = async (input, context) => {
296
252
  };
297
253
  exports.se_DescribeStackResourceCommand = se_DescribeStackResourceCommand;
298
254
  const se_DescribeStackResourceDriftsCommand = async (input, context) => {
299
- const headers = {
300
- "content-type": "application/x-www-form-urlencoded",
301
- };
255
+ const headers = SHARED_HEADERS;
302
256
  let body;
303
257
  body = buildFormUrlencodedString({
304
258
  ...se_DescribeStackResourceDriftsInput(input, context),
@@ -309,9 +263,7 @@ const se_DescribeStackResourceDriftsCommand = async (input, context) => {
309
263
  };
310
264
  exports.se_DescribeStackResourceDriftsCommand = se_DescribeStackResourceDriftsCommand;
311
265
  const se_DescribeStackResourcesCommand = async (input, context) => {
312
- const headers = {
313
- "content-type": "application/x-www-form-urlencoded",
314
- };
266
+ const headers = SHARED_HEADERS;
315
267
  let body;
316
268
  body = buildFormUrlencodedString({
317
269
  ...se_DescribeStackResourcesInput(input, context),
@@ -322,9 +274,7 @@ const se_DescribeStackResourcesCommand = async (input, context) => {
322
274
  };
323
275
  exports.se_DescribeStackResourcesCommand = se_DescribeStackResourcesCommand;
324
276
  const se_DescribeStacksCommand = async (input, context) => {
325
- const headers = {
326
- "content-type": "application/x-www-form-urlencoded",
327
- };
277
+ const headers = SHARED_HEADERS;
328
278
  let body;
329
279
  body = buildFormUrlencodedString({
330
280
  ...se_DescribeStacksInput(input, context),
@@ -335,9 +285,7 @@ const se_DescribeStacksCommand = async (input, context) => {
335
285
  };
336
286
  exports.se_DescribeStacksCommand = se_DescribeStacksCommand;
337
287
  const se_DescribeStackSetCommand = async (input, context) => {
338
- const headers = {
339
- "content-type": "application/x-www-form-urlencoded",
340
- };
288
+ const headers = SHARED_HEADERS;
341
289
  let body;
342
290
  body = buildFormUrlencodedString({
343
291
  ...se_DescribeStackSetInput(input, context),
@@ -348,9 +296,7 @@ const se_DescribeStackSetCommand = async (input, context) => {
348
296
  };
349
297
  exports.se_DescribeStackSetCommand = se_DescribeStackSetCommand;
350
298
  const se_DescribeStackSetOperationCommand = async (input, context) => {
351
- const headers = {
352
- "content-type": "application/x-www-form-urlencoded",
353
- };
299
+ const headers = SHARED_HEADERS;
354
300
  let body;
355
301
  body = buildFormUrlencodedString({
356
302
  ...se_DescribeStackSetOperationInput(input, context),
@@ -361,9 +307,7 @@ const se_DescribeStackSetOperationCommand = async (input, context) => {
361
307
  };
362
308
  exports.se_DescribeStackSetOperationCommand = se_DescribeStackSetOperationCommand;
363
309
  const se_DescribeTypeCommand = async (input, context) => {
364
- const headers = {
365
- "content-type": "application/x-www-form-urlencoded",
366
- };
310
+ const headers = SHARED_HEADERS;
367
311
  let body;
368
312
  body = buildFormUrlencodedString({
369
313
  ...se_DescribeTypeInput(input, context),
@@ -374,9 +318,7 @@ const se_DescribeTypeCommand = async (input, context) => {
374
318
  };
375
319
  exports.se_DescribeTypeCommand = se_DescribeTypeCommand;
376
320
  const se_DescribeTypeRegistrationCommand = async (input, context) => {
377
- const headers = {
378
- "content-type": "application/x-www-form-urlencoded",
379
- };
321
+ const headers = SHARED_HEADERS;
380
322
  let body;
381
323
  body = buildFormUrlencodedString({
382
324
  ...se_DescribeTypeRegistrationInput(input, context),
@@ -387,9 +329,7 @@ const se_DescribeTypeRegistrationCommand = async (input, context) => {
387
329
  };
388
330
  exports.se_DescribeTypeRegistrationCommand = se_DescribeTypeRegistrationCommand;
389
331
  const se_DetectStackDriftCommand = async (input, context) => {
390
- const headers = {
391
- "content-type": "application/x-www-form-urlencoded",
392
- };
332
+ const headers = SHARED_HEADERS;
393
333
  let body;
394
334
  body = buildFormUrlencodedString({
395
335
  ...se_DetectStackDriftInput(input, context),
@@ -400,9 +340,7 @@ const se_DetectStackDriftCommand = async (input, context) => {
400
340
  };
401
341
  exports.se_DetectStackDriftCommand = se_DetectStackDriftCommand;
402
342
  const se_DetectStackResourceDriftCommand = async (input, context) => {
403
- const headers = {
404
- "content-type": "application/x-www-form-urlencoded",
405
- };
343
+ const headers = SHARED_HEADERS;
406
344
  let body;
407
345
  body = buildFormUrlencodedString({
408
346
  ...se_DetectStackResourceDriftInput(input, context),
@@ -413,9 +351,7 @@ const se_DetectStackResourceDriftCommand = async (input, context) => {
413
351
  };
414
352
  exports.se_DetectStackResourceDriftCommand = se_DetectStackResourceDriftCommand;
415
353
  const se_DetectStackSetDriftCommand = async (input, context) => {
416
- const headers = {
417
- "content-type": "application/x-www-form-urlencoded",
418
- };
354
+ const headers = SHARED_HEADERS;
419
355
  let body;
420
356
  body = buildFormUrlencodedString({
421
357
  ...se_DetectStackSetDriftInput(input, context),
@@ -426,9 +362,7 @@ const se_DetectStackSetDriftCommand = async (input, context) => {
426
362
  };
427
363
  exports.se_DetectStackSetDriftCommand = se_DetectStackSetDriftCommand;
428
364
  const se_EstimateTemplateCostCommand = async (input, context) => {
429
- const headers = {
430
- "content-type": "application/x-www-form-urlencoded",
431
- };
365
+ const headers = SHARED_HEADERS;
432
366
  let body;
433
367
  body = buildFormUrlencodedString({
434
368
  ...se_EstimateTemplateCostInput(input, context),
@@ -439,9 +373,7 @@ const se_EstimateTemplateCostCommand = async (input, context) => {
439
373
  };
440
374
  exports.se_EstimateTemplateCostCommand = se_EstimateTemplateCostCommand;
441
375
  const se_ExecuteChangeSetCommand = async (input, context) => {
442
- const headers = {
443
- "content-type": "application/x-www-form-urlencoded",
444
- };
376
+ const headers = SHARED_HEADERS;
445
377
  let body;
446
378
  body = buildFormUrlencodedString({
447
379
  ...se_ExecuteChangeSetInput(input, context),
@@ -452,9 +384,7 @@ const se_ExecuteChangeSetCommand = async (input, context) => {
452
384
  };
453
385
  exports.se_ExecuteChangeSetCommand = se_ExecuteChangeSetCommand;
454
386
  const se_GetStackPolicyCommand = async (input, context) => {
455
- const headers = {
456
- "content-type": "application/x-www-form-urlencoded",
457
- };
387
+ const headers = SHARED_HEADERS;
458
388
  let body;
459
389
  body = buildFormUrlencodedString({
460
390
  ...se_GetStackPolicyInput(input, context),
@@ -465,9 +395,7 @@ const se_GetStackPolicyCommand = async (input, context) => {
465
395
  };
466
396
  exports.se_GetStackPolicyCommand = se_GetStackPolicyCommand;
467
397
  const se_GetTemplateCommand = async (input, context) => {
468
- const headers = {
469
- "content-type": "application/x-www-form-urlencoded",
470
- };
398
+ const headers = SHARED_HEADERS;
471
399
  let body;
472
400
  body = buildFormUrlencodedString({
473
401
  ...se_GetTemplateInput(input, context),
@@ -478,9 +406,7 @@ const se_GetTemplateCommand = async (input, context) => {
478
406
  };
479
407
  exports.se_GetTemplateCommand = se_GetTemplateCommand;
480
408
  const se_GetTemplateSummaryCommand = async (input, context) => {
481
- const headers = {
482
- "content-type": "application/x-www-form-urlencoded",
483
- };
409
+ const headers = SHARED_HEADERS;
484
410
  let body;
485
411
  body = buildFormUrlencodedString({
486
412
  ...se_GetTemplateSummaryInput(input, context),
@@ -491,9 +417,7 @@ const se_GetTemplateSummaryCommand = async (input, context) => {
491
417
  };
492
418
  exports.se_GetTemplateSummaryCommand = se_GetTemplateSummaryCommand;
493
419
  const se_ImportStacksToStackSetCommand = async (input, context) => {
494
- const headers = {
495
- "content-type": "application/x-www-form-urlencoded",
496
- };
420
+ const headers = SHARED_HEADERS;
497
421
  let body;
498
422
  body = buildFormUrlencodedString({
499
423
  ...se_ImportStacksToStackSetInput(input, context),
@@ -504,9 +428,7 @@ const se_ImportStacksToStackSetCommand = async (input, context) => {
504
428
  };
505
429
  exports.se_ImportStacksToStackSetCommand = se_ImportStacksToStackSetCommand;
506
430
  const se_ListChangeSetsCommand = async (input, context) => {
507
- const headers = {
508
- "content-type": "application/x-www-form-urlencoded",
509
- };
431
+ const headers = SHARED_HEADERS;
510
432
  let body;
511
433
  body = buildFormUrlencodedString({
512
434
  ...se_ListChangeSetsInput(input, context),
@@ -517,9 +439,7 @@ const se_ListChangeSetsCommand = async (input, context) => {
517
439
  };
518
440
  exports.se_ListChangeSetsCommand = se_ListChangeSetsCommand;
519
441
  const se_ListExportsCommand = async (input, context) => {
520
- const headers = {
521
- "content-type": "application/x-www-form-urlencoded",
522
- };
442
+ const headers = SHARED_HEADERS;
523
443
  let body;
524
444
  body = buildFormUrlencodedString({
525
445
  ...se_ListExportsInput(input, context),
@@ -530,9 +450,7 @@ const se_ListExportsCommand = async (input, context) => {
530
450
  };
531
451
  exports.se_ListExportsCommand = se_ListExportsCommand;
532
452
  const se_ListImportsCommand = async (input, context) => {
533
- const headers = {
534
- "content-type": "application/x-www-form-urlencoded",
535
- };
453
+ const headers = SHARED_HEADERS;
536
454
  let body;
537
455
  body = buildFormUrlencodedString({
538
456
  ...se_ListImportsInput(input, context),
@@ -543,9 +461,7 @@ const se_ListImportsCommand = async (input, context) => {
543
461
  };
544
462
  exports.se_ListImportsCommand = se_ListImportsCommand;
545
463
  const se_ListStackInstancesCommand = async (input, context) => {
546
- const headers = {
547
- "content-type": "application/x-www-form-urlencoded",
548
- };
464
+ const headers = SHARED_HEADERS;
549
465
  let body;
550
466
  body = buildFormUrlencodedString({
551
467
  ...se_ListStackInstancesInput(input, context),
@@ -556,9 +472,7 @@ const se_ListStackInstancesCommand = async (input, context) => {
556
472
  };
557
473
  exports.se_ListStackInstancesCommand = se_ListStackInstancesCommand;
558
474
  const se_ListStackResourcesCommand = async (input, context) => {
559
- const headers = {
560
- "content-type": "application/x-www-form-urlencoded",
561
- };
475
+ const headers = SHARED_HEADERS;
562
476
  let body;
563
477
  body = buildFormUrlencodedString({
564
478
  ...se_ListStackResourcesInput(input, context),
@@ -569,9 +483,7 @@ const se_ListStackResourcesCommand = async (input, context) => {
569
483
  };
570
484
  exports.se_ListStackResourcesCommand = se_ListStackResourcesCommand;
571
485
  const se_ListStacksCommand = async (input, context) => {
572
- const headers = {
573
- "content-type": "application/x-www-form-urlencoded",
574
- };
486
+ const headers = SHARED_HEADERS;
575
487
  let body;
576
488
  body = buildFormUrlencodedString({
577
489
  ...se_ListStacksInput(input, context),
@@ -582,9 +494,7 @@ const se_ListStacksCommand = async (input, context) => {
582
494
  };
583
495
  exports.se_ListStacksCommand = se_ListStacksCommand;
584
496
  const se_ListStackSetOperationResultsCommand = async (input, context) => {
585
- const headers = {
586
- "content-type": "application/x-www-form-urlencoded",
587
- };
497
+ const headers = SHARED_HEADERS;
588
498
  let body;
589
499
  body = buildFormUrlencodedString({
590
500
  ...se_ListStackSetOperationResultsInput(input, context),
@@ -595,9 +505,7 @@ const se_ListStackSetOperationResultsCommand = async (input, context) => {
595
505
  };
596
506
  exports.se_ListStackSetOperationResultsCommand = se_ListStackSetOperationResultsCommand;
597
507
  const se_ListStackSetOperationsCommand = async (input, context) => {
598
- const headers = {
599
- "content-type": "application/x-www-form-urlencoded",
600
- };
508
+ const headers = SHARED_HEADERS;
601
509
  let body;
602
510
  body = buildFormUrlencodedString({
603
511
  ...se_ListStackSetOperationsInput(input, context),
@@ -608,9 +516,7 @@ const se_ListStackSetOperationsCommand = async (input, context) => {
608
516
  };
609
517
  exports.se_ListStackSetOperationsCommand = se_ListStackSetOperationsCommand;
610
518
  const se_ListStackSetsCommand = async (input, context) => {
611
- const headers = {
612
- "content-type": "application/x-www-form-urlencoded",
613
- };
519
+ const headers = SHARED_HEADERS;
614
520
  let body;
615
521
  body = buildFormUrlencodedString({
616
522
  ...se_ListStackSetsInput(input, context),
@@ -621,9 +527,7 @@ const se_ListStackSetsCommand = async (input, context) => {
621
527
  };
622
528
  exports.se_ListStackSetsCommand = se_ListStackSetsCommand;
623
529
  const se_ListTypeRegistrationsCommand = async (input, context) => {
624
- const headers = {
625
- "content-type": "application/x-www-form-urlencoded",
626
- };
530
+ const headers = SHARED_HEADERS;
627
531
  let body;
628
532
  body = buildFormUrlencodedString({
629
533
  ...se_ListTypeRegistrationsInput(input, context),
@@ -634,9 +538,7 @@ const se_ListTypeRegistrationsCommand = async (input, context) => {
634
538
  };
635
539
  exports.se_ListTypeRegistrationsCommand = se_ListTypeRegistrationsCommand;
636
540
  const se_ListTypesCommand = async (input, context) => {
637
- const headers = {
638
- "content-type": "application/x-www-form-urlencoded",
639
- };
541
+ const headers = SHARED_HEADERS;
640
542
  let body;
641
543
  body = buildFormUrlencodedString({
642
544
  ...se_ListTypesInput(input, context),
@@ -647,9 +549,7 @@ const se_ListTypesCommand = async (input, context) => {
647
549
  };
648
550
  exports.se_ListTypesCommand = se_ListTypesCommand;
649
551
  const se_ListTypeVersionsCommand = async (input, context) => {
650
- const headers = {
651
- "content-type": "application/x-www-form-urlencoded",
652
- };
552
+ const headers = SHARED_HEADERS;
653
553
  let body;
654
554
  body = buildFormUrlencodedString({
655
555
  ...se_ListTypeVersionsInput(input, context),
@@ -660,9 +560,7 @@ const se_ListTypeVersionsCommand = async (input, context) => {
660
560
  };
661
561
  exports.se_ListTypeVersionsCommand = se_ListTypeVersionsCommand;
662
562
  const se_PublishTypeCommand = async (input, context) => {
663
- const headers = {
664
- "content-type": "application/x-www-form-urlencoded",
665
- };
563
+ const headers = SHARED_HEADERS;
666
564
  let body;
667
565
  body = buildFormUrlencodedString({
668
566
  ...se_PublishTypeInput(input, context),
@@ -673,9 +571,7 @@ const se_PublishTypeCommand = async (input, context) => {
673
571
  };
674
572
  exports.se_PublishTypeCommand = se_PublishTypeCommand;
675
573
  const se_RecordHandlerProgressCommand = async (input, context) => {
676
- const headers = {
677
- "content-type": "application/x-www-form-urlencoded",
678
- };
574
+ const headers = SHARED_HEADERS;
679
575
  let body;
680
576
  body = buildFormUrlencodedString({
681
577
  ...se_RecordHandlerProgressInput(input, context),
@@ -686,9 +582,7 @@ const se_RecordHandlerProgressCommand = async (input, context) => {
686
582
  };
687
583
  exports.se_RecordHandlerProgressCommand = se_RecordHandlerProgressCommand;
688
584
  const se_RegisterPublisherCommand = async (input, context) => {
689
- const headers = {
690
- "content-type": "application/x-www-form-urlencoded",
691
- };
585
+ const headers = SHARED_HEADERS;
692
586
  let body;
693
587
  body = buildFormUrlencodedString({
694
588
  ...se_RegisterPublisherInput(input, context),
@@ -699,9 +593,7 @@ const se_RegisterPublisherCommand = async (input, context) => {
699
593
  };
700
594
  exports.se_RegisterPublisherCommand = se_RegisterPublisherCommand;
701
595
  const se_RegisterTypeCommand = async (input, context) => {
702
- const headers = {
703
- "content-type": "application/x-www-form-urlencoded",
704
- };
596
+ const headers = SHARED_HEADERS;
705
597
  let body;
706
598
  body = buildFormUrlencodedString({
707
599
  ...se_RegisterTypeInput(input, context),
@@ -712,9 +604,7 @@ const se_RegisterTypeCommand = async (input, context) => {
712
604
  };
713
605
  exports.se_RegisterTypeCommand = se_RegisterTypeCommand;
714
606
  const se_RollbackStackCommand = async (input, context) => {
715
- const headers = {
716
- "content-type": "application/x-www-form-urlencoded",
717
- };
607
+ const headers = SHARED_HEADERS;
718
608
  let body;
719
609
  body = buildFormUrlencodedString({
720
610
  ...se_RollbackStackInput(input, context),
@@ -725,9 +615,7 @@ const se_RollbackStackCommand = async (input, context) => {
725
615
  };
726
616
  exports.se_RollbackStackCommand = se_RollbackStackCommand;
727
617
  const se_SetStackPolicyCommand = async (input, context) => {
728
- const headers = {
729
- "content-type": "application/x-www-form-urlencoded",
730
- };
618
+ const headers = SHARED_HEADERS;
731
619
  let body;
732
620
  body = buildFormUrlencodedString({
733
621
  ...se_SetStackPolicyInput(input, context),
@@ -738,9 +626,7 @@ const se_SetStackPolicyCommand = async (input, context) => {
738
626
  };
739
627
  exports.se_SetStackPolicyCommand = se_SetStackPolicyCommand;
740
628
  const se_SetTypeConfigurationCommand = async (input, context) => {
741
- const headers = {
742
- "content-type": "application/x-www-form-urlencoded",
743
- };
629
+ const headers = SHARED_HEADERS;
744
630
  let body;
745
631
  body = buildFormUrlencodedString({
746
632
  ...se_SetTypeConfigurationInput(input, context),
@@ -751,9 +637,7 @@ const se_SetTypeConfigurationCommand = async (input, context) => {
751
637
  };
752
638
  exports.se_SetTypeConfigurationCommand = se_SetTypeConfigurationCommand;
753
639
  const se_SetTypeDefaultVersionCommand = async (input, context) => {
754
- const headers = {
755
- "content-type": "application/x-www-form-urlencoded",
756
- };
640
+ const headers = SHARED_HEADERS;
757
641
  let body;
758
642
  body = buildFormUrlencodedString({
759
643
  ...se_SetTypeDefaultVersionInput(input, context),
@@ -764,9 +648,7 @@ const se_SetTypeDefaultVersionCommand = async (input, context) => {
764
648
  };
765
649
  exports.se_SetTypeDefaultVersionCommand = se_SetTypeDefaultVersionCommand;
766
650
  const se_SignalResourceCommand = async (input, context) => {
767
- const headers = {
768
- "content-type": "application/x-www-form-urlencoded",
769
- };
651
+ const headers = SHARED_HEADERS;
770
652
  let body;
771
653
  body = buildFormUrlencodedString({
772
654
  ...se_SignalResourceInput(input, context),
@@ -777,9 +659,7 @@ const se_SignalResourceCommand = async (input, context) => {
777
659
  };
778
660
  exports.se_SignalResourceCommand = se_SignalResourceCommand;
779
661
  const se_StopStackSetOperationCommand = async (input, context) => {
780
- const headers = {
781
- "content-type": "application/x-www-form-urlencoded",
782
- };
662
+ const headers = SHARED_HEADERS;
783
663
  let body;
784
664
  body = buildFormUrlencodedString({
785
665
  ...se_StopStackSetOperationInput(input, context),
@@ -790,9 +670,7 @@ const se_StopStackSetOperationCommand = async (input, context) => {
790
670
  };
791
671
  exports.se_StopStackSetOperationCommand = se_StopStackSetOperationCommand;
792
672
  const se_TestTypeCommand = async (input, context) => {
793
- const headers = {
794
- "content-type": "application/x-www-form-urlencoded",
795
- };
673
+ const headers = SHARED_HEADERS;
796
674
  let body;
797
675
  body = buildFormUrlencodedString({
798
676
  ...se_TestTypeInput(input, context),
@@ -803,9 +681,7 @@ const se_TestTypeCommand = async (input, context) => {
803
681
  };
804
682
  exports.se_TestTypeCommand = se_TestTypeCommand;
805
683
  const se_UpdateStackCommand = async (input, context) => {
806
- const headers = {
807
- "content-type": "application/x-www-form-urlencoded",
808
- };
684
+ const headers = SHARED_HEADERS;
809
685
  let body;
810
686
  body = buildFormUrlencodedString({
811
687
  ...se_UpdateStackInput(input, context),
@@ -816,9 +692,7 @@ const se_UpdateStackCommand = async (input, context) => {
816
692
  };
817
693
  exports.se_UpdateStackCommand = se_UpdateStackCommand;
818
694
  const se_UpdateStackInstancesCommand = async (input, context) => {
819
- const headers = {
820
- "content-type": "application/x-www-form-urlencoded",
821
- };
695
+ const headers = SHARED_HEADERS;
822
696
  let body;
823
697
  body = buildFormUrlencodedString({
824
698
  ...se_UpdateStackInstancesInput(input, context),
@@ -829,9 +703,7 @@ const se_UpdateStackInstancesCommand = async (input, context) => {
829
703
  };
830
704
  exports.se_UpdateStackInstancesCommand = se_UpdateStackInstancesCommand;
831
705
  const se_UpdateStackSetCommand = async (input, context) => {
832
- const headers = {
833
- "content-type": "application/x-www-form-urlencoded",
834
- };
706
+ const headers = SHARED_HEADERS;
835
707
  let body;
836
708
  body = buildFormUrlencodedString({
837
709
  ...se_UpdateStackSetInput(input, context),
@@ -842,9 +714,7 @@ const se_UpdateStackSetCommand = async (input, context) => {
842
714
  };
843
715
  exports.se_UpdateStackSetCommand = se_UpdateStackSetCommand;
844
716
  const se_UpdateTerminationProtectionCommand = async (input, context) => {
845
- const headers = {
846
- "content-type": "application/x-www-form-urlencoded",
847
- };
717
+ const headers = SHARED_HEADERS;
848
718
  let body;
849
719
  body = buildFormUrlencodedString({
850
720
  ...se_UpdateTerminationProtectionInput(input, context),
@@ -855,9 +725,7 @@ const se_UpdateTerminationProtectionCommand = async (input, context) => {
855
725
  };
856
726
  exports.se_UpdateTerminationProtectionCommand = se_UpdateTerminationProtectionCommand;
857
727
  const se_ValidateTemplateCommand = async (input, context) => {
858
- const headers = {
859
- "content-type": "application/x-www-form-urlencoded",
860
- };
728
+ const headers = SHARED_HEADERS;
861
729
  let body;
862
730
  body = buildFormUrlencodedString({
863
731
  ...se_ValidateTemplateInput(input, context),
@@ -7978,6 +7846,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
7978
7846
  }
7979
7847
  return new protocol_http_1.HttpRequest(contents);
7980
7848
  };
7849
+ const SHARED_HEADERS = {
7850
+ "content-type": "application/x-www-form-urlencoded",
7851
+ };
7981
7852
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
7982
7853
  if (encoded.length) {
7983
7854
  const parser = new fast_xml_parser_1.XMLParser({