@@ -155,9 +155,10 @@ export async function serializeAws_json1_1CreateCertificateAuthorityCommand(
155
155
input : CreateCertificateAuthorityCommandInput ,
156
156
context : __SerdeContext
157
157
) : Promise < __HttpRequest > {
158
- const headers : __HeaderBag = { } ;
159
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
160
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.CreateCertificateAuthority" ;
158
+ const headers : __HeaderBag = {
159
+ "Content-Type" : "application/x-amz-json-1.1" ,
160
+ "X-Amz-Target" : "ACMPrivateCA.CreateCertificateAuthority"
161
+ } ;
161
162
let body : any ;
162
163
body = JSON . stringify (
163
164
serializeAws_json1_1CreateCertificateAuthorityRequest ( input , context )
@@ -169,10 +170,10 @@ export async function serializeAws_json1_1CreateCertificateAuthorityAuditReportC
169
170
input : CreateCertificateAuthorityAuditReportCommandInput ,
170
171
context : __SerdeContext
171
172
) : Promise < __HttpRequest > {
172
- const headers : __HeaderBag = { } ;
173
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
174
- headers [ "X-Amz-Target" ] =
175
- "ACMPrivateCA.CreateCertificateAuthorityAuditReport" ;
173
+ const headers : __HeaderBag = {
174
+ "Content-Type" : "application/x-amz-json-1.1" ,
175
+ "X-Amz-Target" : "ACMPrivateCA.CreateCertificateAuthorityAuditReport"
176
+ } ;
176
177
let body : any ;
177
178
body = JSON . stringify (
178
179
serializeAws_json1_1CreateCertificateAuthorityAuditReportRequest (
@@ -187,9 +188,10 @@ export async function serializeAws_json1_1CreatePermissionCommand(
187
188
input : CreatePermissionCommandInput ,
188
189
context : __SerdeContext
189
190
) : Promise < __HttpRequest > {
190
- const headers : __HeaderBag = { } ;
191
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
192
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.CreatePermission" ;
191
+ const headers : __HeaderBag = {
192
+ "Content-Type" : "application/x-amz-json-1.1" ,
193
+ "X-Amz-Target" : "ACMPrivateCA.CreatePermission"
194
+ } ;
193
195
let body : any ;
194
196
body = JSON . stringify (
195
197
serializeAws_json1_1CreatePermissionRequest ( input , context )
@@ -201,9 +203,10 @@ export async function serializeAws_json1_1DeleteCertificateAuthorityCommand(
201
203
input : DeleteCertificateAuthorityCommandInput ,
202
204
context : __SerdeContext
203
205
) : Promise < __HttpRequest > {
204
- const headers : __HeaderBag = { } ;
205
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
206
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.DeleteCertificateAuthority" ;
206
+ const headers : __HeaderBag = {
207
+ "Content-Type" : "application/x-amz-json-1.1" ,
208
+ "X-Amz-Target" : "ACMPrivateCA.DeleteCertificateAuthority"
209
+ } ;
207
210
let body : any ;
208
211
body = JSON . stringify (
209
212
serializeAws_json1_1DeleteCertificateAuthorityRequest ( input , context )
@@ -215,9 +218,10 @@ export async function serializeAws_json1_1DeletePermissionCommand(
215
218
input : DeletePermissionCommandInput ,
216
219
context : __SerdeContext
217
220
) : Promise < __HttpRequest > {
218
- const headers : __HeaderBag = { } ;
219
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
220
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.DeletePermission" ;
221
+ const headers : __HeaderBag = {
222
+ "Content-Type" : "application/x-amz-json-1.1" ,
223
+ "X-Amz-Target" : "ACMPrivateCA.DeletePermission"
224
+ } ;
221
225
let body : any ;
222
226
body = JSON . stringify (
223
227
serializeAws_json1_1DeletePermissionRequest ( input , context )
@@ -229,9 +233,10 @@ export async function serializeAws_json1_1DescribeCertificateAuthorityCommand(
229
233
input : DescribeCertificateAuthorityCommandInput ,
230
234
context : __SerdeContext
231
235
) : Promise < __HttpRequest > {
232
- const headers : __HeaderBag = { } ;
233
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
234
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.DescribeCertificateAuthority" ;
236
+ const headers : __HeaderBag = {
237
+ "Content-Type" : "application/x-amz-json-1.1" ,
238
+ "X-Amz-Target" : "ACMPrivateCA.DescribeCertificateAuthority"
239
+ } ;
235
240
let body : any ;
236
241
body = JSON . stringify (
237
242
serializeAws_json1_1DescribeCertificateAuthorityRequest ( input , context )
@@ -243,10 +248,10 @@ export async function serializeAws_json1_1DescribeCertificateAuthorityAuditRepor
243
248
input : DescribeCertificateAuthorityAuditReportCommandInput ,
244
249
context : __SerdeContext
245
250
) : Promise < __HttpRequest > {
246
- const headers : __HeaderBag = { } ;
247
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
248
- headers [ "X-Amz-Target" ] =
249
- "ACMPrivateCA.DescribeCertificateAuthorityAuditReport" ;
251
+ const headers : __HeaderBag = {
252
+ "Content-Type" : "application/x-amz-json-1.1" ,
253
+ "X-Amz-Target" : "ACMPrivateCA.DescribeCertificateAuthorityAuditReport"
254
+ } ;
250
255
let body : any ;
251
256
body = JSON . stringify (
252
257
serializeAws_json1_1DescribeCertificateAuthorityAuditReportRequest (
@@ -261,9 +266,10 @@ export async function serializeAws_json1_1GetCertificateCommand(
261
266
input : GetCertificateCommandInput ,
262
267
context : __SerdeContext
263
268
) : Promise < __HttpRequest > {
264
- const headers : __HeaderBag = { } ;
265
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
266
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.GetCertificate" ;
269
+ const headers : __HeaderBag = {
270
+ "Content-Type" : "application/x-amz-json-1.1" ,
271
+ "X-Amz-Target" : "ACMPrivateCA.GetCertificate"
272
+ } ;
267
273
let body : any ;
268
274
body = JSON . stringify (
269
275
serializeAws_json1_1GetCertificateRequest ( input , context )
@@ -275,9 +281,10 @@ export async function serializeAws_json1_1GetCertificateAuthorityCertificateComm
275
281
input : GetCertificateAuthorityCertificateCommandInput ,
276
282
context : __SerdeContext
277
283
) : Promise < __HttpRequest > {
278
- const headers : __HeaderBag = { } ;
279
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
280
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.GetCertificateAuthorityCertificate" ;
284
+ const headers : __HeaderBag = {
285
+ "Content-Type" : "application/x-amz-json-1.1" ,
286
+ "X-Amz-Target" : "ACMPrivateCA.GetCertificateAuthorityCertificate"
287
+ } ;
281
288
let body : any ;
282
289
body = JSON . stringify (
283
290
serializeAws_json1_1GetCertificateAuthorityCertificateRequest (
@@ -292,9 +299,10 @@ export async function serializeAws_json1_1GetCertificateAuthorityCsrCommand(
292
299
input : GetCertificateAuthorityCsrCommandInput ,
293
300
context : __SerdeContext
294
301
) : Promise < __HttpRequest > {
295
- const headers : __HeaderBag = { } ;
296
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
297
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.GetCertificateAuthorityCsr" ;
302
+ const headers : __HeaderBag = {
303
+ "Content-Type" : "application/x-amz-json-1.1" ,
304
+ "X-Amz-Target" : "ACMPrivateCA.GetCertificateAuthorityCsr"
305
+ } ;
298
306
let body : any ;
299
307
body = JSON . stringify (
300
308
serializeAws_json1_1GetCertificateAuthorityCsrRequest ( input , context )
@@ -306,10 +314,10 @@ export async function serializeAws_json1_1ImportCertificateAuthorityCertificateC
306
314
input : ImportCertificateAuthorityCertificateCommandInput ,
307
315
context : __SerdeContext
308
316
) : Promise < __HttpRequest > {
309
- const headers : __HeaderBag = { } ;
310
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
311
- headers [ "X-Amz-Target" ] =
312
- "ACMPrivateCA.ImportCertificateAuthorityCertificate" ;
317
+ const headers : __HeaderBag = {
318
+ "Content-Type" : "application/x-amz-json-1.1" ,
319
+ "X-Amz-Target" : "ACMPrivateCA.ImportCertificateAuthorityCertificate"
320
+ } ;
313
321
let body : any ;
314
322
body = JSON . stringify (
315
323
serializeAws_json1_1ImportCertificateAuthorityCertificateRequest (
@@ -324,9 +332,10 @@ export async function serializeAws_json1_1IssueCertificateCommand(
324
332
input : IssueCertificateCommandInput ,
325
333
context : __SerdeContext
326
334
) : Promise < __HttpRequest > {
327
- const headers : __HeaderBag = { } ;
328
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
329
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.IssueCertificate" ;
335
+ const headers : __HeaderBag = {
336
+ "Content-Type" : "application/x-amz-json-1.1" ,
337
+ "X-Amz-Target" : "ACMPrivateCA.IssueCertificate"
338
+ } ;
330
339
let body : any ;
331
340
body = JSON . stringify (
332
341
serializeAws_json1_1IssueCertificateRequest ( input , context )
@@ -338,9 +347,10 @@ export async function serializeAws_json1_1ListCertificateAuthoritiesCommand(
338
347
input : ListCertificateAuthoritiesCommandInput ,
339
348
context : __SerdeContext
340
349
) : Promise < __HttpRequest > {
341
- const headers : __HeaderBag = { } ;
342
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
343
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.ListCertificateAuthorities" ;
350
+ const headers : __HeaderBag = {
351
+ "Content-Type" : "application/x-amz-json-1.1" ,
352
+ "X-Amz-Target" : "ACMPrivateCA.ListCertificateAuthorities"
353
+ } ;
344
354
let body : any ;
345
355
body = JSON . stringify (
346
356
serializeAws_json1_1ListCertificateAuthoritiesRequest ( input , context )
@@ -352,9 +362,10 @@ export async function serializeAws_json1_1ListPermissionsCommand(
352
362
input : ListPermissionsCommandInput ,
353
363
context : __SerdeContext
354
364
) : Promise < __HttpRequest > {
355
- const headers : __HeaderBag = { } ;
356
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
357
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.ListPermissions" ;
365
+ const headers : __HeaderBag = {
366
+ "Content-Type" : "application/x-amz-json-1.1" ,
367
+ "X-Amz-Target" : "ACMPrivateCA.ListPermissions"
368
+ } ;
358
369
let body : any ;
359
370
body = JSON . stringify (
360
371
serializeAws_json1_1ListPermissionsRequest ( input , context )
@@ -366,9 +377,10 @@ export async function serializeAws_json1_1ListTagsCommand(
366
377
input : ListTagsCommandInput ,
367
378
context : __SerdeContext
368
379
) : Promise < __HttpRequest > {
369
- const headers : __HeaderBag = { } ;
370
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
371
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.ListTags" ;
380
+ const headers : __HeaderBag = {
381
+ "Content-Type" : "application/x-amz-json-1.1" ,
382
+ "X-Amz-Target" : "ACMPrivateCA.ListTags"
383
+ } ;
372
384
let body : any ;
373
385
body = JSON . stringify ( serializeAws_json1_1ListTagsRequest ( input , context ) ) ;
374
386
return buildHttpRpcRequest ( context , headers , "/" , undefined , body ) ;
@@ -378,9 +390,10 @@ export async function serializeAws_json1_1RestoreCertificateAuthorityCommand(
378
390
input : RestoreCertificateAuthorityCommandInput ,
379
391
context : __SerdeContext
380
392
) : Promise < __HttpRequest > {
381
- const headers : __HeaderBag = { } ;
382
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
383
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.RestoreCertificateAuthority" ;
393
+ const headers : __HeaderBag = {
394
+ "Content-Type" : "application/x-amz-json-1.1" ,
395
+ "X-Amz-Target" : "ACMPrivateCA.RestoreCertificateAuthority"
396
+ } ;
384
397
let body : any ;
385
398
body = JSON . stringify (
386
399
serializeAws_json1_1RestoreCertificateAuthorityRequest ( input , context )
@@ -392,9 +405,10 @@ export async function serializeAws_json1_1RevokeCertificateCommand(
392
405
input : RevokeCertificateCommandInput ,
393
406
context : __SerdeContext
394
407
) : Promise < __HttpRequest > {
395
- const headers : __HeaderBag = { } ;
396
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
397
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.RevokeCertificate" ;
408
+ const headers : __HeaderBag = {
409
+ "Content-Type" : "application/x-amz-json-1.1" ,
410
+ "X-Amz-Target" : "ACMPrivateCA.RevokeCertificate"
411
+ } ;
398
412
let body : any ;
399
413
body = JSON . stringify (
400
414
serializeAws_json1_1RevokeCertificateRequest ( input , context )
@@ -406,9 +420,10 @@ export async function serializeAws_json1_1TagCertificateAuthorityCommand(
406
420
input : TagCertificateAuthorityCommandInput ,
407
421
context : __SerdeContext
408
422
) : Promise < __HttpRequest > {
409
- const headers : __HeaderBag = { } ;
410
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
411
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.TagCertificateAuthority" ;
423
+ const headers : __HeaderBag = {
424
+ "Content-Type" : "application/x-amz-json-1.1" ,
425
+ "X-Amz-Target" : "ACMPrivateCA.TagCertificateAuthority"
426
+ } ;
412
427
let body : any ;
413
428
body = JSON . stringify (
414
429
serializeAws_json1_1TagCertificateAuthorityRequest ( input , context )
@@ -420,9 +435,10 @@ export async function serializeAws_json1_1UntagCertificateAuthorityCommand(
420
435
input : UntagCertificateAuthorityCommandInput ,
421
436
context : __SerdeContext
422
437
) : Promise < __HttpRequest > {
423
- const headers : __HeaderBag = { } ;
424
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
425
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.UntagCertificateAuthority" ;
438
+ const headers : __HeaderBag = {
439
+ "Content-Type" : "application/x-amz-json-1.1" ,
440
+ "X-Amz-Target" : "ACMPrivateCA.UntagCertificateAuthority"
441
+ } ;
426
442
let body : any ;
427
443
body = JSON . stringify (
428
444
serializeAws_json1_1UntagCertificateAuthorityRequest ( input , context )
@@ -434,9 +450,10 @@ export async function serializeAws_json1_1UpdateCertificateAuthorityCommand(
434
450
input : UpdateCertificateAuthorityCommandInput ,
435
451
context : __SerdeContext
436
452
) : Promise < __HttpRequest > {
437
- const headers : __HeaderBag = { } ;
438
- headers [ "Content-Type" ] = "application/x-amz-json-1.1" ;
439
- headers [ "X-Amz-Target" ] = "ACMPrivateCA.UpdateCertificateAuthority" ;
453
+ const headers : __HeaderBag = {
454
+ "Content-Type" : "application/x-amz-json-1.1" ,
455
+ "X-Amz-Target" : "ACMPrivateCA.UpdateCertificateAuthority"
456
+ } ;
440
457
let body : any ;
441
458
body = JSON . stringify (
442
459
serializeAws_json1_1UpdateCertificateAuthorityRequest ( input , context )
0 commit comments