@@ -113,8 +113,9 @@ export async function serializeAws_ec2EmptyInputAndEmptyOutputCommand(
113
113
input : EmptyInputAndEmptyOutputCommandInput ,
114
114
context : __SerdeContext
115
115
) : Promise < __HttpRequest > {
116
- const headers : __HeaderBag = { } ;
117
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
116
+ const headers : __HeaderBag = {
117
+ "Content-Type" : "application/x-www-form-urlencoded"
118
+ } ;
118
119
let body : any ;
119
120
const entries = serializeAws_ec2EmptyInputAndEmptyOutputInput ( input , context ) ;
120
121
body = buildFormUrlencodedString ( {
@@ -129,8 +130,9 @@ export async function serializeAws_ec2GreetingWithErrorsCommand(
129
130
input : GreetingWithErrorsCommandInput ,
130
131
context : __SerdeContext
131
132
) : Promise < __HttpRequest > {
132
- const headers : __HeaderBag = { } ;
133
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
133
+ const headers : __HeaderBag = {
134
+ "Content-Type" : "application/x-www-form-urlencoded"
135
+ } ;
134
136
const body = buildFormUrlencodedString ( {
135
137
Action : "GreetingWithErrors" ,
136
138
Version : "2020-01-08"
@@ -142,8 +144,9 @@ export async function serializeAws_ec2IgnoresWrappingXmlNameCommand(
142
144
input : IgnoresWrappingXmlNameCommandInput ,
143
145
context : __SerdeContext
144
146
) : Promise < __HttpRequest > {
145
- const headers : __HeaderBag = { } ;
146
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
147
+ const headers : __HeaderBag = {
148
+ "Content-Type" : "application/x-www-form-urlencoded"
149
+ } ;
147
150
const body = buildFormUrlencodedString ( {
148
151
Action : "IgnoresWrappingXmlName" ,
149
152
Version : "2020-01-08"
@@ -155,8 +158,9 @@ export async function serializeAws_ec2NestedStructuresCommand(
155
158
input : NestedStructuresCommandInput ,
156
159
context : __SerdeContext
157
160
) : Promise < __HttpRequest > {
158
- const headers : __HeaderBag = { } ;
159
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
161
+ const headers : __HeaderBag = {
162
+ "Content-Type" : "application/x-www-form-urlencoded"
163
+ } ;
160
164
let body : any ;
161
165
const entries = serializeAws_ec2NestedStructuresInput ( input , context ) ;
162
166
body = buildFormUrlencodedString ( {
@@ -171,8 +175,9 @@ export async function serializeAws_ec2NoInputAndOutputCommand(
171
175
input : NoInputAndOutputCommandInput ,
172
176
context : __SerdeContext
173
177
) : Promise < __HttpRequest > {
174
- const headers : __HeaderBag = { } ;
175
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
178
+ const headers : __HeaderBag = {
179
+ "Content-Type" : "application/x-www-form-urlencoded"
180
+ } ;
176
181
const body = buildFormUrlencodedString ( {
177
182
Action : "NoInputAndOutput" ,
178
183
Version : "2020-01-08"
@@ -184,8 +189,9 @@ export async function serializeAws_ec2QueryIdempotencyTokenAutoFillCommand(
184
189
input : QueryIdempotencyTokenAutoFillCommandInput ,
185
190
context : __SerdeContext
186
191
) : Promise < __HttpRequest > {
187
- const headers : __HeaderBag = { } ;
188
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
192
+ const headers : __HeaderBag = {
193
+ "Content-Type" : "application/x-www-form-urlencoded"
194
+ } ;
189
195
let body : any ;
190
196
const entries = serializeAws_ec2QueryIdempotencyTokenAutoFillInput (
191
197
input ,
@@ -203,8 +209,9 @@ export async function serializeAws_ec2QueryListsCommand(
203
209
input : QueryListsCommandInput ,
204
210
context : __SerdeContext
205
211
) : Promise < __HttpRequest > {
206
- const headers : __HeaderBag = { } ;
207
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
212
+ const headers : __HeaderBag = {
213
+ "Content-Type" : "application/x-www-form-urlencoded"
214
+ } ;
208
215
let body : any ;
209
216
const entries = serializeAws_ec2QueryListsInput ( input , context ) ;
210
217
body = buildFormUrlencodedString ( {
@@ -219,8 +226,9 @@ export async function serializeAws_ec2QueryTimestampsCommand(
219
226
input : QueryTimestampsCommandInput ,
220
227
context : __SerdeContext
221
228
) : Promise < __HttpRequest > {
222
- const headers : __HeaderBag = { } ;
223
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
229
+ const headers : __HeaderBag = {
230
+ "Content-Type" : "application/x-www-form-urlencoded"
231
+ } ;
224
232
let body : any ;
225
233
const entries = serializeAws_ec2QueryTimestampsInput ( input , context ) ;
226
234
body = buildFormUrlencodedString ( {
@@ -235,8 +243,9 @@ export async function serializeAws_ec2RecursiveXmlShapesCommand(
235
243
input : RecursiveXmlShapesCommandInput ,
236
244
context : __SerdeContext
237
245
) : Promise < __HttpRequest > {
238
- const headers : __HeaderBag = { } ;
239
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
246
+ const headers : __HeaderBag = {
247
+ "Content-Type" : "application/x-www-form-urlencoded"
248
+ } ;
240
249
const body = buildFormUrlencodedString ( {
241
250
Action : "RecursiveXmlShapes" ,
242
251
Version : "2020-01-08"
@@ -248,8 +257,9 @@ export async function serializeAws_ec2SimpleInputParamsCommand(
248
257
input : SimpleInputParamsCommandInput ,
249
258
context : __SerdeContext
250
259
) : Promise < __HttpRequest > {
251
- const headers : __HeaderBag = { } ;
252
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
260
+ const headers : __HeaderBag = {
261
+ "Content-Type" : "application/x-www-form-urlencoded"
262
+ } ;
253
263
let body : any ;
254
264
const entries = serializeAws_ec2SimpleInputParamsInput ( input , context ) ;
255
265
body = buildFormUrlencodedString ( {
@@ -264,8 +274,9 @@ export async function serializeAws_ec2SimpleScalarXmlPropertiesCommand(
264
274
input : SimpleScalarXmlPropertiesCommandInput ,
265
275
context : __SerdeContext
266
276
) : Promise < __HttpRequest > {
267
- const headers : __HeaderBag = { } ;
268
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
277
+ const headers : __HeaderBag = {
278
+ "Content-Type" : "application/x-www-form-urlencoded"
279
+ } ;
269
280
const body = buildFormUrlencodedString ( {
270
281
Action : "SimpleScalarXmlProperties" ,
271
282
Version : "2020-01-08"
@@ -277,8 +288,9 @@ export async function serializeAws_ec2XmlBlobsCommand(
277
288
input : XmlBlobsCommandInput ,
278
289
context : __SerdeContext
279
290
) : Promise < __HttpRequest > {
280
- const headers : __HeaderBag = { } ;
281
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
291
+ const headers : __HeaderBag = {
292
+ "Content-Type" : "application/x-www-form-urlencoded"
293
+ } ;
282
294
const body = buildFormUrlencodedString ( {
283
295
Action : "XmlBlobs" ,
284
296
Version : "2020-01-08"
@@ -290,8 +302,9 @@ export async function serializeAws_ec2XmlEnumsCommand(
290
302
input : XmlEnumsCommandInput ,
291
303
context : __SerdeContext
292
304
) : Promise < __HttpRequest > {
293
- const headers : __HeaderBag = { } ;
294
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
305
+ const headers : __HeaderBag = {
306
+ "Content-Type" : "application/x-www-form-urlencoded"
307
+ } ;
295
308
const body = buildFormUrlencodedString ( {
296
309
Action : "XmlEnums" ,
297
310
Version : "2020-01-08"
@@ -303,8 +316,9 @@ export async function serializeAws_ec2XmlListsCommand(
303
316
input : XmlListsCommandInput ,
304
317
context : __SerdeContext
305
318
) : Promise < __HttpRequest > {
306
- const headers : __HeaderBag = { } ;
307
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
319
+ const headers : __HeaderBag = {
320
+ "Content-Type" : "application/x-www-form-urlencoded"
321
+ } ;
308
322
const body = buildFormUrlencodedString ( {
309
323
Action : "XmlLists" ,
310
324
Version : "2020-01-08"
@@ -316,8 +330,9 @@ export async function serializeAws_ec2XmlNamespacesCommand(
316
330
input : XmlNamespacesCommandInput ,
317
331
context : __SerdeContext
318
332
) : Promise < __HttpRequest > {
319
- const headers : __HeaderBag = { } ;
320
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
333
+ const headers : __HeaderBag = {
334
+ "Content-Type" : "application/x-www-form-urlencoded"
335
+ } ;
321
336
const body = buildFormUrlencodedString ( {
322
337
Action : "XmlNamespaces" ,
323
338
Version : "2020-01-08"
@@ -329,8 +344,9 @@ export async function serializeAws_ec2XmlTimestampsCommand(
329
344
input : XmlTimestampsCommandInput ,
330
345
context : __SerdeContext
331
346
) : Promise < __HttpRequest > {
332
- const headers : __HeaderBag = { } ;
333
- headers [ "Content-Type" ] = "application/x-www-form-urlencoded" ;
347
+ const headers : __HeaderBag = {
348
+ "Content-Type" : "application/x-www-form-urlencoded"
349
+ } ;
334
350
const body = buildFormUrlencodedString ( {
335
351
Action : "XmlTimestamps" ,
336
352
Version : "2020-01-08"
0 commit comments