@aws-sdk/client-signer 3.306.0 → 3.310.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.
Files changed (39) hide show
  1. package/dist-cjs/commands/AddProfilePermissionCommand.js +2 -2
  2. package/dist-cjs/commands/CancelSigningProfileCommand.js +2 -2
  3. package/dist-cjs/commands/DescribeSigningJobCommand.js +2 -2
  4. package/dist-cjs/commands/GetSigningPlatformCommand.js +2 -2
  5. package/dist-cjs/commands/GetSigningProfileCommand.js +2 -2
  6. package/dist-cjs/commands/ListProfilePermissionsCommand.js +2 -2
  7. package/dist-cjs/commands/ListSigningJobsCommand.js +2 -2
  8. package/dist-cjs/commands/ListSigningPlatformsCommand.js +2 -2
  9. package/dist-cjs/commands/ListSigningProfilesCommand.js +2 -2
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  11. package/dist-cjs/commands/PutSigningProfileCommand.js +2 -2
  12. package/dist-cjs/commands/RemoveProfilePermissionCommand.js +2 -2
  13. package/dist-cjs/commands/RevokeSignatureCommand.js +2 -2
  14. package/dist-cjs/commands/RevokeSigningProfileCommand.js +2 -2
  15. package/dist-cjs/commands/StartSigningJobCommand.js +2 -2
  16. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  17. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  18. package/dist-cjs/protocols/Aws_restJson1.js +279 -299
  19. package/dist-es/commands/AddProfilePermissionCommand.js +3 -3
  20. package/dist-es/commands/CancelSigningProfileCommand.js +3 -3
  21. package/dist-es/commands/DescribeSigningJobCommand.js +3 -3
  22. package/dist-es/commands/GetSigningPlatformCommand.js +3 -3
  23. package/dist-es/commands/GetSigningProfileCommand.js +3 -3
  24. package/dist-es/commands/ListProfilePermissionsCommand.js +3 -3
  25. package/dist-es/commands/ListSigningJobsCommand.js +3 -3
  26. package/dist-es/commands/ListSigningPlatformsCommand.js +3 -3
  27. package/dist-es/commands/ListSigningProfilesCommand.js +3 -3
  28. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  29. package/dist-es/commands/PutSigningProfileCommand.js +3 -3
  30. package/dist-es/commands/RemoveProfilePermissionCommand.js +3 -3
  31. package/dist-es/commands/RevokeSignatureCommand.js +3 -3
  32. package/dist-es/commands/RevokeSigningProfileCommand.js +3 -3
  33. package/dist-es/commands/StartSigningJobCommand.js +3 -3
  34. package/dist-es/commands/TagResourceCommand.js +3 -3
  35. package/dist-es/commands/UntagResourceCommand.js +3 -3
  36. package/dist-es/protocols/Aws_restJson1.js +244 -264
  37. package/dist-types/protocols/Aws_restJson1.d.ts +136 -34
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +34 -34
  39. package/package.json +36 -36
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { AccessDeniedException, BadRequestException, ConflictException, InternalServiceErrorException, NotFoundException, ResourceNotFoundException, ServiceLimitExceededException, ThrottlingException, TooManyRequestsException, ValidationException, } from "../models/models_0";
5
5
  import { SignerServiceException as __BaseException } from "../models/SignerServiceException";
6
- export const serializeAws_restJson1AddProfilePermissionCommand = async (input, context) => {
6
+ export const se_AddProfilePermissionCommand = async (input, context) => {
7
7
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
8
8
  const headers = {
9
9
  "content-type": "application/json",
@@ -29,7 +29,7 @@ export const serializeAws_restJson1AddProfilePermissionCommand = async (input, c
29
29
  body,
30
30
  });
31
31
  };
32
- export const serializeAws_restJson1CancelSigningProfileCommand = async (input, context) => {
32
+ export const se_CancelSigningProfileCommand = async (input, context) => {
33
33
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
34
34
  const headers = {};
35
35
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-profiles/{profileName}";
@@ -45,7 +45,7 @@ export const serializeAws_restJson1CancelSigningProfileCommand = async (input, c
45
45
  body,
46
46
  });
47
47
  };
48
- export const serializeAws_restJson1DescribeSigningJobCommand = async (input, context) => {
48
+ export const se_DescribeSigningJobCommand = async (input, context) => {
49
49
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
50
50
  const headers = {};
51
51
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-jobs/{jobId}";
@@ -61,7 +61,7 @@ export const serializeAws_restJson1DescribeSigningJobCommand = async (input, con
61
61
  body,
62
62
  });
63
63
  };
64
- export const serializeAws_restJson1GetSigningPlatformCommand = async (input, context) => {
64
+ export const se_GetSigningPlatformCommand = async (input, context) => {
65
65
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
66
66
  const headers = {};
67
67
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-platforms/{platformId}";
@@ -77,7 +77,7 @@ export const serializeAws_restJson1GetSigningPlatformCommand = async (input, con
77
77
  body,
78
78
  });
79
79
  };
80
- export const serializeAws_restJson1GetSigningProfileCommand = async (input, context) => {
80
+ export const se_GetSigningProfileCommand = async (input, context) => {
81
81
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
82
82
  const headers = {};
83
83
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-profiles/{profileName}";
@@ -97,7 +97,7 @@ export const serializeAws_restJson1GetSigningProfileCommand = async (input, cont
97
97
  body,
98
98
  });
99
99
  };
100
- export const serializeAws_restJson1ListProfilePermissionsCommand = async (input, context) => {
100
+ export const se_ListProfilePermissionsCommand = async (input, context) => {
101
101
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
102
102
  const headers = {};
103
103
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -118,7 +118,7 @@ export const serializeAws_restJson1ListProfilePermissionsCommand = async (input,
118
118
  body,
119
119
  });
120
120
  };
121
- export const serializeAws_restJson1ListSigningJobsCommand = async (input, context) => {
121
+ export const se_ListSigningJobsCommand = async (input, context) => {
122
122
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
123
123
  const headers = {};
124
124
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-jobs";
@@ -151,7 +151,7 @@ export const serializeAws_restJson1ListSigningJobsCommand = async (input, contex
151
151
  body,
152
152
  });
153
153
  };
154
- export const serializeAws_restJson1ListSigningPlatformsCommand = async (input, context) => {
154
+ export const se_ListSigningPlatformsCommand = async (input, context) => {
155
155
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
156
156
  const headers = {};
157
157
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-platforms";
@@ -174,7 +174,7 @@ export const serializeAws_restJson1ListSigningPlatformsCommand = async (input, c
174
174
  body,
175
175
  });
176
176
  };
177
- export const serializeAws_restJson1ListSigningProfilesCommand = async (input, context) => {
177
+ export const se_ListSigningProfilesCommand = async (input, context) => {
178
178
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
179
179
  const headers = {};
180
180
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-profiles";
@@ -197,7 +197,7 @@ export const serializeAws_restJson1ListSigningProfilesCommand = async (input, co
197
197
  body,
198
198
  });
199
199
  };
200
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
200
+ export const se_ListTagsForResourceCommand = async (input, context) => {
201
201
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
202
202
  const headers = {};
203
203
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -213,7 +213,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
213
213
  body,
214
214
  });
215
215
  };
