@aws-sdk/client-redshift 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.
@@ -5,9 +5,7 @@ import { AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, Authentication
5
5
  import { EndpointAuthorizationNotFoundFault, IncompatibleOrderableOptions, InProgressTableRestoreQuotaExceededFault, InsufficientS3BucketPolicyFault, InvalidRestoreFault, InvalidS3BucketNameFault, InvalidS3KeyPrefixFault, InvalidTableRestoreArgumentFault, ReservedNodeExchangeNotFoundFault, ReservedNodeQuotaExceededFault, SnapshotCopyAlreadyDisabledFault, SnapshotCopyAlreadyEnabledFault, SnapshotCopyDisabledFault, SnapshotScheduleUpdateInProgressFault, SubnetAlreadyInUse, TableLimitExceededFault, TableRestoreNotFoundFault, UnknownSnapshotCopyRegionFault, UnsupportedOptionFault, } from "../models/models_1";
6
6
  import { RedshiftServiceException as __BaseException } from "../models/RedshiftServiceException";
7
7
  export const se_AcceptReservedNodeExchangeCommand = async (input, context) => {
8
- const headers = {
9
- "content-type": "application/x-www-form-urlencoded",
10
- };
8
+ const headers = SHARED_HEADERS;
11
9
  let body;
12
10
  body = buildFormUrlencodedString({
13
11
  ...se_AcceptReservedNodeExchangeInputMessage(input, context),
@@ -17,9 +15,7 @@ export const se_AcceptReservedNodeExchangeCommand = async (input, context) => {
17
15
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
18
16
  };
19
17
  export const se_AddPartnerCommand = async (input, context) => {
20
- const headers = {
21
- "content-type": "application/x-www-form-urlencoded",
22
- };
18
+ const headers = SHARED_HEADERS;
23
19
  let body;
24
20
  body = buildFormUrlencodedString({
25
21
  ...se_PartnerIntegrationInputMessage(input, context),
@@ -29,9 +25,7 @@ export const se_AddPartnerCommand = async (input, context) => {
29
25
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
30
26
  };
31
27
  export const se_AssociateDataShareConsumerCommand = async (input, context) => {
32
- const headers = {
33
- "content-type": "application/x-www-form-urlencoded",
34
- };
28
+ const headers = SHARED_HEADERS;
35
29
  let body;
36
30
  body = buildFormUrlencodedString({
37
31
  ...se_AssociateDataShareConsumerMessage(input, context),
@@ -41,9 +35,7 @@ export const se_AssociateDataShareConsumerCommand = async (input, context) => {
41
35
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
42
36
  };
43
37
  export const se_AuthorizeClusterSecurityGroupIngressCommand = async (input, context) => {
44
- const headers = {
45
- "content-type": "application/x-www-form-urlencoded",
46
- };
38
+ const headers = SHARED_HEADERS;
47
39
  let body;
48
40
  body = buildFormUrlencodedString({
49
41
  ...se_AuthorizeClusterSecurityGroupIngressMessage(input, context),
@@ -53,9 +45,7 @@ export const se_AuthorizeClusterSecurityGroupIngressCommand = async (input, cont
53
45
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
54
46
  };
55
47
  export const se_AuthorizeDataShareCommand = async (input, context) => {
56
- const headers = {
57
- "content-type": "application/x-www-form-urlencoded",
58
- };
48
+ const headers = SHARED_HEADERS;
59
49
  let body;
60
50
  body = buildFormUrlencodedString({
61
51
  ...se_AuthorizeDataShareMessage(input, context),
@@ -65,9 +55,7 @@ export const se_AuthorizeDataShareCommand = async (input, context) => {
65
55
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
66
56
  };
67
57
  export const se_AuthorizeEndpointAccessCommand = async (input, context) => {
68
- const headers = {
69
- "content-type": "application/x-www-form-urlencoded",
70
- };
58
+ const headers = SHARED_HEADERS;
71
59
  let body;
72
60
  body = buildFormUrlencodedString({
73
61
  ...se_AuthorizeEndpointAccessMessage(input, context),
@@ -77,9 +65,7 @@ export const se_AuthorizeEndpointAccessCommand = async (input, context) => {
77
65
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
78
66
  };
79
67
  export const se_AuthorizeSnapshotAccessCommand = async (input, context) => {
80
- const headers = {
81
- "content-type": "application/x-www-form-urlencoded",
82
- };
68
+ const headers = SHARED_HEADERS;
83
69
  let body;
84
70
  body = buildFormUrlencodedString({
85
71
  ...se_AuthorizeSnapshotAccessMessage(input, context),
@@ -89,9 +75,7 @@ export const se_AuthorizeSnapshotAccessCommand = async (input, context) => {
89
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
90
76
  };
91
77
  export const se_BatchDeleteClusterSnapshotsCommand = async (input, context) => {
92
- const headers = {
93
- "content-type": "application/x-www-form-urlencoded",
94
- };
78
+ const headers = SHARED_HEADERS;
95
79
  let body;
96
80
  body = buildFormUrlencodedString({
97
81
  ...se_BatchDeleteClusterSnapshotsRequest(input, context),
@@ -101,9 +85,7 @@ export const se_BatchDeleteClusterSnapshotsCommand = async (input, context) => {
101
85
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
102
86
  };
103
87
  export const se_BatchModifyClusterSnapshotsCommand = async (input, context) => {
104
- const headers = {
105
- "content-type": "application/x-www-form-urlencoded",
106
- };
88
+ const headers = SHARED_HEADERS;
107
89
  let body;
108
90
  body = buildFormUrlencodedString({
109
91
  ...se_BatchModifyClusterSnapshotsMessage(input, context),
@@ -113,9 +95,7 @@ export const se_BatchModifyClusterSnapshotsCommand = async (input, context) => {
113
95
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
114
96
  };
115
97
  export const se_CancelResizeCommand = async (input, context) => {
116
- const headers = {
117
- "content-type": "application/x-www-form-urlencoded",
118
- };
98
+ const headers = SHARED_HEADERS;
119
99
  let body;
120
100
  body = buildFormUrlencodedString({
121
101
  ...se_CancelResizeMessage(input, context),
@@ -125,9 +105,7 @@ export const se_CancelResizeCommand = async (input, context) => {
125
105
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
126
106
  };
127
107
  export const se_CopyClusterSnapshotCommand = async (input, context) => {
128
- const headers = {
129
- "content-type": "application/x-www-form-urlencoded",
130
- };
108
+ const headers = SHARED_HEADERS;
131
109
  let body;
132
110
  body = buildFormUrlencodedString({
133
111
  ...se_CopyClusterSnapshotMessage(input, context),
@@ -137,9 +115,7 @@ export const se_CopyClusterSnapshotCommand = async (input, context) => {
137
115
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
138
116
  };
139
117
  export const se_CreateAuthenticationProfileCommand = async (input, context) => {
140
- const headers = {
141
- "content-type": "application/x-www-form-urlencoded",
142
- };
118
+ const headers = SHARED_HEADERS;
143
119
  let body;
144
120
  body = buildFormUrlencodedString({
145
121
  ...se_CreateAuthenticationProfileMessage(input, context),
@@ -149,9 +125,7 @@ export const se_CreateAuthenticationProfileCommand = async (input, context) => {
149
125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
150
126
  };
151
127
  export const se_CreateClusterCommand = async (input, context) => {
152
- const headers = {
153
- "content-type": "application/x-www-form-urlencoded",
154
- };
128
+ const headers = SHARED_HEADERS;
155
129
  let body;
156
130
  body = buildFormUrlencodedString({
157
131
  ...se_CreateClusterMessage(input, context),
@@ -161,9 +135,7 @@ export const se_CreateClusterCommand = async (input, context) => {
161
135
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
162
136
  };
163
137
  export const se_CreateClusterParameterGroupCommand = async (input, context) => {
164
- const headers = {
165
- "content-type": "application/x-www-form-urlencoded",
166
- };
138
+ const headers = SHARED_HEADERS;
167
139
  let body;
168
140
  body = buildFormUrlencodedString({
169
141
  ...se_CreateClusterParameterGroupMessage(input, context),
@@ -173,9 +145,7 @@ export const se_CreateClusterParameterGroupCommand = async (input, context) => {
173
145
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
174
146
  };
175
147
  export const se_CreateClusterSecurityGroupCommand = async (input, context) => {
176
- const headers = {
177
- "content-type": "application/x-www-form-urlencoded",
178
- };
148
+ const headers = SHARED_HEADERS;
179
149
  let body;
180
150
  body = buildFormUrlencodedString({
181
151
  ...se_CreateClusterSecurityGroupMessage(input, context),
@@ -185,9 +155,7 @@ export const se_CreateClusterSecurityGroupCommand = async (input, context) => {
185
155
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
186
156
  };
187
157
  export const se_CreateClusterSnapshotCommand = async (input, context) => {
188
- const headers = {
189
- "content-type": "application/x-www-form-urlencoded",
190
- };
158
+ const headers = SHARED_HEADERS;
191
159
  let body;
192
160
  body = buildFormUrlencodedString({
193
161
  ...se_CreateClusterSnapshotMessage(input, context),
@@ -197,9 +165,7 @@ export const se_CreateClusterSnapshotCommand = async (input, context) => {
197
165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
198
166
  };
199
167
  export const se_CreateClusterSubnetGroupCommand = async (input, context) => {
200
- const headers = {
201
- "content-type": "application/x-www-form-urlencoded",
202
- };
168
+ const headers = SHARED_HEADERS;
203
169
  let body;
204
170
  body = buildFormUrlencodedString({
205
171
  ...se_CreateClusterSubnetGroupMessage(input, context),
@@ -209,9 +175,7 @@ export const se_CreateClusterSubnetGroupCommand = async (input, context) => {
209
175
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
210
176
  };
211
177
  export const se_CreateEndpointAccessCommand = async (input, context) => {
212
- const headers = {
213
- "content-type": "application/x-www-form-urlencoded",
214
- };
178
+ const headers = SHARED_HEADERS;
215
179
  let body;
216
180
  body = buildFormUrlencodedString({
217
181
  ...se_CreateEndpointAccessMessage(input, context),
@@ -221,9 +185,7 @@ export const se_CreateEndpointAccessCommand = async (input, context) => {
221
185
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
222
186
  };
223
187
  export const se_CreateEventSubscriptionCommand = async (input, context) => {
224
- const headers = {
225
- "content-type": "application/x-www-form-urlencoded",
226
- };
188
+ const headers = SHARED_HEADERS;
227
189
  let body;
228
190
  body = buildFormUrlencodedString({
229
191
  ...se_CreateEventSubscriptionMessage(input, context),
@@ -233,9 +195,7 @@ export const se_CreateEventSubscriptionCommand = async (input, context) => {
233
195
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
234
196
  };
235
197
  export const se_CreateHsmClientCertificateCommand = async (input, context) => {
236
- const headers = {
237
- "content-type": "application/x-www-form-urlencoded",
238
- };
198
+ const headers = SHARED_HEADERS;
239
199
  let body;
240
200
  body = buildFormUrlencodedString({
241
201
  ...se_CreateHsmClientCertificateMessage(input, context),
@@ -245,9 +205,7 @@ export const se_CreateHsmClientCertificateCommand = async (input, context) => {
245
205
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
246
206
  };
247
207
  export const se_CreateHsmConfigurationCommand = async (input, context) => {
248
- const headers = {
249
- "content-type": "application/x-www-form-urlencoded",
250
- };
208
+ const headers = SHARED_HEADERS;
251
209
  let body;
252
210
  body = buildFormUrlencodedString({
253
211
  ...se_CreateHsmConfigurationMessage(input, context),
@@ -257,9 +215,7 @@ export const se_CreateHsmConfigurationCommand = async (input, context) => {
257
215
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
258
216
  };
259
217
  export const se_CreateScheduledActionCommand = async (input, context) => {
260
- const headers = {
261
- "content-type": "application/x-www-form-urlencoded",
262
- };
218
+ const headers = SHARED_HEADERS;
263
219
  let body;
264
220
  body = buildFormUrlencodedString({
265
221
  ...se_CreateScheduledActionMessage(input, context),
@@ -269,9 +225,7 @@ export const se_CreateScheduledActionCommand = async (input, context) => {
269
225
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
270
226
  };
271
227
  export const se_CreateSnapshotCopyGrantCommand = async (input, context) => {
272
- const headers = {
273
- "content-type": "application/x-www-form-urlencoded",
274
- };
228
+ const headers = SHARED_HEADERS;
275
229
  let body;
276
230
  body = buildFormUrlencodedString({
277
231
  ...se_CreateSnapshotCopyGrantMessage(input, context),
@@ -281,9 +235,7 @@ export const se_CreateSnapshotCopyGrantCommand = async (input, context) => {
281
235
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
282
236
  };
283
237
  export const se_CreateSnapshotScheduleCommand = async (input, context) => {
284
- const headers = {
285
- "content-type": "application/x-www-form-urlencoded",
286
- };
238
+ const headers = SHARED_HEADERS;
287
239
  let body;
288
240
  body = buildFormUrlencodedString({
289
241
  ...se_CreateSnapshotScheduleMessage(input, context),
@@ -293,9 +245,7 @@ export const se_CreateSnapshotScheduleCommand = async (input, context) => {
293
245
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
294
246
  };
295
247
  export const se_CreateTagsCommand = async (input, context) => {
296
- const headers = {
297
- "content-type": "application/x-www-form-urlencoded",
298
- };
248
+ const headers = SHARED_HEADERS;
299
249
  let body;
300
250
  body = buildFormUrlencodedString({
301
251
  ...se_CreateTagsMessage(input, context),
@@ -305,9 +255,7 @@ export const se_CreateTagsCommand = async (input, context) => {
305
255
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
306
256
  };
307
257
  export const se_CreateUsageLimitCommand = async (input, context) => {
308
- const headers = {
309
- "content-type": "application/x-www-form-urlencoded",
310
- };
258
+ const headers = SHARED_HEADERS;
311
259
  let body;
312
260
  body = buildFormUrlencodedString({
313
261
  ...se_CreateUsageLimitMessage(input, context),
@@ -317,9 +265,7 @@ export const se_CreateUsageLimitCommand = async (input, context) => {
317
265
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
318
266
  };
319
267
  export const se_DeauthorizeDataShareCommand = async (input, context) => {
320
- const headers = {
321
- "content-type": "application/x-www-form-urlencoded",
322
- };
268
+ const headers = SHARED_HEADERS;
323
269
  let body;
324
270
  body = buildFormUrlencodedString({
325
271
  ...se_DeauthorizeDataShareMessage(input, context),
@@ -329,9 +275,7 @@ export const se_DeauthorizeDataShareCommand = async (input, context) => {
329
275
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
330
276
  };
331
277
  export const se_DeleteAuthenticationProfileCommand = async (input, context) => {
332
- const headers = {
333
- "content-type": "application/x-www-form-urlencoded",
334
- };
278
+ const headers = SHARED_HEADERS;
335
279
  let body;
336
280
  body = buildFormUrlencodedString({
337
281
  ...se_DeleteAuthenticationProfileMessage(input, context),
@@ -341,9 +285,7 @@ export const se_DeleteAuthenticationProfileCommand = async (input, context) => {
341
285
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
342
286
  };
343
287
  export const se_DeleteClusterCommand = async (input, context) => {
344
- const headers = {
345
- "content-type": "application/x-www-form-urlencoded",
346
- };
288
+ const headers = SHARED_HEADERS;
347
289
  let body;
348
290
  body = buildFormUrlencodedString({
349
291
  ...se_DeleteClusterMessage(input, context),
@@ -353,9 +295,7 @@ export const se_DeleteClusterCommand = async (input, context) => {
353
295
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
354
296
  };
355
297
  export const se_DeleteClusterParameterGroupCommand = async (input, context) => {
356
- const headers = {
357
- "content-type": "application/x-www-form-urlencoded",
358
- };
298
+ const headers = SHARED_HEADERS;
359
299
  let body;
360
300
  body = buildFormUrlencodedString({
361
301
  ...se_DeleteClusterParameterGroupMessage(input, context),
@@ -365,9 +305,7 @@ export const se_DeleteClusterParameterGroupCommand = async (input, context) => {
365
305
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
366
306
  };
367
307
  export const se_DeleteClusterSecurityGroupCommand = async (input, context) => {
368
- const headers = {
369
- "content-type": "application/x-www-form-urlencoded",
370
- };
308
+ const headers = SHARED_HEADERS;
371
309
  let body;
372
310
  body = buildFormUrlencodedString({
373
311
  ...se_DeleteClusterSecurityGroupMessage(input, context),
@@ -377,9 +315,7 @@ export const se_DeleteClusterSecurityGroupCommand = async (input, context) => {
377
315
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
378
316
  };
379
317
  export const se_DeleteClusterSnapshotCommand = async (input, context) => {
380
- const headers = {
381
- "content-type": "application/x-www-form-urlencoded",
382
- };
318
+ const headers = SHARED_HEADERS;
383
319
  let body;
384
320
  body = buildFormUrlencodedString({
385
321
  ...se_DeleteClusterSnapshotMessage(input, context),
@@ -389,9 +325,7 @@ export const se_DeleteClusterSnapshotCommand = async (input, context) => {
389
325
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
390
326
  };
391
327
  export const se_DeleteClusterSubnetGroupCommand = async (input, context) => {
392
- const headers = {
393
- "content-type": "application/x-www-form-urlencoded",
394
- };
328
+ const headers = SHARED_HEADERS;
395
329
  let body;
396
330
  body = buildFormUrlencodedString({
397
331
  ...se_DeleteClusterSubnetGroupMessage(input, context),
@@ -401,9 +335,7 @@ export const se_DeleteClusterSubnetGroupCommand = async (input, context) => {
401
335
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
402
336
  };
403
337
  export const se_DeleteEndpointAccessCommand = async (input, context) => {
404
- const headers = {
405
- "content-type": "application/x-www-form-urlencoded",
406
- };
338
+ const headers = SHARED_HEADERS;
407
339
  let body;
408
340
  body = buildFormUrlencodedString({
409
341
  ...se_DeleteEndpointAccessMessage(input, context),
@@ -413,9 +345,7 @@ export const se_DeleteEndpointAccessCommand = async (input, context) => {
413
345
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
414
346
  };
415
347
  export const se_DeleteEventSubscriptionCommand = async (input, context) => {
416
- const headers = {
417
- "content-type": "application/x-www-form-urlencoded",
418
- };
348
+ const headers = SHARED_HEADERS;
419
349
  let body;
420
350
  body = buildFormUrlencodedString({
421
351
  ...se_DeleteEventSubscriptionMessage(input, context),
@@ -425,9 +355,7 @@ export const se_DeleteEventSubscriptionCommand = async (input, context) => {
425
355
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
426
356
  };
427
357
  export const se_DeleteHsmClientCertificateCommand = async (input, context) => {
428
- const headers = {
429
- "content-type": "application/x-www-form-urlencoded",
430
- };
358
+ const headers = SHARED_HEADERS;
431
359
  let body;
432
360
  body = buildFormUrlencodedString({
433
361
  ...se_DeleteHsmClientCertificateMessage(input, context),
@@ -437,9 +365,7 @@ export const se_DeleteHsmClientCertificateCommand = async (input, context) => {
437
365
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
438
366
  };
439
367
  export const se_DeleteHsmConfigurationCommand = async (input, context) => {
440
- const headers = {
441
- "content-type": "application/x-www-form-urlencoded",
442
- };
368
+ const headers = SHARED_HEADERS;
443
369
  let body;
444
370
  body = buildFormUrlencodedString({
445
371
  ...se_DeleteHsmConfigurationMessage(input, context),
@@ -449,9 +375,7 @@ export const se_DeleteHsmConfigurationCommand = async (input, context) => {
449
375
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
450
376
  };
451
377
  export const se_DeletePartnerCommand = async (input, context) => {
452
- const headers = {
453
- "content-type": "application/x-www-form-urlencoded",
454
- };
378
+ const headers = SHARED_HEADERS;
455
379
  let body;
456
380
  body = buildFormUrlencodedString({
457
381
  ...se_PartnerIntegrationInputMessage(input, context),
@@ -461,9 +385,7 @@ export const se_DeletePartnerCommand = async (input, context) => {
461
385
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
462
386
  };
463
387
  export const se_DeleteScheduledActionCommand = async (input, context) => {
464
- const headers = {
465
- "content-type": "application/x-www-form-urlencoded",
466
- };
388
+ const headers = SHARED_HEADERS;
467
389
  let body;
468
390
  body = buildFormUrlencodedString({
469
391
  ...se_DeleteScheduledActionMessage(input, context),
@@ -473,9 +395,7 @@ export const se_DeleteScheduledActionCommand = async (input, context) => {
473
395
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
474
396
  };
475
397
  export const se_DeleteSnapshotCopyGrantCommand = async (input, context) => {
476
- const headers = {
477
- "content-type": "application/x-www-form-urlencoded",
478
- };
398
+ const headers = SHARED_HEADERS;
479
399
  let body;
480
400
  body = buildFormUrlencodedString({
481
401
  ...se_DeleteSnapshotCopyGrantMessage(input, context),
@@ -485,9 +405,7 @@ export const se_DeleteSnapshotCopyGrantCommand = async (input, context) => {
485
405
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
486
406
  };
487
407
  export const se_DeleteSnapshotScheduleCommand = async (input, context) => {
488
- const headers = {
489
- "content-type": "application/x-www-form-urlencoded",
490
- };
408
+ const headers = SHARED_HEADERS;
491
409
  let body;
492
410
  body = buildFormUrlencodedString({
493
411
  ...se_DeleteSnapshotScheduleMessage(input, context),
@@ -497,9 +415,7 @@ export const se_DeleteSnapshotScheduleCommand = async (input, context) => {
497
415
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
498
416
  };
499
417
  export const se_DeleteTagsCommand = async (input, context) => {
500
- const headers = {
501
- "content-type": "application/x-www-form-urlencoded",
502
- };
418
+ const headers = SHARED_HEADERS;
503
419
  let body;
504
420
  body = buildFormUrlencodedString({
505
421
  ...se_DeleteTagsMessage(input, context),
@@ -509,9 +425,7 @@ export const se_DeleteTagsCommand = async (input, context) => {
509
425
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
510
426
  };
511
427
  export const se_DeleteUsageLimitCommand = async (input, context) => {
512
- const headers = {
513
- "content-type": "application/x-www-form-urlencoded",
514
- };
428
+ const headers = SHARED_HEADERS;
515
429
  let body;
516
430
  body = buildFormUrlencodedString({
517
431
  ...se_DeleteUsageLimitMessage(input, context),
@@ -521,9 +435,7 @@ export const se_DeleteUsageLimitCommand = async (input, context) => {
521
435
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
522
436
  };
523
437
  export const se_DescribeAccountAttributesCommand = async (input, context) => {
524
- const headers = {
525
- "content-type": "application/x-www-form-urlencoded",
526
- };
438
+ const headers = SHARED_HEADERS;
527
439
  let body;
528
440
  body = buildFormUrlencodedString({
529
441
  ...se_DescribeAccountAttributesMessage(input, context),
@@ -533,9 +445,7 @@ export const se_DescribeAccountAttributesCommand = async (input, context) => {
533
445
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
534
446
  };
535
447
  export const se_DescribeAuthenticationProfilesCommand = async (input, context) => {
536
- const headers = {
537
- "content-type": "application/x-www-form-urlencoded",
538
- };
448
+ const headers = SHARED_HEADERS;
539
449
  let body;
540
450
  body = buildFormUrlencodedString({
541
451
  ...se_DescribeAuthenticationProfilesMessage(input, context),
@@ -545,9 +455,7 @@ export const se_DescribeAuthenticationProfilesCommand = async (input, context) =
545
455
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
546
456
  };
547
457
  export const se_DescribeClusterDbRevisionsCommand = async (input, context) => {
548
- const headers = {
549
- "content-type": "application/x-www-form-urlencoded",
550
- };
458
+ const headers = SHARED_HEADERS;
551
459
  let body;
552
460
  body = buildFormUrlencodedString({
553
461
  ...se_DescribeClusterDbRevisionsMessage(input, context),
@@ -557,9 +465,7 @@ export const se_DescribeClusterDbRevisionsCommand = async (input, context) => {
557
465
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
558
466
  };
559
467
  export const se_DescribeClusterParameterGroupsCommand = async (input, context) => {
560
- const headers = {
561
- "content-type": "application/x-www-form-urlencoded",
562
- };
468
+ const headers = SHARED_HEADERS;
563
469
  let body;
564
470
  body = buildFormUrlencodedString({
565
471
  ...se_DescribeClusterParameterGroupsMessage(input, context),
@@ -569,9 +475,7 @@ export const se_DescribeClusterParameterGroupsCommand = async (input, context) =
569
475
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
570
476
  };
571
477
  export const se_DescribeClusterParametersCommand = async (input, context) => {
572
- const headers = {
573
- "content-type": "application/x-www-form-urlencoded",
574
- };
478
+ const headers = SHARED_HEADERS;
575
479
  let body;
576
480
  body = buildFormUrlencodedString({
577
481
  ...se_DescribeClusterParametersMessage(input, context),
@@ -581,9 +485,7 @@ export const se_DescribeClusterParametersCommand = async (input, context) => {
581
485
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
582
486
  };
583
487
  export const se_DescribeClustersCommand = async (input, context) => {
584
- const headers = {
585
- "content-type": "application/x-www-form-urlencoded",
586
- };
488
+ const headers = SHARED_HEADERS;
587
489
  let body;
588
490
  body = buildFormUrlencodedString({
589
491
  ...se_DescribeClustersMessage(input, context),
@@ -593,9 +495,7 @@ export const se_DescribeClustersCommand = async (input, context) => {
593
495
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
594
496
  };
595
497
  export const se_DescribeClusterSecurityGroupsCommand = async (input, context) => {
596
- const headers = {
597
- "content-type": "application/x-www-form-urlencoded",
598
- };
498
+ const headers = SHARED_HEADERS;
599
499
  let body;
600
500
  body = buildFormUrlencodedString({
601
501
  ...se_DescribeClusterSecurityGroupsMessage(input, context),
@@ -605,9 +505,7 @@ export const se_DescribeClusterSecurityGroupsCommand = async (input, context) =>
605
505
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
606
506
  };
607
507
  export const se_DescribeClusterSnapshotsCommand = async (input, context) => {
608
- const headers = {
609
- "content-type": "application/x-www-form-urlencoded",
610
- };
508
+ const headers = SHARED_HEADERS;
611
509
  let body;
612
510
  body = buildFormUrlencodedString({
613
511
  ...se_DescribeClusterSnapshotsMessage(input, context),
@@ -617,9 +515,7 @@ export const se_DescribeClusterSnapshotsCommand = async (input, context) => {
617
515
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
618
516
  };
619
517
  export const se_DescribeClusterSubnetGroupsCommand = async (input, context) => {
620
- const headers = {
621
- "content-type": "application/x-www-form-urlencoded",
622
- };
518
+ const headers = SHARED_HEADERS;
623
519
  let body;
624
520
  body = buildFormUrlencodedString({
625
521
  ...se_DescribeClusterSubnetGroupsMessage(input, context),
@@ -629,9 +525,7 @@ export const se_DescribeClusterSubnetGroupsCommand = async (input, context) => {
629
525
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
630
526
  };
631
527
  export const se_DescribeClusterTracksCommand = async (input, context) => {
632
- const headers = {
633
- "content-type": "application/x-www-form-urlencoded",
634
- };
528
+ const headers = SHARED_HEADERS;
635
529
  let body;
636
530
  body = buildFormUrlencodedString({
637
531
  ...se_DescribeClusterTracksMessage(input, context),
@@ -641,9 +535,7 @@ export const se_DescribeClusterTracksCommand = async (input, context) => {
641
535
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
642
536
  };
643
537
  export const se_DescribeClusterVersionsCommand = async (input, context) => {
644
- const headers = {
645
- "content-type": "application/x-www-form-urlencoded",
646
- };
538
+ const headers = SHARED_HEADERS;
647
539
  let body;
648
540
  body = buildFormUrlencodedString({
649
541
  ...se_DescribeClusterVersionsMessage(input, context),
@@ -653,9 +545,7 @@ export const se_DescribeClusterVersionsCommand = async (input, context) => {
653
545
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
654
546
  };
655
547
  export const se_DescribeDataSharesCommand = async (input, context) => {
656
- const headers = {
657
- "content-type": "application/x-www-form-urlencoded",
658
- };
548
+ const headers = SHARED_HEADERS;
659
549
  let body;
660
550
  body = buildFormUrlencodedString({
661
551
  ...se_DescribeDataSharesMessage(input, context),
@@ -665,9 +555,7 @@ export const se_DescribeDataSharesCommand = async (input, context) => {
665
555
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
666
556
  };
667
557
  export const se_DescribeDataSharesForConsumerCommand = async (input, context) => {
668
- const headers = {
669
- "content-type": "application/x-www-form-urlencoded",
670
- };
558
+ const headers = SHARED_HEADERS;
671
559
  let body;
672
560
  body = buildFormUrlencodedString({
673
561
  ...se_DescribeDataSharesForConsumerMessage(input, context),
@@ -677,9 +565,7 @@ export const se_DescribeDataSharesForConsumerCommand = async (input, context) =>
677
565
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
678
566
  };
679
567
  export const se_DescribeDataSharesForProducerCommand = async (input, context) => {
680
- const headers = {
681
- "content-type": "application/x-www-form-urlencoded",
682
- };
568
+ const headers = SHARED_HEADERS;
683
569
  let body;
684
570
  body = buildFormUrlencodedString({
685
571
  ...se_DescribeDataSharesForProducerMessage(input, context),
@@ -689,9 +575,7 @@ export const se_DescribeDataSharesForProducerCommand = async (input, context) =>
689
575
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
690
576
  };
691
577
  export const se_DescribeDefaultClusterParametersCommand = async (input, context) => {
692
- const headers = {
693
- "content-type": "application/x-www-form-urlencoded",
694
- };
578
+ const headers = SHARED_HEADERS;
695
579
  let body;
696
580
  body = buildFormUrlencodedString({
697
581
  ...se_DescribeDefaultClusterParametersMessage(input, context),
@@ -701,9 +585,7 @@ export const se_DescribeDefaultClusterParametersCommand = async (input, context)
701
585
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
702
586
  };
703
587
  export const se_DescribeEndpointAccessCommand = async (input, context) => {
704
- const headers = {
705
- "content-type": "application/x-www-form-urlencoded",
706
- };
588
+ const headers = SHARED_HEADERS;
707
589
  let body;
708
590
  body = buildFormUrlencodedString({
709
591
  ...se_DescribeEndpointAccessMessage(input, context),
@@ -713,9 +595,7 @@ export const se_DescribeEndpointAccessCommand = async (input, context) => {
713
595
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
714
596
  };
715
597
  export const se_DescribeEndpointAuthorizationCommand = async (input, context) => {
716
- const headers = {
717
- "content-type": "application/x-www-form-urlencoded",
718
- };
598
+ const headers = SHARED_HEADERS;
719
599
  let body;
720
600
  body = buildFormUrlencodedString({
721
601
  ...se_DescribeEndpointAuthorizationMessage(input, context),
@@ -725,9 +605,7 @@ export const se_DescribeEndpointAuthorizationCommand = async (input, context) =>
725
605
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
726
606
  };
727
607
  export const se_DescribeEventCategoriesCommand = async (input, context) => {
728
- const headers = {
729
- "content-type": "application/x-www-form-urlencoded",
730
- };
608
+ const headers = SHARED_HEADERS;
731
609
  let body;
732
610
  body = buildFormUrlencodedString({
733
611
  ...se_DescribeEventCategoriesMessage(input, context),
@@ -737,9 +615,7 @@ export const se_DescribeEventCategoriesCommand = async (input, context) => {
737
615
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
738
616
  };
739
617
  export const se_DescribeEventsCommand = async (input, context) => {
740
- const headers = {
741
- "content-type": "application/x-www-form-urlencoded",
742
- };
618
+ const headers = SHARED_HEADERS;
743
619
  let body;
744
620
  body = buildFormUrlencodedString({
745
621
  ...se_DescribeEventsMessage(input, context),
@@ -749,9 +625,7 @@ export const se_DescribeEventsCommand = async (input, context) => {
749
625
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
750
626
  };
751
627
  export const se_DescribeEventSubscriptionsCommand = async (input, context) => {
752
- const headers = {
753
- "content-type": "application/x-www-form-urlencoded",
754
- };
628
+ const headers = SHARED_HEADERS;
755
629
  let body;
756
630
  body = buildFormUrlencodedString({
757
631
  ...se_DescribeEventSubscriptionsMessage(input, context),
@@ -761,9 +635,7 @@ export const se_DescribeEventSubscriptionsCommand = async (input, context) => {
761
635
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
762
636
  };
763
637
  export const se_DescribeHsmClientCertificatesCommand = async (input, context) => {
764
- const headers = {
765
- "content-type": "application/x-www-form-urlencoded",
766
- };
638
+ const headers = SHARED_HEADERS;
767
639
  let body;
768
640
  body = buildFormUrlencodedString({
769
641
  ...se_DescribeHsmClientCertificatesMessage(input, context),
@@ -773,9 +645,7 @@ export const se_DescribeHsmClientCertificatesCommand = async (input, context) =>
773
645
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
774
646
  };
775
647
  export const se_DescribeHsmConfigurationsCommand = async (input, context) => {
776
- const headers = {
777
- "content-type": "application/x-www-form-urlencoded",
778
- };
648
+ const headers = SHARED_HEADERS;
779
649
  let body;
780
650
  body = buildFormUrlencodedString({
781
651
  ...se_DescribeHsmConfigurationsMessage(input, context),
@@ -785,9 +655,7 @@ export const se_DescribeHsmConfigurationsCommand = async (input, context) => {
785
655
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
786
656
  };
787
657
  export const se_DescribeLoggingStatusCommand = async (input, context) => {
788
- const headers = {
789
- "content-type": "application/x-www-form-urlencoded",
790
- };
658
+ const headers = SHARED_HEADERS;
791
659
  let body;
792
660
  body = buildFormUrlencodedString({
793
661
  ...se_DescribeLoggingStatusMessage(input, context),
@@ -797,9 +665,7 @@ export const se_DescribeLoggingStatusCommand = async (input, context) => {
797
665
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
798
666
  };
799
667
  export const se_DescribeNodeConfigurationOptionsCommand = async (input, context) => {
800
- const headers = {
801
- "content-type": "application/x-www-form-urlencoded",
802
- };
668
+ const headers = SHARED_HEADERS;
803
669
  let body;
804
670
  body = buildFormUrlencodedString({
805
671
  ...se_DescribeNodeConfigurationOptionsMessage(input, context),
@@ -809,9 +675,7 @@ export const se_DescribeNodeConfigurationOptionsCommand = async (input, context)
809
675
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
810
676
  };
811
677
  export const se_DescribeOrderableClusterOptionsCommand = async (input, context) => {
812
- const headers = {
813
- "content-type": "application/x-www-form-urlencoded",
814
- };
678
+ const headers = SHARED_HEADERS;
815
679
  let body;
816
680
  body = buildFormUrlencodedString({
817
681
  ...se_DescribeOrderableClusterOptionsMessage(input, context),
@@ -821,9 +685,7 @@ export const se_DescribeOrderableClusterOptionsCommand = async (input, context)
821
685
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
822
686
  };
823
687
  export const se_DescribePartnersCommand = async (input, context) => {
824
- const headers = {
825
- "content-type": "application/x-www-form-urlencoded",
826
- };
688
+ const headers = SHARED_HEADERS;
827
689
  let body;
828
690
  body = buildFormUrlencodedString({
829
691
  ...se_DescribePartnersInputMessage(input, context),
@@ -833,9 +695,7 @@ export const se_DescribePartnersCommand = async (input, context) => {
833
695
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
834
696
  };
835
697
  export const se_DescribeReservedNodeExchangeStatusCommand = async (input, context) => {
836
- const headers = {
837
- "content-type": "application/x-www-form-urlencoded",
838
- };
698
+ const headers = SHARED_HEADERS;
839
699
  let body;
840
700
  body = buildFormUrlencodedString({
841
701
  ...se_DescribeReservedNodeExchangeStatusInputMessage(input, context),
@@ -845,9 +705,7 @@ export const se_DescribeReservedNodeExchangeStatusCommand = async (input, contex
845
705
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
846
706
  };
847
707
  export const se_DescribeReservedNodeOfferingsCommand = async (input, context) => {
848
- const headers = {
849
- "content-type": "application/x-www-form-urlencoded",
850
- };
708
+ const headers = SHARED_HEADERS;
851
709
  let body;
852
710
  body = buildFormUrlencodedString({
853
711
  ...se_DescribeReservedNodeOfferingsMessage(input, context),
@@ -857,9 +715,7 @@ export const se_DescribeReservedNodeOfferingsCommand = async (input, context) =>
857
715
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
858
716
  };
859
717
  export const se_DescribeReservedNodesCommand = async (input, context) => {
860
- const headers = {
861
- "content-type": "application/x-www-form-urlencoded",
862
- };
718
+ const headers = SHARED_HEADERS;
863
719
  let body;
864
720
  body = buildFormUrlencodedString({
865
721
  ...se_DescribeReservedNodesMessage(input, context),
@@ -869,9 +725,7 @@ export const se_DescribeReservedNodesCommand = async (input, context) => {
869
725
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
870
726
  };
871
727
  export const se_DescribeResizeCommand = async (input, context) => {
872
- const headers = {
873
- "content-type": "application/x-www-form-urlencoded",
874
- };
728
+ const headers = SHARED_HEADERS;
875
729
  let body;
876
730
  body = buildFormUrlencodedString({
877
731
  ...se_DescribeResizeMessage(input, context),
@@ -881,9 +735,7 @@ export const se_DescribeResizeCommand = async (input, context) => {
881
735
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
882
736
  };
883
737
  export const se_DescribeScheduledActionsCommand = async (input, context) => {
884
- const headers = {
885
- "content-type": "application/x-www-form-urlencoded",
886
- };
738
+ const headers = SHARED_HEADERS;
887
739
  let body;
888
740
  body = buildFormUrlencodedString({
889
741
  ...se_DescribeScheduledActionsMessage(input, context),
@@ -893,9 +745,7 @@ export const se_DescribeScheduledActionsCommand = async (input, context) => {
893
745
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
894
746
  };
895
747
  export const se_DescribeSnapshotCopyGrantsCommand = async (input, context) => {
896
- const headers = {
897
- "content-type": "application/x-www-form-urlencoded",
898
- };
748
+ const headers = SHARED_HEADERS;
899
749
  let body;
900
750
  body = buildFormUrlencodedString({
901
751
  ...se_DescribeSnapshotCopyGrantsMessage(input, context),
@@ -905,9 +755,7 @@ export const se_DescribeSnapshotCopyGrantsCommand = async (input, context) => {
905
755
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
906
756
  };
907
757
  export const se_DescribeSnapshotSchedulesCommand = async (input, context) => {
908
- const headers = {
909
- "content-type": "application/x-www-form-urlencoded",
910
- };
758
+ const headers = SHARED_HEADERS;
911
759
  let body;
912
760
  body = buildFormUrlencodedString({
913
761
  ...se_DescribeSnapshotSchedulesMessage(input, context),
@@ -917,9 +765,7 @@ export const se_DescribeSnapshotSchedulesCommand = async (input, context) => {
917
765
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
918
766
  };
919
767
  export const se_DescribeStorageCommand = async (input, context) => {
920
- const headers = {
921
- "content-type": "application/x-www-form-urlencoded",
922
- };
768
+ const headers = SHARED_HEADERS;
923
769
  const body = buildFormUrlencodedString({
924
770
  Action: "DescribeStorage",
925
771
  Version: "2012-12-01",
@@ -927,9 +773,7 @@ export const se_DescribeStorageCommand = async (input, context) => {
927
773
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
928
774
  };
929
775
  export const se_DescribeTableRestoreStatusCommand = async (input, context) => {
930
- const headers = {
931
- "content-type": "application/x-www-form-urlencoded",
932
- };
776
+ const headers = SHARED_HEADERS;
933
777
  let body;
934
778
  body = buildFormUrlencodedString({
935
779
  ...se_DescribeTableRestoreStatusMessage(input, context),
@@ -939,9 +783,7 @@ export const se_DescribeTableRestoreStatusCommand = async (input, context) => {
939
783
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
940
784
  };
941
785
  export const se_DescribeTagsCommand = async (input, context) => {
942
- const headers = {
943
- "content-type": "application/x-www-form-urlencoded",
944
- };
786
+ const headers = SHARED_HEADERS;
945
787
  let body;
946
788
  body = buildFormUrlencodedString({
947
789
  ...se_DescribeTagsMessage(input, context),
@@ -951,9 +793,7 @@ export const se_DescribeTagsCommand = async (input, context) => {
951
793
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
952
794
  };
953
795
  export const se_DescribeUsageLimitsCommand = async (input, context) => {
954
- const headers = {
955
- "content-type": "application/x-www-form-urlencoded",
956
- };
796
+ const headers = SHARED_HEADERS;
957
797
  let body;
958
798
  body = buildFormUrlencodedString({
959
799
  ...se_DescribeUsageLimitsMessage(input, context),
@@ -963,9 +803,7 @@ export const se_DescribeUsageLimitsCommand = async (input, context) => {
963
803
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
964
804
  };
965
805
  export const se_DisableLoggingCommand = async (input, context) => {
966
- const headers = {
967
- "content-type": "application/x-www-form-urlencoded",
968
- };
806
+ const headers = SHARED_HEADERS;
969
807
  let body;
970
808
  body = buildFormUrlencodedString({
971
809
  ...se_DisableLoggingMessage(input, context),
@@ -975,9 +813,7 @@ export const se_DisableLoggingCommand = async (input, context) => {
975
813
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
976
814
  };
977
815
  export const se_DisableSnapshotCopyCommand = async (input, context) => {
978
- const headers = {
979
- "content-type": "application/x-www-form-urlencoded",
980
- };
816
+ const headers = SHARED_HEADERS;
981
817
  let body;
982
818
  body = buildFormUrlencodedString({
983
819
  ...se_DisableSnapshotCopyMessage(input, context),
@@ -987,9 +823,7 @@ export const se_DisableSnapshotCopyCommand = async (input, context) => {
987
823
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
988
824
  };
989
825
  export const se_DisassociateDataShareConsumerCommand = async (input, context) => {
990
- const headers = {
991
- "content-type": "application/x-www-form-urlencoded",
992
- };
826
+ const headers = SHARED_HEADERS;
993
827
  let body;
994
828
  body = buildFormUrlencodedString({
995
829
  ...se_DisassociateDataShareConsumerMessage(input, context),
@@ -999,9 +833,7 @@ export const se_DisassociateDataShareConsumerCommand = async (input, context) =>
999
833
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1000
834
  };
1001
835
  export const se_EnableLoggingCommand = async (input, context) => {
1002
- const headers = {
1003
- "content-type": "application/x-www-form-urlencoded",
1004
- };
836
+ const headers = SHARED_HEADERS;
1005
837
  let body;
1006
838
  body = buildFormUrlencodedString({
1007
839
  ...se_EnableLoggingMessage(input, context),
@@ -1011,9 +843,7 @@ export const se_EnableLoggingCommand = async (input, context) => {
1011
843
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1012
844
  };
1013
845
  export const se_EnableSnapshotCopyCommand = async (input, context) => {
1014
- const headers = {
1015
- "content-type": "application/x-www-form-urlencoded",
1016
- };
846
+ const headers = SHARED_HEADERS;
1017
847
  let body;
1018
848
  body = buildFormUrlencodedString({
1019
849
  ...se_EnableSnapshotCopyMessage(input, context),
@@ -1023,9 +853,7 @@ export const se_EnableSnapshotCopyCommand = async (input, context) => {
1023
853
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1024
854
  };
1025
855
  export const se_GetClusterCredentialsCommand = async (input, context) => {
1026
- const headers = {
1027
- "content-type": "application/x-www-form-urlencoded",
1028
- };
856
+ const headers = SHARED_HEADERS;
1029
857
  let body;
1030
858
  body = buildFormUrlencodedString({
1031
859
  ...se_GetClusterCredentialsMessage(input, context),
@@ -1035,9 +863,7 @@ export const se_GetClusterCredentialsCommand = async (input, context) => {
1035
863
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1036
864
  };
1037
865
  export const se_GetClusterCredentialsWithIAMCommand = async (input, context) => {
1038
- const headers = {
1039
- "content-type": "application/x-www-form-urlencoded",
1040
- };
866
+ const headers = SHARED_HEADERS;
1041
867
  let body;
1042
868
  body = buildFormUrlencodedString({
1043
869
  ...se_GetClusterCredentialsWithIAMMessage(input, context),
@@ -1047,9 +873,7 @@ export const se_GetClusterCredentialsWithIAMCommand = async (input, context) =>
1047
873
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1048
874
  };
1049
875
  export const se_GetReservedNodeExchangeConfigurationOptionsCommand = async (input, context) => {
1050
- const headers = {
1051
- "content-type": "application/x-www-form-urlencoded",
1052
- };
876
+ const headers = SHARED_HEADERS;
1053
877
  let body;
1054
878
  body = buildFormUrlencodedString({
1055
879
  ...se_GetReservedNodeExchangeConfigurationOptionsInputMessage(input, context),
@@ -1059,9 +883,7 @@ export const se_GetReservedNodeExchangeConfigurationOptionsCommand = async (inpu
1059
883
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1060
884
  };
1061
885
  export const se_GetReservedNodeExchangeOfferingsCommand = async (input, context) => {
1062
- const headers = {
1063
- "content-type": "application/x-www-form-urlencoded",
1064
- };
886
+ const headers = SHARED_HEADERS;
1065
887
  let body;
1066
888
  body = buildFormUrlencodedString({
1067
889
  ...se_GetReservedNodeExchangeOfferingsInputMessage(input, context),
@@ -1071,9 +893,7 @@ export const se_GetReservedNodeExchangeOfferingsCommand = async (input, context)
1071
893
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1072
894
  };
1073
895
  export const se_ModifyAquaConfigurationCommand = async (input, context) => {
1074
- const headers = {
1075
- "content-type": "application/x-www-form-urlencoded",
1076
- };
896
+ const headers = SHARED_HEADERS;
1077
897
  let body;
1078
898
  body = buildFormUrlencodedString({
1079
899
  ...se_ModifyAquaInputMessage(input, context),
@@ -1083,9 +903,7 @@ export const se_ModifyAquaConfigurationCommand = async (input, context) => {
1083
903
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1084
904
  };
1085
905
  export const se_ModifyAuthenticationProfileCommand = async (input, context) => {
1086
- const headers = {
1087
- "content-type": "application/x-www-form-urlencoded",
1088
- };
906
+ const headers = SHARED_HEADERS;
1089
907
  let body;
1090
908
  body = buildFormUrlencodedString({
1091
909
  ...se_ModifyAuthenticationProfileMessage(input, context),
@@ -1095,9 +913,7 @@ export const se_ModifyAuthenticationProfileCommand = async (input, context) => {
1095
913
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1096
914
  };
1097
915
  export const se_ModifyClusterCommand = async (input, context) => {
1098
- const headers = {
1099
- "content-type": "application/x-www-form-urlencoded",
1100
- };
916
+ const headers = SHARED_HEADERS;
1101
917
  let body;
1102
918
  body = buildFormUrlencodedString({
1103
919
  ...se_ModifyClusterMessage(input, context),
@@ -1107,9 +923,7 @@ export const se_ModifyClusterCommand = async (input, context) => {
1107
923
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1108
924
  };
1109
925
  export const se_ModifyClusterDbRevisionCommand = async (input, context) => {
1110
- const headers = {
1111
- "content-type": "application/x-www-form-urlencoded",
1112
- };
926
+ const headers = SHARED_HEADERS;
1113
927
  let body;
1114
928
  body = buildFormUrlencodedString({
1115
929
  ...se_ModifyClusterDbRevisionMessage(input, context),
@@ -1119,9 +933,7 @@ export const se_ModifyClusterDbRevisionCommand = async (input, context) => {
1119
933
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1120
934
  };
1121
935
  export const se_ModifyClusterIamRolesCommand = async (input, context) => {
1122
- const headers = {
1123
- "content-type": "application/x-www-form-urlencoded",
1124
- };
936
+ const headers = SHARED_HEADERS;
1125
937
  let body;
1126
938
  body = buildFormUrlencodedString({
1127
939
  ...se_ModifyClusterIamRolesMessage(input, context),
@@ -1131,9 +943,7 @@ export const se_ModifyClusterIamRolesCommand = async (input, context) => {
1131
943
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1132
944
  };
1133
945
  export const se_ModifyClusterMaintenanceCommand = async (input, context) => {
1134
- const headers = {
1135
- "content-type": "application/x-www-form-urlencoded",
1136
- };
946
+ const headers = SHARED_HEADERS;
1137
947
  let body;
1138
948
  body = buildFormUrlencodedString({
1139
949
  ...se_ModifyClusterMaintenanceMessage(input, context),
@@ -1143,9 +953,7 @@ export const se_ModifyClusterMaintenanceCommand = async (input, context) => {
1143
953
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1144
954
  };
1145
955
  export const se_ModifyClusterParameterGroupCommand = async (input, context) => {
1146
- const headers = {
1147
- "content-type": "application/x-www-form-urlencoded",
1148
- };
956
+ const headers = SHARED_HEADERS;
1149
957
  let body;
1150
958
  body = buildFormUrlencodedString({
1151
959
  ...se_ModifyClusterParameterGroupMessage(input, context),
@@ -1155,9 +963,7 @@ export const se_ModifyClusterParameterGroupCommand = async (input, context) => {
1155
963
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1156
964
  };
1157
965
  export const se_ModifyClusterSnapshotCommand = async (input, context) => {
1158
- const headers = {
1159
- "content-type": "application/x-www-form-urlencoded",
1160
- };
966
+ const headers = SHARED_HEADERS;
1161
967
  let body;
1162
968
  body = buildFormUrlencodedString({
1163
969
  ...se_ModifyClusterSnapshotMessage(input, context),
@@ -1167,9 +973,7 @@ export const se_ModifyClusterSnapshotCommand = async (input, context) => {
1167
973
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1168
974
  };
1169
975
  export const se_ModifyClusterSnapshotScheduleCommand = async (input, context) => {
1170
- const headers = {
1171
- "content-type": "application/x-www-form-urlencoded",
1172
- };
976
+ const headers = SHARED_HEADERS;
1173
977
  let body;
1174
978
  body = buildFormUrlencodedString({
1175
979
  ...se_ModifyClusterSnapshotScheduleMessage(input, context),
@@ -1179,9 +983,7 @@ export const se_ModifyClusterSnapshotScheduleCommand = async (input, context) =>
1179
983
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1180
984
  };
1181
985
  export const se_ModifyClusterSubnetGroupCommand = async (input, context) => {
1182
- const headers = {
1183
- "content-type": "application/x-www-form-urlencoded",
1184
- };
986
+ const headers = SHARED_HEADERS;
1185
987
  let body;
1186
988
  body = buildFormUrlencodedString({
1187
989
  ...se_ModifyClusterSubnetGroupMessage(input, context),
@@ -1191,9 +993,7 @@ export const se_ModifyClusterSubnetGroupCommand = async (input, context) => {
1191
993
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1192
994
  };
1193
995
  export const se_ModifyEndpointAccessCommand = async (input, context) => {
1194
- const headers = {
1195
- "content-type": "application/x-www-form-urlencoded",
1196
- };
996
+ const headers = SHARED_HEADERS;
1197
997
  let body;
1198
998
  body = buildFormUrlencodedString({
1199
999
  ...se_ModifyEndpointAccessMessage(input, context),
@@ -1203,9 +1003,7 @@ export const se_ModifyEndpointAccessCommand = async (input, context) => {
1203
1003
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1204
1004
  };
1205
1005
  export const se_ModifyEventSubscriptionCommand = async (input, context) => {
1206
- const headers = {
1207
- "content-type": "application/x-www-form-urlencoded",
1208
- };
1006
+ const headers = SHARED_HEADERS;
1209
1007
  let body;
1210
1008
  body = buildFormUrlencodedString({
1211
1009
  ...se_ModifyEventSubscriptionMessage(input, context),
@@ -1215,9 +1013,7 @@ export const se_ModifyEventSubscriptionCommand = async (input, context) => {
1215
1013
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1216
1014
  };
1217
1015
  export const se_ModifyScheduledActionCommand = async (input, context) => {
1218
- const headers = {
1219
- "content-type": "application/x-www-form-urlencoded",
1220
- };
1016
+ const headers = SHARED_HEADERS;
1221
1017
  let body;
1222
1018
  body = buildFormUrlencodedString({
1223
1019
  ...se_ModifyScheduledActionMessage(input, context),
@@ -1227,9 +1023,7 @@ export const se_ModifyScheduledActionCommand = async (input, context) => {
1227
1023
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1228
1024
  };
1229
1025
  export const se_ModifySnapshotCopyRetentionPeriodCommand = async (input, context) => {
1230
- const headers = {
1231
- "content-type": "application/x-www-form-urlencoded",
1232
- };
1026
+ const headers = SHARED_HEADERS;
1233
1027
  let body;
1234
1028
  body = buildFormUrlencodedString({
1235
1029
  ...se_ModifySnapshotCopyRetentionPeriodMessage(input, context),
@@ -1239,9 +1033,7 @@ export const se_ModifySnapshotCopyRetentionPeriodCommand = async (input, context
1239
1033
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1240
1034
  };
1241
1035
  export const se_ModifySnapshotScheduleCommand = async (input, context) => {
1242
- const headers = {
1243
- "content-type": "application/x-www-form-urlencoded",
1244
- };
1036
+ const headers = SHARED_HEADERS;
1245
1037
  let body;
1246
1038
  body = buildFormUrlencodedString({
1247
1039
  ...se_ModifySnapshotScheduleMessage(input, context),
@@ -1251,9 +1043,7 @@ export const se_ModifySnapshotScheduleCommand = async (input, context) => {
1251
1043
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1252
1044
  };
1253
1045
  export const se_ModifyUsageLimitCommand = async (input, context) => {
1254
- const headers = {
1255
- "content-type": "application/x-www-form-urlencoded",
1256
- };
1046
+ const headers = SHARED_HEADERS;
1257
1047
  let body;
1258
1048
  body = buildFormUrlencodedString({
1259
1049
  ...se_ModifyUsageLimitMessage(input, context),
@@ -1263,9 +1053,7 @@ export const se_ModifyUsageLimitCommand = async (input, context) => {
1263
1053
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1264
1054
  };
1265
1055
  export const se_PauseClusterCommand = async (input, context) => {
1266
- const headers = {
1267
- "content-type": "application/x-www-form-urlencoded",
1268
- };
1056
+ const headers = SHARED_HEADERS;
1269
1057
  let body;
1270
1058
  body = buildFormUrlencodedString({
1271
1059
  ...se_PauseClusterMessage(input, context),
@@ -1275,9 +1063,7 @@ export const se_PauseClusterCommand = async (input, context) => {
1275
1063
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1276
1064
  };
1277
1065
  export const se_PurchaseReservedNodeOfferingCommand = async (input, context) => {
1278
- const headers = {
1279
- "content-type": "application/x-www-form-urlencoded",
1280
- };
1066
+ const headers = SHARED_HEADERS;
1281
1067
  let body;
1282
1068
  body = buildFormUrlencodedString({
1283
1069
  ...se_PurchaseReservedNodeOfferingMessage(input, context),
@@ -1287,9 +1073,7 @@ export const se_PurchaseReservedNodeOfferingCommand = async (input, context) =>
1287
1073
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1288
1074
  };
1289
1075
  export const se_RebootClusterCommand = async (input, context) => {
1290
- const headers = {
1291
- "content-type": "application/x-www-form-urlencoded",
1292
- };
1076
+ const headers = SHARED_HEADERS;
1293
1077
  let body;
1294
1078
  body = buildFormUrlencodedString({
1295
1079
  ...se_RebootClusterMessage(input, context),
@@ -1299,9 +1083,7 @@ export const se_RebootClusterCommand = async (input, context) => {
1299
1083
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1300
1084
  };
1301
1085
  export const se_RejectDataShareCommand = async (input, context) => {
1302
- const headers = {
1303
- "content-type": "application/x-www-form-urlencoded",
1304
- };
1086
+ const headers = SHARED_HEADERS;
1305
1087
  let body;
1306
1088
  body = buildFormUrlencodedString({
1307
1089
  ...se_RejectDataShareMessage(input, context),
@@ -1311,9 +1093,7 @@ export const se_RejectDataShareCommand = async (input, context) => {
1311
1093
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1312
1094
  };
1313
1095
  export const se_ResetClusterParameterGroupCommand = async (input, context) => {
1314
- const headers = {
1315
- "content-type": "application/x-www-form-urlencoded",
1316
- };
1096
+ const headers = SHARED_HEADERS;
1317
1097
  let body;
1318
1098
  body = buildFormUrlencodedString({
1319
1099
  ...se_ResetClusterParameterGroupMessage(input, context),
@@ -1323,9 +1103,7 @@ export const se_ResetClusterParameterGroupCommand = async (input, context) => {
1323
1103
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1324
1104
  };
1325
1105
  export const se_ResizeClusterCommand = async (input, context) => {
1326
- const headers = {
1327
- "content-type": "application/x-www-form-urlencoded",
1328
- };
1106
+ const headers = SHARED_HEADERS;
1329
1107
  let body;
1330
1108
  body = buildFormUrlencodedString({
1331
1109
  ...se_ResizeClusterMessage(input, context),
@@ -1335,9 +1113,7 @@ export const se_ResizeClusterCommand = async (input, context) => {
1335
1113
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1336
1114
  };
1337
1115
  export const se_RestoreFromClusterSnapshotCommand = async (input, context) => {
1338
- const headers = {
1339
- "content-type": "application/x-www-form-urlencoded",
1340
- };
1116
+ const headers = SHARED_HEADERS;
1341
1117
  let body;
1342
1118
  body = buildFormUrlencodedString({
1343
1119
  ...se_RestoreFromClusterSnapshotMessage(input, context),
@@ -1347,9 +1123,7 @@ export const se_RestoreFromClusterSnapshotCommand = async (input, context) => {
1347
1123
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1348
1124
  };
1349
1125
  export const se_RestoreTableFromClusterSnapshotCommand = async (input, context) => {
1350
- const headers = {
1351
- "content-type": "application/x-www-form-urlencoded",
1352
- };
1126
+ const headers = SHARED_HEADERS;
1353
1127
  let body;
1354
1128
  body = buildFormUrlencodedString({
1355
1129
  ...se_RestoreTableFromClusterSnapshotMessage(input, context),
@@ -1359,9 +1133,7 @@ export const se_RestoreTableFromClusterSnapshotCommand = async (input, context)
1359
1133
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1360
1134
  };
1361
1135
  export const se_ResumeClusterCommand = async (input, context) => {
1362
- const headers = {
1363
- "content-type": "application/x-www-form-urlencoded",
1364
- };
1136
+ const headers = SHARED_HEADERS;
1365
1137
  let body;
1366
1138
  body = buildFormUrlencodedString({
1367
1139
  ...se_ResumeClusterMessage(input, context),
@@ -1371,9 +1143,7 @@ export const se_ResumeClusterCommand = async (input, context) => {
1371
1143
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1372
1144
  };
1373
1145
  export const se_RevokeClusterSecurityGroupIngressCommand = async (input, context) => {
1374
- const headers = {
1375
- "content-type": "application/x-www-form-urlencoded",
1376
- };
1146
+ const headers = SHARED_HEADERS;
1377
1147
  let body;
1378
1148
  body = buildFormUrlencodedString({
1379
1149
  ...se_RevokeClusterSecurityGroupIngressMessage(input, context),
@@ -1383,9 +1153,7 @@ export const se_RevokeClusterSecurityGroupIngressCommand = async (input, context
1383
1153
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1384
1154
  };
1385
1155
  export const se_RevokeEndpointAccessCommand = async (input, context) => {
1386
- const headers = {
1387
- "content-type": "application/x-www-form-urlencoded",
1388
- };
1156
+ const headers = SHARED_HEADERS;
1389
1157
  let body;
1390
1158
  body = buildFormUrlencodedString({
1391
1159
  ...se_RevokeEndpointAccessMessage(input, context),
@@ -1395,9 +1163,7 @@ export const se_RevokeEndpointAccessCommand = async (input, context) => {
1395
1163
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1396
1164
  };
1397
1165
  export const se_RevokeSnapshotAccessCommand = async (input, context) => {
1398
- const headers = {
1399
- "content-type": "application/x-www-form-urlencoded",
1400
- };
1166
+ const headers = SHARED_HEADERS;
1401
1167
  let body;
1402
1168
  body = buildFormUrlencodedString({
1403
1169
  ...se_RevokeSnapshotAccessMessage(input, context),
@@ -1407,9 +1173,7 @@ export const se_RevokeSnapshotAccessCommand = async (input, context) => {
1407
1173
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1408
1174
  };
1409
1175
  export const se_RotateEncryptionKeyCommand = async (input, context) => {
1410
- const headers = {
1411
- "content-type": "application/x-www-form-urlencoded",
1412
- };
1176
+ const headers = SHARED_HEADERS;
1413
1177
  let body;
1414
1178
  body = buildFormUrlencodedString({
1415
1179
  ...se_RotateEncryptionKeyMessage(input, context),
@@ -1419,9 +1183,7 @@ export const se_RotateEncryptionKeyCommand = async (input, context) => {
1419
1183
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1420
1184
  };
1421
1185
  export const se_UpdatePartnerStatusCommand = async (input, context) => {
1422
- const headers = {
1423
- "content-type": "application/x-www-form-urlencoded",
1424
- };
1186
+ const headers = SHARED_HEADERS;
1425
1187
  let body;
1426
1188
  body = buildFormUrlencodedString({
1427
1189
  ...se_UpdatePartnerStatusInputMessage(input, context),
@@ -14251,6 +14013,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
14251
14013
  }
14252
14014
  return new __HttpRequest(contents);
14253
14015
  };
14016
+ const SHARED_HEADERS = {
14017
+ "content-type": "application/x-www-form-urlencoded",
14018
+ };
14254
14019
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
14255
14020
  if (encoded.length) {
14256
14021
  const parser = new XMLParser({