@aws-sdk/client-iam 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.
@@ -14,9 +14,7 @@ const IAMServiceException_1 = require("../models/IAMServiceException");
14
14
  const models_0_1 = require("../models/models_0");
15
15
  const models_1_1 = require("../models/models_1");
16
16
  const se_AddClientIDToOpenIDConnectProviderCommand = async (input, context) => {
17
- const headers = {
18
- "content-type": "application/x-www-form-urlencoded",
19
- };
17
+ const headers = SHARED_HEADERS;
20
18
  let body;
21
19
  body = buildFormUrlencodedString({
22
20
  ...se_AddClientIDToOpenIDConnectProviderRequest(input, context),
@@ -27,9 +25,7 @@ const se_AddClientIDToOpenIDConnectProviderCommand = async (input, context) => {
27
25
  };
28
26
  exports.se_AddClientIDToOpenIDConnectProviderCommand = se_AddClientIDToOpenIDConnectProviderCommand;
29
27
  const se_AddRoleToInstanceProfileCommand = async (input, context) => {
30
- const headers = {
31
- "content-type": "application/x-www-form-urlencoded",
32
- };
28
+ const headers = SHARED_HEADERS;
33
29
  let body;
34
30
  body = buildFormUrlencodedString({
35
31
  ...se_AddRoleToInstanceProfileRequest(input, context),
@@ -40,9 +36,7 @@ const se_AddRoleToInstanceProfileCommand = async (input, context) => {
40
36
  };
41
37
  exports.se_AddRoleToInstanceProfileCommand = se_AddRoleToInstanceProfileCommand;
42
38
  const se_AddUserToGroupCommand = async (input, context) => {
43
- const headers = {
44
- "content-type": "application/x-www-form-urlencoded",
45
- };
39
+ const headers = SHARED_HEADERS;
46
40
  let body;
47
41
  body = buildFormUrlencodedString({
48
42
  ...se_AddUserToGroupRequest(input, context),
@@ -53,9 +47,7 @@ const se_AddUserToGroupCommand = async (input, context) => {
53
47
  };
54
48
  exports.se_AddUserToGroupCommand = se_AddUserToGroupCommand;
55
49
  const se_AttachGroupPolicyCommand = async (input, context) => {
56
- const headers = {
57
- "content-type": "application/x-www-form-urlencoded",
58
- };
50
+ const headers = SHARED_HEADERS;
59
51
  let body;
60
52
  body = buildFormUrlencodedString({
61
53
  ...se_AttachGroupPolicyRequest(input, context),
@@ -66,9 +58,7 @@ const se_AttachGroupPolicyCommand = async (input, context) => {
66
58
  };
67
59
  exports.se_AttachGroupPolicyCommand = se_AttachGroupPolicyCommand;
68
60
  const se_AttachRolePolicyCommand = async (input, context) => {
69
- const headers = {
70
- "content-type": "application/x-www-form-urlencoded",
71
- };
61
+ const headers = SHARED_HEADERS;
72
62
  let body;
73
63
  body = buildFormUrlencodedString({
74
64
  ...se_AttachRolePolicyRequest(input, context),
@@ -79,9 +69,7 @@ const se_AttachRolePolicyCommand = async (input, context) => {
79
69
  };
80
70
  exports.se_AttachRolePolicyCommand = se_AttachRolePolicyCommand;
81
71
  const se_AttachUserPolicyCommand = async (input, context) => {
82
- const headers = {
83
- "content-type": "application/x-www-form-urlencoded",
84
- };
72
+ const headers = SHARED_HEADERS;
85
73
  let body;
86
74
  body = buildFormUrlencodedString({
87
75
  ...se_AttachUserPolicyRequest(input, context),
@@ -92,9 +80,7 @@ const se_AttachUserPolicyCommand = async (input, context) => {
92
80
  };
93
81
  exports.se_AttachUserPolicyCommand = se_AttachUserPolicyCommand;
94
82
  const se_ChangePasswordCommand = async (input, context) => {
95
- const headers = {
96
- "content-type": "application/x-www-form-urlencoded",
97
- };
83
+ const headers = SHARED_HEADERS;
98
84
  let body;
99
85
  body = buildFormUrlencodedString({
100
86
  ...se_ChangePasswordRequest(input, context),
@@ -105,9 +91,7 @@ const se_ChangePasswordCommand = async (input, context) => {
105
91
  };
106
92
  exports.se_ChangePasswordCommand = se_ChangePasswordCommand;
107
93
  const se_CreateAccessKeyCommand = async (input, context) => {
108
- const headers = {
109
- "content-type": "application/x-www-form-urlencoded",
110
- };
94
+ const headers = SHARED_HEADERS;
111
95
  let body;
112
96
  body = buildFormUrlencodedString({
113
97
  ...se_CreateAccessKeyRequest(input, context),
@@ -118,9 +102,7 @@ const se_CreateAccessKeyCommand = async (input, context) => {
118
102
  };
119
103
  exports.se_CreateAccessKeyCommand = se_CreateAccessKeyCommand;
120
104
  const se_CreateAccountAliasCommand = async (input, context) => {
121
- const headers = {
122
- "content-type": "application/x-www-form-urlencoded",
123
- };
105
+ const headers = SHARED_HEADERS;
124
106
  let body;
125
107
  body = buildFormUrlencodedString({
126
108
  ...se_CreateAccountAliasRequest(input, context),
@@ -131,9 +113,7 @@ const se_CreateAccountAliasCommand = async (input, context) => {
131
113
  };
132
114
  exports.se_CreateAccountAliasCommand = se_CreateAccountAliasCommand;
133
115
  const se_CreateGroupCommand = async (input, context) => {
134
- const headers = {
135
- "content-type": "application/x-www-form-urlencoded",
136
- };
116
+ const headers = SHARED_HEADERS;
137
117
  let body;
138
118
  body = buildFormUrlencodedString({
139
119
  ...se_CreateGroupRequest(input, context),
@@ -144,9 +124,7 @@ const se_CreateGroupCommand = async (input, context) => {
144
124
  };
145
125
  exports.se_CreateGroupCommand = se_CreateGroupCommand;
146
126
  const se_CreateInstanceProfileCommand = async (input, context) => {
147
- const headers = {
148
- "content-type": "application/x-www-form-urlencoded",
149
- };
127
+ const headers = SHARED_HEADERS;
150
128
  let body;
151
129
  body = buildFormUrlencodedString({
152
130
  ...se_CreateInstanceProfileRequest(input, context),
@@ -157,9 +135,7 @@ const se_CreateInstanceProfileCommand = async (input, context) => {
157
135
  };
158
136
  exports.se_CreateInstanceProfileCommand = se_CreateInstanceProfileCommand;
159
137
  const se_CreateLoginProfileCommand = async (input, context) => {
160
- const headers = {
161
- "content-type": "application/x-www-form-urlencoded",
162
- };
138
+ const headers = SHARED_HEADERS;
163
139
  let body;
164
140
  body = buildFormUrlencodedString({
165
141
  ...se_CreateLoginProfileRequest(input, context),
@@ -170,9 +146,7 @@ const se_CreateLoginProfileCommand = async (input, context) => {
170
146
  };
171
147
  exports.se_CreateLoginProfileCommand = se_CreateLoginProfileCommand;
172
148
  const se_CreateOpenIDConnectProviderCommand = async (input, context) => {
173
- const headers = {
174
- "content-type": "application/x-www-form-urlencoded",
175
- };
149
+ const headers = SHARED_HEADERS;
176
150
  let body;
177
151
  body = buildFormUrlencodedString({
178
152
  ...se_CreateOpenIDConnectProviderRequest(input, context),
@@ -183,9 +157,7 @@ const se_CreateOpenIDConnectProviderCommand = async (input, context) => {
183
157
  };
184
158
  exports.se_CreateOpenIDConnectProviderCommand = se_CreateOpenIDConnectProviderCommand;
185
159
  const se_CreatePolicyCommand = async (input, context) => {
186
- const headers = {
187
- "content-type": "application/x-www-form-urlencoded",
188
- };
160
+ const headers = SHARED_HEADERS;
189
161
  let body;
190
162
  body = buildFormUrlencodedString({
191
163
  ...se_CreatePolicyRequest(input, context),
@@ -196,9 +168,7 @@ const se_CreatePolicyCommand = async (input, context) => {
196
168
  };
197
169
  exports.se_CreatePolicyCommand = se_CreatePolicyCommand;
198
170
  const se_CreatePolicyVersionCommand = async (input, context) => {
199
- const headers = {
200
- "content-type": "application/x-www-form-urlencoded",
201
- };
171
+ const headers = SHARED_HEADERS;
202
172
  let body;
203
173
  body = buildFormUrlencodedString({
204
174
  ...se_CreatePolicyVersionRequest(input, context),
@@ -209,9 +179,7 @@ const se_CreatePolicyVersionCommand = async (input, context) => {
209
179
  };
210
180
  exports.se_CreatePolicyVersionCommand = se_CreatePolicyVersionCommand;
211
181
  const se_CreateRoleCommand = async (input, context) => {
212
- const headers = {
213
- "content-type": "application/x-www-form-urlencoded",
214
- };
182
+ const headers = SHARED_HEADERS;
215
183
  let body;
216
184
  body = buildFormUrlencodedString({
217
185
  ...se_CreateRoleRequest(input, context),
@@ -222,9 +190,7 @@ const se_CreateRoleCommand = async (input, context) => {
222
190
  };
223
191
  exports.se_CreateRoleCommand = se_CreateRoleCommand;
224
192
  const se_CreateSAMLProviderCommand = async (input, context) => {
225
- const headers = {
226
- "content-type": "application/x-www-form-urlencoded",
227
- };
193
+ const headers = SHARED_HEADERS;
228
194
  let body;
229
195
  body = buildFormUrlencodedString({
230
196
  ...se_CreateSAMLProviderRequest(input, context),
@@ -235,9 +201,7 @@ const se_CreateSAMLProviderCommand = async (input, context) => {
235
201
  };
236
202
  exports.se_CreateSAMLProviderCommand = se_CreateSAMLProviderCommand;
237
203
  const se_CreateServiceLinkedRoleCommand = async (input, context) => {
238
- const headers = {
239
- "content-type": "application/x-www-form-urlencoded",
240
- };
204
+ const headers = SHARED_HEADERS;
241
205
  let body;
242
206
  body = buildFormUrlencodedString({
243
207
  ...se_CreateServiceLinkedRoleRequest(input, context),
@@ -248,9 +212,7 @@ const se_CreateServiceLinkedRoleCommand = async (input, context) => {
248
212
  };
249
213
  exports.se_CreateServiceLinkedRoleCommand = se_CreateServiceLinkedRoleCommand;
250
214
  const se_CreateServiceSpecificCredentialCommand = async (input, context) => {
251
- const headers = {
252
- "content-type": "application/x-www-form-urlencoded",
253
- };
215
+ const headers = SHARED_HEADERS;
254
216
  let body;
255
217
  body = buildFormUrlencodedString({
256
218
  ...se_CreateServiceSpecificCredentialRequest(input, context),
@@ -261,9 +223,7 @@ const se_CreateServiceSpecificCredentialCommand = async (input, context) => {
261
223
  };
262
224
  exports.se_CreateServiceSpecificCredentialCommand = se_CreateServiceSpecificCredentialCommand;
263
225
  const se_CreateUserCommand = async (input, context) => {
264
- const headers = {
265
- "content-type": "application/x-www-form-urlencoded",
266
- };
226
+ const headers = SHARED_HEADERS;
267
227
  let body;
268
228
  body = buildFormUrlencodedString({
269
229
  ...se_CreateUserRequest(input, context),
@@ -274,9 +234,7 @@ const se_CreateUserCommand = async (input, context) => {
274
234
  };
275
235
  exports.se_CreateUserCommand = se_CreateUserCommand;
276
236
  const se_CreateVirtualMFADeviceCommand = async (input, context) => {
277
- const headers = {
278
- "content-type": "application/x-www-form-urlencoded",
279
- };
237
+ const headers = SHARED_HEADERS;
280
238
  let body;
281
239
  body = buildFormUrlencodedString({
282
240
  ...se_CreateVirtualMFADeviceRequest(input, context),
@@ -287,9 +245,7 @@ const se_CreateVirtualMFADeviceCommand = async (input, context) => {
287
245
  };
288
246
  exports.se_CreateVirtualMFADeviceCommand = se_CreateVirtualMFADeviceCommand;
289
247
  const se_DeactivateMFADeviceCommand = async (input, context) => {
290
- const headers = {
291
- "content-type": "application/x-www-form-urlencoded",
292
- };
248
+ const headers = SHARED_HEADERS;
293
249
  let body;
294
250
  body = buildFormUrlencodedString({
295
251
  ...se_DeactivateMFADeviceRequest(input, context),
@@ -300,9 +256,7 @@ const se_DeactivateMFADeviceCommand = async (input, context) => {
300
256
  };
301
257
  exports.se_DeactivateMFADeviceCommand = se_DeactivateMFADeviceCommand;
302
258
  const se_DeleteAccessKeyCommand = async (input, context) => {
303
- const headers = {
304
- "content-type": "application/x-www-form-urlencoded",
305
- };
259
+ const headers = SHARED_HEADERS;
306
260
  let body;
307
261
  body = buildFormUrlencodedString({
308
262
  ...se_DeleteAccessKeyRequest(input, context),
@@ -313,9 +267,7 @@ const se_DeleteAccessKeyCommand = async (input, context) => {
313
267
  };
314
268
  exports.se_DeleteAccessKeyCommand = se_DeleteAccessKeyCommand;
315
269
  const se_DeleteAccountAliasCommand = async (input, context) => {
316
- const headers = {
317
- "content-type": "application/x-www-form-urlencoded",
318
- };
270
+ const headers = SHARED_HEADERS;
319
271
  let body;
320
272
  body = buildFormUrlencodedString({
321
273
  ...se_DeleteAccountAliasRequest(input, context),
@@ -326,9 +278,7 @@ const se_DeleteAccountAliasCommand = async (input, context) => {
326
278
  };
327
279
  exports.se_DeleteAccountAliasCommand = se_DeleteAccountAliasCommand;
328
280
  const se_DeleteAccountPasswordPolicyCommand = async (input, context) => {
329
- const headers = {
330
- "content-type": "application/x-www-form-urlencoded",
331
- };
281
+ const headers = SHARED_HEADERS;
332
282
  const body = buildFormUrlencodedString({
333
283
  Action: "DeleteAccountPasswordPolicy",
334
284
  Version: "2010-05-08",
@@ -337,9 +287,7 @@ const se_DeleteAccountPasswordPolicyCommand = async (input, context) => {
337
287
  };
338
288
  exports.se_DeleteAccountPasswordPolicyCommand = se_DeleteAccountPasswordPolicyCommand;
339
289
  const se_DeleteGroupCommand = 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_DeleteGroupRequest(input, context),
@@ -350,9 +298,7 @@ const se_DeleteGroupCommand = async (input, context) => {
350
298
  };
351
299
  exports.se_DeleteGroupCommand = se_DeleteGroupCommand;
352
300
  const se_DeleteGroupPolicyCommand = 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_DeleteGroupPolicyRequest(input, context),
@@ -363,9 +309,7 @@ const se_DeleteGroupPolicyCommand = async (input, context) => {
363
309
  };
364
310
  exports.se_DeleteGroupPolicyCommand = se_DeleteGroupPolicyCommand;
365
311
  const se_DeleteInstanceProfileCommand = 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_DeleteInstanceProfileRequest(input, context),
@@ -376,9 +320,7 @@ const se_DeleteInstanceProfileCommand = async (input, context) => {
376
320
  };
377
321
  exports.se_DeleteInstanceProfileCommand = se_DeleteInstanceProfileCommand;
378
322
  const se_DeleteLoginProfileCommand = 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_DeleteLoginProfileRequest(input, context),
@@ -389,9 +331,7 @@ const se_DeleteLoginProfileCommand = async (input, context) => {
389
331
  };
390
332
  exports.se_DeleteLoginProfileCommand = se_DeleteLoginProfileCommand;
391
333
  const se_DeleteOpenIDConnectProviderCommand = 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_DeleteOpenIDConnectProviderRequest(input, context),
@@ -402,9 +342,7 @@ const se_DeleteOpenIDConnectProviderCommand = async (input, context) => {
402
342
  };
403
343
  exports.se_DeleteOpenIDConnectProviderCommand = se_DeleteOpenIDConnectProviderCommand;
404
344
  const se_DeletePolicyCommand = 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_DeletePolicyRequest(input, context),
@@ -415,9 +353,7 @@ const se_DeletePolicyCommand = async (input, context) => {
415
353
  };
416
354
  exports.se_DeletePolicyCommand = se_DeletePolicyCommand;
417
355
  const se_DeletePolicyVersionCommand = 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_DeletePolicyVersionRequest(input, context),
@@ -428,9 +364,7 @@ const se_DeletePolicyVersionCommand = async (input, context) => {
428
364
  };
429
365
  exports.se_DeletePolicyVersionCommand = se_DeletePolicyVersionCommand;
430
366
  const se_DeleteRoleCommand = 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_DeleteRoleRequest(input, context),
@@ -441,9 +375,7 @@ const se_DeleteRoleCommand = async (input, context) => {
441
375
  };
442
376
  exports.se_DeleteRoleCommand = se_DeleteRoleCommand;
443
377
  const se_DeleteRolePermissionsBoundaryCommand = 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_DeleteRolePermissionsBoundaryRequest(input, context),
@@ -454,9 +386,7 @@ const se_DeleteRolePermissionsBoundaryCommand = async (input, context) => {
454
386
  };
455
387
  exports.se_DeleteRolePermissionsBoundaryCommand = se_DeleteRolePermissionsBoundaryCommand;
456
388
  const se_DeleteRolePolicyCommand = 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_DeleteRolePolicyRequest(input, context),
@@ -467,9 +397,7 @@ const se_DeleteRolePolicyCommand = async (input, context) => {
467
397
  };
468
398
  exports.se_DeleteRolePolicyCommand = se_DeleteRolePolicyCommand;
469
399
  const se_DeleteSAMLProviderCommand = 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_DeleteSAMLProviderRequest(input, context),
@@ -480,9 +408,7 @@ const se_DeleteSAMLProviderCommand = async (input, context) => {
480
408
  };
481
409
  exports.se_DeleteSAMLProviderCommand = se_DeleteSAMLProviderCommand;
482
410
  const se_DeleteServerCertificateCommand = 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_DeleteServerCertificateRequest(input, context),
@@ -493,9 +419,7 @@ const se_DeleteServerCertificateCommand = async (input, context) => {
493
419
  };
494
420
  exports.se_DeleteServerCertificateCommand = se_DeleteServerCertificateCommand;
495
421
  const se_DeleteServiceLinkedRoleCommand = 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_DeleteServiceLinkedRoleRequest(input, context),
@@ -506,9 +430,7 @@ const se_DeleteServiceLinkedRoleCommand = async (input, context) => {
506
430
  };
507
431
  exports.se_DeleteServiceLinkedRoleCommand = se_DeleteServiceLinkedRoleCommand;
508
432
  const se_DeleteServiceSpecificCredentialCommand = 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_DeleteServiceSpecificCredentialRequest(input, context),
@@ -519,9 +441,7 @@ const se_DeleteServiceSpecificCredentialCommand = async (input, context) => {
519
441
  };
520
442
  exports.se_DeleteServiceSpecificCredentialCommand = se_DeleteServiceSpecificCredentialCommand;
521
443
  const se_DeleteSigningCertificateCommand = 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_DeleteSigningCertificateRequest(input, context),
@@ -532,9 +452,7 @@ const se_DeleteSigningCertificateCommand = async (input, context) => {
532
452
  };
533
453
  exports.se_DeleteSigningCertificateCommand = se_DeleteSigningCertificateCommand;
534
454
  const se_DeleteSSHPublicKeyCommand = 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_DeleteSSHPublicKeyRequest(input, context),
@@ -545,9 +463,7 @@ const se_DeleteSSHPublicKeyCommand = async (input, context) => {
545
463
  };
546
464
  exports.se_DeleteSSHPublicKeyCommand = se_DeleteSSHPublicKeyCommand;
547
465
  const se_DeleteUserCommand = 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_DeleteUserRequest(input, context),
@@ -558,9 +474,7 @@ const se_DeleteUserCommand = async (input, context) => {
558
474
  };
559
475
  exports.se_DeleteUserCommand = se_DeleteUserCommand;
560
476
  const se_DeleteUserPermissionsBoundaryCommand = 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_DeleteUserPermissionsBoundaryRequest(input, context),
@@ -571,9 +485,7 @@ const se_DeleteUserPermissionsBoundaryCommand = async (input, context) => {
571
485
  };
572
486
  exports.se_DeleteUserPermissionsBoundaryCommand = se_DeleteUserPermissionsBoundaryCommand;
573
487
  const se_DeleteUserPolicyCommand = 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_DeleteUserPolicyRequest(input, context),
@@ -584,9 +496,7 @@ const se_DeleteUserPolicyCommand = async (input, context) => {
584
496
  };
585
497
  exports.se_DeleteUserPolicyCommand = se_DeleteUserPolicyCommand;
586
498
  const se_DeleteVirtualMFADeviceCommand = 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_DeleteVirtualMFADeviceRequest(input, context),
@@ -597,9 +507,7 @@ const se_DeleteVirtualMFADeviceCommand = async (input, context) => {
597
507
  };
598
508
  exports.se_DeleteVirtualMFADeviceCommand = se_DeleteVirtualMFADeviceCommand;
599
509
  const se_DetachGroupPolicyCommand = 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_DetachGroupPolicyRequest(input, context),
@@ -610,9 +518,7 @@ const se_DetachGroupPolicyCommand = async (input, context) => {
610
518
  };
611
519
  exports.se_DetachGroupPolicyCommand = se_DetachGroupPolicyCommand;
612
520
  const se_DetachRolePolicyCommand = 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_DetachRolePolicyRequest(input, context),
@@ -623,9 +529,7 @@ const se_DetachRolePolicyCommand = async (input, context) => {
623
529
  };
624
530
  exports.se_DetachRolePolicyCommand = se_DetachRolePolicyCommand;
625
531
  const se_DetachUserPolicyCommand = 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_DetachUserPolicyRequest(input, context),
@@ -636,9 +540,7 @@ const se_DetachUserPolicyCommand = async (input, context) => {
636
540
  };
637
541
  exports.se_DetachUserPolicyCommand = se_DetachUserPolicyCommand;
638
542
  const se_EnableMFADeviceCommand = 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_EnableMFADeviceRequest(input, context),
@@ -649,9 +551,7 @@ const se_EnableMFADeviceCommand = async (input, context) => {
649
551
  };
650
552
  exports.se_EnableMFADeviceCommand = se_EnableMFADeviceCommand;
651
553
  const se_GenerateCredentialReportCommand = async (input, context) => {
652
- const headers = {
653
- "content-type": "application/x-www-form-urlencoded",
654
- };
554
+ const headers = SHARED_HEADERS;
655
555
  const body = buildFormUrlencodedString({
656
556
  Action: "GenerateCredentialReport",
657
557
  Version: "2010-05-08",
@@ -660,9 +560,7 @@ const se_GenerateCredentialReportCommand = async (input, context) => {
660
560
  };
661
561
  exports.se_GenerateCredentialReportCommand = se_GenerateCredentialReportCommand;
662
562
  const se_GenerateOrganizationsAccessReportCommand = 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_GenerateOrganizationsAccessReportRequest(input, context),
@@ -673,9 +571,7 @@ const se_GenerateOrganizationsAccessReportCommand = async (input, context) => {
673
571
  };
674
572
  exports.se_GenerateOrganizationsAccessReportCommand = se_GenerateOrganizationsAccessReportCommand;
675
573
  const se_GenerateServiceLastAccessedDetailsCommand = 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_GenerateServiceLastAccessedDetailsRequest(input, context),
@@ -686,9 +582,7 @@ const se_GenerateServiceLastAccessedDetailsCommand = async (input, context) => {
686
582
  };
687
583
  exports.se_GenerateServiceLastAccessedDetailsCommand = se_GenerateServiceLastAccessedDetailsCommand;
688
584
  const se_GetAccessKeyLastUsedCommand = 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_GetAccessKeyLastUsedRequest(input, context),
@@ -699,9 +593,7 @@ const se_GetAccessKeyLastUsedCommand = async (input, context) => {
699
593
  };
700
594
  exports.se_GetAccessKeyLastUsedCommand = se_GetAccessKeyLastUsedCommand;
701
595
  const se_GetAccountAuthorizationDetailsCommand = 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_GetAccountAuthorizationDetailsRequest(input, context),
@@ -712,9 +604,7 @@ const se_GetAccountAuthorizationDetailsCommand = async (input, context) => {
712
604
  };
713
605
  exports.se_GetAccountAuthorizationDetailsCommand = se_GetAccountAuthorizationDetailsCommand;
714
606
  const se_GetAccountPasswordPolicyCommand = async (input, context) => {
715
- const headers = {
716
- "content-type": "application/x-www-form-urlencoded",
717
- };
607
+ const headers = SHARED_HEADERS;
718
608
  const body = buildFormUrlencodedString({
719
609
  Action: "GetAccountPasswordPolicy",
720
610
  Version: "2010-05-08",
@@ -723,9 +613,7 @@ const se_GetAccountPasswordPolicyCommand = async (input, context) => {
723
613
  };
724
614
  exports.se_GetAccountPasswordPolicyCommand = se_GetAccountPasswordPolicyCommand;
725
615
  const se_GetAccountSummaryCommand = async (input, context) => {
726
- const headers = {
727
- "content-type": "application/x-www-form-urlencoded",
728
- };
616
+ const headers = SHARED_HEADERS;
729
617
  const body = buildFormUrlencodedString({
730
618
  Action: "GetAccountSummary",
731
619
  Version: "2010-05-08",
@@ -734,9 +622,7 @@ const se_GetAccountSummaryCommand = async (input, context) => {
734
622
  };
735
623
  exports.se_GetAccountSummaryCommand = se_GetAccountSummaryCommand;
736
624
  const se_GetContextKeysForCustomPolicyCommand = async (input, context) => {
737
- const headers = {
738
- "content-type": "application/x-www-form-urlencoded",
739
- };
625
+ const headers = SHARED_HEADERS;
740
626
  let body;
741
627
  body = buildFormUrlencodedString({
742
628
  ...se_GetContextKeysForCustomPolicyRequest(input, context),
@@ -747,9 +633,7 @@ const se_GetContextKeysForCustomPolicyCommand = async (input, context) => {
747
633
  };
748
634
  exports.se_GetContextKeysForCustomPolicyCommand = se_GetContextKeysForCustomPolicyCommand;
749
635
  const se_GetContextKeysForPrincipalPolicyCommand = async (input, context) => {
750
- const headers = {
751
- "content-type": "application/x-www-form-urlencoded",
752
- };
636
+ const headers = SHARED_HEADERS;
753
637
  let body;
754
638
  body = buildFormUrlencodedString({
755
639
  ...se_GetContextKeysForPrincipalPolicyRequest(input, context),
@@ -760,9 +644,7 @@ const se_GetContextKeysForPrincipalPolicyCommand = async (input, context) => {
760
644
  };
761
645
  exports.se_GetContextKeysForPrincipalPolicyCommand = se_GetContextKeysForPrincipalPolicyCommand;
762
646
  const se_GetCredentialReportCommand = async (input, context) => {
763
- const headers = {
764
- "content-type": "application/x-www-form-urlencoded",
765
- };
647
+ const headers = SHARED_HEADERS;
766
648
  const body = buildFormUrlencodedString({
767
649
  Action: "GetCredentialReport",
768
650
  Version: "2010-05-08",
@@ -771,9 +653,7 @@ const se_GetCredentialReportCommand = async (input, context) => {
771
653
  };
772
654
  exports.se_GetCredentialReportCommand = se_GetCredentialReportCommand;
773
655
  const se_GetGroupCommand = async (input, context) => {
774
- const headers = {
775
- "content-type": "application/x-www-form-urlencoded",
776
- };
656
+ const headers = SHARED_HEADERS;
777
657
  let body;
778
658
  body = buildFormUrlencodedString({
779
659
  ...se_GetGroupRequest(input, context),
@@ -784,9 +664,7 @@ const se_GetGroupCommand = async (input, context) => {
784
664
  };
785
665
  exports.se_GetGroupCommand = se_GetGroupCommand;
786
666
  const se_GetGroupPolicyCommand = async (input, context) => {
787
- const headers = {
788
- "content-type": "application/x-www-form-urlencoded",
789
- };
667
+ const headers = SHARED_HEADERS;
790
668
  let body;
791
669
  body = buildFormUrlencodedString({
792
670
  ...se_GetGroupPolicyRequest(input, context),
@@ -797,9 +675,7 @@ const se_GetGroupPolicyCommand = async (input, context) => {
797
675
  };
798
676
  exports.se_GetGroupPolicyCommand = se_GetGroupPolicyCommand;
799
677
  const se_GetInstanceProfileCommand = async (input, context) => {
800
- const headers = {
801
- "content-type": "application/x-www-form-urlencoded",
802
- };
678
+ const headers = SHARED_HEADERS;
803
679
  let body;
804
680
  body = buildFormUrlencodedString({
805
681
  ...se_GetInstanceProfileRequest(input, context),
@@ -810,9 +686,7 @@ const se_GetInstanceProfileCommand = async (input, context) => {
810
686
  };
811
687
  exports.se_GetInstanceProfileCommand = se_GetInstanceProfileCommand;
812
688
  const se_GetLoginProfileCommand = async (input, context) => {
813
- const headers = {
814
- "content-type": "application/x-www-form-urlencoded",
815
- };
689
+ const headers = SHARED_HEADERS;
816
690
  let body;
817
691
  body = buildFormUrlencodedString({
818
692
  ...se_GetLoginProfileRequest(input, context),
@@ -823,9 +697,7 @@ const se_GetLoginProfileCommand = async (input, context) => {
823
697
  };
824
698
  exports.se_GetLoginProfileCommand = se_GetLoginProfileCommand;
825
699
  const se_GetOpenIDConnectProviderCommand = async (input, context) => {
826
- const headers = {
827
- "content-type": "application/x-www-form-urlencoded",
828
- };
700
+ const headers = SHARED_HEADERS;
829
701
  let body;
830
702
  body = buildFormUrlencodedString({
831
703
  ...se_GetOpenIDConnectProviderRequest(input, context),
@@ -836,9 +708,7 @@ const se_GetOpenIDConnectProviderCommand = async (input, context) => {
836
708
  };
837
709
  exports.se_GetOpenIDConnectProviderCommand = se_GetOpenIDConnectProviderCommand;
838
710
  const se_GetOrganizationsAccessReportCommand = async (input, context) => {
839
- const headers = {
840
- "content-type": "application/x-www-form-urlencoded",
841
- };
711
+ const headers = SHARED_HEADERS;
842
712
  let body;
843
713
  body = buildFormUrlencodedString({
844
714
  ...se_GetOrganizationsAccessReportRequest(input, context),
@@ -849,9 +719,7 @@ const se_GetOrganizationsAccessReportCommand = async (input, context) => {
849
719
  };
850
720
  exports.se_GetOrganizationsAccessReportCommand = se_GetOrganizationsAccessReportCommand;
851
721
  const se_GetPolicyCommand = async (input, context) => {
852
- const headers = {
853
- "content-type": "application/x-www-form-urlencoded",
854
- };
722
+ const headers = SHARED_HEADERS;
855
723
  let body;
856
724
  body = buildFormUrlencodedString({
857
725
  ...se_GetPolicyRequest(input, context),
@@ -862,9 +730,7 @@ const se_GetPolicyCommand = async (input, context) => {
862
730
  };
863
731
  exports.se_GetPolicyCommand = se_GetPolicyCommand;
864
732
  const se_GetPolicyVersionCommand = async (input, context) => {
865
- const headers = {
866
- "content-type": "application/x-www-form-urlencoded",
867
- };
733
+ const headers = SHARED_HEADERS;
868
734
  let body;
869
735
  body = buildFormUrlencodedString({
870
736
  ...se_GetPolicyVersionRequest(input, context),
@@ -875,9 +741,7 @@ const se_GetPolicyVersionCommand = async (input, context) => {
875
741
  };
876
742
  exports.se_GetPolicyVersionCommand = se_GetPolicyVersionCommand;
877
743
  const se_GetRoleCommand = async (input, context) => {
878
- const headers = {
879
- "content-type": "application/x-www-form-urlencoded",
880
- };
744
+ const headers = SHARED_HEADERS;
881
745
  let body;
882
746
  body = buildFormUrlencodedString({
883
747
  ...se_GetRoleRequest(input, context),
@@ -888,9 +752,7 @@ const se_GetRoleCommand = async (input, context) => {
888
752
  };
889
753
  exports.se_GetRoleCommand = se_GetRoleCommand;
890
754
  const se_GetRolePolicyCommand = async (input, context) => {
891
- const headers = {
892
- "content-type": "application/x-www-form-urlencoded",
893
- };
755
+ const headers = SHARED_HEADERS;
894
756
  let body;
895
757
  body = buildFormUrlencodedString({
896
758
  ...se_GetRolePolicyRequest(input, context),
@@ -901,9 +763,7 @@ const se_GetRolePolicyCommand = async (input, context) => {
901
763
  };
902
764
  exports.se_GetRolePolicyCommand = se_GetRolePolicyCommand;
903
765
  const se_GetSAMLProviderCommand = async (input, context) => {
904
- const headers = {
905
- "content-type": "application/x-www-form-urlencoded",
906
- };
766
+ const headers = SHARED_HEADERS;
907
767
  let body;
908
768
  body = buildFormUrlencodedString({
909
769
  ...se_GetSAMLProviderRequest(input, context),
@@ -914,9 +774,7 @@ const se_GetSAMLProviderCommand = async (input, context) => {
914
774
  };
915
775
  exports.se_GetSAMLProviderCommand = se_GetSAMLProviderCommand;
916
776
  const se_GetServerCertificateCommand = async (input, context) => {
917
- const headers = {
918
- "content-type": "application/x-www-form-urlencoded",
919
- };
777
+ const headers = SHARED_HEADERS;
920
778
  let body;
921
779
  body = buildFormUrlencodedString({
922
780
  ...se_GetServerCertificateRequest(input, context),
@@ -927,9 +785,7 @@ const se_GetServerCertificateCommand = async (input, context) => {
927
785
  };
928
786
  exports.se_GetServerCertificateCommand = se_GetServerCertificateCommand;
929
787
  const se_GetServiceLastAccessedDetailsCommand = async (input, context) => {
930
- const headers = {
931
- "content-type": "application/x-www-form-urlencoded",
932
- };
788
+ const headers = SHARED_HEADERS;
933
789
  let body;
934
790
  body = buildFormUrlencodedString({
935
791
  ...se_GetServiceLastAccessedDetailsRequest(input, context),
@@ -940,9 +796,7 @@ const se_GetServiceLastAccessedDetailsCommand = async (input, context) => {
940
796
  };
941
797
  exports.se_GetServiceLastAccessedDetailsCommand = se_GetServiceLastAccessedDetailsCommand;
942
798
  const se_GetServiceLastAccessedDetailsWithEntitiesCommand = async (input, context) => {
943
- const headers = {
944
- "content-type": "application/x-www-form-urlencoded",
945
- };
799
+ const headers = SHARED_HEADERS;
946
800
  let body;
947
801
  body = buildFormUrlencodedString({
948
802
  ...se_GetServiceLastAccessedDetailsWithEntitiesRequest(input, context),
@@ -953,9 +807,7 @@ const se_GetServiceLastAccessedDetailsWithEntitiesCommand = async (input, contex
953
807
  };
954
808
  exports.se_GetServiceLastAccessedDetailsWithEntitiesCommand = se_GetServiceLastAccessedDetailsWithEntitiesCommand;
955
809
  const se_GetServiceLinkedRoleDeletionStatusCommand = async (input, context) => {
956
- const headers = {
957
- "content-type": "application/x-www-form-urlencoded",
958
- };
810
+ const headers = SHARED_HEADERS;
959
811
  let body;
960
812
  body = buildFormUrlencodedString({
961
813
  ...se_GetServiceLinkedRoleDeletionStatusRequest(input, context),
@@ -966,9 +818,7 @@ const se_GetServiceLinkedRoleDeletionStatusCommand = async (input, context) => {
966
818
  };
967
819
  exports.se_GetServiceLinkedRoleDeletionStatusCommand = se_GetServiceLinkedRoleDeletionStatusCommand;
968
820
  const se_GetSSHPublicKeyCommand = async (input, context) => {
969
- const headers = {
970
- "content-type": "application/x-www-form-urlencoded",
971
- };
821
+ const headers = SHARED_HEADERS;
972
822
  let body;
973
823
  body = buildFormUrlencodedString({
974
824
  ...se_GetSSHPublicKeyRequest(input, context),
@@ -979,9 +829,7 @@ const se_GetSSHPublicKeyCommand = async (input, context) => {
979
829
  };
980
830
  exports.se_GetSSHPublicKeyCommand = se_GetSSHPublicKeyCommand;
981
831
  const se_GetUserCommand = async (input, context) => {
982
- const headers = {
983
- "content-type": "application/x-www-form-urlencoded",
984
- };
832
+ const headers = SHARED_HEADERS;
985
833
  let body;
986
834
  body = buildFormUrlencodedString({
987
835
  ...se_GetUserRequest(input, context),
@@ -992,9 +840,7 @@ const se_GetUserCommand = async (input, context) => {
992
840
  };
993
841
  exports.se_GetUserCommand = se_GetUserCommand;
994
842
  const se_GetUserPolicyCommand = async (input, context) => {
995
- const headers = {
996
- "content-type": "application/x-www-form-urlencoded",
997
- };
843
+ const headers = SHARED_HEADERS;
998
844
  let body;
999
845
  body = buildFormUrlencodedString({
1000
846
  ...se_GetUserPolicyRequest(input, context),
@@ -1005,9 +851,7 @@ const se_GetUserPolicyCommand = async (input, context) => {
1005
851
  };
1006
852
  exports.se_GetUserPolicyCommand = se_GetUserPolicyCommand;
1007
853
  const se_ListAccessKeysCommand = async (input, context) => {
1008
- const headers = {
1009
- "content-type": "application/x-www-form-urlencoded",
1010
- };
854
+ const headers = SHARED_HEADERS;
1011
855
  let body;
1012
856
  body = buildFormUrlencodedString({
1013
857
  ...se_ListAccessKeysRequest(input, context),
@@ -1018,9 +862,7 @@ const se_ListAccessKeysCommand = async (input, context) => {
1018
862
  };
1019
863
  exports.se_ListAccessKeysCommand = se_ListAccessKeysCommand;
1020
864
  const se_ListAccountAliasesCommand = async (input, context) => {
1021
- const headers = {
1022
- "content-type": "application/x-www-form-urlencoded",
1023
- };
865
+ const headers = SHARED_HEADERS;
1024
866
  let body;
1025
867
  body = buildFormUrlencodedString({
1026
868
  ...se_ListAccountAliasesRequest(input, context),
@@ -1031,9 +873,7 @@ const se_ListAccountAliasesCommand = async (input, context) => {
1031
873
  };
1032
874
  exports.se_ListAccountAliasesCommand = se_ListAccountAliasesCommand;
1033
875
  const se_ListAttachedGroupPoliciesCommand = async (input, context) => {
1034
- const headers = {
1035
- "content-type": "application/x-www-form-urlencoded",
1036
- };
876
+ const headers = SHARED_HEADERS;
1037
877
  let body;
1038
878
  body = buildFormUrlencodedString({
1039
879
  ...se_ListAttachedGroupPoliciesRequest(input, context),
@@ -1044,9 +884,7 @@ const se_ListAttachedGroupPoliciesCommand = async (input, context) => {
1044
884
  };
1045
885
  exports.se_ListAttachedGroupPoliciesCommand = se_ListAttachedGroupPoliciesCommand;
1046
886
  const se_ListAttachedRolePoliciesCommand = async (input, context) => {
1047
- const headers = {
1048
- "content-type": "application/x-www-form-urlencoded",
1049
- };
887
+ const headers = SHARED_HEADERS;
1050
888
  let body;
1051
889
  body = buildFormUrlencodedString({
1052
890
  ...se_ListAttachedRolePoliciesRequest(input, context),
@@ -1057,9 +895,7 @@ const se_ListAttachedRolePoliciesCommand = async (input, context) => {
1057
895
  };
1058
896
  exports.se_ListAttachedRolePoliciesCommand = se_ListAttachedRolePoliciesCommand;
1059
897
  const se_ListAttachedUserPoliciesCommand = async (input, context) => {
1060
- const headers = {
1061
- "content-type": "application/x-www-form-urlencoded",
1062
- };
898
+ const headers = SHARED_HEADERS;
1063
899
  let body;
1064
900
  body = buildFormUrlencodedString({
1065
901
  ...se_ListAttachedUserPoliciesRequest(input, context),
@@ -1070,9 +906,7 @@ const se_ListAttachedUserPoliciesCommand = async (input, context) => {
1070
906
  };
1071
907
  exports.se_ListAttachedUserPoliciesCommand = se_ListAttachedUserPoliciesCommand;
1072
908
  const se_ListEntitiesForPolicyCommand = async (input, context) => {
1073
- const headers = {
1074
- "content-type": "application/x-www-form-urlencoded",
1075
- };
909
+ const headers = SHARED_HEADERS;
1076
910
  let body;
1077
911
  body = buildFormUrlencodedString({
1078
912
  ...se_ListEntitiesForPolicyRequest(input, context),
@@ -1083,9 +917,7 @@ const se_ListEntitiesForPolicyCommand = async (input, context) => {
1083
917
  };
1084
918
  exports.se_ListEntitiesForPolicyCommand = se_ListEntitiesForPolicyCommand;
1085
919
  const se_ListGroupPoliciesCommand = async (input, context) => {
1086
- const headers = {
1087
- "content-type": "application/x-www-form-urlencoded",
1088
- };
920
+ const headers = SHARED_HEADERS;
1089
921
  let body;
1090
922
  body = buildFormUrlencodedString({
1091
923
  ...se_ListGroupPoliciesRequest(input, context),
@@ -1096,9 +928,7 @@ const se_ListGroupPoliciesCommand = async (input, context) => {
1096
928
  };
1097
929
  exports.se_ListGroupPoliciesCommand = se_ListGroupPoliciesCommand;
1098
930
  const se_ListGroupsCommand = async (input, context) => {
1099
- const headers = {
1100
- "content-type": "application/x-www-form-urlencoded",
1101
- };
931
+ const headers = SHARED_HEADERS;
1102
932
  let body;
1103
933
  body = buildFormUrlencodedString({
1104
934
  ...se_ListGroupsRequest(input, context),
@@ -1109,9 +939,7 @@ const se_ListGroupsCommand = async (input, context) => {
1109
939
  };
1110
940
  exports.se_ListGroupsCommand = se_ListGroupsCommand;
1111
941
  const se_ListGroupsForUserCommand = async (input, context) => {
1112
- const headers = {
1113
- "content-type": "application/x-www-form-urlencoded",
1114
- };
942
+ const headers = SHARED_HEADERS;
1115
943
  let body;
1116
944
  body = buildFormUrlencodedString({
1117
945
  ...se_ListGroupsForUserRequest(input, context),
@@ -1122,9 +950,7 @@ const se_ListGroupsForUserCommand = async (input, context) => {
1122
950
  };
1123
951
  exports.se_ListGroupsForUserCommand = se_ListGroupsForUserCommand;
1124
952
  const se_ListInstanceProfilesCommand = async (input, context) => {
1125
- const headers = {
1126
- "content-type": "application/x-www-form-urlencoded",
1127
- };
953
+ const headers = SHARED_HEADERS;
1128
954
  let body;
1129
955
  body = buildFormUrlencodedString({
1130
956
  ...se_ListInstanceProfilesRequest(input, context),
@@ -1135,9 +961,7 @@ const se_ListInstanceProfilesCommand = async (input, context) => {
1135
961
  };
1136
962
  exports.se_ListInstanceProfilesCommand = se_ListInstanceProfilesCommand;
1137
963
  const se_ListInstanceProfilesForRoleCommand = async (input, context) => {
1138
- const headers = {
1139
- "content-type": "application/x-www-form-urlencoded",
1140
- };
964
+ const headers = SHARED_HEADERS;
1141
965
  let body;
1142
966
  body = buildFormUrlencodedString({
1143
967
  ...se_ListInstanceProfilesForRoleRequest(input, context),
@@ -1148,9 +972,7 @@ const se_ListInstanceProfilesForRoleCommand = async (input, context) => {
1148
972
  };
1149
973
  exports.se_ListInstanceProfilesForRoleCommand = se_ListInstanceProfilesForRoleCommand;
1150
974
  const se_ListInstanceProfileTagsCommand = async (input, context) => {
1151
- const headers = {
1152
- "content-type": "application/x-www-form-urlencoded",
1153
- };
975
+ const headers = SHARED_HEADERS;
1154
976
  let body;
1155
977
  body = buildFormUrlencodedString({
1156
978
  ...se_ListInstanceProfileTagsRequest(input, context),
@@ -1161,9 +983,7 @@ const se_ListInstanceProfileTagsCommand = async (input, context) => {
1161
983
  };
1162
984
  exports.se_ListInstanceProfileTagsCommand = se_ListInstanceProfileTagsCommand;
1163
985
  const se_ListMFADevicesCommand = async (input, context) => {
1164
- const headers = {
1165
- "content-type": "application/x-www-form-urlencoded",
1166
- };
986
+ const headers = SHARED_HEADERS;
1167
987
  let body;
1168
988
  body = buildFormUrlencodedString({
1169
989
  ...se_ListMFADevicesRequest(input, context),
@@ -1174,9 +994,7 @@ const se_ListMFADevicesCommand = async (input, context) => {
1174
994
  };
1175
995
  exports.se_ListMFADevicesCommand = se_ListMFADevicesCommand;
1176
996
  const se_ListMFADeviceTagsCommand = async (input, context) => {
1177
- const headers = {
1178
- "content-type": "application/x-www-form-urlencoded",
1179
- };
997
+ const headers = SHARED_HEADERS;
1180
998
  let body;
1181
999
  body = buildFormUrlencodedString({
1182
1000
  ...se_ListMFADeviceTagsRequest(input, context),
@@ -1187,9 +1005,7 @@ const se_ListMFADeviceTagsCommand = async (input, context) => {
1187
1005
  };
1188
1006
  exports.se_ListMFADeviceTagsCommand = se_ListMFADeviceTagsCommand;
1189
1007
  const se_ListOpenIDConnectProvidersCommand = async (input, context) => {
1190
- const headers = {
1191
- "content-type": "application/x-www-form-urlencoded",
1192
- };
1008
+ const headers = SHARED_HEADERS;
1193
1009
  let body;
1194
1010
  body = buildFormUrlencodedString({
1195
1011
  ...se_ListOpenIDConnectProvidersRequest(input, context),
@@ -1200,9 +1016,7 @@ const se_ListOpenIDConnectProvidersCommand = async (input, context) => {
1200
1016
  };
1201
1017
  exports.se_ListOpenIDConnectProvidersCommand = se_ListOpenIDConnectProvidersCommand;
1202
1018
  const se_ListOpenIDConnectProviderTagsCommand = async (input, context) => {
1203
- const headers = {
1204
- "content-type": "application/x-www-form-urlencoded",
1205
- };
1019
+ const headers = SHARED_HEADERS;
1206
1020
  let body;
1207
1021
  body = buildFormUrlencodedString({
1208
1022
  ...se_ListOpenIDConnectProviderTagsRequest(input, context),
@@ -1213,9 +1027,7 @@ const se_ListOpenIDConnectProviderTagsCommand = async (input, context) => {
1213
1027
  };
1214
1028
  exports.se_ListOpenIDConnectProviderTagsCommand = se_ListOpenIDConnectProviderTagsCommand;
1215
1029
  const se_ListPoliciesCommand = async (input, context) => {
1216
- const headers = {
1217
- "content-type": "application/x-www-form-urlencoded",
1218
- };
1030
+ const headers = SHARED_HEADERS;
1219
1031
  let body;
1220
1032
  body = buildFormUrlencodedString({
1221
1033
  ...se_ListPoliciesRequest(input, context),
@@ -1226,9 +1038,7 @@ const se_ListPoliciesCommand = async (input, context) => {
1226
1038
  };
1227
1039
  exports.se_ListPoliciesCommand = se_ListPoliciesCommand;
1228
1040
  const se_ListPoliciesGrantingServiceAccessCommand = async (input, context) => {
1229
- const headers = {
1230
- "content-type": "application/x-www-form-urlencoded",
1231
- };
1041
+ const headers = SHARED_HEADERS;
1232
1042
  let body;
1233
1043
  body = buildFormUrlencodedString({
1234
1044
  ...se_ListPoliciesGrantingServiceAccessRequest(input, context),
@@ -1239,9 +1049,7 @@ const se_ListPoliciesGrantingServiceAccessCommand = async (input, context) => {
1239
1049
  };
1240
1050
  exports.se_ListPoliciesGrantingServiceAccessCommand = se_ListPoliciesGrantingServiceAccessCommand;
1241
1051
  const se_ListPolicyTagsCommand = async (input, context) => {
1242
- const headers = {
1243
- "content-type": "application/x-www-form-urlencoded",
1244
- };
1052
+ const headers = SHARED_HEADERS;
1245
1053
  let body;
1246
1054
  body = buildFormUrlencodedString({
1247
1055
  ...se_ListPolicyTagsRequest(input, context),
@@ -1252,9 +1060,7 @@ const se_ListPolicyTagsCommand = async (input, context) => {
1252
1060
  };
1253
1061
  exports.se_ListPolicyTagsCommand = se_ListPolicyTagsCommand;
1254
1062
  const se_ListPolicyVersionsCommand = async (input, context) => {
1255
- const headers = {
1256
- "content-type": "application/x-www-form-urlencoded",
1257
- };
1063
+ const headers = SHARED_HEADERS;
1258
1064
  let body;
1259
1065
  body = buildFormUrlencodedString({
1260
1066
  ...se_ListPolicyVersionsRequest(input, context),
@@ -1265,9 +1071,7 @@ const se_ListPolicyVersionsCommand = async (input, context) => {
1265
1071
  };
1266
1072
  exports.se_ListPolicyVersionsCommand = se_ListPolicyVersionsCommand;
1267
1073
  const se_ListRolePoliciesCommand = async (input, context) => {
1268
- const headers = {
1269
- "content-type": "application/x-www-form-urlencoded",
1270
- };
1074
+ const headers = SHARED_HEADERS;
1271
1075
  let body;
1272
1076
  body = buildFormUrlencodedString({
1273
1077
  ...se_ListRolePoliciesRequest(input, context),
@@ -1278,9 +1082,7 @@ const se_ListRolePoliciesCommand = async (input, context) => {
1278
1082
  };
1279
1083
  exports.se_ListRolePoliciesCommand = se_ListRolePoliciesCommand;
1280
1084
  const se_ListRolesCommand = async (input, context) => {
1281
- const headers = {
1282
- "content-type": "application/x-www-form-urlencoded",
1283
- };
1085
+ const headers = SHARED_HEADERS;
1284
1086
  let body;
1285
1087
  body = buildFormUrlencodedString({
1286
1088
  ...se_ListRolesRequest(input, context),
@@ -1291,9 +1093,7 @@ const se_ListRolesCommand = async (input, context) => {
1291
1093
  };
1292
1094
  exports.se_ListRolesCommand = se_ListRolesCommand;
1293
1095
  const se_ListRoleTagsCommand = async (input, context) => {
1294
- const headers = {
1295
- "content-type": "application/x-www-form-urlencoded",
1296
- };
1096
+ const headers = SHARED_HEADERS;
1297
1097
  let body;
1298
1098
  body = buildFormUrlencodedString({
1299
1099
  ...se_ListRoleTagsRequest(input, context),
@@ -1304,9 +1104,7 @@ const se_ListRoleTagsCommand = async (input, context) => {
1304
1104
  };
1305
1105
  exports.se_ListRoleTagsCommand = se_ListRoleTagsCommand;
1306
1106
  const se_ListSAMLProvidersCommand = async (input, context) => {
1307
- const headers = {
1308
- "content-type": "application/x-www-form-urlencoded",
1309
- };
1107
+ const headers = SHARED_HEADERS;
1310
1108
  let body;
1311
1109
  body = buildFormUrlencodedString({
1312
1110
  ...se_ListSAMLProvidersRequest(input, context),
@@ -1317,9 +1115,7 @@ const se_ListSAMLProvidersCommand = async (input, context) => {
1317
1115
  };
1318
1116
  exports.se_ListSAMLProvidersCommand = se_ListSAMLProvidersCommand;
1319
1117
  const se_ListSAMLProviderTagsCommand = async (input, context) => {
1320
- const headers = {
1321
- "content-type": "application/x-www-form-urlencoded",
1322
- };
1118
+ const headers = SHARED_HEADERS;
1323
1119
  let body;
1324
1120
  body = buildFormUrlencodedString({
1325
1121
  ...se_ListSAMLProviderTagsRequest(input, context),
@@ -1330,9 +1126,7 @@ const se_ListSAMLProviderTagsCommand = async (input, context) => {
1330
1126
  };
1331
1127
  exports.se_ListSAMLProviderTagsCommand = se_ListSAMLProviderTagsCommand;
1332
1128
  const se_ListServerCertificatesCommand = async (input, context) => {
1333
- const headers = {
1334
- "content-type": "application/x-www-form-urlencoded",
1335
- };
1129
+ const headers = SHARED_HEADERS;
1336
1130
  let body;
1337
1131
  body = buildFormUrlencodedString({
1338
1132
  ...se_ListServerCertificatesRequest(input, context),
@@ -1343,9 +1137,7 @@ const se_ListServerCertificatesCommand = async (input, context) => {
1343
1137
  };
1344
1138
  exports.se_ListServerCertificatesCommand = se_ListServerCertificatesCommand;
1345
1139
  const se_ListServerCertificateTagsCommand = async (input, context) => {
1346
- const headers = {
1347
- "content-type": "application/x-www-form-urlencoded",
1348
- };
1140
+ const headers = SHARED_HEADERS;
1349
1141
  let body;
1350
1142
  body = buildFormUrlencodedString({
1351
1143
  ...se_ListServerCertificateTagsRequest(input, context),
@@ -1356,9 +1148,7 @@ const se_ListServerCertificateTagsCommand = async (input, context) => {
1356
1148
  };
1357
1149
  exports.se_ListServerCertificateTagsCommand = se_ListServerCertificateTagsCommand;
1358
1150
  const se_ListServiceSpecificCredentialsCommand = async (input, context) => {
1359
- const headers = {
1360
- "content-type": "application/x-www-form-urlencoded",
1361
- };
1151
+ const headers = SHARED_HEADERS;
1362
1152
  let body;
1363
1153
  body = buildFormUrlencodedString({
1364
1154
  ...se_ListServiceSpecificCredentialsRequest(input, context),
@@ -1369,9 +1159,7 @@ const se_ListServiceSpecificCredentialsCommand = async (input, context) => {
1369
1159
  };
1370
1160
  exports.se_ListServiceSpecificCredentialsCommand = se_ListServiceSpecificCredentialsCommand;
1371
1161
  const se_ListSigningCertificatesCommand = async (input, context) => {
1372
- const headers = {
1373
- "content-type": "application/x-www-form-urlencoded",
1374
- };
1162
+ const headers = SHARED_HEADERS;
1375
1163
  let body;
1376
1164
  body = buildFormUrlencodedString({
1377
1165
  ...se_ListSigningCertificatesRequest(input, context),
@@ -1382,9 +1170,7 @@ const se_ListSigningCertificatesCommand = async (input, context) => {
1382
1170
  };
1383
1171
  exports.se_ListSigningCertificatesCommand = se_ListSigningCertificatesCommand;
1384
1172
  const se_ListSSHPublicKeysCommand = async (input, context) => {
1385
- const headers = {
1386
- "content-type": "application/x-www-form-urlencoded",
1387
- };
1173
+ const headers = SHARED_HEADERS;
1388
1174
  let body;
1389
1175
  body = buildFormUrlencodedString({
1390
1176
  ...se_ListSSHPublicKeysRequest(input, context),
@@ -1395,9 +1181,7 @@ const se_ListSSHPublicKeysCommand = async (input, context) => {
1395
1181
  };
1396
1182
  exports.se_ListSSHPublicKeysCommand = se_ListSSHPublicKeysCommand;
1397
1183
  const se_ListUserPoliciesCommand = async (input, context) => {
1398
- const headers = {
1399
- "content-type": "application/x-www-form-urlencoded",
1400
- };
1184
+ const headers = SHARED_HEADERS;
1401
1185
  let body;
1402
1186
  body = buildFormUrlencodedString({
1403
1187
  ...se_ListUserPoliciesRequest(input, context),
@@ -1408,9 +1192,7 @@ const se_ListUserPoliciesCommand = async (input, context) => {
1408
1192
  };
1409
1193
  exports.se_ListUserPoliciesCommand = se_ListUserPoliciesCommand;
1410
1194
  const se_ListUsersCommand = async (input, context) => {
1411
- const headers = {
1412
- "content-type": "application/x-www-form-urlencoded",
1413
- };
1195
+ const headers = SHARED_HEADERS;
1414
1196
  let body;
1415
1197
  body = buildFormUrlencodedString({
1416
1198
  ...se_ListUsersRequest(input, context),
@@ -1421,9 +1203,7 @@ const se_ListUsersCommand = async (input, context) => {
1421
1203
  };
1422
1204
  exports.se_ListUsersCommand = se_ListUsersCommand;
1423
1205
  const se_ListUserTagsCommand = async (input, context) => {
1424
- const headers = {
1425
- "content-type": "application/x-www-form-urlencoded",
1426
- };
1206
+ const headers = SHARED_HEADERS;
1427
1207
  let body;
1428
1208
  body = buildFormUrlencodedString({
1429
1209
  ...se_ListUserTagsRequest(input, context),
@@ -1434,9 +1214,7 @@ const se_ListUserTagsCommand = async (input, context) => {
1434
1214
  };
1435
1215
  exports.se_ListUserTagsCommand = se_ListUserTagsCommand;
1436
1216
  const se_ListVirtualMFADevicesCommand = async (input, context) => {
1437
- const headers = {
1438
- "content-type": "application/x-www-form-urlencoded",
1439
- };
1217
+ const headers = SHARED_HEADERS;
1440
1218
  let body;
1441
1219
  body = buildFormUrlencodedString({
1442
1220
  ...se_ListVirtualMFADevicesRequest(input, context),
@@ -1447,9 +1225,7 @@ const se_ListVirtualMFADevicesCommand = async (input, context) => {
1447
1225
  };
1448
1226
  exports.se_ListVirtualMFADevicesCommand = se_ListVirtualMFADevicesCommand;
1449
1227
  const se_PutGroupPolicyCommand = async (input, context) => {
1450
- const headers = {
1451
- "content-type": "application/x-www-form-urlencoded",
1452
- };
1228
+ const headers = SHARED_HEADERS;
1453
1229
  let body;
1454
1230
  body = buildFormUrlencodedString({
1455
1231
  ...se_PutGroupPolicyRequest(input, context),
@@ -1460,9 +1236,7 @@ const se_PutGroupPolicyCommand = async (input, context) => {
1460
1236
  };
1461
1237
  exports.se_PutGroupPolicyCommand = se_PutGroupPolicyCommand;
1462
1238
  const se_PutRolePermissionsBoundaryCommand = async (input, context) => {
1463
- const headers = {
1464
- "content-type": "application/x-www-form-urlencoded",
1465
- };
1239
+ const headers = SHARED_HEADERS;
1466
1240
  let body;
1467
1241
  body = buildFormUrlencodedString({
1468
1242
  ...se_PutRolePermissionsBoundaryRequest(input, context),
@@ -1473,9 +1247,7 @@ const se_PutRolePermissionsBoundaryCommand = async (input, context) => {
1473
1247
  };
1474
1248
  exports.se_PutRolePermissionsBoundaryCommand = se_PutRolePermissionsBoundaryCommand;
1475
1249
  const se_PutRolePolicyCommand = async (input, context) => {
1476
- const headers = {
1477
- "content-type": "application/x-www-form-urlencoded",
1478
- };
1250
+ const headers = SHARED_HEADERS;
1479
1251
  let body;
1480
1252
  body = buildFormUrlencodedString({
1481
1253
  ...se_PutRolePolicyRequest(input, context),
@@ -1486,9 +1258,7 @@ const se_PutRolePolicyCommand = async (input, context) => {
1486
1258
  };
1487
1259
  exports.se_PutRolePolicyCommand = se_PutRolePolicyCommand;
1488
1260
  const se_PutUserPermissionsBoundaryCommand = async (input, context) => {
1489
- const headers = {
1490
- "content-type": "application/x-www-form-urlencoded",
1491
- };
1261
+ const headers = SHARED_HEADERS;
1492
1262
  let body;
1493
1263
  body = buildFormUrlencodedString({
1494
1264
  ...se_PutUserPermissionsBoundaryRequest(input, context),
@@ -1499,9 +1269,7 @@ const se_PutUserPermissionsBoundaryCommand = async (input, context) => {
1499
1269
  };
1500
1270
  exports.se_PutUserPermissionsBoundaryCommand = se_PutUserPermissionsBoundaryCommand;
1501
1271
  const se_PutUserPolicyCommand = async (input, context) => {
1502
- const headers = {
1503
- "content-type": "application/x-www-form-urlencoded",
1504
- };
1272
+ const headers = SHARED_HEADERS;
1505
1273
  let body;
1506
1274
  body = buildFormUrlencodedString({
1507
1275
  ...se_PutUserPolicyRequest(input, context),
@@ -1512,9 +1280,7 @@ const se_PutUserPolicyCommand = async (input, context) => {
1512
1280
  };
1513
1281
  exports.se_PutUserPolicyCommand = se_PutUserPolicyCommand;
1514
1282
  const se_RemoveClientIDFromOpenIDConnectProviderCommand = async (input, context) => {
1515
- const headers = {
1516
- "content-type": "application/x-www-form-urlencoded",
1517
- };
1283
+ const headers = SHARED_HEADERS;
1518
1284
  let body;
1519
1285
  body = buildFormUrlencodedString({
1520
1286
  ...se_RemoveClientIDFromOpenIDConnectProviderRequest(input, context),
@@ -1525,9 +1291,7 @@ const se_RemoveClientIDFromOpenIDConnectProviderCommand = async (input, context)
1525
1291
  };
1526
1292
  exports.se_RemoveClientIDFromOpenIDConnectProviderCommand = se_RemoveClientIDFromOpenIDConnectProviderCommand;
1527
1293
  const se_RemoveRoleFromInstanceProfileCommand = async (input, context) => {
1528
- const headers = {
1529
- "content-type": "application/x-www-form-urlencoded",
1530
- };
1294
+ const headers = SHARED_HEADERS;
1531
1295
  let body;
1532
1296
  body = buildFormUrlencodedString({
1533
1297
  ...se_RemoveRoleFromInstanceProfileRequest(input, context),
@@ -1538,9 +1302,7 @@ const se_RemoveRoleFromInstanceProfileCommand = async (input, context) => {
1538
1302
  };
1539
1303
  exports.se_RemoveRoleFromInstanceProfileCommand = se_RemoveRoleFromInstanceProfileCommand;
1540
1304
  const se_RemoveUserFromGroupCommand = async (input, context) => {
1541
- const headers = {
1542
- "content-type": "application/x-www-form-urlencoded",
1543
- };
1305
+ const headers = SHARED_HEADERS;
1544
1306
  let body;
1545
1307
  body = buildFormUrlencodedString({
1546
1308
  ...se_RemoveUserFromGroupRequest(input, context),
@@ -1551,9 +1313,7 @@ const se_RemoveUserFromGroupCommand = async (input, context) => {
1551
1313
  };
1552
1314
  exports.se_RemoveUserFromGroupCommand = se_RemoveUserFromGroupCommand;
1553
1315
  const se_ResetServiceSpecificCredentialCommand = async (input, context) => {
1554
- const headers = {
1555
- "content-type": "application/x-www-form-urlencoded",
1556
- };
1316
+ const headers = SHARED_HEADERS;
1557
1317
  let body;
1558
1318
  body = buildFormUrlencodedString({
1559
1319
  ...se_ResetServiceSpecificCredentialRequest(input, context),
@@ -1564,9 +1324,7 @@ const se_ResetServiceSpecificCredentialCommand = async (input, context) => {
1564
1324
  };
1565
1325
  exports.se_ResetServiceSpecificCredentialCommand = se_ResetServiceSpecificCredentialCommand;
1566
1326
  const se_ResyncMFADeviceCommand = async (input, context) => {
1567
- const headers = {
1568
- "content-type": "application/x-www-form-urlencoded",
1569
- };
1327
+ const headers = SHARED_HEADERS;
1570
1328
  let body;
1571
1329
  body = buildFormUrlencodedString({
1572
1330
  ...se_ResyncMFADeviceRequest(input, context),
@@ -1577,9 +1335,7 @@ const se_ResyncMFADeviceCommand = async (input, context) => {
1577
1335
  };
1578
1336
  exports.se_ResyncMFADeviceCommand = se_ResyncMFADeviceCommand;
1579
1337
  const se_SetDefaultPolicyVersionCommand = async (input, context) => {
1580
- const headers = {
1581
- "content-type": "application/x-www-form-urlencoded",
1582
- };
1338
+ const headers = SHARED_HEADERS;
1583
1339
  let body;
1584
1340
  body = buildFormUrlencodedString({
1585
1341
  ...se_SetDefaultPolicyVersionRequest(input, context),
@@ -1590,9 +1346,7 @@ const se_SetDefaultPolicyVersionCommand = async (input, context) => {
1590
1346
  };
1591
1347
  exports.se_SetDefaultPolicyVersionCommand = se_SetDefaultPolicyVersionCommand;
1592
1348
  const se_SetSecurityTokenServicePreferencesCommand = async (input, context) => {
1593
- const headers = {
1594
- "content-type": "application/x-www-form-urlencoded",
1595
- };
1349
+ const headers = SHARED_HEADERS;
1596
1350
  let body;
1597
1351
  body = buildFormUrlencodedString({
1598
1352
  ...se_SetSecurityTokenServicePreferencesRequest(input, context),
@@ -1603,9 +1357,7 @@ const se_SetSecurityTokenServicePreferencesCommand = async (input, context) => {
1603
1357
  };
1604
1358
  exports.se_SetSecurityTokenServicePreferencesCommand = se_SetSecurityTokenServicePreferencesCommand;
1605
1359
  const se_SimulateCustomPolicyCommand = async (input, context) => {
1606
- const headers = {
1607
- "content-type": "application/x-www-form-urlencoded",
1608
- };
1360
+ const headers = SHARED_HEADERS;
1609
1361
  let body;
1610
1362
  body = buildFormUrlencodedString({
1611
1363
  ...se_SimulateCustomPolicyRequest(input, context),
@@ -1616,9 +1368,7 @@ const se_SimulateCustomPolicyCommand = async (input, context) => {
1616
1368
  };
1617
1369
  exports.se_SimulateCustomPolicyCommand = se_SimulateCustomPolicyCommand;
1618
1370
  const se_SimulatePrincipalPolicyCommand = async (input, context) => {
1619
- const headers = {
1620
- "content-type": "application/x-www-form-urlencoded",
1621
- };
1371
+ const headers = SHARED_HEADERS;
1622
1372
  let body;
1623
1373
  body = buildFormUrlencodedString({
1624
1374
  ...se_SimulatePrincipalPolicyRequest(input, context),
@@ -1629,9 +1379,7 @@ const se_SimulatePrincipalPolicyCommand = async (input, context) => {
1629
1379
  };
1630
1380
  exports.se_SimulatePrincipalPolicyCommand = se_SimulatePrincipalPolicyCommand;
1631
1381
  const se_TagInstanceProfileCommand = async (input, context) => {
1632
- const headers = {
1633
- "content-type": "application/x-www-form-urlencoded",
1634
- };
1382
+ const headers = SHARED_HEADERS;
1635
1383
  let body;
1636
1384
  body = buildFormUrlencodedString({
1637
1385
  ...se_TagInstanceProfileRequest(input, context),
@@ -1642,9 +1390,7 @@ const se_TagInstanceProfileCommand = async (input, context) => {
1642
1390
  };
1643
1391
  exports.se_TagInstanceProfileCommand = se_TagInstanceProfileCommand;
1644
1392
  const se_TagMFADeviceCommand = async (input, context) => {
1645
- const headers = {
1646
- "content-type": "application/x-www-form-urlencoded",
1647
- };
1393
+ const headers = SHARED_HEADERS;
1648
1394
  let body;
1649
1395
  body = buildFormUrlencodedString({
1650
1396
  ...se_TagMFADeviceRequest(input, context),
@@ -1655,9 +1401,7 @@ const se_TagMFADeviceCommand = async (input, context) => {
1655
1401
  };
1656
1402
  exports.se_TagMFADeviceCommand = se_TagMFADeviceCommand;
1657
1403
  const se_TagOpenIDConnectProviderCommand = async (input, context) => {
1658
- const headers = {
1659
- "content-type": "application/x-www-form-urlencoded",
1660
- };
1404
+ const headers = SHARED_HEADERS;
1661
1405
  let body;
1662
1406
  body = buildFormUrlencodedString({
1663
1407
  ...se_TagOpenIDConnectProviderRequest(input, context),
@@ -1668,9 +1412,7 @@ const se_TagOpenIDConnectProviderCommand = async (input, context) => {
1668
1412
  };
1669
1413
  exports.se_TagOpenIDConnectProviderCommand = se_TagOpenIDConnectProviderCommand;
1670
1414
  const se_TagPolicyCommand = async (input, context) => {
1671
- const headers = {
1672
- "content-type": "application/x-www-form-urlencoded",
1673
- };
1415
+ const headers = SHARED_HEADERS;
1674
1416
  let body;
1675
1417
  body = buildFormUrlencodedString({
1676
1418
  ...se_TagPolicyRequest(input, context),
@@ -1681,9 +1423,7 @@ const se_TagPolicyCommand = async (input, context) => {
1681
1423
  };
1682
1424
  exports.se_TagPolicyCommand = se_TagPolicyCommand;
1683
1425
  const se_TagRoleCommand = async (input, context) => {
1684
- const headers = {
1685
- "content-type": "application/x-www-form-urlencoded",
1686
- };
1426
+ const headers = SHARED_HEADERS;
1687
1427
  let body;
1688
1428
  body = buildFormUrlencodedString({
1689
1429
  ...se_TagRoleRequest(input, context),
@@ -1694,9 +1434,7 @@ const se_TagRoleCommand = async (input, context) => {
1694
1434
  };
1695
1435
  exports.se_TagRoleCommand = se_TagRoleCommand;
1696
1436
  const se_TagSAMLProviderCommand = async (input, context) => {
1697
- const headers = {
1698
- "content-type": "application/x-www-form-urlencoded",
1699
- };
1437
+ const headers = SHARED_HEADERS;
1700
1438
  let body;
1701
1439
  body = buildFormUrlencodedString({
1702
1440
  ...se_TagSAMLProviderRequest(input, context),
@@ -1707,9 +1445,7 @@ const se_TagSAMLProviderCommand = async (input, context) => {
1707
1445
  };
1708
1446
  exports.se_TagSAMLProviderCommand = se_TagSAMLProviderCommand;
1709
1447
  const se_TagServerCertificateCommand = async (input, context) => {
1710
- const headers = {
1711
- "content-type": "application/x-www-form-urlencoded",
1712
- };
1448
+ const headers = SHARED_HEADERS;
1713
1449
  let body;
1714
1450
  body = buildFormUrlencodedString({
1715
1451
  ...se_TagServerCertificateRequest(input, context),
@@ -1720,9 +1456,7 @@ const se_TagServerCertificateCommand = async (input, context) => {
1720
1456
  };
1721
1457
  exports.se_TagServerCertificateCommand = se_TagServerCertificateCommand;
1722
1458
  const se_TagUserCommand = async (input, context) => {
1723
- const headers = {
1724
- "content-type": "application/x-www-form-urlencoded",
1725
- };
1459
+ const headers = SHARED_HEADERS;
1726
1460
  let body;
1727
1461
  body = buildFormUrlencodedString({
1728
1462
  ...se_TagUserRequest(input, context),
@@ -1733,9 +1467,7 @@ const se_TagUserCommand = async (input, context) => {
1733
1467
  };
1734
1468
  exports.se_TagUserCommand = se_TagUserCommand;
1735
1469
  const se_UntagInstanceProfileCommand = async (input, context) => {
1736
- const headers = {
1737
- "content-type": "application/x-www-form-urlencoded",
1738
- };
1470
+ const headers = SHARED_HEADERS;
1739
1471
  let body;
1740
1472
  body = buildFormUrlencodedString({
1741
1473
  ...se_UntagInstanceProfileRequest(input, context),
@@ -1746,9 +1478,7 @@ const se_UntagInstanceProfileCommand = async (input, context) => {
1746
1478
  };
1747
1479
  exports.se_UntagInstanceProfileCommand = se_UntagInstanceProfileCommand;
1748
1480
  const se_UntagMFADeviceCommand = async (input, context) => {
1749
- const headers = {
1750
- "content-type": "application/x-www-form-urlencoded",
1751
- };
1481
+ const headers = SHARED_HEADERS;
1752
1482
  let body;
1753
1483
  body = buildFormUrlencodedString({
1754
1484
  ...se_UntagMFADeviceRequest(input, context),
@@ -1759,9 +1489,7 @@ const se_UntagMFADeviceCommand = async (input, context) => {
1759
1489
  };
1760
1490
  exports.se_UntagMFADeviceCommand = se_UntagMFADeviceCommand;
1761
1491
  const se_UntagOpenIDConnectProviderCommand = async (input, context) => {
1762
- const headers = {
1763
- "content-type": "application/x-www-form-urlencoded",
1764
- };
1492
+ const headers = SHARED_HEADERS;
1765
1493
  let body;
1766
1494
  body = buildFormUrlencodedString({
1767
1495
  ...se_UntagOpenIDConnectProviderRequest(input, context),
@@ -1772,9 +1500,7 @@ const se_UntagOpenIDConnectProviderCommand = async (input, context) => {
1772
1500
  };
1773
1501
  exports.se_UntagOpenIDConnectProviderCommand = se_UntagOpenIDConnectProviderCommand;
1774
1502
  const se_UntagPolicyCommand = async (input, context) => {
1775
- const headers = {
1776
- "content-type": "application/x-www-form-urlencoded",
1777
- };
1503
+ const headers = SHARED_HEADERS;
1778
1504
  let body;
1779
1505
  body = buildFormUrlencodedString({
1780
1506
  ...se_UntagPolicyRequest(input, context),
@@ -1785,9 +1511,7 @@ const se_UntagPolicyCommand = async (input, context) => {
1785
1511
  };
1786
1512
  exports.se_UntagPolicyCommand = se_UntagPolicyCommand;
1787
1513
  const se_UntagRoleCommand = async (input, context) => {
1788
- const headers = {
1789
- "content-type": "application/x-www-form-urlencoded",
1790
- };
1514
+ const headers = SHARED_HEADERS;
1791
1515
  let body;
1792
1516
  body = buildFormUrlencodedString({
1793
1517
  ...se_UntagRoleRequest(input, context),
@@ -1798,9 +1522,7 @@ const se_UntagRoleCommand = async (input, context) => {
1798
1522
  };
1799
1523
  exports.se_UntagRoleCommand = se_UntagRoleCommand;
1800
1524
  const se_UntagSAMLProviderCommand = async (input, context) => {
1801
- const headers = {
1802
- "content-type": "application/x-www-form-urlencoded",
1803
- };
1525
+ const headers = SHARED_HEADERS;
1804
1526
  let body;
1805
1527
  body = buildFormUrlencodedString({
1806
1528
  ...se_UntagSAMLProviderRequest(input, context),
@@ -1811,9 +1533,7 @@ const se_UntagSAMLProviderCommand = async (input, context) => {
1811
1533
  };
1812
1534
  exports.se_UntagSAMLProviderCommand = se_UntagSAMLProviderCommand;
1813
1535
  const se_UntagServerCertificateCommand = async (input, context) => {
1814
- const headers = {
1815
- "content-type": "application/x-www-form-urlencoded",
1816
- };
1536
+ const headers = SHARED_HEADERS;
1817
1537
  let body;
1818
1538
  body = buildFormUrlencodedString({
1819
1539
  ...se_UntagServerCertificateRequest(input, context),
@@ -1824,9 +1544,7 @@ const se_UntagServerCertificateCommand = async (input, context) => {
1824
1544
  };
1825
1545
  exports.se_UntagServerCertificateCommand = se_UntagServerCertificateCommand;
1826
1546
  const se_UntagUserCommand = async (input, context) => {
1827
- const headers = {
1828
- "content-type": "application/x-www-form-urlencoded",
1829
- };
1547
+ const headers = SHARED_HEADERS;
1830
1548
  let body;
1831
1549
  body = buildFormUrlencodedString({
1832
1550
  ...se_UntagUserRequest(input, context),
@@ -1837,9 +1555,7 @@ const se_UntagUserCommand = async (input, context) => {
1837
1555
  };
1838
1556
  exports.se_UntagUserCommand = se_UntagUserCommand;
1839
1557
  const se_UpdateAccessKeyCommand = async (input, context) => {
1840
- const headers = {
1841
- "content-type": "application/x-www-form-urlencoded",
1842
- };
1558
+ const headers = SHARED_HEADERS;
1843
1559
  let body;
1844
1560
  body = buildFormUrlencodedString({
1845
1561
  ...se_UpdateAccessKeyRequest(input, context),
@@ -1850,9 +1566,7 @@ const se_UpdateAccessKeyCommand = async (input, context) => {
1850
1566
  };
1851
1567
  exports.se_UpdateAccessKeyCommand = se_UpdateAccessKeyCommand;
1852
1568
  const se_UpdateAccountPasswordPolicyCommand = async (input, context) => {
1853
- const headers = {
1854
- "content-type": "application/x-www-form-urlencoded",
1855
- };
1569
+ const headers = SHARED_HEADERS;
1856
1570
  let body;
1857
1571
  body = buildFormUrlencodedString({
1858
1572
  ...se_UpdateAccountPasswordPolicyRequest(input, context),
@@ -1863,9 +1577,7 @@ const se_UpdateAccountPasswordPolicyCommand = async (input, context) => {
1863
1577
  };
1864
1578
  exports.se_UpdateAccountPasswordPolicyCommand = se_UpdateAccountPasswordPolicyCommand;
1865
1579
  const se_UpdateAssumeRolePolicyCommand = async (input, context) => {
1866
- const headers = {
1867
- "content-type": "application/x-www-form-urlencoded",
1868
- };
1580
+ const headers = SHARED_HEADERS;
1869
1581
  let body;
1870
1582
  body = buildFormUrlencodedString({
1871
1583
  ...se_UpdateAssumeRolePolicyRequest(input, context),
@@ -1876,9 +1588,7 @@ const se_UpdateAssumeRolePolicyCommand = async (input, context) => {
1876
1588
  };
1877
1589
  exports.se_UpdateAssumeRolePolicyCommand = se_UpdateAssumeRolePolicyCommand;
1878
1590
  const se_UpdateGroupCommand = async (input, context) => {
1879
- const headers = {
1880
- "content-type": "application/x-www-form-urlencoded",
1881
- };
1591
+ const headers = SHARED_HEADERS;
1882
1592
  let body;
1883
1593
  body = buildFormUrlencodedString({
1884
1594
  ...se_UpdateGroupRequest(input, context),
@@ -1889,9 +1599,7 @@ const se_UpdateGroupCommand = async (input, context) => {
1889
1599
  };
1890
1600
  exports.se_UpdateGroupCommand = se_UpdateGroupCommand;
1891
1601
  const se_UpdateLoginProfileCommand = async (input, context) => {
1892
- const headers = {
1893
- "content-type": "application/x-www-form-urlencoded",
1894
- };
1602
+ const headers = SHARED_HEADERS;
1895
1603
  let body;
1896
1604
  body = buildFormUrlencodedString({
1897
1605
  ...se_UpdateLoginProfileRequest(input, context),
@@ -1902,9 +1610,7 @@ const se_UpdateLoginProfileCommand = async (input, context) => {
1902
1610
  };
1903
1611
  exports.se_UpdateLoginProfileCommand = se_UpdateLoginProfileCommand;
1904
1612
  const se_UpdateOpenIDConnectProviderThumbprintCommand = async (input, context) => {
1905
- const headers = {
1906
- "content-type": "application/x-www-form-urlencoded",
1907
- };
1613
+ const headers = SHARED_HEADERS;
1908
1614
  let body;
1909
1615
  body = buildFormUrlencodedString({
1910
1616
  ...se_UpdateOpenIDConnectProviderThumbprintRequest(input, context),
@@ -1915,9 +1621,7 @@ const se_UpdateOpenIDConnectProviderThumbprintCommand = async (input, context) =
1915
1621
  };
1916
1622
  exports.se_UpdateOpenIDConnectProviderThumbprintCommand = se_UpdateOpenIDConnectProviderThumbprintCommand;
1917
1623
  const se_UpdateRoleCommand = async (input, context) => {
1918
- const headers = {
1919
- "content-type": "application/x-www-form-urlencoded",
1920
- };
1624
+ const headers = SHARED_HEADERS;
1921
1625
  let body;
1922
1626
  body = buildFormUrlencodedString({
1923
1627
  ...se_UpdateRoleRequest(input, context),
@@ -1928,9 +1632,7 @@ const se_UpdateRoleCommand = async (input, context) => {
1928
1632
  };
1929
1633
  exports.se_UpdateRoleCommand = se_UpdateRoleCommand;
1930
1634
  const se_UpdateRoleDescriptionCommand = async (input, context) => {
1931
- const headers = {
1932
- "content-type": "application/x-www-form-urlencoded",
1933
- };
1635
+ const headers = SHARED_HEADERS;
1934
1636
  let body;
1935
1637
  body = buildFormUrlencodedString({
1936
1638
  ...se_UpdateRoleDescriptionRequest(input, context),
@@ -1941,9 +1643,7 @@ const se_UpdateRoleDescriptionCommand = async (input, context) => {
1941
1643
  };
1942
1644
  exports.se_UpdateRoleDescriptionCommand = se_UpdateRoleDescriptionCommand;
1943
1645
  const se_UpdateSAMLProviderCommand = async (input, context) => {
1944
- const headers = {
1945
- "content-type": "application/x-www-form-urlencoded",
1946
- };
1646
+ const headers = SHARED_HEADERS;
1947
1647
  let body;
1948
1648
  body = buildFormUrlencodedString({
1949
1649
  ...se_UpdateSAMLProviderRequest(input, context),
@@ -1954,9 +1654,7 @@ const se_UpdateSAMLProviderCommand = async (input, context) => {
1954
1654
  };
1955
1655
  exports.se_UpdateSAMLProviderCommand = se_UpdateSAMLProviderCommand;
1956
1656
  const se_UpdateServerCertificateCommand = async (input, context) => {
1957
- const headers = {
1958
- "content-type": "application/x-www-form-urlencoded",
1959
- };
1657
+ const headers = SHARED_HEADERS;
1960
1658
  let body;
1961
1659
  body = buildFormUrlencodedString({
1962
1660
  ...se_UpdateServerCertificateRequest(input, context),
@@ -1967,9 +1665,7 @@ const se_UpdateServerCertificateCommand = async (input, context) => {
1967
1665
  };
1968
1666
  exports.se_UpdateServerCertificateCommand = se_UpdateServerCertificateCommand;
1969
1667
  const se_UpdateServiceSpecificCredentialCommand = async (input, context) => {
1970
- const headers = {
1971
- "content-type": "application/x-www-form-urlencoded",
1972
- };
1668
+ const headers = SHARED_HEADERS;
1973
1669
  let body;
1974
1670
  body = buildFormUrlencodedString({
1975
1671
  ...se_UpdateServiceSpecificCredentialRequest(input, context),
@@ -1980,9 +1676,7 @@ const se_UpdateServiceSpecificCredentialCommand = async (input, context) => {
1980
1676
  };
1981
1677
  exports.se_UpdateServiceSpecificCredentialCommand = se_UpdateServiceSpecificCredentialCommand;
1982
1678
  const se_UpdateSigningCertificateCommand = async (input, context) => {
1983
- const headers = {
1984
- "content-type": "application/x-www-form-urlencoded",
1985
- };
1679
+ const headers = SHARED_HEADERS;
1986
1680
  let body;
1987
1681
  body = buildFormUrlencodedString({
1988
1682
  ...se_UpdateSigningCertificateRequest(input, context),
@@ -1993,9 +1687,7 @@ const se_UpdateSigningCertificateCommand = async (input, context) => {
1993
1687
  };
1994
1688
  exports.se_UpdateSigningCertificateCommand = se_UpdateSigningCertificateCommand;
1995
1689
  const se_UpdateSSHPublicKeyCommand = async (input, context) => {
1996
- const headers = {
1997
- "content-type": "application/x-www-form-urlencoded",
1998
- };
1690
+ const headers = SHARED_HEADERS;
1999
1691
  let body;
2000
1692
  body = buildFormUrlencodedString({
2001
1693
  ...se_UpdateSSHPublicKeyRequest(input, context),
@@ -2006,9 +1698,7 @@ const se_UpdateSSHPublicKeyCommand = async (input, context) => {
2006
1698
  };
2007
1699
  exports.se_UpdateSSHPublicKeyCommand = se_UpdateSSHPublicKeyCommand;
2008
1700
  const se_UpdateUserCommand = async (input, context) => {
2009
- const headers = {
2010
- "content-type": "application/x-www-form-urlencoded",
2011
- };
1701
+ const headers = SHARED_HEADERS;
2012
1702
  let body;
2013
1703
  body = buildFormUrlencodedString({
2014
1704
  ...se_UpdateUserRequest(input, context),
@@ -2019,9 +1709,7 @@ const se_UpdateUserCommand = async (input, context) => {
2019
1709
  };
2020
1710
  exports.se_UpdateUserCommand = se_UpdateUserCommand;
2021
1711
  const se_UploadServerCertificateCommand = async (input, context) => {
2022
- const headers = {
2023
- "content-type": "application/x-www-form-urlencoded",
2024
- };
1712
+ const headers = SHARED_HEADERS;
2025
1713
  let body;
2026
1714
  body = buildFormUrlencodedString({
2027
1715
  ...se_UploadServerCertificateRequest(input, context),
@@ -2032,9 +1720,7 @@ const se_UploadServerCertificateCommand = async (input, context) => {
2032
1720
  };
2033
1721
  exports.se_UploadServerCertificateCommand = se_UploadServerCertificateCommand;
2034
1722
  const se_UploadSigningCertificateCommand = async (input, context) => {
2035
- const headers = {
2036
- "content-type": "application/x-www-form-urlencoded",
2037
- };
1723
+ const headers = SHARED_HEADERS;
2038
1724
  let body;
2039
1725
  body = buildFormUrlencodedString({
2040
1726
  ...se_UploadSigningCertificateRequest(input, context),
@@ -2045,9 +1731,7 @@ const se_UploadSigningCertificateCommand = async (input, context) => {
2045
1731
  };
2046
1732
  exports.se_UploadSigningCertificateCommand = se_UploadSigningCertificateCommand;
2047
1733
  const se_UploadSSHPublicKeyCommand = async (input, context) => {
2048
- const headers = {
2049
- "content-type": "application/x-www-form-urlencoded",
2050
- };
1734
+ const headers = SHARED_HEADERS;
2051
1735
  let body;
2052
1736
  body = buildFormUrlencodedString({
2053
1737
  ...se_UploadSSHPublicKeyRequest(input, context),
@@ -13361,6 +13045,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
13361
13045
  }
13362
13046
  return new protocol_http_1.HttpRequest(contents);
13363
13047
  };
13048
+ const SHARED_HEADERS = {
13049
+ "content-type": "application/x-www-form-urlencoded",
13050
+ };
13364
13051
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
13365
13052
  if (encoded.length) {
13366
13053
  const parser = new fast_xml_parser_1.XMLParser({