216
- export const serializeAws_restJson1PutSigningProfileCommand = async (input, context) => {
216
+ export const se_PutSigningProfileCommand = async (input, context) => {
217
217
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
218
218
  const headers = {
219
219
  "content-type": "application/json",
@@ -222,20 +222,16 @@ export const serializeAws_restJson1PutSigningProfileCommand = async (input, cont
222
222
  resolvedPath = __resolvedPath(resolvedPath, input, "profileName", () => input.profileName, "{profileName}", false);
223
223
  let body;
224
224
  body = JSON.stringify({
225
- ...(input.overrides != null && {
226
- overrides: serializeAws_restJson1SigningPlatformOverrides(input.overrides, context),
227
- }),
225
+ ...(input.overrides != null && { overrides: se_SigningPlatformOverrides(input.overrides, context) }),
228
226
  ...(input.platformId != null && { platformId: input.platformId }),
229
227
  ...(input.signatureValidityPeriod != null && {
230
- signatureValidityPeriod: serializeAws_restJson1SignatureValidityPeriod(input.signatureValidityPeriod, context),
231
- }),
232
- ...(input.signingMaterial != null && {
233
- signingMaterial: serializeAws_restJson1SigningMaterial(input.signingMaterial, context),
228
+ signatureValidityPeriod: se_SignatureValidityPeriod(input.signatureValidityPeriod, context),
234
229
  }),
230
+ ...(input.signingMaterial != null && { signingMaterial: se_SigningMaterial(input.signingMaterial, context) }),
235
231
  ...(input.signingParameters != null && {
236
- signingParameters: serializeAws_restJson1SigningParameters(input.signingParameters, context),
232
+ signingParameters: se_SigningParameters(input.signingParameters, context),
237
233
  }),
238
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
234
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
239
235
  });
240
236
  return new __HttpRequest({
241
237
  protocol,
@@ -247,7 +243,7 @@ export const serializeAws_restJson1PutSigningProfileCommand = async (input, cont
247
243
  body,
248
244
  });
249
245
  };
250
- export const serializeAws_restJson1RemoveProfilePermissionCommand = async (input, context) => {
246
+ export const se_RemoveProfilePermissionCommand = async (input, context) => {
251
247
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
252
248
  const headers = {};
253
249
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -269,7 +265,7 @@ export const serializeAws_restJson1RemoveProfilePermissionCommand = async (input
269
265
  body,
270
266
  });
271
267
  };
272
- export const serializeAws_restJson1RevokeSignatureCommand = async (input, context) => {
268
+ export const se_RevokeSignatureCommand = async (input, context) => {
273
269
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
274
270
  const headers = {
275
271
  "content-type": "application/json",
@@ -291,7 +287,7 @@ export const serializeAws_restJson1RevokeSignatureCommand = async (input, contex
291
287
  body,
292
288
  });
293
289
  };
294
- export const serializeAws_restJson1RevokeSigningProfileCommand = async (input, context) => {
290
+ export const se_RevokeSigningProfileCommand = async (input, context) => {
295
291
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
296
292
  const headers = {
297
293
  "content-type": "application/json",
@@ -314,7 +310,7 @@ export const serializeAws_restJson1RevokeSigningProfileCommand = async (input, c
314
310
  body,
315
311
  });
316
312
  };
317
- export const serializeAws_restJson1StartSigningJobCommand = async (input, context) => {
313
+ export const se_StartSigningJobCommand = async (input, context) => {
318
314
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
319
315
  const headers = {
320
316
  "content-type": "application/json",
@@ -323,10 +319,10 @@ export const serializeAws_restJson1StartSigningJobCommand = async (input, contex
323
319
  let body;
324
320
  body = JSON.stringify({
325
321
  clientRequestToken: input.clientRequestToken ?? generateIdempotencyToken(),
326
- ...(input.destination != null && { destination: serializeAws_restJson1Destination(input.destination, context) }),
322
+ ...(input.destination != null && { destination: se_Destination(input.destination, context) }),
327
323
  ...(input.profileName != null && { profileName: input.profileName }),
328
324
  ...(input.profileOwner != null && { profileOwner: input.profileOwner }),
329
- ...(input.source != null && { source: serializeAws_restJson1Source(input.source, context) }),
325
+ ...(input.source != null && { source: se_Source(input.source, context) }),
330
326
  });
331
327
  return new __HttpRequest({
332
328
  protocol,
@@ -338,7 +334,7 @@ export const serializeAws_restJson1StartSigningJobCommand = async (input, contex
338
334
  body,
339
335
  });
340
336
  };
341
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
337
+ export const se_TagResourceCommand = async (input, context) => {
342
338
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
343
339
  const headers = {
344
340
  "content-type": "application/json",
@@ -347,7 +343,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
347
343
  resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
348
344
  let body;
349
345
  body = JSON.stringify({
350
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
346
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
351
347
  });
352
348
  return new __HttpRequest({
353
349
  protocol,
@@ -359,7 +355,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
359
355
  body,
360
356
  });
361
357
  };
362
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
358
+ export const se_UntagResourceCommand = async (input, context) => {
363
359
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
364
360
  const headers = {};
365
361
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -382,9 +378,9 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
382
378
  body,
383
379
  });
384
380
  };
385
- export const deserializeAws_restJson1AddProfilePermissionCommand = async (output, context) => {
381
+ export const de_AddProfilePermissionCommand = async (output, context) => {
386
382
  if (output.statusCode !== 200 && output.statusCode >= 300) {
387
- return deserializeAws_restJson1AddProfilePermissionCommandError(output, context);
383
+ return de_AddProfilePermissionCommandError(output, context);
388
384
  }
389
385
  const contents = map({
390
386
  $metadata: deserializeMetadata(output),
@@ -395,7 +391,7 @@ export const deserializeAws_restJson1AddProfilePermissionCommand = async (output
395
391
  }
396
392
  return contents;
397
393
  };
398
- const deserializeAws_restJson1AddProfilePermissionCommandError = async (output, context) => {
394
+ const de_AddProfilePermissionCommandError = async (output, context) => {
399
395
  const parsedOutput = {
400
396
  ...output,
401
397
  body: await parseErrorBody(output.body, context),
@@ -404,25 +400,25 @@ const deserializeAws_restJson1AddProfilePermissionCommandError = async (output,
404
400
  switch (errorCode) {
405
401
  case "AccessDeniedException":
406
402
  case "com.amazonaws.signer#AccessDeniedException":
407
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
403
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
408
404
  case "ConflictException":
409
405
  case "com.amazonaws.signer#ConflictException":
410
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
406
+ throw await de_ConflictExceptionRes(parsedOutput, context);
411
407
  case "InternalServiceErrorException":
412
408
  case "com.amazonaws.signer#InternalServiceErrorException":
413
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
409
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
414
410
  case "ResourceNotFoundException":
415
411
  case "com.amazonaws.signer#ResourceNotFoundException":
416
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
412
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
417
413
  case "ServiceLimitExceededException":
418
414
  case "com.amazonaws.signer#ServiceLimitExceededException":
419
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
415
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
420
416
  case "TooManyRequestsException":
421
417
  case "com.amazonaws.signer#TooManyRequestsException":
422
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
418
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
423
419
  case "ValidationException":
424
420
  case "com.amazonaws.signer#ValidationException":
425
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
421
+ throw await de_ValidationExceptionRes(parsedOutput, context);
426
422
  default:
427
423
  const parsedBody = parsedOutput.body;
428
424
  throwDefaultError({
@@ -433,9 +429,9 @@ const deserializeAws_restJson1AddProfilePermissionCommandError = async (output,
433
429
  });
434
430
  }
435
431
  };
436
- export const deserializeAws_restJson1CancelSigningProfileCommand = async (output, context) => {
432
+ export const de_CancelSigningProfileCommand = async (output, context) => {
437
433
  if (output.statusCode !== 200 && output.statusCode >= 300) {
438
- return deserializeAws_restJson1CancelSigningProfileCommandError(output, context);
434
+ return de_CancelSigningProfileCommandError(output, context);
439
435
  }
440
436
  const contents = map({
441
437
  $metadata: deserializeMetadata(output),
@@ -443,7 +439,7 @@ export const deserializeAws_restJson1CancelSigningProfileCommand = async (output
443
439
  await collectBody(output.body, context);
444
440
  return contents;
445
441
  };
446
- const deserializeAws_restJson1CancelSigningProfileCommandError = async (output, context) => {
442
+ const de_CancelSigningProfileCommandError = async (output, context) => {
447
443
  const parsedOutput = {
448
444
  ...output,
449
445
  body: await parseErrorBody(output.body, context),
@@ -452,16 +448,16 @@ const deserializeAws_restJson1CancelSigningProfileCommandError = async (output,
452
448
  switch (errorCode) {
453
449
  case "AccessDeniedException":
454
450
  case "com.amazonaws.signer#AccessDeniedException":
455
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
451
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
456
452
  case "InternalServiceErrorException":
457
453
  case "com.amazonaws.signer#InternalServiceErrorException":
458
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
454
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
459
455
  case "ResourceNotFoundException":
460
456
  case "com.amazonaws.signer#ResourceNotFoundException":
461
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
457
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
462
458
  case "TooManyRequestsException":
463
459
  case "com.amazonaws.signer#TooManyRequestsException":
464
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
460
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
465
461
  default:
466
462
  const parsedBody = parsedOutput.body;
467
463
  throwDefaultError({
@@ -472,9 +468,9 @@ const deserializeAws_restJson1CancelSigningProfileCommandError = async (output,
472
468
  });
473
469
  }
474
470
  };
475
- export const deserializeAws_restJson1DescribeSigningJobCommand = async (output, context) => {
471
+ export const de_DescribeSigningJobCommand = async (output, context) => {
476
472
  if (output.statusCode !== 200 && output.statusCode >= 300) {
477
- return deserializeAws_restJson1DescribeSigningJobCommandError(output, context);
473
+ return de_DescribeSigningJobCommandError(output, context);
478
474
  }
479
475
  const contents = map({
480
476
  $metadata: deserializeMetadata(output),
@@ -496,7 +492,7 @@ export const deserializeAws_restJson1DescribeSigningJobCommand = async (output,
496
492
  contents.jobOwner = __expectString(data.jobOwner);
497
493
  }
498
494
  if (data.overrides != null) {
499
- contents.overrides = deserializeAws_restJson1SigningPlatformOverrides(data.overrides, context);
495
+ contents.overrides = de_SigningPlatformOverrides(data.overrides, context);
500
496
  }
501
497
  if (data.platformDisplayName != null) {
502
498
  contents.platformDisplayName = __expectString(data.platformDisplayName);
@@ -514,22 +510,22 @@ export const deserializeAws_restJson1DescribeSigningJobCommand = async (output,
514
510
  contents.requestedBy = __expectString(data.requestedBy);
515
511
  }
516
512
  if (data.revocationRecord != null) {
517
- contents.revocationRecord = deserializeAws_restJson1SigningJobRevocationRecord(data.revocationRecord, context);
513
+ contents.revocationRecord = de_SigningJobRevocationRecord(data.revocationRecord, context);
518
514
  }
519
515
  if (data.signatureExpiresAt != null) {
520
516
  contents.signatureExpiresAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.signatureExpiresAt)));
521
517
  }
522
518
  if (data.signedObject != null) {
523
- contents.signedObject = deserializeAws_restJson1SignedObject(data.signedObject, context);
519
+ contents.signedObject = de_SignedObject(data.signedObject, context);
524
520
  }
525
521
  if (data.signingMaterial != null) {
526
- contents.signingMaterial = deserializeAws_restJson1SigningMaterial(data.signingMaterial, context);
522
+ contents.signingMaterial = de_SigningMaterial(data.signingMaterial, context);
527
523
  }
528
524
  if (data.signingParameters != null) {
529
- contents.signingParameters = deserializeAws_restJson1SigningParameters(data.signingParameters, context);
525
+ contents.signingParameters = de_SigningParameters(data.signingParameters, context);
530
526
  }
531
527
  if (data.source != null) {
532
- contents.source = deserializeAws_restJson1Source(data.source, context);
528
+ contents.source = de_Source(data.source, context);
533
529
  }
534
530
  if (data.status != null) {
535
531
  contents.status = __expectString(data.status);
@@ -539,7 +535,7 @@ export const deserializeAws_restJson1DescribeSigningJobCommand = async (output,
539
535
  }
540
536
  return contents;
541
537
  };
542
- const deserializeAws_restJson1DescribeSigningJobCommandError = async (output, context) => {
538
+ const de_DescribeSigningJobCommandError = async (output, context) => {
543
539
  const parsedOutput = {
544
540
  ...output,
545
541
  body: await parseErrorBody(output.body, context),
@@ -548,16 +544,16 @@ const deserializeAws_restJson1DescribeSigningJobCommandError = async (output, co
548
544
  switch (errorCode) {
549
545
  case "AccessDeniedException":
550
546
  case "com.amazonaws.signer#AccessDeniedException":
551
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
547
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
552
548
  case "InternalServiceErrorException":
553
549
  case "com.amazonaws.signer#InternalServiceErrorException":
554
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
550
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
555
551
  case "ResourceNotFoundException":
556
552
  case "com.amazonaws.signer#ResourceNotFoundException":
557
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
553
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
558
554
  case "TooManyRequestsException":
559
555
  case "com.amazonaws.signer#TooManyRequestsException":
560
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
556
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
561
557
  default:
562
558
  const parsedBody = parsedOutput.body;
563
559
  throwDefaultError({
@@ -568,9 +564,9 @@ const deserializeAws_restJson1DescribeSigningJobCommandError = async (output, co
568
564
  });
569
565
  }
570
566
  };
571
- export const deserializeAws_restJson1GetSigningPlatformCommand = async (output, context) => {
567
+ export const de_GetSigningPlatformCommand = async (output, context) => {
572
568
  if (output.statusCode !== 200 && output.statusCode >= 300) {
573
- return deserializeAws_restJson1GetSigningPlatformCommandError(output, context);
569
+ return de_GetSigningPlatformCommandError(output, context);
574
570
  }
575
571
  const contents = map({
576
572
  $metadata: deserializeMetadata(output),
@@ -595,17 +591,17 @@ export const deserializeAws_restJson1GetSigningPlatformCommand = async (output,
595
591
  contents.revocationSupported = __expectBoolean(data.revocationSupported);
596
592
  }
597
593
  if (data.signingConfiguration != null) {
598
- contents.signingConfiguration = deserializeAws_restJson1SigningConfiguration(data.signingConfiguration, context);
594
+ contents.signingConfiguration = de_SigningConfiguration(data.signingConfiguration, context);
599
595
  }
600
596
  if (data.signingImageFormat != null) {
601
- contents.signingImageFormat = deserializeAws_restJson1SigningImageFormat(data.signingImageFormat, context);
597
+ contents.signingImageFormat = de_SigningImageFormat(data.signingImageFormat, context);
602
598
  }
603
599
  if (data.target != null) {
604
600
  contents.target = __expectString(data.target);
605
601
  }
606
602
  return contents;
607
603
  };
608
- const deserializeAws_restJson1GetSigningPlatformCommandError = async (output, context) => {
604
+ const de_GetSigningPlatformCommandError = async (output, context) => {
609
605
  const parsedOutput = {
610
606
  ...output,
611
607
  body: await parseErrorBody(output.body, context),
@@ -614,16 +610,16 @@ const deserializeAws_restJson1GetSigningPlatformCommandError = async (output, co
614
610
  switch (errorCode) {
615
611
  case "AccessDeniedException":
616
612
  case "com.amazonaws.signer#AccessDeniedException":
617
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
613
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
618
614
  case "InternalServiceErrorException":
619
615
  case "com.amazonaws.signer#InternalServiceErrorException":
620
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
616
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
621
617
  case "ResourceNotFoundException":
622
618
  case "com.amazonaws.signer#ResourceNotFoundException":
623
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
619
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
624
620
  case "TooManyRequestsException":
625
621
  case "com.amazonaws.signer#TooManyRequestsException":
626
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
622
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
627
623
  default:
628
624
  const parsedBody = parsedOutput.body;
629
625
  throwDefaultError({
@@ -634,9 +630,9 @@ const deserializeAws_restJson1GetSigningPlatformCommandError = async (output, co
634
630
  });
635
631
  }
636
632
  };
637
- export const deserializeAws_restJson1GetSigningProfileCommand = async (output, context) => {
633
+ export const de_GetSigningProfileCommand = async (output, context) => {
638
634
  if (output.statusCode !== 200 && output.statusCode >= 300) {
639
- return deserializeAws_restJson1GetSigningProfileCommandError(output, context);
635
+ return de_GetSigningProfileCommandError(output, context);
640
636
  }
641
637
  const contents = map({
642
638
  $metadata: deserializeMetadata(output),
@@ -646,7 +642,7 @@ export const deserializeAws_restJson1GetSigningProfileCommand = async (output, c
646
642
  contents.arn = __expectString(data.arn);
647
643
  }
648
644
  if (data.overrides != null) {
649
- contents.overrides = deserializeAws_restJson1SigningPlatformOverrides(data.overrides, context);
645
+ contents.overrides = de_SigningPlatformOverrides(data.overrides, context);
650
646
  }
651
647
  if (data.platformDisplayName != null) {
652
648
  contents.platformDisplayName = __expectString(data.platformDisplayName);
@@ -664,16 +660,16 @@ export const deserializeAws_restJson1GetSigningProfileCommand = async (output, c
664
660
  contents.profileVersionArn = __expectString(data.profileVersionArn);
665
661
  }
666
662
  if (data.revocationRecord != null) {
667
- contents.revocationRecord = deserializeAws_restJson1SigningProfileRevocationRecord(data.revocationRecord, context);
663
+ contents.revocationRecord = de_SigningProfileRevocationRecord(data.revocationRecord, context);
668
664
  }
669
665
  if (data.signatureValidityPeriod != null) {
670
- contents.signatureValidityPeriod = deserializeAws_restJson1SignatureValidityPeriod(data.signatureValidityPeriod, context);
666
+ contents.signatureValidityPeriod = de_SignatureValidityPeriod(data.signatureValidityPeriod, context);
671
667
  }
672
668
  if (data.signingMaterial != null) {
673
- contents.signingMaterial = deserializeAws_restJson1SigningMaterial(data.signingMaterial, context);
669
+ contents.signingMaterial = de_SigningMaterial(data.signingMaterial, context);
674
670
  }
675
671
  if (data.signingParameters != null) {
676
- contents.signingParameters = deserializeAws_restJson1SigningParameters(data.signingParameters, context);
672
+ contents.signingParameters = de_SigningParameters(data.signingParameters, context);
677
673
  }
678
674
  if (data.status != null) {
679
675
  contents.status = __expectString(data.status);
@@ -682,11 +678,11 @@ export const deserializeAws_restJson1GetSigningProfileCommand = async (output, c
682
678
  contents.statusReason = __expectString(data.statusReason);
683
679
  }
684
680
  if (data.tags != null) {
685
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
681
+ contents.tags = de_TagMap(data.tags, context);
686
682
  }
687
683
  return contents;
688
684
  };
689
- const deserializeAws_restJson1GetSigningProfileCommandError = async (output, context) => {
685
+ const de_GetSigningProfileCommandError = async (output, context) => {
690
686
  const parsedOutput = {
691
687
  ...output,
692
688
  body: await parseErrorBody(output.body, context),
@@ -695,16 +691,16 @@ const deserializeAws_restJson1GetSigningProfileCommandError = async (output, con
695
691
  switch (errorCode) {
696
692
  case "AccessDeniedException":
697
693
  case "com.amazonaws.signer#AccessDeniedException":
698
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
694
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
699
695
  case "InternalServiceErrorException":
700
696
  case "com.amazonaws.signer#InternalServiceErrorException":
701
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
697
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
702
698
  case "ResourceNotFoundException":
703
699
  case "com.amazonaws.signer#ResourceNotFoundException":
704
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
700
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
705
701
  case "TooManyRequestsException":
706
702
  case "com.amazonaws.signer#TooManyRequestsException":
707
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
703
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
708
704
  default:
709
705
  const parsedBody = parsedOutput.body;
710
706
  throwDefaultError({
@@ -715,9 +711,9 @@ const deserializeAws_restJson1GetSigningProfileCommandError = async (output, con
715
711
  });
716
712
  }
717
713
  };
718
- export const deserializeAws_restJson1ListProfilePermissionsCommand = async (output, context) => {
714
+ export const de_ListProfilePermissionsCommand = async (output, context) => {
719
715
  if (output.statusCode !== 200 && output.statusCode >= 300) {
720
- return deserializeAws_restJson1ListProfilePermissionsCommandError(output, context);
716
+ return de_ListProfilePermissionsCommandError(output, context);
721
717
  }
722
718
  const contents = map({
723
719
  $metadata: deserializeMetadata(output),
@@ -727,7 +723,7 @@ export const deserializeAws_restJson1ListProfilePermissionsCommand = async (outp
727
723
  contents.nextToken = __expectString(data.nextToken);
728
724
  }
729
725
  if (data.permissions != null) {
730
- contents.permissions = deserializeAws_restJson1Permissions(data.permissions, context);
726
+ contents.permissions = de_Permissions(data.permissions, context);
731
727
  }
732
728
  if (data.policySizeBytes != null) {
733
729
  contents.policySizeBytes = __expectInt32(data.policySizeBytes);
@@ -737,7 +733,7 @@ export const deserializeAws_restJson1ListProfilePermissionsCommand = async (outp
737
733
  }
738
734
  return contents;
739
735
  };
740
- const deserializeAws_restJson1ListProfilePermissionsCommandError = async (output, context) => {
736
+ const de_ListProfilePermissionsCommandError = async (output, context) => {
741
737
  const parsedOutput = {
742
738
  ...output,
743
739
  body: await parseErrorBody(output.body, context),
@@ -746,19 +742,19 @@ const deserializeAws_restJson1ListProfilePermissionsCommandError = async (output
746
742
  switch (errorCode) {
747
743
  case "AccessDeniedException":
748
744
  case "com.amazonaws.signer#AccessDeniedException":
749
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
745
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
750
746
  case "InternalServiceErrorException":
751
747
  case "com.amazonaws.signer#InternalServiceErrorException":
752
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
748
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
753
749
  case "ResourceNotFoundException":
754
750
  case "com.amazonaws.signer#ResourceNotFoundException":
755
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
751
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
756
752
  case "TooManyRequestsException":
757
753
  case "com.amazonaws.signer#TooManyRequestsException":
758
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
754
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
759
755
  case "ValidationException":
760
756
  case "com.amazonaws.signer#ValidationException":
761
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
757
+ throw await de_ValidationExceptionRes(parsedOutput, context);
762
758
  default:
763
759
  const parsedBody = parsedOutput.body;
764
760
  throwDefaultError({
@@ -769,23 +765,23 @@ const deserializeAws_restJson1ListProfilePermissionsCommandError = async (output
769
765
  });
770
766
  }
771
767
  };
772
- export const deserializeAws_restJson1ListSigningJobsCommand = async (output, context) => {
768
+ export const de_ListSigningJobsCommand = async (output, context) => {
773
769
  if (output.statusCode !== 200 && output.statusCode >= 300) {
774
- return deserializeAws_restJson1ListSigningJobsCommandError(output, context);
770
+ return de_ListSigningJobsCommandError(output, context);
775
771
  }
776
772
  const contents = map({
777
773
  $metadata: deserializeMetadata(output),
778
774
  });
779
775
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
780
776
  if (data.jobs != null) {
781
- contents.jobs = deserializeAws_restJson1SigningJobs(data.jobs, context);
777
+ contents.jobs = de_SigningJobs(data.jobs, context);
782
778
  }
783
779
  if (data.nextToken != null) {
784
780
  contents.nextToken = __expectString(data.nextToken);
785
781
  }
786
782
  return contents;
787
783
  };
788
- const deserializeAws_restJson1ListSigningJobsCommandError = async (output, context) => {
784
+ const de_ListSigningJobsCommandError = async (output, context) => {
789
785
  const parsedOutput = {
790
786
  ...output,
791
787
  body: await parseErrorBody(output.body, context),
@@ -794,16 +790,16 @@ const deserializeAws_restJson1ListSigningJobsCommandError = async (output, conte
794
790
  switch (errorCode) {
795
791
  case "AccessDeniedException":
796
792
  case "com.amazonaws.signer#AccessDeniedException":
797
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
793
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
798
794
  case "InternalServiceErrorException":
799
795
  case "com.amazonaws.signer#InternalServiceErrorException":
800
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
796
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
801
797
  case "TooManyRequestsException":
802
798
  case "com.amazonaws.signer#TooManyRequestsException":
803
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
799
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
804
800
  case "ValidationException":
805
801
  case "com.amazonaws.signer#ValidationException":
806
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
802
+ throw await de_ValidationExceptionRes(parsedOutput, context);
807
803
  default:
808
804
  const parsedBody = parsedOutput.body;
809
805
  throwDefaultError({
@@ -814,9 +810,9 @@ const deserializeAws_restJson1ListSigningJobsCommandError = async (output, conte
814
810
  });
815
811
  }
816
812
  };
817
- export const deserializeAws_restJson1ListSigningPlatformsCommand = async (output, context) => {
813
+ export const de_ListSigningPlatformsCommand = async (output, context) => {
818
814
  if (output.statusCode !== 200 && output.statusCode >= 300) {
819
- return deserializeAws_restJson1ListSigningPlatformsCommandError(output, context);
815
+ return de_ListSigningPlatformsCommandError(output, context);
820
816
  }
821
817
  const contents = map({
822
818
  $metadata: deserializeMetadata(output),
@@ -826,11 +822,11 @@ export const deserializeAws_restJson1ListSigningPlatformsCommand = async (output
826
822
  contents.nextToken = __expectString(data.nextToken);
827
823
  }
828
824
  if (data.platforms != null) {
829
- contents.platforms = deserializeAws_restJson1SigningPlatforms(data.platforms, context);
825
+ contents.platforms = de_SigningPlatforms(data.platforms, context);
830
826
  }
831
827
  return contents;
832
828
  };
833
- const deserializeAws_restJson1ListSigningPlatformsCommandError = async (output, context) => {
829
+ const de_ListSigningPlatformsCommandError = async (output, context) => {
834
830
  const parsedOutput = {
835
831
  ...output,
836
832
  body: await parseErrorBody(output.body, context),
@@ -839,16 +835,16 @@ const deserializeAws_restJson1ListSigningPlatformsCommandError = async (output,
839
835
  switch (errorCode) {
840
836
  case "AccessDeniedException":
841
837
  case "com.amazonaws.signer#AccessDeniedException":
842
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
838
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
843
839
  case "InternalServiceErrorException":
844
840
  case "com.amazonaws.signer#InternalServiceErrorException":
845
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
841
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
846
842
  case "TooManyRequestsException":
847
843
  case "com.amazonaws.signer#TooManyRequestsException":
848
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
844
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
849
845
  case "ValidationException":
850
846
  case "com.amazonaws.signer#ValidationException":
851
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
847
+ throw await de_ValidationExceptionRes(parsedOutput, context);
852
848
  default:
853
849
  const parsedBody = parsedOutput.body;
854
850
  throwDefaultError({
@@ -859,9 +855,9 @@ const deserializeAws_restJson1ListSigningPlatformsCommandError = async (output,
859
855
  });
860
856
  }
861
857
  };
862
- export const deserializeAws_restJson1ListSigningProfilesCommand = async (output, context) => {
858
+ export const de_ListSigningProfilesCommand = async (output, context) => {
863
859
  if (output.statusCode !== 200 && output.statusCode >= 300) {
864
- return deserializeAws_restJson1ListSigningProfilesCommandError(output, context);
860
+ return de_ListSigningProfilesCommandError(output, context);
865
861
  }
866
862
  const contents = map({
867
863
  $metadata: deserializeMetadata(output),
@@ -871,11 +867,11 @@ export const deserializeAws_restJson1ListSigningProfilesCommand = async (output,
871
867
  contents.nextToken = __expectString(data.nextToken);
872
868
  }
873
869
  if (data.profiles != null) {
874
- contents.profiles = deserializeAws_restJson1SigningProfiles(data.profiles, context);
870
+ contents.profiles = de_SigningProfiles(data.profiles, context);
875
871
  }
876
872
  return contents;
877
873
  };
878
- const deserializeAws_restJson1ListSigningProfilesCommandError = async (output, context) => {
874
+ const de_ListSigningProfilesCommandError = async (output, context) => {
879
875
  const parsedOutput = {
880
876
  ...output,
881
877
  body: await parseErrorBody(output.body, context),
@@ -884,13 +880,13 @@ const deserializeAws_restJson1ListSigningProfilesCommandError = async (output, c
884
880
  switch (errorCode) {
885
881
  case "AccessDeniedException":
886
882
  case "com.amazonaws.signer#AccessDeniedException":
887
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
883
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
888
884
  case "InternalServiceErrorException":
889
885
  case "com.amazonaws.signer#InternalServiceErrorException":
890
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
886
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
891
887
  case "TooManyRequestsException":
892
888
  case "com.amazonaws.signer#TooManyRequestsException":
893
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
889
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
894
890
  default:
895
891
  const parsedBody = parsedOutput.body;
896
892
  throwDefaultError({
@@ -901,20 +897,20 @@ const deserializeAws_restJson1ListSigningProfilesCommandError = async (output, c
901
897
  });
902
898
  }
903
899
  };
904
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
900
+ export const de_ListTagsForResourceCommand = async (output, context) => {
905
901
  if (output.statusCode !== 200 && output.statusCode >= 300) {
906
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
902
+ return de_ListTagsForResourceCommandError(output, context);
907
903
  }
908
904
  const contents = map({
909
905
  $metadata: deserializeMetadata(output),
910
906
  });
911
907
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
912
908
  if (data.tags != null) {
913
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
909
+ contents.tags = de_TagMap(data.tags, context);
914
910
  }
915
911
  return contents;
916
912
  };
917
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
913
+ const de_ListTagsForResourceCommandError = async (output, context) => {
918
914
  const parsedOutput = {
919
915
  ...output,
920
916
  body: await parseErrorBody(output.body, context),
@@ -923,16 +919,16 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
923
919
  switch (errorCode) {
924
920
  case "BadRequestException":
925
921
  case "com.amazonaws.signer#BadRequestException":
926
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
922
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
927
923
  case "InternalServiceErrorException":
928
924
  case "com.amazonaws.signer#InternalServiceErrorException":
929
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
925
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
930
926
  case "NotFoundException":
931
927
  case "com.amazonaws.signer#NotFoundException":
932
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
928
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
933
929
  case "TooManyRequestsException":
934
930
  case "com.amazonaws.signer#TooManyRequestsException":
935
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
931
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
936
932
  default:
937
933
  const parsedBody = parsedOutput.body;
938
934
  throwDefaultError({
@@ -943,9 +939,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
943
939
  });
944
940
  }
945
941
  };
946
- export const deserializeAws_restJson1PutSigningProfileCommand = async (output, context) => {
942
+ export const de_PutSigningProfileCommand = async (output, context) => {
947
943
  if (output.statusCode !== 200 && output.statusCode >= 300) {
948
- return deserializeAws_restJson1PutSigningProfileCommandError(output, context);
944
+ return de_PutSigningProfileCommandError(output, context);
949
945
  }
950
946
  const contents = map({
951
947
  $metadata: deserializeMetadata(output),
@@ -962,7 +958,7 @@ export const deserializeAws_restJson1PutSigningProfileCommand = async (output, c
962
958
  }
963
959
  return contents;
964
960
  };
965
- const deserializeAws_restJson1PutSigningProfileCommandError = async (output, context) => {
961
+ const de_PutSigningProfileCommandError = async (output, context) => {
966
962
  const parsedOutput = {
967
963
  ...output,
968
964
  body: await parseErrorBody(output.body, context),
@@ -971,19 +967,19 @@ const deserializeAws_restJson1PutSigningProfileCommandError = async (output, con
971
967
  switch (errorCode) {
972
968
  case "AccessDeniedException":
973
969
  case "com.amazonaws.signer#AccessDeniedException":
974
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
970
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
975
971
  case "InternalServiceErrorException":
976
972
  case "com.amazonaws.signer#InternalServiceErrorException":
977
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
973
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
978
974
  case "ResourceNotFoundException":
979
975
  case "com.amazonaws.signer#ResourceNotFoundException":
980
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
976
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
981
977
  case "TooManyRequestsException":
982
978
  case "com.amazonaws.signer#TooManyRequestsException":
983
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
979
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
984
980
  case "ValidationException":
985
981
  case "com.amazonaws.signer#ValidationException":
986
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
982
+ throw await de_ValidationExceptionRes(parsedOutput, context);
987
983
  default:
988
984
  const parsedBody = parsedOutput.body;
989
985
  throwDefaultError({
@@ -994,9 +990,9 @@ const deserializeAws_restJson1PutSigningProfileCommandError = async (output, con
994
990
  });
995
991
  }
996
992
  };
997
- export const deserializeAws_restJson1RemoveProfilePermissionCommand = async (output, context) => {
993
+ export const de_RemoveProfilePermissionCommand = async (output, context) => {
998
994
  if (output.statusCode !== 200 && output.statusCode >= 300) {
999
- return deserializeAws_restJson1RemoveProfilePermissionCommandError(output, context);
995
+ return de_RemoveProfilePermissionCommandError(output, context);
1000
996
  }
1001
997
  const contents = map({
1002
998
  $metadata: deserializeMetadata(output),
@@ -1007,7 +1003,7 @@ export const deserializeAws_restJson1RemoveProfilePermissionCommand = async (out
1007
1003
  }
1008
1004
  return contents;
1009
1005
  };
1010
- const deserializeAws_restJson1RemoveProfilePermissionCommandError = async (output, context) => {
1006
+ const de_RemoveProfilePermissionCommandError = async (output, context) => {
1011
1007
  const parsedOutput = {
1012
1008
  ...output,
1013
1009
  body: await parseErrorBody(output.body, context),
@@ -1016,22 +1012,22 @@ const deserializeAws_restJson1RemoveProfilePermissionCommandError = async (outpu
1016
1012
  switch (errorCode) {
1017
1013
  case "AccessDeniedException":
1018
1014
  case "com.amazonaws.signer#AccessDeniedException":
1019
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1015
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1020
1016
  case "ConflictException":
1021
1017
  case "com.amazonaws.signer#ConflictException":
1022
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1018
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1023
1019
  case "InternalServiceErrorException":
1024
1020
  case "com.amazonaws.signer#InternalServiceErrorException":
1025
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1021
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1026
1022
  case "ResourceNotFoundException":
1027
1023
  case "com.amazonaws.signer#ResourceNotFoundException":
1028
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1024
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1029
1025
  case "TooManyRequestsException":
1030
1026
  case "com.amazonaws.signer#TooManyRequestsException":
1031
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1027
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1032
1028
  case "ValidationException":
1033
1029
  case "com.amazonaws.signer#ValidationException":
1034
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1030
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1035
1031
  default:
1036
1032
  const parsedBody = parsedOutput.body;
1037
1033
  throwDefaultError({
@@ -1042,9 +1038,9 @@ const deserializeAws_restJson1RemoveProfilePermissionCommandError = async (outpu
1042
1038
  });
1043
1039
  }
1044
1040
  };
1045
- export const deserializeAws_restJson1RevokeSignatureCommand = async (output, context) => {
1041
+ export const de_RevokeSignatureCommand = async (output, context) => {
1046
1042
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1047
- return deserializeAws_restJson1RevokeSignatureCommandError(output, context);
1043
+ return de_RevokeSignatureCommandError(output, context);
1048
1044
  }
1049
1045
  const contents = map({
1050
1046
  $metadata: deserializeMetadata(output),
@@ -1052,7 +1048,7 @@ export const deserializeAws_restJson1RevokeSignatureCommand = async (output, con
1052
1048
  await collectBody(output.body, context);
1053
1049
  return contents;
1054
1050
  };
1055
- const deserializeAws_restJson1RevokeSignatureCommandError = async (output, context) => {
1051
+ const de_RevokeSignatureCommandError = async (output, context) => {
1056
1052
  const parsedOutput = {
1057
1053
  ...output,
1058
1054
  body: await parseErrorBody(output.body, context),
@@ -1061,19 +1057,19 @@ const deserializeAws_restJson1RevokeSignatureCommandError = async (output, conte
1061
1057
  switch (errorCode) {
1062
1058
  case "AccessDeniedException":
1063
1059
  case "com.amazonaws.signer#AccessDeniedException":
1064
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1060
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1065
1061
  case "InternalServiceErrorException":
1066
1062
  case "com.amazonaws.signer#InternalServiceErrorException":
1067
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1063
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1068
1064
  case "ResourceNotFoundException":
1069
1065
  case "com.amazonaws.signer#ResourceNotFoundException":
1070
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1066
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1071
1067
  case "TooManyRequestsException":
1072
1068
  case "com.amazonaws.signer#TooManyRequestsException":
1073
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1069
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1074
1070
  case "ValidationException":
1075
1071
  case "com.amazonaws.signer#ValidationException":
1076
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1072
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1077
1073
  default:
1078
1074
  const parsedBody = parsedOutput.body;
1079
1075
  throwDefaultError({
@@ -1084,9 +1080,9 @@ const deserializeAws_restJson1RevokeSignatureCommandError = async (output, conte
1084
1080
  });
1085
1081
  }
1086
1082
  };
1087
- export const deserializeAws_restJson1RevokeSigningProfileCommand = async (output, context) => {
1083
+ export const de_RevokeSigningProfileCommand = async (output, context) => {
1088
1084
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1089
- return deserializeAws_restJson1RevokeSigningProfileCommandError(output, context);
1085
+ return de_RevokeSigningProfileCommandError(output, context);
1090
1086
  }
1091
1087
  const contents = map({
1092
1088
  $metadata: deserializeMetadata(output),
@@ -1094,7 +1090,7 @@ export const deserializeAws_restJson1RevokeSigningProfileCommand = async (output
1094
1090
  await collectBody(output.body, context);
1095
1091
  return contents;
1096
1092
  };
1097
- const deserializeAws_restJson1RevokeSigningProfileCommandError = async (output, context) => {
1093
+ const de_RevokeSigningProfileCommandError = async (output, context) => {
1098
1094
  const parsedOutput = {
1099
1095
  ...output,
1100
1096
  body: await parseErrorBody(output.body, context),
@@ -1103,19 +1099,19 @@ const deserializeAws_restJson1RevokeSigningProfileCommandError = async (output,
1103
1099
  switch (errorCode) {
1104
1100
  case "AccessDeniedException":
1105
1101
  case "com.amazonaws.signer#AccessDeniedException":
1106
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1102
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1107
1103
  case "InternalServiceErrorException":
1108
1104
  case "com.amazonaws.signer#InternalServiceErrorException":
1109
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1105
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1110
1106
  case "ResourceNotFoundException":
1111
1107
  case "com.amazonaws.signer#ResourceNotFoundException":
1112
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1108
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1113
1109
  case "TooManyRequestsException":
1114
1110
  case "com.amazonaws.signer#TooManyRequestsException":
1115
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1111
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1116
1112
  case "ValidationException":
1117
1113
  case "com.amazonaws.signer#ValidationException":
1118
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1114
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1119
1115
  default:
1120
1116
  const parsedBody = parsedOutput.body;
1121
1117
  throwDefaultError({
@@ -1126,9 +1122,9 @@ const deserializeAws_restJson1RevokeSigningProfileCommandError = async (output,
1126
1122
  });
1127
1123
  }
1128
1124
  };
1129
- export const deserializeAws_restJson1StartSigningJobCommand = async (output, context) => {
1125
+ export const de_StartSigningJobCommand = async (output, context) => {
1130
1126
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1131
- return deserializeAws_restJson1StartSigningJobCommandError(output, context);
1127
+ return de_StartSigningJobCommandError(output, context);
1132
1128
  }
1133
1129
  const contents = map({
1134
1130
  $metadata: deserializeMetadata(output),
@@ -1142,7 +1138,7 @@ export const deserializeAws_restJson1StartSigningJobCommand = async (output, con
1142
1138
  }
1143
1139
  return contents;
1144
1140
  };
1145
- const deserializeAws_restJson1StartSigningJobCommandError = async (output, context) => {
1141
+ const de_StartSigningJobCommandError = async (output, context) => {
1146
1142
  const parsedOutput = {
1147
1143
  ...output,
1148
1144
  body: await parseErrorBody(output.body, context),
@@ -1151,22 +1147,22 @@ const deserializeAws_restJson1StartSigningJobCommandError = async (output, conte
1151
1147
  switch (errorCode) {
1152
1148
  case "AccessDeniedException":
1153
1149
  case "com.amazonaws.signer#AccessDeniedException":
1154
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1150
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1155
1151
  case "InternalServiceErrorException":
1156
1152
  case "com.amazonaws.signer#InternalServiceErrorException":
1157
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1153
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1158
1154
  case "ResourceNotFoundException":
1159
1155
  case "com.amazonaws.signer#ResourceNotFoundException":
1160
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1156
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1161
1157
  case "ThrottlingException":
1162
1158
  case "com.amazonaws.signer#ThrottlingException":
1163
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1159
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1164
1160
  case "TooManyRequestsException":
1165
1161
  case "com.amazonaws.signer#TooManyRequestsException":
1166
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1162
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1167
1163
  case "ValidationException":
1168
1164
  case "com.amazonaws.signer#ValidationException":
1169
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1165
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1170
1166
  default:
1171
1167
  const parsedBody = parsedOutput.body;
1172
1168
  throwDefaultError({
@@ -1177,9 +1173,9 @@ const deserializeAws_restJson1StartSigningJobCommandError = async (output, conte
1177
1173
  });
1178
1174
  }
1179
1175
  };
1180
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1176
+ export const de_TagResourceCommand = async (output, context) => {
1181
1177
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1182
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1178
+ return de_TagResourceCommandError(output, context);
1183
1179
  }
1184
1180
  const contents = map({
1185
1181
  $metadata: deserializeMetadata(output),
@@ -1187,7 +1183,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1187
1183
  await collectBody(output.body, context);
1188
1184
  return contents;
1189
1185
  };
1190
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1186
+ const de_TagResourceCommandError = async (output, context) => {
1191
1187
  const parsedOutput = {
1192
1188
  ...output,
1193
1189
  body: await parseErrorBody(output.body, context),
@@ -1196,16 +1192,16 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1196
1192
  switch (errorCode) {
1197
1193
  case "BadRequestException":
1198
1194
  case "com.amazonaws.signer#BadRequestException":
1199
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1195
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1200
1196
  case "InternalServiceErrorException":
1201
1197
  case "com.amazonaws.signer#InternalServiceErrorException":
1202
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1198
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1203
1199
  case "NotFoundException":
1204
1200
  case "com.amazonaws.signer#NotFoundException":
1205
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1201
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1206
1202
  case "TooManyRequestsException":
1207
1203
  case "com.amazonaws.signer#TooManyRequestsException":
1208
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1204
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1209
1205
  default:
1210
1206
  const parsedBody = parsedOutput.body;
1211
1207
  throwDefaultError({
@@ -1216,9 +1212,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1216
1212
  });
1217
1213
  }
1218
1214
  };
1219
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1215
+ export const de_UntagResourceCommand = async (output, context) => {
1220
1216
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1221
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1217
+ return de_UntagResourceCommandError(output, context);
1222
1218
  }
1223
1219
  const contents = map({
1224
1220
  $metadata: deserializeMetadata(output),
@@ -1226,7 +1222,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
1226
1222
  await collectBody(output.body, context);
1227
1223
  return contents;
1228
1224
  };
1229
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1225
+ const de_UntagResourceCommandError = async (output, context) => {
1230
1226
  const parsedOutput = {
1231
1227
  ...output,
1232
1228
  body: await parseErrorBody(output.body, context),
@@ -1235,16 +1231,16 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1235
1231
  switch (errorCode) {
1236
1232
  case "BadRequestException":
1237
1233
  case "com.amazonaws.signer#BadRequestException":
1238
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1234
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1239
1235
  case "InternalServiceErrorException":
1240
1236
  case "com.amazonaws.signer#InternalServiceErrorException":
1241
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1237
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1242
1238
  case "NotFoundException":
1243
1239
  case "com.amazonaws.signer#NotFoundException":
1244
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1240
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1245
1241
  case "TooManyRequestsException":
1246
1242
  case "com.amazonaws.signer#TooManyRequestsException":
1247
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1243
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1248
1244
  default:
1249
1245
  const parsedBody = parsedOutput.body;
1250
1246
  throwDefaultError({
@@ -1256,7 +1252,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1256
1252
  }
1257
1253
  };
1258
1254
  const map = __map;
1259
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1255
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1260
1256
  const contents = map({});
1261
1257
  const data = parsedOutput.body;
1262
1258
  if (data.code != null) {
@@ -1271,7 +1267,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1271
1267
  });
1272
1268
  return __decorateServiceException(exception, parsedOutput.body);
1273
1269
  };
1274
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
1270
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1275
1271
  const contents = map({});
1276
1272
  const data = parsedOutput.body;
1277
1273
  if (data.code != null) {
@@ -1286,7 +1282,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
1286
1282
  });
1287
1283
  return __decorateServiceException(exception, parsedOutput.body);
1288
1284
  };
1289
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1285
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1290
1286
  const contents = map({});
1291
1287
  const data = parsedOutput.body;
1292
1288
  if (data.code != null) {
@@ -1301,7 +1297,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1301
1297
  });
1302
1298
  return __decorateServiceException(exception, parsedOutput.body);
1303
1299
  };
1304
- const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (parsedOutput, context) => {
1300
+ const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
1305
1301
  const contents = map({});
1306
1302
  const data = parsedOutput.body;
1307
1303
  if (data.code != null) {
@@ -1316,7 +1312,7 @@ const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (par
1316
1312
  });
1317
1313
  return __decorateServiceException(exception, parsedOutput.body);
1318
1314
  };
1319
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
1315
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1320
1316
  const contents = map({});
1321
1317
  const data = parsedOutput.body;
1322
1318
  if (data.code != null) {
@@ -1331,7 +1327,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
1331
1327
  });
1332
1328
  return __decorateServiceException(exception, parsedOutput.body);
1333
1329
  };
1334
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1330
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1335
1331
  const contents = map({});
1336
1332
  const data = parsedOutput.body;
1337
1333
  if (data.code != null) {
@@ -1346,7 +1342,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1346
1342
  });
1347
1343
  return __decorateServiceException(exception, parsedOutput.body);
1348
1344
  };
1349
- const deserializeAws_restJson1ServiceLimitExceededExceptionResponse = async (parsedOutput, context) => {
1345
+ const de_ServiceLimitExceededExceptionRes = async (parsedOutput, context) => {
1350
1346
  const contents = map({});
1351
1347
  const data = parsedOutput.body;
1352
1348
  if (data.code != null) {
@@ -1361,7 +1357,7 @@ const deserializeAws_restJson1ServiceLimitExceededExceptionResponse = async (par
1361
1357
  });
1362
1358
  return __decorateServiceException(exception, parsedOutput.body);
1363
1359
  };
1364
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1360
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1365
1361
  const contents = map({});
1366
1362
  const data = parsedOutput.body;
1367
1363
  if (data.code != null) {
@@ -1376,7 +1372,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1376
1372
  });
1377
1373
  return __decorateServiceException(exception, parsedOutput.body);
1378
1374
  };
1379
- const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
1375
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1380
1376
  const contents = map({});
1381
1377
  const data = parsedOutput.body;
1382
1378
  if (data.code != null) {
@@ -1391,7 +1387,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
1391
1387
  });
1392
1388
  return __decorateServiceException(exception, parsedOutput.body);
1393
1389
  };
1394
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1390
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1395
1391
  const contents = map({});
1396
1392
  const data = parsedOutput.body;
1397
1393
  if (data.code != null) {
@@ -1406,42 +1402,42 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1406
1402
  });
1407
1403
  return __decorateServiceException(exception, parsedOutput.body);
1408
1404
  };
1409
- const serializeAws_restJson1Destination = (input, context) => {
1405
+ const se_Destination = (input, context) => {
1410
1406
  return {
1411
- ...(input.s3 != null && { s3: serializeAws_restJson1S3Destination(input.s3, context) }),
1407
+ ...(input.s3 != null && { s3: se_S3Destination(input.s3, context) }),
1412
1408
  };
1413
1409
  };
1414
- const serializeAws_restJson1S3Destination = (input, context) => {
1410
+ const se_S3Destination = (input, context) => {
1415
1411
  return {
1416
1412
  ...(input.bucketName != null && { bucketName: input.bucketName }),
1417
1413
  ...(input.prefix != null && { prefix: input.prefix }),
1418
1414
  };
1419
1415
  };
1420
- const serializeAws_restJson1S3Source = (input, context) => {
1416
+ const se_S3Source = (input, context) => {
1421
1417
  return {
1422
1418
  ...(input.bucketName != null && { bucketName: input.bucketName }),
1423
1419
  ...(input.key != null && { key: input.key }),
1424
1420
  ...(input.version != null && { version: input.version }),
1425
1421
  };
1426
1422
  };
1427
- const serializeAws_restJson1SignatureValidityPeriod = (input, context) => {
1423
+ const se_SignatureValidityPeriod = (input, context) => {
1428
1424
  return {
1429
1425
  ...(input.type != null && { type: input.type }),
1430
1426
  ...(input.value != null && { value: input.value }),
1431
1427
  };
1432
1428
  };
1433
- const serializeAws_restJson1SigningConfigurationOverrides = (input, context) => {
1429
+ const se_SigningConfigurationOverrides = (input, context) => {
1434
1430
  return {
1435
1431
  ...(input.encryptionAlgorithm != null && { encryptionAlgorithm: input.encryptionAlgorithm }),
1436
1432
  ...(input.hashAlgorithm != null && { hashAlgorithm: input.hashAlgorithm }),
1437
1433
  };
1438
1434
  };
1439
- const serializeAws_restJson1SigningMaterial = (input, context) => {
1435
+ const se_SigningMaterial = (input, context) => {
1440
1436
  return {
1441
1437
  ...(input.certificateArn != null && { certificateArn: input.certificateArn }),
1442
1438
  };
1443
1439
  };
1444
- const serializeAws_restJson1SigningParameters = (input, context) => {
1440
+ const se_SigningParameters = (input, context) => {
1445
1441
  return Object.entries(input).reduce((acc, [key, value]) => {
1446
1442
  if (value === null) {
1447
1443
  return acc;
@@ -1450,20 +1446,20 @@ const serializeAws_restJson1SigningParameters = (input, context) => {
1450
1446
  return acc;
1451
1447
  }, {});
1452
1448
  };
1453
- const serializeAws_restJson1SigningPlatformOverrides = (input, context) => {
1449
+ const se_SigningPlatformOverrides = (input, context) => {
1454
1450
  return {
1455
1451
  ...(input.signingConfiguration != null && {
1456
- signingConfiguration: serializeAws_restJson1SigningConfigurationOverrides(input.signingConfiguration, context),
1452
+ signingConfiguration: se_SigningConfigurationOverrides(input.signingConfiguration, context),
1457
1453
  }),
1458
1454
  ...(input.signingImageFormat != null && { signingImageFormat: input.signingImageFormat }),
1459
1455
  };
1460
1456
  };
1461
- const serializeAws_restJson1Source = (input, context) => {
1457
+ const se_Source = (input, context) => {
1462
1458
  return {
1463
- ...(input.s3 != null && { s3: serializeAws_restJson1S3Source(input.s3, context) }),
1459
+ ...(input.s3 != null && { s3: se_S3Source(input.s3, context) }),
1464
1460
  };
1465
1461
  };
1466
- const serializeAws_restJson1TagMap = (input, context) => {
1462
+ const se_TagMap = (input, context) => {
1467
1463
  return Object.entries(input).reduce((acc, [key, value]) => {
1468
1464
  if (value === null) {
1469
1465
  return acc;
@@ -1472,15 +1468,13 @@ const serializeAws_restJson1TagMap = (input, context) => {
1472
1468
  return acc;
1473
1469
  }, {});
1474
1470
  };
1475
- const deserializeAws_restJson1EncryptionAlgorithmOptions = (output, context) => {
1471
+ const de_EncryptionAlgorithmOptions = (output, context) => {
1476
1472
  return {
1477
- allowedValues: output.allowedValues != null
1478
- ? deserializeAws_restJson1EncryptionAlgorithms(output.allowedValues, context)
1479
- : undefined,
1473
+ allowedValues: output.allowedValues != null ? de_EncryptionAlgorithms(output.allowedValues, context) : undefined,
1480
1474
  defaultValue: __expectString(output.defaultValue),
1481
1475
  };
1482
1476
  };
1483
- const deserializeAws_restJson1EncryptionAlgorithms = (output, context) => {
1477
+ const de_EncryptionAlgorithms = (output, context) => {
1484
1478
  const retVal = (output || [])
1485
1479
  .filter((e) => e != null)
1486
1480
  .map((entry) => {
@@ -1491,13 +1485,13 @@ const deserializeAws_restJson1EncryptionAlgorithms = (output, context) => {
1491
1485
  });
1492
1486
  return retVal;
1493
1487
  };
1494
- const deserializeAws_restJson1HashAlgorithmOptions = (output, context) => {
1488
+ const de_HashAlgorithmOptions = (output, context) => {
1495
1489
  return {
1496
- allowedValues: output.allowedValues != null ? deserializeAws_restJson1HashAlgorithms(output.allowedValues, context) : undefined,
1490
+ allowedValues: output.allowedValues != null ? de_HashAlgorithms(output.allowedValues, context) : undefined,
1497
1491
  defaultValue: __expectString(output.defaultValue),
1498
1492
  };
1499
1493
  };
1500
- const deserializeAws_restJson1HashAlgorithms = (output, context) => {
1494
+ const de_HashAlgorithms = (output, context) => {
1501
1495
  const retVal = (output || [])
1502
1496
  .filter((e) => e != null)
1503
1497
  .map((entry) => {
@@ -1508,7 +1502,7 @@ const deserializeAws_restJson1HashAlgorithms = (output, context) => {
1508
1502
  });
1509
1503
  return retVal;
1510
1504
  };
1511
- const deserializeAws_restJson1ImageFormats = (output, context) => {
1505
+ const de_ImageFormats = (output, context) => {
1512
1506
  const retVal = (output || [])
1513
1507
  .filter((e) => e != null)
1514
1508
  .map((entry) => {
@@ -1519,7 +1513,7 @@ const deserializeAws_restJson1ImageFormats = (output, context) => {
1519
1513
  });
1520
1514
  return retVal;
1521
1515
  };
1522
- const deserializeAws_restJson1Permission = (output, context) => {
1516
+ const de_Permission = (output, context) => {
1523
1517
  return {
1524
1518
  action: __expectString(output.action),
1525
1519
  principal: __expectString(output.principal),
@@ -1527,66 +1521,62 @@ const deserializeAws_restJson1Permission = (output, context) => {
1527
1521
  statementId: __expectString(output.statementId),
1528
1522
  };
1529
1523
  };
1530
- const deserializeAws_restJson1Permissions = (output, context) => {
1524
+ const de_Permissions = (output, context) => {
1531
1525
  const retVal = (output || [])
1532
1526
  .filter((e) => e != null)
1533
1527
  .map((entry) => {
1534
1528
  if (entry === null) {
1535
1529
  return null;
1536
1530
  }
1537
- return deserializeAws_restJson1Permission(entry, context);
1531
+ return de_Permission(entry, context);
1538
1532
  });
1539
1533
  return retVal;
1540
1534
  };
1541
- const deserializeAws_restJson1S3SignedObject = (output, context) => {
1535
+ const de_S3SignedObject = (output, context) => {
1542
1536
  return {
1543
1537
  bucketName: __expectString(output.bucketName),
1544
1538
  key: __expectString(output.key),
1545
1539
  };
1546
1540
  };
1547
- const deserializeAws_restJson1S3Source = (output, context) => {
1541
+ const de_S3Source = (output, context) => {
1548
1542
  return {
1549
1543
  bucketName: __expectString(output.bucketName),
1550
1544
  key: __expectString(output.key),
1551
1545
  version: __expectString(output.version),
1552
1546
  };
1553
1547
  };
1554
- const deserializeAws_restJson1SignatureValidityPeriod = (output, context) => {
1548
+ const de_SignatureValidityPeriod = (output, context) => {
1555
1549
  return {
1556
1550
  type: __expectString(output.type),
1557
1551
  value: __expectInt32(output.value),
1558
1552
  };
1559
1553
  };
1560
- const deserializeAws_restJson1SignedObject = (output, context) => {
1554
+ const de_SignedObject = (output, context) => {
1561
1555
  return {
1562
- s3: output.s3 != null ? deserializeAws_restJson1S3SignedObject(output.s3, context) : undefined,
1556
+ s3: output.s3 != null ? de_S3SignedObject(output.s3, context) : undefined,
1563
1557
  };
1564
1558
  };
1565
- const deserializeAws_restJson1SigningConfiguration = (output, context) => {
1559
+ const de_SigningConfiguration = (output, context) => {
1566
1560
  return {
1567
1561
  encryptionAlgorithmOptions: output.encryptionAlgorithmOptions != null
1568
- ? deserializeAws_restJson1EncryptionAlgorithmOptions(output.encryptionAlgorithmOptions, context)
1569
- : undefined,
1570
- hashAlgorithmOptions: output.hashAlgorithmOptions != null
1571
- ? deserializeAws_restJson1HashAlgorithmOptions(output.hashAlgorithmOptions, context)
1562
+ ? de_EncryptionAlgorithmOptions(output.encryptionAlgorithmOptions, context)
1572
1563
  : undefined,
1564
+ hashAlgorithmOptions: output.hashAlgorithmOptions != null ? de_HashAlgorithmOptions(output.hashAlgorithmOptions, context) : undefined,
1573
1565
  };
1574
1566
  };
1575
- const deserializeAws_restJson1SigningConfigurationOverrides = (output, context) => {
1567
+ const de_SigningConfigurationOverrides = (output, context) => {
1576
1568
  return {
1577
1569
  encryptionAlgorithm: __expectString(output.encryptionAlgorithm),
1578
1570
  hashAlgorithm: __expectString(output.hashAlgorithm),
1579
1571
  };
1580
1572
  };
1581
- const deserializeAws_restJson1SigningImageFormat = (output, context) => {
1573
+ const de_SigningImageFormat = (output, context) => {
1582
1574
  return {
1583
1575
  defaultFormat: __expectString(output.defaultFormat),
1584
- supportedFormats: output.supportedFormats != null
1585
- ? deserializeAws_restJson1ImageFormats(output.supportedFormats, context)
1586
- : undefined,
1576
+ supportedFormats: output.supportedFormats != null ? de_ImageFormats(output.supportedFormats, context) : undefined,
1587
1577
  };
1588
1578
  };
1589
- const deserializeAws_restJson1SigningJob = (output, context) => {
1579
+ const de_SigningJob = (output, context) => {
1590
1580
  return {
1591
1581
  createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
1592
1582
  isRevoked: __expectBoolean(output.isRevoked),
@@ -1600,38 +1590,36 @@ const deserializeAws_restJson1SigningJob = (output, context) => {
1600
1590
  signatureExpiresAt: output.signatureExpiresAt != null
1601
1591
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.signatureExpiresAt)))
1602
1592
  : undefined,
1603
- signedObject: output.signedObject != null ? deserializeAws_restJson1SignedObject(output.signedObject, context) : undefined,
1604
- signingMaterial: output.signingMaterial != null
1605
- ? deserializeAws_restJson1SigningMaterial(output.signingMaterial, context)
1606
- : undefined,
1607
- source: output.source != null ? deserializeAws_restJson1Source(output.source, context) : undefined,
1593
+ signedObject: output.signedObject != null ? de_SignedObject(output.signedObject, context) : undefined,
1594
+ signingMaterial: output.signingMaterial != null ? de_SigningMaterial(output.signingMaterial, context) : undefined,
1595
+ source: output.source != null ? de_Source(output.source, context) : undefined,
1608
1596
  status: __expectString(output.status),
1609
1597
  };
1610
1598
  };
1611
- const deserializeAws_restJson1SigningJobRevocationRecord = (output, context) => {
1599
+ const de_SigningJobRevocationRecord = (output, context) => {
1612
1600
  return {
1613
1601
  reason: __expectString(output.reason),
1614
1602
  revokedAt: output.revokedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.revokedAt))) : undefined,
1615
1603
  revokedBy: __expectString(output.revokedBy),
1616
1604
  };
1617
1605
  };
1618
- const deserializeAws_restJson1SigningJobs = (output, context) => {
1606
+ const de_SigningJobs = (output, context) => {
1619
1607
  const retVal = (output || [])
1620
1608
  .filter((e) => e != null)
1621
1609
  .map((entry) => {
1622
1610
  if (entry === null) {
1623
1611
  return null;
1624
1612
  }
1625
- return deserializeAws_restJson1SigningJob(entry, context);
1613
+ return de_SigningJob(entry, context);
1626
1614
  });
1627
1615
  return retVal;
1628
1616
  };
1629
- const deserializeAws_restJson1SigningMaterial = (output, context) => {
1617
+ const de_SigningMaterial = (output, context) => {
1630
1618
  return {
1631
1619
  certificateArn: __expectString(output.certificateArn),
1632
1620
  };
1633
1621
  };
1634
- const deserializeAws_restJson1SigningParameters = (output, context) => {
1622
+ const de_SigningParameters = (output, context) => {
1635
1623
  return Object.entries(output).reduce((acc, [key, value]) => {
1636
1624
  if (value === null) {
1637
1625
  return acc;
@@ -1640,7 +1628,7 @@ const deserializeAws_restJson1SigningParameters = (output, context) => {
1640
1628
  return acc;
1641
1629
  }, {});
1642
1630
  };
1643
- const deserializeAws_restJson1SigningPlatform = (output, context) => {
1631
+ const de_SigningPlatform = (output, context) => {
1644
1632
  return {
1645
1633
  category: __expectString(output.category),
1646
1634
  displayName: __expectString(output.displayName),
@@ -1648,35 +1636,31 @@ const deserializeAws_restJson1SigningPlatform = (output, context) => {
1648
1636
  partner: __expectString(output.partner),
1649
1637
  platformId: __expectString(output.platformId),
1650
1638
  revocationSupported: __expectBoolean(output.revocationSupported),
1651
- signingConfiguration: output.signingConfiguration != null
1652
- ? deserializeAws_restJson1SigningConfiguration(output.signingConfiguration, context)
1653
- : undefined,
1654
- signingImageFormat: output.signingImageFormat != null
1655
- ? deserializeAws_restJson1SigningImageFormat(output.signingImageFormat, context)
1656
- : undefined,
1639
+ signingConfiguration: output.signingConfiguration != null ? de_SigningConfiguration(output.signingConfiguration, context) : undefined,
1640
+ signingImageFormat: output.signingImageFormat != null ? de_SigningImageFormat(output.signingImageFormat, context) : undefined,
1657
1641
  target: __expectString(output.target),
1658
1642
  };
1659
1643
  };
1660
- const deserializeAws_restJson1SigningPlatformOverrides = (output, context) => {
1644
+ const de_SigningPlatformOverrides = (output, context) => {
1661
1645
  return {
1662
1646
  signingConfiguration: output.signingConfiguration != null
1663
- ? deserializeAws_restJson1SigningConfigurationOverrides(output.signingConfiguration, context)
1647
+ ? de_SigningConfigurationOverrides(output.signingConfiguration, context)
1664
1648
  : undefined,
1665
1649
  signingImageFormat: __expectString(output.signingImageFormat),
1666
1650
  };
1667
1651
  };
1668
- const deserializeAws_restJson1SigningPlatforms = (output, context) => {
1652
+ const de_SigningPlatforms = (output, context) => {
1669
1653
  const retVal = (output || [])
1670
1654
  .filter((e) => e != null)
1671
1655
  .map((entry) => {
1672
1656
  if (entry === null) {
1673
1657
  return null;
1674
1658
  }
1675
- return deserializeAws_restJson1SigningPlatform(entry, context);
1659
+ return de_SigningPlatform(entry, context);
1676
1660
  });
1677
1661
  return retVal;
1678
1662
  };
1679
- const deserializeAws_restJson1SigningProfile = (output, context) => {
1663
+ const de_SigningProfile = (output, context) => {
1680
1664
  return {
1681
1665
  arn: __expectString(output.arn),
1682
1666
  platformDisplayName: __expectString(output.platformDisplayName),
@@ -1685,19 +1669,15 @@ const deserializeAws_restJson1SigningProfile = (output, context) => {
1685
1669
  profileVersion: __expectString(output.profileVersion),
1686
1670
  profileVersionArn: __expectString(output.profileVersionArn),
1687
1671
  signatureValidityPeriod: output.signatureValidityPeriod != null
1688
- ? deserializeAws_restJson1SignatureValidityPeriod(output.signatureValidityPeriod, context)
1689
- : undefined,
1690
- signingMaterial: output.signingMaterial != null
1691
- ? deserializeAws_restJson1SigningMaterial(output.signingMaterial, context)
1692
- : undefined,
1693
- signingParameters: output.signingParameters != null
1694
- ? deserializeAws_restJson1SigningParameters(output.signingParameters, context)
1672
+ ? de_SignatureValidityPeriod(output.signatureValidityPeriod, context)
1695
1673
  : undefined,
1674
+ signingMaterial: output.signingMaterial != null ? de_SigningMaterial(output.signingMaterial, context) : undefined,
1675
+ signingParameters: output.signingParameters != null ? de_SigningParameters(output.signingParameters, context) : undefined,
1696
1676
  status: __expectString(output.status),
1697
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1677
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1698
1678
  };
1699
1679
  };
1700
- const deserializeAws_restJson1SigningProfileRevocationRecord = (output, context) => {
1680
+ const de_SigningProfileRevocationRecord = (output, context) => {
1701
1681
  return {
1702
1682
  revocationEffectiveFrom: output.revocationEffectiveFrom != null
1703
1683
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.revocationEffectiveFrom)))
@@ -1706,23 +1686,23 @@ const deserializeAws_restJson1SigningProfileRevocationRecord = (output, context)
1706
1686
  revokedBy: __expectString(output.revokedBy),
1707
1687
  };
1708
1688
  };
1709
- const deserializeAws_restJson1SigningProfiles = (output, context) => {
1689
+ const de_SigningProfiles = (output, context) => {
1710
1690
  const retVal = (output || [])
1711
1691
  .filter((e) => e != null)
1712
1692
  .map((entry) => {
1713
1693
  if (entry === null) {
1714
1694
  return null;
1715
1695
  }
1716
- return deserializeAws_restJson1SigningProfile(entry, context);
1696
+ return de_SigningProfile(entry, context);
1717
1697
  });
1718
1698
  return retVal;
1719
1699
  };
1720
- const deserializeAws_restJson1Source = (output, context) => {
1700
+ const de_Source = (output, context) => {
1721
1701
  return {
1722
- s3: output.s3 != null ? deserializeAws_restJson1S3Source(output.s3, context) : undefined,
1702
+ s3: output.s3 != null ? de_S3Source(output.s3, context) : undefined,
1723
1703
  };
1724
1704
  };
1725
- const deserializeAws_restJson1TagMap = (output, context) => {
1705
+ const de_TagMap = (output, context) => {
1726
1706
  return Object.entries(output).reduce((acc, [key, value]) => {
1727
1707
  if (value === null) {
1728
1708
  return acc;