@aws-sdk/client-signer 3.303.0 → 3.309.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 +30 -30
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartSigningJobCommand = exports.deserializeAws_restJson1RevokeSigningProfileCommand = exports.deserializeAws_restJson1RevokeSignatureCommand = exports.deserializeAws_restJson1RemoveProfilePermissionCommand = exports.deserializeAws_restJson1PutSigningProfileCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSigningProfilesCommand = exports.deserializeAws_restJson1ListSigningPlatformsCommand = exports.deserializeAws_restJson1ListSigningJobsCommand = exports.deserializeAws_restJson1ListProfilePermissionsCommand = exports.deserializeAws_restJson1GetSigningProfileCommand = exports.deserializeAws_restJson1GetSigningPlatformCommand = exports.deserializeAws_restJson1DescribeSigningJobCommand = exports.deserializeAws_restJson1CancelSigningProfileCommand = exports.deserializeAws_restJson1AddProfilePermissionCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartSigningJobCommand = exports.serializeAws_restJson1RevokeSigningProfileCommand = exports.serializeAws_restJson1RevokeSignatureCommand = exports.serializeAws_restJson1RemoveProfilePermissionCommand = exports.serializeAws_restJson1PutSigningProfileCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSigningProfilesCommand = exports.serializeAws_restJson1ListSigningPlatformsCommand = exports.serializeAws_restJson1ListSigningJobsCommand = exports.serializeAws_restJson1ListProfilePermissionsCommand = exports.serializeAws_restJson1GetSigningProfileCommand = exports.serializeAws_restJson1GetSigningPlatformCommand = exports.serializeAws_restJson1DescribeSigningJobCommand = exports.serializeAws_restJson1CancelSigningProfileCommand = exports.serializeAws_restJson1AddProfilePermissionCommand = void 0;
3
+ exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartSigningJobCommand = exports.de_RevokeSigningProfileCommand = exports.de_RevokeSignatureCommand = exports.de_RemoveProfilePermissionCommand = exports.de_PutSigningProfileCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSigningProfilesCommand = exports.de_ListSigningPlatformsCommand = exports.de_ListSigningJobsCommand = exports.de_ListProfilePermissionsCommand = exports.de_GetSigningProfileCommand = exports.de_GetSigningPlatformCommand = exports.de_DescribeSigningJobCommand = exports.de_CancelSigningProfileCommand = exports.de_AddProfilePermissionCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartSigningJobCommand = exports.se_RevokeSigningProfileCommand = exports.se_RevokeSignatureCommand = exports.se_RemoveProfilePermissionCommand = exports.se_PutSigningProfileCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSigningProfilesCommand = exports.se_ListSigningPlatformsCommand = exports.se_ListSigningJobsCommand = exports.se_ListProfilePermissionsCommand = exports.se_GetSigningProfileCommand = exports.se_GetSigningPlatformCommand = exports.se_DescribeSigningJobCommand = exports.se_CancelSigningProfileCommand = exports.se_AddProfilePermissionCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const uuid_1 = require("uuid");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const SignerServiceException_1 = require("../models/SignerServiceException");
9
- const serializeAws_restJson1AddProfilePermissionCommand = async (input, context) => {
9
+ const se_AddProfilePermissionCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {
12
12
  "content-type": "application/json",
@@ -32,8 +32,8 @@ const serializeAws_restJson1AddProfilePermissionCommand = async (input, context)
32
32
  body,
33
33
  });
34
34
  };
35
- exports.serializeAws_restJson1AddProfilePermissionCommand = serializeAws_restJson1AddProfilePermissionCommand;
36
- const serializeAws_restJson1CancelSigningProfileCommand = async (input, context) => {
35
+ exports.se_AddProfilePermissionCommand = se_AddProfilePermissionCommand;
36
+ const se_CancelSigningProfileCommand = async (input, context) => {
37
37
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
38
38
  const headers = {};
39
39
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-profiles/{profileName}";
@@ -49,8 +49,8 @@ const serializeAws_restJson1CancelSigningProfileCommand = async (input, context)
49
49
  body,
50
50
  });
51
51
  };
52
- exports.serializeAws_restJson1CancelSigningProfileCommand = serializeAws_restJson1CancelSigningProfileCommand;
53
- const serializeAws_restJson1DescribeSigningJobCommand = async (input, context) => {
52
+ exports.se_CancelSigningProfileCommand = se_CancelSigningProfileCommand;
53
+ const se_DescribeSigningJobCommand = async (input, context) => {
54
54
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
55
55
  const headers = {};
56
56
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-jobs/{jobId}";
@@ -66,8 +66,8 @@ const serializeAws_restJson1DescribeSigningJobCommand = async (input, context) =
66
66
  body,
67
67
  });
68
68
  };
69
- exports.serializeAws_restJson1DescribeSigningJobCommand = serializeAws_restJson1DescribeSigningJobCommand;
70
- const serializeAws_restJson1GetSigningPlatformCommand = async (input, context) => {
69
+ exports.se_DescribeSigningJobCommand = se_DescribeSigningJobCommand;
70
+ const se_GetSigningPlatformCommand = async (input, context) => {
71
71
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
72
72
  const headers = {};
73
73
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-platforms/{platformId}";
@@ -83,8 +83,8 @@ const serializeAws_restJson1GetSigningPlatformCommand = async (input, context) =
83
83
  body,
84
84
  });
85
85
  };
86
- exports.serializeAws_restJson1GetSigningPlatformCommand = serializeAws_restJson1GetSigningPlatformCommand;
87
- const serializeAws_restJson1GetSigningProfileCommand = async (input, context) => {
86
+ exports.se_GetSigningPlatformCommand = se_GetSigningPlatformCommand;
87
+ const se_GetSigningProfileCommand = async (input, context) => {
88
88
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
89
89
  const headers = {};
90
90
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-profiles/{profileName}";
@@ -104,8 +104,8 @@ const serializeAws_restJson1GetSigningProfileCommand = async (input, context) =>
104
104
  body,
105
105
  });
106
106
  };
107
- exports.serializeAws_restJson1GetSigningProfileCommand = serializeAws_restJson1GetSigningProfileCommand;
108
- const serializeAws_restJson1ListProfilePermissionsCommand = async (input, context) => {
107
+ exports.se_GetSigningProfileCommand = se_GetSigningProfileCommand;
108
+ const se_ListProfilePermissionsCommand = async (input, context) => {
109
109
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
110
110
  const headers = {};
111
111
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -126,8 +126,8 @@ const serializeAws_restJson1ListProfilePermissionsCommand = async (input, contex
126
126
  body,
127
127
  });
128
128
  };
129
- exports.serializeAws_restJson1ListProfilePermissionsCommand = serializeAws_restJson1ListProfilePermissionsCommand;
130
- const serializeAws_restJson1ListSigningJobsCommand = async (input, context) => {
129
+ exports.se_ListProfilePermissionsCommand = se_ListProfilePermissionsCommand;
130
+ const se_ListSigningJobsCommand = async (input, context) => {
131
131
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
132
132
  const headers = {};
133
133
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-jobs";
@@ -160,8 +160,8 @@ const serializeAws_restJson1ListSigningJobsCommand = async (input, context) => {
160
160
  body,
161
161
  });
162
162
  };
163
- exports.serializeAws_restJson1ListSigningJobsCommand = serializeAws_restJson1ListSigningJobsCommand;
164
- const serializeAws_restJson1ListSigningPlatformsCommand = async (input, context) => {
163
+ exports.se_ListSigningJobsCommand = se_ListSigningJobsCommand;
164
+ const se_ListSigningPlatformsCommand = async (input, context) => {
165
165
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
166
166
  const headers = {};
167
167
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-platforms";
@@ -184,8 +184,8 @@ const serializeAws_restJson1ListSigningPlatformsCommand = async (input, context)
184
184
  body,
185
185
  });
186
186
  };
187
- exports.serializeAws_restJson1ListSigningPlatformsCommand = serializeAws_restJson1ListSigningPlatformsCommand;
188
- const serializeAws_restJson1ListSigningProfilesCommand = async (input, context) => {
187
+ exports.se_ListSigningPlatformsCommand = se_ListSigningPlatformsCommand;
188
+ const se_ListSigningProfilesCommand = async (input, context) => {
189
189
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
190
190
  const headers = {};
191
191
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signing-profiles";
@@ -208,8 +208,8 @@ const serializeAws_restJson1ListSigningProfilesCommand = async (input, context)
208
208
  body,
209
209
  });
210
210
  };
211
- exports.serializeAws_restJson1ListSigningProfilesCommand = serializeAws_restJson1ListSigningProfilesCommand;
212
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
211
+ exports.se_ListSigningProfilesCommand = se_ListSigningProfilesCommand;
212
+ const se_ListTagsForResourceCommand = async (input, context) => {
213
213
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
214
214
  const headers = {};
215
215
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -225,8 +225,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
225
225
  body,
226
226
  });
227
227
  };
228
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
229
- const serializeAws_restJson1PutSigningProfileCommand = async (input, context) => {
228
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
229
+ const se_PutSigningProfileCommand = async (input, context) => {
230
230
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
231
231
  const headers = {
232
232
  "content-type": "application/json",
@@ -235,20 +235,16 @@ const serializeAws_restJson1PutSigningProfileCommand = async (input, context) =>
235
235
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "profileName", () => input.profileName, "{profileName}", false);
236
236
  let body;
237
237
  body = JSON.stringify({
238
- ...(input.overrides != null && {
239
- overrides: serializeAws_restJson1SigningPlatformOverrides(input.overrides, context),
240
- }),
238
+ ...(input.overrides != null && { overrides: se_SigningPlatformOverrides(input.overrides, context) }),
241
239
  ...(input.platformId != null && { platformId: input.platformId }),
242
240
  ...(input.signatureValidityPeriod != null && {
243
- signatureValidityPeriod: serializeAws_restJson1SignatureValidityPeriod(input.signatureValidityPeriod, context),
244
- }),
245
- ...(input.signingMaterial != null && {
246
- signingMaterial: serializeAws_restJson1SigningMaterial(input.signingMaterial, context),
241
+ signatureValidityPeriod: se_SignatureValidityPeriod(input.signatureValidityPeriod, context),
247
242
  }),
243
+ ...(input.signingMaterial != null && { signingMaterial: se_SigningMaterial(input.signingMaterial, context) }),
248
244
  ...(input.signingParameters != null && {
249
- signingParameters: serializeAws_restJson1SigningParameters(input.signingParameters, context),
245
+ signingParameters: se_SigningParameters(input.signingParameters, context),
250
246
  }),
251
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
247
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
252
248
  });
253
249
  return new protocol_http_1.HttpRequest({
254
250
  protocol,
@@ -260,8 +256,8 @@ const serializeAws_restJson1PutSigningProfileCommand = async (input, context) =>
260
256
  body,
261
257
  });
262
258
  };
263
- exports.serializeAws_restJson1PutSigningProfileCommand = serializeAws_restJson1PutSigningProfileCommand;
264
- const serializeAws_restJson1RemoveProfilePermissionCommand = async (input, context) => {
259
+ exports.se_PutSigningProfileCommand = se_PutSigningProfileCommand;
260
+ const se_RemoveProfilePermissionCommand = async (input, context) => {
265
261
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
266
262
  const headers = {};
267
263
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -283,8 +279,8 @@ const serializeAws_restJson1RemoveProfilePermissionCommand = async (input, conte
283
279
  body,
284
280
  });
285
281
  };
286
- exports.serializeAws_restJson1RemoveProfilePermissionCommand = serializeAws_restJson1RemoveProfilePermissionCommand;
287
- const serializeAws_restJson1RevokeSignatureCommand = async (input, context) => {
282
+ exports.se_RemoveProfilePermissionCommand = se_RemoveProfilePermissionCommand;
283
+ const se_RevokeSignatureCommand = async (input, context) => {
288
284
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
289
285
  const headers = {
290
286
  "content-type": "application/json",
@@ -306,8 +302,8 @@ const serializeAws_restJson1RevokeSignatureCommand = async (input, context) => {
306
302
  body,
307
303
  });
308
304
  };
309
- exports.serializeAws_restJson1RevokeSignatureCommand = serializeAws_restJson1RevokeSignatureCommand;
310
- const serializeAws_restJson1RevokeSigningProfileCommand = async (input, context) => {
305
+ exports.se_RevokeSignatureCommand = se_RevokeSignatureCommand;
306
+ const se_RevokeSigningProfileCommand = async (input, context) => {
311
307
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
312
308
  const headers = {
313
309
  "content-type": "application/json",
@@ -330,8 +326,8 @@ const serializeAws_restJson1RevokeSigningProfileCommand = async (input, context)
330
326
  body,
331
327
  });
332
328
  };
333
- exports.serializeAws_restJson1RevokeSigningProfileCommand = serializeAws_restJson1RevokeSigningProfileCommand;
334
- const serializeAws_restJson1StartSigningJobCommand = async (input, context) => {
329
+ exports.se_RevokeSigningProfileCommand = se_RevokeSigningProfileCommand;
330
+ const se_StartSigningJobCommand = async (input, context) => {
335
331
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
336
332
  const headers = {
337
333
  "content-type": "application/json",
@@ -340,10 +336,10 @@ const serializeAws_restJson1StartSigningJobCommand = async (input, context) => {
340
336
  let body;
341
337
  body = JSON.stringify({
342
338
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
343
- ...(input.destination != null && { destination: serializeAws_restJson1Destination(input.destination, context) }),
339
+ ...(input.destination != null && { destination: se_Destination(input.destination, context) }),
344
340
  ...(input.profileName != null && { profileName: input.profileName }),
345
341
  ...(input.profileOwner != null && { profileOwner: input.profileOwner }),
346
- ...(input.source != null && { source: serializeAws_restJson1Source(input.source, context) }),
342
+ ...(input.source != null && { source: se_Source(input.source, context) }),
347
343
  });
348
344
  return new protocol_http_1.HttpRequest({
349
345
  protocol,
@@ -355,8 +351,8 @@ const serializeAws_restJson1StartSigningJobCommand = async (input, context) => {
355
351
  body,
356
352
  });
357
353
  };
358
- exports.serializeAws_restJson1StartSigningJobCommand = serializeAws_restJson1StartSigningJobCommand;
359
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
354
+ exports.se_StartSigningJobCommand = se_StartSigningJobCommand;
355
+ const se_TagResourceCommand = async (input, context) => {
360
356
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
361
357
  const headers = {
362
358
  "content-type": "application/json",
@@ -365,7 +361,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
365
361
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
366
362
  let body;
367
363
  body = JSON.stringify({
368
- ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
364
+ ...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
369
365
  });
370
366
  return new protocol_http_1.HttpRequest({
371
367
  protocol,
@@ -377,8 +373,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
377
373
  body,
378
374
  });
379
375
  };
380
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
381
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
376
+ exports.se_TagResourceCommand = se_TagResourceCommand;
377
+ const se_UntagResourceCommand = async (input, context) => {
382
378
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
383
379
  const headers = {};
384
380
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
@@ -401,10 +397,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
401
397
  body,
402
398
  });
403
399
  };
404
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
405
- const deserializeAws_restJson1AddProfilePermissionCommand = async (output, context) => {
400
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
401
+ const de_AddProfilePermissionCommand = async (output, context) => {
406
402
  if (output.statusCode !== 200 && output.statusCode >= 300) {
407
- return deserializeAws_restJson1AddProfilePermissionCommandError(output, context);
403
+ return de_AddProfilePermissionCommandError(output, context);
408
404
  }
409
405
  const contents = map({
410
406
  $metadata: deserializeMetadata(output),
@@ -415,8 +411,8 @@ const deserializeAws_restJson1AddProfilePermissionCommand = async (output, conte
415
411
  }
416
412
  return contents;
417
413
  };
418
- exports.deserializeAws_restJson1AddProfilePermissionCommand = deserializeAws_restJson1AddProfilePermissionCommand;
419
- const deserializeAws_restJson1AddProfilePermissionCommandError = async (output, context) => {
414
+ exports.de_AddProfilePermissionCommand = de_AddProfilePermissionCommand;
415
+ const de_AddProfilePermissionCommandError = async (output, context) => {
420
416
  const parsedOutput = {
421
417
  ...output,
422
418
  body: await parseErrorBody(output.body, context),
@@ -425,25 +421,25 @@ const deserializeAws_restJson1AddProfilePermissionCommandError = async (output,
425
421
  switch (errorCode) {
426
422
  case "AccessDeniedException":
427
423
  case "com.amazonaws.signer#AccessDeniedException":
428
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
424
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
429
425
  case "ConflictException":
430
426
  case "com.amazonaws.signer#ConflictException":
431
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
427
+ throw await de_ConflictExceptionRes(parsedOutput, context);
432
428
  case "InternalServiceErrorException":
433
429
  case "com.amazonaws.signer#InternalServiceErrorException":
434
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
430
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
435
431
  case "ResourceNotFoundException":
436
432
  case "com.amazonaws.signer#ResourceNotFoundException":
437
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
433
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
438
434
  case "ServiceLimitExceededException":
439
435
  case "com.amazonaws.signer#ServiceLimitExceededException":
440
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
436
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
441
437
  case "TooManyRequestsException":
442
438
  case "com.amazonaws.signer#TooManyRequestsException":
443
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
439
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
444
440
  case "ValidationException":
445
441
  case "com.amazonaws.signer#ValidationException":
446
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
442
+ throw await de_ValidationExceptionRes(parsedOutput, context);
447
443
  default:
448
444
  const parsedBody = parsedOutput.body;
449
445
  (0, smithy_client_1.throwDefaultError)({
@@ -454,9 +450,9 @@ const deserializeAws_restJson1AddProfilePermissionCommandError = async (output,
454
450
  });
455
451
  }
456
452
  };
457
- const deserializeAws_restJson1CancelSigningProfileCommand = async (output, context) => {
453
+ const de_CancelSigningProfileCommand = async (output, context) => {
458
454
  if (output.statusCode !== 200 && output.statusCode >= 300) {
459
- return deserializeAws_restJson1CancelSigningProfileCommandError(output, context);
455
+ return de_CancelSigningProfileCommandError(output, context);
460
456
  }
461
457
  const contents = map({
462
458
  $metadata: deserializeMetadata(output),
@@ -464,8 +460,8 @@ const deserializeAws_restJson1CancelSigningProfileCommand = async (output, conte
464
460
  await collectBody(output.body, context);
465
461
  return contents;
466
462
  };
467
- exports.deserializeAws_restJson1CancelSigningProfileCommand = deserializeAws_restJson1CancelSigningProfileCommand;
468
- const deserializeAws_restJson1CancelSigningProfileCommandError = async (output, context) => {
463
+ exports.de_CancelSigningProfileCommand = de_CancelSigningProfileCommand;
464
+ const de_CancelSigningProfileCommandError = async (output, context) => {
469
465
  const parsedOutput = {
470
466
  ...output,
471
467
  body: await parseErrorBody(output.body, context),
@@ -474,16 +470,16 @@ const deserializeAws_restJson1CancelSigningProfileCommandError = async (output,
474
470
  switch (errorCode) {
475
471
  case "AccessDeniedException":
476
472
  case "com.amazonaws.signer#AccessDeniedException":
477
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
473
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
478
474
  case "InternalServiceErrorException":
479
475
  case "com.amazonaws.signer#InternalServiceErrorException":
480
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
476
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
481
477
  case "ResourceNotFoundException":
482
478
  case "com.amazonaws.signer#ResourceNotFoundException":
483
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
479
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
484
480
  case "TooManyRequestsException":
485
481
  case "com.amazonaws.signer#TooManyRequestsException":
486
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
482
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
487
483
  default:
488
484
  const parsedBody = parsedOutput.body;
489
485
  (0, smithy_client_1.throwDefaultError)({
@@ -494,9 +490,9 @@ const deserializeAws_restJson1CancelSigningProfileCommandError = async (output,
494
490
  });
495
491
  }
496
492
  };
497
- const deserializeAws_restJson1DescribeSigningJobCommand = async (output, context) => {
493
+ const de_DescribeSigningJobCommand = async (output, context) => {
498
494
  if (output.statusCode !== 200 && output.statusCode >= 300) {
499
- return deserializeAws_restJson1DescribeSigningJobCommandError(output, context);
495
+ return de_DescribeSigningJobCommandError(output, context);
500
496
  }
501
497
  const contents = map({
502
498
  $metadata: deserializeMetadata(output),
@@ -518,7 +514,7 @@ const deserializeAws_restJson1DescribeSigningJobCommand = async (output, context
518
514
  contents.jobOwner = (0, smithy_client_1.expectString)(data.jobOwner);
519
515
  }
520
516
  if (data.overrides != null) {
521
- contents.overrides = deserializeAws_restJson1SigningPlatformOverrides(data.overrides, context);
517
+ contents.overrides = de_SigningPlatformOverrides(data.overrides, context);
522
518
  }
523
519
  if (data.platformDisplayName != null) {
524
520
  contents.platformDisplayName = (0, smithy_client_1.expectString)(data.platformDisplayName);
@@ -536,22 +532,22 @@ const deserializeAws_restJson1DescribeSigningJobCommand = async (output, context
536
532
  contents.requestedBy = (0, smithy_client_1.expectString)(data.requestedBy);
537
533
  }
538
534
  if (data.revocationRecord != null) {
539
- contents.revocationRecord = deserializeAws_restJson1SigningJobRevocationRecord(data.revocationRecord, context);
535
+ contents.revocationRecord = de_SigningJobRevocationRecord(data.revocationRecord, context);
540
536
  }
541
537
  if (data.signatureExpiresAt != null) {
542
538
  contents.signatureExpiresAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.signatureExpiresAt)));
543
539
  }
544
540
  if (data.signedObject != null) {
545
- contents.signedObject = deserializeAws_restJson1SignedObject(data.signedObject, context);
541
+ contents.signedObject = de_SignedObject(data.signedObject, context);
546
542
  }
547
543
  if (data.signingMaterial != null) {
548
- contents.signingMaterial = deserializeAws_restJson1SigningMaterial(data.signingMaterial, context);
544
+ contents.signingMaterial = de_SigningMaterial(data.signingMaterial, context);
549
545
  }
550
546
  if (data.signingParameters != null) {
551
- contents.signingParameters = deserializeAws_restJson1SigningParameters(data.signingParameters, context);
547
+ contents.signingParameters = de_SigningParameters(data.signingParameters, context);
552
548
  }
553
549
  if (data.source != null) {
554
- contents.source = deserializeAws_restJson1Source(data.source, context);
550
+ contents.source = de_Source(data.source, context);
555
551
  }
556
552
  if (data.status != null) {
557
553
  contents.status = (0, smithy_client_1.expectString)(data.status);
@@ -561,8 +557,8 @@ const deserializeAws_restJson1DescribeSigningJobCommand = async (output, context
561
557
  }
562
558
  return contents;
563
559
  };
564
- exports.deserializeAws_restJson1DescribeSigningJobCommand = deserializeAws_restJson1DescribeSigningJobCommand;
565
- const deserializeAws_restJson1DescribeSigningJobCommandError = async (output, context) => {
560
+ exports.de_DescribeSigningJobCommand = de_DescribeSigningJobCommand;
561
+ const de_DescribeSigningJobCommandError = async (output, context) => {
566
562
  const parsedOutput = {
567
563
  ...output,
568
564
  body: await parseErrorBody(output.body, context),
@@ -571,16 +567,16 @@ const deserializeAws_restJson1DescribeSigningJobCommandError = async (output, co
571
567
  switch (errorCode) {
572
568
  case "AccessDeniedException":
573
569
  case "com.amazonaws.signer#AccessDeniedException":
574
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
570
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
575
571
  case "InternalServiceErrorException":
576
572
  case "com.amazonaws.signer#InternalServiceErrorException":
577
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
573
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
578
574
  case "ResourceNotFoundException":
579
575
  case "com.amazonaws.signer#ResourceNotFoundException":
580
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
576
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
581
577
  case "TooManyRequestsException":
582
578
  case "com.amazonaws.signer#TooManyRequestsException":
583
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
579
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
584
580
  default:
585
581
  const parsedBody = parsedOutput.body;
586
582
  (0, smithy_client_1.throwDefaultError)({
@@ -591,9 +587,9 @@ const deserializeAws_restJson1DescribeSigningJobCommandError = async (output, co
591
587
  });
592
588
  }
593
589
  };
594
- const deserializeAws_restJson1GetSigningPlatformCommand = async (output, context) => {
590
+ const de_GetSigningPlatformCommand = async (output, context) => {
595
591
  if (output.statusCode !== 200 && output.statusCode >= 300) {
596
- return deserializeAws_restJson1GetSigningPlatformCommandError(output, context);
592
+ return de_GetSigningPlatformCommandError(output, context);
597
593
  }
598
594
  const contents = map({
599
595
  $metadata: deserializeMetadata(output),
@@ -618,18 +614,18 @@ const deserializeAws_restJson1GetSigningPlatformCommand = async (output, context
618
614
  contents.revocationSupported = (0, smithy_client_1.expectBoolean)(data.revocationSupported);
619
615
  }
620
616
  if (data.signingConfiguration != null) {
621
- contents.signingConfiguration = deserializeAws_restJson1SigningConfiguration(data.signingConfiguration, context);
617
+ contents.signingConfiguration = de_SigningConfiguration(data.signingConfiguration, context);
622
618
  }
623
619
  if (data.signingImageFormat != null) {
624
- contents.signingImageFormat = deserializeAws_restJson1SigningImageFormat(data.signingImageFormat, context);
620
+ contents.signingImageFormat = de_SigningImageFormat(data.signingImageFormat, context);
625
621
  }
626
622
  if (data.target != null) {
627
623
  contents.target = (0, smithy_client_1.expectString)(data.target);
628
624
  }
629
625
  return contents;
630
626
  };
631
- exports.deserializeAws_restJson1GetSigningPlatformCommand = deserializeAws_restJson1GetSigningPlatformCommand;
632
- const deserializeAws_restJson1GetSigningPlatformCommandError = async (output, context) => {
627
+ exports.de_GetSigningPlatformCommand = de_GetSigningPlatformCommand;
628
+ const de_GetSigningPlatformCommandError = async (output, context) => {
633
629
  const parsedOutput = {
634
630
  ...output,
635
631
  body: await parseErrorBody(output.body, context),
@@ -638,16 +634,16 @@ const deserializeAws_restJson1GetSigningPlatformCommandError = async (output, co
638
634
  switch (errorCode) {
639
635
  case "AccessDeniedException":
640
636
  case "com.amazonaws.signer#AccessDeniedException":
641
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
637
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
642
638
  case "InternalServiceErrorException":
643
639
  case "com.amazonaws.signer#InternalServiceErrorException":
644
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
640
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
645
641
  case "ResourceNotFoundException":
646
642
  case "com.amazonaws.signer#ResourceNotFoundException":
647
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
643
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
648
644
  case "TooManyRequestsException":
649
645
  case "com.amazonaws.signer#TooManyRequestsException":
650
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
646
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
651
647
  default:
652
648
  const parsedBody = parsedOutput.body;
653
649
  (0, smithy_client_1.throwDefaultError)({
@@ -658,9 +654,9 @@ const deserializeAws_restJson1GetSigningPlatformCommandError = async (output, co
658
654
  });
659
655
  }
660
656
  };
661
- const deserializeAws_restJson1GetSigningProfileCommand = async (output, context) => {
657
+ const de_GetSigningProfileCommand = async (output, context) => {
662
658
  if (output.statusCode !== 200 && output.statusCode >= 300) {
663
- return deserializeAws_restJson1GetSigningProfileCommandError(output, context);
659
+ return de_GetSigningProfileCommandError(output, context);
664
660
  }
665
661
  const contents = map({
666
662
  $metadata: deserializeMetadata(output),
@@ -670,7 +666,7 @@ const deserializeAws_restJson1GetSigningProfileCommand = async (output, context)
670
666
  contents.arn = (0, smithy_client_1.expectString)(data.arn);
671
667
  }
672
668
  if (data.overrides != null) {
673
- contents.overrides = deserializeAws_restJson1SigningPlatformOverrides(data.overrides, context);
669
+ contents.overrides = de_SigningPlatformOverrides(data.overrides, context);
674
670
  }
675
671
  if (data.platformDisplayName != null) {
676
672
  contents.platformDisplayName = (0, smithy_client_1.expectString)(data.platformDisplayName);
@@ -688,16 +684,16 @@ const deserializeAws_restJson1GetSigningProfileCommand = async (output, context)
688
684
  contents.profileVersionArn = (0, smithy_client_1.expectString)(data.profileVersionArn);
689
685
  }
690
686
  if (data.revocationRecord != null) {
691
- contents.revocationRecord = deserializeAws_restJson1SigningProfileRevocationRecord(data.revocationRecord, context);
687
+ contents.revocationRecord = de_SigningProfileRevocationRecord(data.revocationRecord, context);
692
688
  }
693
689
  if (data.signatureValidityPeriod != null) {
694
- contents.signatureValidityPeriod = deserializeAws_restJson1SignatureValidityPeriod(data.signatureValidityPeriod, context);
690
+ contents.signatureValidityPeriod = de_SignatureValidityPeriod(data.signatureValidityPeriod, context);
695
691
  }
696
692
  if (data.signingMaterial != null) {
697
- contents.signingMaterial = deserializeAws_restJson1SigningMaterial(data.signingMaterial, context);
693
+ contents.signingMaterial = de_SigningMaterial(data.signingMaterial, context);
698
694
  }
699
695
  if (data.signingParameters != null) {
700
- contents.signingParameters = deserializeAws_restJson1SigningParameters(data.signingParameters, context);
696
+ contents.signingParameters = de_SigningParameters(data.signingParameters, context);
701
697
  }
702
698
  if (data.status != null) {
703
699
  contents.status = (0, smithy_client_1.expectString)(data.status);
@@ -706,12 +702,12 @@ const deserializeAws_restJson1GetSigningProfileCommand = async (output, context)
706
702
  contents.statusReason = (0, smithy_client_1.expectString)(data.statusReason);
707
703
  }
708
704
  if (data.tags != null) {
709
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
705
+ contents.tags = de_TagMap(data.tags, context);
710
706
  }
711
707
  return contents;
712
708
  };
713
- exports.deserializeAws_restJson1GetSigningProfileCommand = deserializeAws_restJson1GetSigningProfileCommand;
714
- const deserializeAws_restJson1GetSigningProfileCommandError = async (output, context) => {
709
+ exports.de_GetSigningProfileCommand = de_GetSigningProfileCommand;
710
+ const de_GetSigningProfileCommandError = async (output, context) => {
715
711
  const parsedOutput = {
716
712
  ...output,
717
713
  body: await parseErrorBody(output.body, context),
@@ -720,16 +716,16 @@ const deserializeAws_restJson1GetSigningProfileCommandError = async (output, con
720
716
  switch (errorCode) {
721
717
  case "AccessDeniedException":
722
718
  case "com.amazonaws.signer#AccessDeniedException":
723
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
719
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
724
720
  case "InternalServiceErrorException":
725
721
  case "com.amazonaws.signer#InternalServiceErrorException":
726
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
722
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
727
723
  case "ResourceNotFoundException":
728
724
  case "com.amazonaws.signer#ResourceNotFoundException":
729
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
725
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
730
726
  case "TooManyRequestsException":
731
727
  case "com.amazonaws.signer#TooManyRequestsException":
732
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
728
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
733
729
  default:
734
730
  const parsedBody = parsedOutput.body;
735
731
  (0, smithy_client_1.throwDefaultError)({
@@ -740,9 +736,9 @@ const deserializeAws_restJson1GetSigningProfileCommandError = async (output, con
740
736
  });
741
737
  }
742
738
  };
743
- const deserializeAws_restJson1ListProfilePermissionsCommand = async (output, context) => {
739
+ const de_ListProfilePermissionsCommand = async (output, context) => {
744
740
  if (output.statusCode !== 200 && output.statusCode >= 300) {
745
- return deserializeAws_restJson1ListProfilePermissionsCommandError(output, context);
741
+ return de_ListProfilePermissionsCommandError(output, context);
746
742
  }
747
743
  const contents = map({
748
744
  $metadata: deserializeMetadata(output),
@@ -752,7 +748,7 @@ const deserializeAws_restJson1ListProfilePermissionsCommand = async (output, con
752
748
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
753
749
  }
754
750
  if (data.permissions != null) {
755
- contents.permissions = deserializeAws_restJson1Permissions(data.permissions, context);
751
+ contents.permissions = de_Permissions(data.permissions, context);
756
752
  }
757
753
  if (data.policySizeBytes != null) {
758
754
  contents.policySizeBytes = (0, smithy_client_1.expectInt32)(data.policySizeBytes);
@@ -762,8 +758,8 @@ const deserializeAws_restJson1ListProfilePermissionsCommand = async (output, con
762
758
  }
763
759
  return contents;
764
760
  };
765
- exports.deserializeAws_restJson1ListProfilePermissionsCommand = deserializeAws_restJson1ListProfilePermissionsCommand;
766
- const deserializeAws_restJson1ListProfilePermissionsCommandError = async (output, context) => {
761
+ exports.de_ListProfilePermissionsCommand = de_ListProfilePermissionsCommand;
762
+ const de_ListProfilePermissionsCommandError = async (output, context) => {
767
763
  const parsedOutput = {
768
764
  ...output,
769
765
  body: await parseErrorBody(output.body, context),
@@ -772,19 +768,19 @@ const deserializeAws_restJson1ListProfilePermissionsCommandError = async (output
772
768
  switch (errorCode) {
773
769
  case "AccessDeniedException":
774
770
  case "com.amazonaws.signer#AccessDeniedException":
775
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
771
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
776
772
  case "InternalServiceErrorException":
777
773
  case "com.amazonaws.signer#InternalServiceErrorException":
778
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
774
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
779
775
  case "ResourceNotFoundException":
780
776
  case "com.amazonaws.signer#ResourceNotFoundException":
781
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
777
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
782
778
  case "TooManyRequestsException":
783
779
  case "com.amazonaws.signer#TooManyRequestsException":
784
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
780
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
785
781
  case "ValidationException":
786
782
  case "com.amazonaws.signer#ValidationException":
787
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
783
+ throw await de_ValidationExceptionRes(parsedOutput, context);
788
784
  default:
789
785
  const parsedBody = parsedOutput.body;
790
786
  (0, smithy_client_1.throwDefaultError)({
@@ -795,24 +791,24 @@ const deserializeAws_restJson1ListProfilePermissionsCommandError = async (output
795
791
  });
796
792
  }
797
793
  };
798
- const deserializeAws_restJson1ListSigningJobsCommand = async (output, context) => {
794
+ const de_ListSigningJobsCommand = async (output, context) => {
799
795
  if (output.statusCode !== 200 && output.statusCode >= 300) {
800
- return deserializeAws_restJson1ListSigningJobsCommandError(output, context);
796
+ return de_ListSigningJobsCommandError(output, context);
801
797
  }
802
798
  const contents = map({
803
799
  $metadata: deserializeMetadata(output),
804
800
  });
805
801
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
806
802
  if (data.jobs != null) {
807
- contents.jobs = deserializeAws_restJson1SigningJobs(data.jobs, context);
803
+ contents.jobs = de_SigningJobs(data.jobs, context);
808
804
  }
809
805
  if (data.nextToken != null) {
810
806
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
811
807
  }
812
808
  return contents;
813
809
  };
814
- exports.deserializeAws_restJson1ListSigningJobsCommand = deserializeAws_restJson1ListSigningJobsCommand;
815
- const deserializeAws_restJson1ListSigningJobsCommandError = async (output, context) => {
810
+ exports.de_ListSigningJobsCommand = de_ListSigningJobsCommand;
811
+ const de_ListSigningJobsCommandError = async (output, context) => {
816
812
  const parsedOutput = {
817
813
  ...output,
818
814
  body: await parseErrorBody(output.body, context),
@@ -821,16 +817,16 @@ const deserializeAws_restJson1ListSigningJobsCommandError = async (output, conte
821
817
  switch (errorCode) {
822
818
  case "AccessDeniedException":
823
819
  case "com.amazonaws.signer#AccessDeniedException":
824
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
820
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
825
821
  case "InternalServiceErrorException":
826
822
  case "com.amazonaws.signer#InternalServiceErrorException":
827
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
823
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
828
824
  case "TooManyRequestsException":
829
825
  case "com.amazonaws.signer#TooManyRequestsException":
830
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
826
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
831
827
  case "ValidationException":
832
828
  case "com.amazonaws.signer#ValidationException":
833
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
829
+ throw await de_ValidationExceptionRes(parsedOutput, context);
834
830
  default:
835
831
  const parsedBody = parsedOutput.body;
836
832
  (0, smithy_client_1.throwDefaultError)({
@@ -841,9 +837,9 @@ const deserializeAws_restJson1ListSigningJobsCommandError = async (output, conte
841
837
  });
842
838
  }
843
839
  };
844
- const deserializeAws_restJson1ListSigningPlatformsCommand = async (output, context) => {
840
+ const de_ListSigningPlatformsCommand = async (output, context) => {
845
841
  if (output.statusCode !== 200 && output.statusCode >= 300) {
846
- return deserializeAws_restJson1ListSigningPlatformsCommandError(output, context);
842
+ return de_ListSigningPlatformsCommandError(output, context);
847
843
  }
848
844
  const contents = map({
849
845
  $metadata: deserializeMetadata(output),
@@ -853,12 +849,12 @@ const deserializeAws_restJson1ListSigningPlatformsCommand = async (output, conte
853
849
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
854
850
  }
855
851
  if (data.platforms != null) {
856
- contents.platforms = deserializeAws_restJson1SigningPlatforms(data.platforms, context);
852
+ contents.platforms = de_SigningPlatforms(data.platforms, context);
857
853
  }
858
854
  return contents;
859
855
  };
860
- exports.deserializeAws_restJson1ListSigningPlatformsCommand = deserializeAws_restJson1ListSigningPlatformsCommand;
861
- const deserializeAws_restJson1ListSigningPlatformsCommandError = async (output, context) => {
856
+ exports.de_ListSigningPlatformsCommand = de_ListSigningPlatformsCommand;
857
+ const de_ListSigningPlatformsCommandError = async (output, context) => {
862
858
  const parsedOutput = {
863
859
  ...output,
864
860
  body: await parseErrorBody(output.body, context),
@@ -867,16 +863,16 @@ const deserializeAws_restJson1ListSigningPlatformsCommandError = async (output,
867
863
  switch (errorCode) {
868
864
  case "AccessDeniedException":
869
865
  case "com.amazonaws.signer#AccessDeniedException":
870
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
866
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
871
867
  case "InternalServiceErrorException":
872
868
  case "com.amazonaws.signer#InternalServiceErrorException":
873
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
869
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
874
870
  case "TooManyRequestsException":
875
871
  case "com.amazonaws.signer#TooManyRequestsException":
876
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
872
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
877
873
  case "ValidationException":
878
874
  case "com.amazonaws.signer#ValidationException":
879
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
875
+ throw await de_ValidationExceptionRes(parsedOutput, context);
880
876
  default:
881
877
  const parsedBody = parsedOutput.body;
882
878
  (0, smithy_client_1.throwDefaultError)({
@@ -887,9 +883,9 @@ const deserializeAws_restJson1ListSigningPlatformsCommandError = async (output,
887
883
  });
888
884
  }
889
885
  };
890
- const deserializeAws_restJson1ListSigningProfilesCommand = async (output, context) => {
886
+ const de_ListSigningProfilesCommand = async (output, context) => {
891
887
  if (output.statusCode !== 200 && output.statusCode >= 300) {
892
- return deserializeAws_restJson1ListSigningProfilesCommandError(output, context);
888
+ return de_ListSigningProfilesCommandError(output, context);
893
889
  }
894
890
  const contents = map({
895
891
  $metadata: deserializeMetadata(output),
@@ -899,12 +895,12 @@ const deserializeAws_restJson1ListSigningProfilesCommand = async (output, contex
899
895
  contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
900
896
  }
901
897
  if (data.profiles != null) {
902
- contents.profiles = deserializeAws_restJson1SigningProfiles(data.profiles, context);
898
+ contents.profiles = de_SigningProfiles(data.profiles, context);
903
899
  }
904
900
  return contents;
905
901
  };
906
- exports.deserializeAws_restJson1ListSigningProfilesCommand = deserializeAws_restJson1ListSigningProfilesCommand;
907
- const deserializeAws_restJson1ListSigningProfilesCommandError = async (output, context) => {
902
+ exports.de_ListSigningProfilesCommand = de_ListSigningProfilesCommand;
903
+ const de_ListSigningProfilesCommandError = async (output, context) => {
908
904
  const parsedOutput = {
909
905
  ...output,
910
906
  body: await parseErrorBody(output.body, context),
@@ -913,13 +909,13 @@ const deserializeAws_restJson1ListSigningProfilesCommandError = async (output, c
913
909
  switch (errorCode) {
914
910
  case "AccessDeniedException":
915
911
  case "com.amazonaws.signer#AccessDeniedException":
916
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
912
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
917
913
  case "InternalServiceErrorException":
918
914
  case "com.amazonaws.signer#InternalServiceErrorException":
919
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
915
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
920
916
  case "TooManyRequestsException":
921
917
  case "com.amazonaws.signer#TooManyRequestsException":
922
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
918
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
923
919
  default:
924
920
  const parsedBody = parsedOutput.body;
925
921
  (0, smithy_client_1.throwDefaultError)({
@@ -930,21 +926,21 @@ const deserializeAws_restJson1ListSigningProfilesCommandError = async (output, c
930
926
  });
931
927
  }
932
928
  };
933
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
929
+ const de_ListTagsForResourceCommand = async (output, context) => {
934
930
  if (output.statusCode !== 200 && output.statusCode >= 300) {
935
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
931
+ return de_ListTagsForResourceCommandError(output, context);
936
932
  }
937
933
  const contents = map({
938
934
  $metadata: deserializeMetadata(output),
939
935
  });
940
936
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
941
937
  if (data.tags != null) {
942
- contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
938
+ contents.tags = de_TagMap(data.tags, context);
943
939
  }
944
940
  return contents;
945
941
  };
946
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
947
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
942
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
943
+ const de_ListTagsForResourceCommandError = async (output, context) => {
948
944
  const parsedOutput = {
949
945
  ...output,
950
946
  body: await parseErrorBody(output.body, context),
@@ -953,16 +949,16 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
953
949
  switch (errorCode) {
954
950
  case "BadRequestException":
955
951
  case "com.amazonaws.signer#BadRequestException":
956
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
952
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
957
953
  case "InternalServiceErrorException":
958
954
  case "com.amazonaws.signer#InternalServiceErrorException":
959
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
955
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
960
956
  case "NotFoundException":
961
957
  case "com.amazonaws.signer#NotFoundException":
962
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
958
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
963
959
  case "TooManyRequestsException":
964
960
  case "com.amazonaws.signer#TooManyRequestsException":
965
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
961
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
966
962
  default:
967
963
  const parsedBody = parsedOutput.body;
968
964
  (0, smithy_client_1.throwDefaultError)({
@@ -973,9 +969,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
973
969
  });
974
970
  }
975
971
  };
976
- const deserializeAws_restJson1PutSigningProfileCommand = async (output, context) => {
972
+ const de_PutSigningProfileCommand = async (output, context) => {
977
973
  if (output.statusCode !== 200 && output.statusCode >= 300) {
978
- return deserializeAws_restJson1PutSigningProfileCommandError(output, context);
974
+ return de_PutSigningProfileCommandError(output, context);
979
975
  }
980
976
  const contents = map({
981
977
  $metadata: deserializeMetadata(output),
@@ -992,8 +988,8 @@ const deserializeAws_restJson1PutSigningProfileCommand = async (output, context)
992
988
  }
993
989
  return contents;
994
990
  };
995
- exports.deserializeAws_restJson1PutSigningProfileCommand = deserializeAws_restJson1PutSigningProfileCommand;
996
- const deserializeAws_restJson1PutSigningProfileCommandError = async (output, context) => {
991
+ exports.de_PutSigningProfileCommand = de_PutSigningProfileCommand;
992
+ const de_PutSigningProfileCommandError = async (output, context) => {
997
993
  const parsedOutput = {
998
994
  ...output,
999
995
  body: await parseErrorBody(output.body, context),
@@ -1002,19 +998,19 @@ const deserializeAws_restJson1PutSigningProfileCommandError = async (output, con
1002
998
  switch (errorCode) {
1003
999
  case "AccessDeniedException":
1004
1000
  case "com.amazonaws.signer#AccessDeniedException":
1005
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1001
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1006
1002
  case "InternalServiceErrorException":
1007
1003
  case "com.amazonaws.signer#InternalServiceErrorException":
1008
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1004
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1009
1005
  case "ResourceNotFoundException":
1010
1006
  case "com.amazonaws.signer#ResourceNotFoundException":
1011
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1007
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1012
1008
  case "TooManyRequestsException":
1013
1009
  case "com.amazonaws.signer#TooManyRequestsException":
1014
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1010
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1015
1011
  case "ValidationException":
1016
1012
  case "com.amazonaws.signer#ValidationException":
1017
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1013
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1018
1014
  default:
1019
1015
  const parsedBody = parsedOutput.body;
1020
1016
  (0, smithy_client_1.throwDefaultError)({
@@ -1025,9 +1021,9 @@ const deserializeAws_restJson1PutSigningProfileCommandError = async (output, con
1025
1021
  });
1026
1022
  }
1027
1023
  };
1028
- const deserializeAws_restJson1RemoveProfilePermissionCommand = async (output, context) => {
1024
+ const de_RemoveProfilePermissionCommand = async (output, context) => {
1029
1025
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1030
- return deserializeAws_restJson1RemoveProfilePermissionCommandError(output, context);
1026
+ return de_RemoveProfilePermissionCommandError(output, context);
1031
1027
  }
1032
1028
  const contents = map({
1033
1029
  $metadata: deserializeMetadata(output),
@@ -1038,8 +1034,8 @@ const deserializeAws_restJson1RemoveProfilePermissionCommand = async (output, co
1038
1034
  }
1039
1035
  return contents;
1040
1036
  };
1041
- exports.deserializeAws_restJson1RemoveProfilePermissionCommand = deserializeAws_restJson1RemoveProfilePermissionCommand;
1042
- const deserializeAws_restJson1RemoveProfilePermissionCommandError = async (output, context) => {
1037
+ exports.de_RemoveProfilePermissionCommand = de_RemoveProfilePermissionCommand;
1038
+ const de_RemoveProfilePermissionCommandError = async (output, context) => {
1043
1039
  const parsedOutput = {
1044
1040
  ...output,
1045
1041
  body: await parseErrorBody(output.body, context),
@@ -1048,22 +1044,22 @@ const deserializeAws_restJson1RemoveProfilePermissionCommandError = async (outpu
1048
1044
  switch (errorCode) {
1049
1045
  case "AccessDeniedException":
1050
1046
  case "com.amazonaws.signer#AccessDeniedException":
1051
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1047
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1052
1048
  case "ConflictException":
1053
1049
  case "com.amazonaws.signer#ConflictException":
1054
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1050
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1055
1051
  case "InternalServiceErrorException":
1056
1052
  case "com.amazonaws.signer#InternalServiceErrorException":
1057
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1053
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1058
1054
  case "ResourceNotFoundException":
1059
1055
  case "com.amazonaws.signer#ResourceNotFoundException":
1060
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1056
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1061
1057
  case "TooManyRequestsException":
1062
1058
  case "com.amazonaws.signer#TooManyRequestsException":
1063
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1059
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1064
1060
  case "ValidationException":
1065
1061
  case "com.amazonaws.signer#ValidationException":
1066
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1062
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1067
1063
  default:
1068
1064
  const parsedBody = parsedOutput.body;
1069
1065
  (0, smithy_client_1.throwDefaultError)({
@@ -1074,9 +1070,9 @@ const deserializeAws_restJson1RemoveProfilePermissionCommandError = async (outpu
1074
1070
  });
1075
1071
  }
1076
1072
  };
1077
- const deserializeAws_restJson1RevokeSignatureCommand = async (output, context) => {
1073
+ const de_RevokeSignatureCommand = async (output, context) => {
1078
1074
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1079
- return deserializeAws_restJson1RevokeSignatureCommandError(output, context);
1075
+ return de_RevokeSignatureCommandError(output, context);
1080
1076
  }
1081
1077
  const contents = map({
1082
1078
  $metadata: deserializeMetadata(output),
@@ -1084,8 +1080,8 @@ const deserializeAws_restJson1RevokeSignatureCommand = async (output, context) =
1084
1080
  await collectBody(output.body, context);
1085
1081
  return contents;
1086
1082
  };
1087
- exports.deserializeAws_restJson1RevokeSignatureCommand = deserializeAws_restJson1RevokeSignatureCommand;
1088
- const deserializeAws_restJson1RevokeSignatureCommandError = async (output, context) => {
1083
+ exports.de_RevokeSignatureCommand = de_RevokeSignatureCommand;
1084
+ const de_RevokeSignatureCommandError = async (output, context) => {
1089
1085
  const parsedOutput = {
1090
1086
  ...output,
1091
1087
  body: await parseErrorBody(output.body, context),
@@ -1094,19 +1090,19 @@ const deserializeAws_restJson1RevokeSignatureCommandError = async (output, conte
1094
1090
  switch (errorCode) {
1095
1091
  case "AccessDeniedException":
1096
1092
  case "com.amazonaws.signer#AccessDeniedException":
1097
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1093
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1098
1094
  case "InternalServiceErrorException":
1099
1095
  case "com.amazonaws.signer#InternalServiceErrorException":
1100
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1096
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1101
1097
  case "ResourceNotFoundException":
1102
1098
  case "com.amazonaws.signer#ResourceNotFoundException":
1103
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1099
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1104
1100
  case "TooManyRequestsException":
1105
1101
  case "com.amazonaws.signer#TooManyRequestsException":
1106
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1102
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1107
1103
  case "ValidationException":
1108
1104
  case "com.amazonaws.signer#ValidationException":
1109
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1105
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1110
1106
  default:
1111
1107
  const parsedBody = parsedOutput.body;
1112
1108
  (0, smithy_client_1.throwDefaultError)({
@@ -1117,9 +1113,9 @@ const deserializeAws_restJson1RevokeSignatureCommandError = async (output, conte
1117
1113
  });
1118
1114
  }
1119
1115
  };
1120
- const deserializeAws_restJson1RevokeSigningProfileCommand = async (output, context) => {
1116
+ const de_RevokeSigningProfileCommand = async (output, context) => {
1121
1117
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1122
- return deserializeAws_restJson1RevokeSigningProfileCommandError(output, context);
1118
+ return de_RevokeSigningProfileCommandError(output, context);
1123
1119
  }
1124
1120
  const contents = map({
1125
1121
  $metadata: deserializeMetadata(output),
@@ -1127,8 +1123,8 @@ const deserializeAws_restJson1RevokeSigningProfileCommand = async (output, conte
1127
1123
  await collectBody(output.body, context);
1128
1124
  return contents;
1129
1125
  };
1130
- exports.deserializeAws_restJson1RevokeSigningProfileCommand = deserializeAws_restJson1RevokeSigningProfileCommand;
1131
- const deserializeAws_restJson1RevokeSigningProfileCommandError = async (output, context) => {
1126
+ exports.de_RevokeSigningProfileCommand = de_RevokeSigningProfileCommand;
1127
+ const de_RevokeSigningProfileCommandError = async (output, context) => {
1132
1128
  const parsedOutput = {
1133
1129
  ...output,
1134
1130
  body: await parseErrorBody(output.body, context),
@@ -1137,19 +1133,19 @@ const deserializeAws_restJson1RevokeSigningProfileCommandError = async (output,
1137
1133
  switch (errorCode) {
1138
1134
  case "AccessDeniedException":
1139
1135
  case "com.amazonaws.signer#AccessDeniedException":
1140
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1136
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1141
1137
  case "InternalServiceErrorException":
1142
1138
  case "com.amazonaws.signer#InternalServiceErrorException":
1143
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1139
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1144
1140
  case "ResourceNotFoundException":
1145
1141
  case "com.amazonaws.signer#ResourceNotFoundException":
1146
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1142
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1147
1143
  case "TooManyRequestsException":
1148
1144
  case "com.amazonaws.signer#TooManyRequestsException":
1149
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1145
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1150
1146
  case "ValidationException":
1151
1147
  case "com.amazonaws.signer#ValidationException":
1152
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1148
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1153
1149
  default:
1154
1150
  const parsedBody = parsedOutput.body;
1155
1151
  (0, smithy_client_1.throwDefaultError)({
@@ -1160,9 +1156,9 @@ const deserializeAws_restJson1RevokeSigningProfileCommandError = async (output,
1160
1156
  });
1161
1157
  }
1162
1158
  };
1163
- const deserializeAws_restJson1StartSigningJobCommand = async (output, context) => {
1159
+ const de_StartSigningJobCommand = async (output, context) => {
1164
1160
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1165
- return deserializeAws_restJson1StartSigningJobCommandError(output, context);
1161
+ return de_StartSigningJobCommandError(output, context);
1166
1162
  }
1167
1163
  const contents = map({
1168
1164
  $metadata: deserializeMetadata(output),
@@ -1176,8 +1172,8 @@ const deserializeAws_restJson1StartSigningJobCommand = async (output, context) =
1176
1172
  }
1177
1173
  return contents;
1178
1174
  };
1179
- exports.deserializeAws_restJson1StartSigningJobCommand = deserializeAws_restJson1StartSigningJobCommand;
1180
- const deserializeAws_restJson1StartSigningJobCommandError = async (output, context) => {
1175
+ exports.de_StartSigningJobCommand = de_StartSigningJobCommand;
1176
+ const de_StartSigningJobCommandError = async (output, context) => {
1181
1177
  const parsedOutput = {
1182
1178
  ...output,
1183
1179
  body: await parseErrorBody(output.body, context),
@@ -1186,22 +1182,22 @@ const deserializeAws_restJson1StartSigningJobCommandError = async (output, conte
1186
1182
  switch (errorCode) {
1187
1183
  case "AccessDeniedException":
1188
1184
  case "com.amazonaws.signer#AccessDeniedException":
1189
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1185
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1190
1186
  case "InternalServiceErrorException":
1191
1187
  case "com.amazonaws.signer#InternalServiceErrorException":
1192
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1188
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1193
1189
  case "ResourceNotFoundException":
1194
1190
  case "com.amazonaws.signer#ResourceNotFoundException":
1195
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1191
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1196
1192
  case "ThrottlingException":
1197
1193
  case "com.amazonaws.signer#ThrottlingException":
1198
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1194
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1199
1195
  case "TooManyRequestsException":
1200
1196
  case "com.amazonaws.signer#TooManyRequestsException":
1201
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1197
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1202
1198
  case "ValidationException":
1203
1199
  case "com.amazonaws.signer#ValidationException":
1204
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1200
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1205
1201
  default:
1206
1202
  const parsedBody = parsedOutput.body;
1207
1203
  (0, smithy_client_1.throwDefaultError)({
@@ -1212,9 +1208,9 @@ const deserializeAws_restJson1StartSigningJobCommandError = async (output, conte
1212
1208
  });
1213
1209
  }
1214
1210
  };
1215
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1211
+ const de_TagResourceCommand = async (output, context) => {
1216
1212
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1217
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1213
+ return de_TagResourceCommandError(output, context);
1218
1214
  }
1219
1215
  const contents = map({
1220
1216
  $metadata: deserializeMetadata(output),
@@ -1222,8 +1218,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1222
1218
  await collectBody(output.body, context);
1223
1219
  return contents;
1224
1220
  };
1225
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1226
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1221
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1222
+ const de_TagResourceCommandError = async (output, context) => {
1227
1223
  const parsedOutput = {
1228
1224
  ...output,
1229
1225
  body: await parseErrorBody(output.body, context),
@@ -1232,16 +1228,16 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1232
1228
  switch (errorCode) {
1233
1229
  case "BadRequestException":
1234
1230
  case "com.amazonaws.signer#BadRequestException":
1235
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1231
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1236
1232
  case "InternalServiceErrorException":
1237
1233
  case "com.amazonaws.signer#InternalServiceErrorException":
1238
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1234
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1239
1235
  case "NotFoundException":
1240
1236
  case "com.amazonaws.signer#NotFoundException":
1241
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1237
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1242
1238
  case "TooManyRequestsException":
1243
1239
  case "com.amazonaws.signer#TooManyRequestsException":
1244
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1240
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1245
1241
  default:
1246
1242
  const parsedBody = parsedOutput.body;
1247
1243
  (0, smithy_client_1.throwDefaultError)({
@@ -1252,9 +1248,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1252
1248
  });
1253
1249
  }
1254
1250
  };
1255
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1251
+ const de_UntagResourceCommand = async (output, context) => {
1256
1252
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1257
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1253
+ return de_UntagResourceCommandError(output, context);
1258
1254
  }
1259
1255
  const contents = map({
1260
1256
  $metadata: deserializeMetadata(output),
@@ -1262,8 +1258,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1262
1258
  await collectBody(output.body, context);
1263
1259
  return contents;
1264
1260
  };
1265
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1266
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1261
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1262
+ const de_UntagResourceCommandError = async (output, context) => {
1267
1263
  const parsedOutput = {
1268
1264
  ...output,
1269
1265
  body: await parseErrorBody(output.body, context),
@@ -1272,16 +1268,16 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1272
1268
  switch (errorCode) {
1273
1269
  case "BadRequestException":
1274
1270
  case "com.amazonaws.signer#BadRequestException":
1275
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1271
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1276
1272
  case "InternalServiceErrorException":
1277
1273
  case "com.amazonaws.signer#InternalServiceErrorException":
1278
- throw await deserializeAws_restJson1InternalServiceErrorExceptionResponse(parsedOutput, context);
1274
+ throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
1279
1275
  case "NotFoundException":
1280
1276
  case "com.amazonaws.signer#NotFoundException":
1281
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1277
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1282
1278
  case "TooManyRequestsException":
1283
1279
  case "com.amazonaws.signer#TooManyRequestsException":
1284
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1280
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1285
1281
  default:
1286
1282
  const parsedBody = parsedOutput.body;
1287
1283
  (0, smithy_client_1.throwDefaultError)({
@@ -1293,7 +1289,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1293
1289
  }
1294
1290
  };
1295
1291
  const map = smithy_client_1.map;
1296
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1292
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1297
1293
  const contents = map({});
1298
1294
  const data = parsedOutput.body;
1299
1295
  if (data.code != null) {
@@ -1308,7 +1304,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1308
1304
  });
1309
1305
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1310
1306
  };
1311
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
1307
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1312
1308
  const contents = map({});
1313
1309
  const data = parsedOutput.body;
1314
1310
  if (data.code != null) {
@@ -1323,7 +1319,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
1323
1319
  });
1324
1320
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1325
1321
  };
1326
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1322
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1327
1323
  const contents = map({});
1328
1324
  const data = parsedOutput.body;
1329
1325
  if (data.code != null) {
@@ -1338,7 +1334,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1338
1334
  });
1339
1335
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1340
1336
  };
1341
- const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (parsedOutput, context) => {
1337
+ const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
1342
1338
  const contents = map({});
1343
1339
  const data = parsedOutput.body;
1344
1340
  if (data.code != null) {
@@ -1353,7 +1349,7 @@ const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (par
1353
1349
  });
1354
1350
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1355
1351
  };
1356
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
1352
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1357
1353
  const contents = map({});
1358
1354
  const data = parsedOutput.body;
1359
1355
  if (data.code != null) {
@@ -1368,7 +1364,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
1368
1364
  });
1369
1365
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1370
1366
  };
1371
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1367
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1372
1368
  const contents = map({});
1373
1369
  const data = parsedOutput.body;
1374
1370
  if (data.code != null) {
@@ -1383,7 +1379,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1383
1379
  });
1384
1380
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1385
1381
  };
1386
- const deserializeAws_restJson1ServiceLimitExceededExceptionResponse = async (parsedOutput, context) => {
1382
+ const de_ServiceLimitExceededExceptionRes = async (parsedOutput, context) => {
1387
1383
  const contents = map({});
1388
1384
  const data = parsedOutput.body;
1389
1385
  if (data.code != null) {
@@ -1398,7 +1394,7 @@ const deserializeAws_restJson1ServiceLimitExceededExceptionResponse = async (par
1398
1394
  });
1399
1395
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1400
1396
  };
1401
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1397
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1402
1398
  const contents = map({});
1403
1399
  const data = parsedOutput.body;
1404
1400
  if (data.code != null) {
@@ -1413,7 +1409,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1413
1409
  });
1414
1410
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1415
1411
  };
1416
- const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
1412
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1417
1413
  const contents = map({});
1418
1414
  const data = parsedOutput.body;
1419
1415
  if (data.code != null) {
@@ -1428,7 +1424,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
1428
1424
  });
1429
1425
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1430
1426
  };
1431
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1427
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1432
1428
  const contents = map({});
1433
1429
  const data = parsedOutput.body;
1434
1430
  if (data.code != null) {
@@ -1443,42 +1439,42 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1443
1439
  });
1444
1440
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1445
1441
  };
1446
- const serializeAws_restJson1Destination = (input, context) => {
1442
+ const se_Destination = (input, context) => {
1447
1443
  return {
1448
- ...(input.s3 != null && { s3: serializeAws_restJson1S3Destination(input.s3, context) }),
1444
+ ...(input.s3 != null && { s3: se_S3Destination(input.s3, context) }),
1449
1445
  };
1450
1446
  };
1451
- const serializeAws_restJson1S3Destination = (input, context) => {
1447
+ const se_S3Destination = (input, context) => {
1452
1448
  return {
1453
1449
  ...(input.bucketName != null && { bucketName: input.bucketName }),
1454
1450
  ...(input.prefix != null && { prefix: input.prefix }),
1455
1451
  };
1456
1452
  };
1457
- const serializeAws_restJson1S3Source = (input, context) => {
1453
+ const se_S3Source = (input, context) => {
1458
1454
  return {
1459
1455
  ...(input.bucketName != null && { bucketName: input.bucketName }),
1460
1456
  ...(input.key != null && { key: input.key }),
1461
1457
  ...(input.version != null && { version: input.version }),
1462
1458
  };
1463
1459
  };
1464
- const serializeAws_restJson1SignatureValidityPeriod = (input, context) => {
1460
+ const se_SignatureValidityPeriod = (input, context) => {
1465
1461
  return {
1466
1462
  ...(input.type != null && { type: input.type }),
1467
1463
  ...(input.value != null && { value: input.value }),
1468
1464
  };
1469
1465
  };
1470
- const serializeAws_restJson1SigningConfigurationOverrides = (input, context) => {
1466
+ const se_SigningConfigurationOverrides = (input, context) => {
1471
1467
  return {
1472
1468
  ...(input.encryptionAlgorithm != null && { encryptionAlgorithm: input.encryptionAlgorithm }),
1473
1469
  ...(input.hashAlgorithm != null && { hashAlgorithm: input.hashAlgorithm }),
1474
1470
  };
1475
1471
  };
1476
- const serializeAws_restJson1SigningMaterial = (input, context) => {
1472
+ const se_SigningMaterial = (input, context) => {
1477
1473
  return {
1478
1474
  ...(input.certificateArn != null && { certificateArn: input.certificateArn }),
1479
1475
  };
1480
1476
  };
1481
- const serializeAws_restJson1SigningParameters = (input, context) => {
1477
+ const se_SigningParameters = (input, context) => {
1482
1478
  return Object.entries(input).reduce((acc, [key, value]) => {
1483
1479
  if (value === null) {
1484
1480
  return acc;
@@ -1487,20 +1483,20 @@ const serializeAws_restJson1SigningParameters = (input, context) => {
1487
1483
  return acc;
1488
1484
  }, {});
1489
1485
  };
1490
- const serializeAws_restJson1SigningPlatformOverrides = (input, context) => {
1486
+ const se_SigningPlatformOverrides = (input, context) => {
1491
1487
  return {
1492
1488
  ...(input.signingConfiguration != null && {
1493
- signingConfiguration: serializeAws_restJson1SigningConfigurationOverrides(input.signingConfiguration, context),
1489
+ signingConfiguration: se_SigningConfigurationOverrides(input.signingConfiguration, context),
1494
1490
  }),
1495
1491
  ...(input.signingImageFormat != null && { signingImageFormat: input.signingImageFormat }),
1496
1492
  };
1497
1493
  };
1498
- const serializeAws_restJson1Source = (input, context) => {
1494
+ const se_Source = (input, context) => {
1499
1495
  return {
1500
- ...(input.s3 != null && { s3: serializeAws_restJson1S3Source(input.s3, context) }),
1496
+ ...(input.s3 != null && { s3: se_S3Source(input.s3, context) }),
1501
1497
  };
1502
1498
  };
1503
- const serializeAws_restJson1TagMap = (input, context) => {
1499
+ const se_TagMap = (input, context) => {
1504
1500
  return Object.entries(input).reduce((acc, [key, value]) => {
1505
1501
  if (value === null) {
1506
1502
  return acc;
@@ -1509,15 +1505,13 @@ const serializeAws_restJson1TagMap = (input, context) => {
1509
1505
  return acc;
1510
1506
  }, {});
1511
1507
  };
1512
- const deserializeAws_restJson1EncryptionAlgorithmOptions = (output, context) => {
1508
+ const de_EncryptionAlgorithmOptions = (output, context) => {
1513
1509
  return {
1514
- allowedValues: output.allowedValues != null
1515
- ? deserializeAws_restJson1EncryptionAlgorithms(output.allowedValues, context)
1516
- : undefined,
1510
+ allowedValues: output.allowedValues != null ? de_EncryptionAlgorithms(output.allowedValues, context) : undefined,
1517
1511
  defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
1518
1512
  };
1519
1513
  };
1520
- const deserializeAws_restJson1EncryptionAlgorithms = (output, context) => {
1514
+ const de_EncryptionAlgorithms = (output, context) => {
1521
1515
  const retVal = (output || [])
1522
1516
  .filter((e) => e != null)
1523
1517
  .map((entry) => {
@@ -1528,13 +1522,13 @@ const deserializeAws_restJson1EncryptionAlgorithms = (output, context) => {
1528
1522
  });
1529
1523
  return retVal;
1530
1524
  };
1531
- const deserializeAws_restJson1HashAlgorithmOptions = (output, context) => {
1525
+ const de_HashAlgorithmOptions = (output, context) => {
1532
1526
  return {
1533
- allowedValues: output.allowedValues != null ? deserializeAws_restJson1HashAlgorithms(output.allowedValues, context) : undefined,
1527
+ allowedValues: output.allowedValues != null ? de_HashAlgorithms(output.allowedValues, context) : undefined,
1534
1528
  defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
1535
1529
  };
1536
1530
  };
1537
- const deserializeAws_restJson1HashAlgorithms = (output, context) => {
1531
+ const de_HashAlgorithms = (output, context) => {
1538
1532
  const retVal = (output || [])
1539
1533
  .filter((e) => e != null)
1540
1534
  .map((entry) => {
@@ -1545,7 +1539,7 @@ const deserializeAws_restJson1HashAlgorithms = (output, context) => {
1545
1539
  });
1546
1540
  return retVal;
1547
1541
  };
1548
- const deserializeAws_restJson1ImageFormats = (output, context) => {
1542
+ const de_ImageFormats = (output, context) => {
1549
1543
  const retVal = (output || [])
1550
1544
  .filter((e) => e != null)
1551
1545
  .map((entry) => {
@@ -1556,7 +1550,7 @@ const deserializeAws_restJson1ImageFormats = (output, context) => {
1556
1550
  });
1557
1551
  return retVal;
1558
1552
  };
1559
- const deserializeAws_restJson1Permission = (output, context) => {
1553
+ const de_Permission = (output, context) => {
1560
1554
  return {
1561
1555
  action: (0, smithy_client_1.expectString)(output.action),
1562
1556
  principal: (0, smithy_client_1.expectString)(output.principal),
@@ -1564,66 +1558,62 @@ const deserializeAws_restJson1Permission = (output, context) => {
1564
1558
  statementId: (0, smithy_client_1.expectString)(output.statementId),
1565
1559
  };
1566
1560
  };
1567
- const deserializeAws_restJson1Permissions = (output, context) => {
1561
+ const de_Permissions = (output, context) => {
1568
1562
  const retVal = (output || [])
1569
1563
  .filter((e) => e != null)
1570
1564
  .map((entry) => {
1571
1565
  if (entry === null) {
1572
1566
  return null;
1573
1567
  }
1574
- return deserializeAws_restJson1Permission(entry, context);
1568
+ return de_Permission(entry, context);
1575
1569
  });
1576
1570
  return retVal;
1577
1571
  };
1578
- const deserializeAws_restJson1S3SignedObject = (output, context) => {
1572
+ const de_S3SignedObject = (output, context) => {
1579
1573
  return {
1580
1574
  bucketName: (0, smithy_client_1.expectString)(output.bucketName),
1581
1575
  key: (0, smithy_client_1.expectString)(output.key),
1582
1576
  };
1583
1577
  };
1584
- const deserializeAws_restJson1S3Source = (output, context) => {
1578
+ const de_S3Source = (output, context) => {
1585
1579
  return {
1586
1580
  bucketName: (0, smithy_client_1.expectString)(output.bucketName),
1587
1581
  key: (0, smithy_client_1.expectString)(output.key),
1588
1582
  version: (0, smithy_client_1.expectString)(output.version),
1589
1583
  };
1590
1584
  };
1591
- const deserializeAws_restJson1SignatureValidityPeriod = (output, context) => {
1585
+ const de_SignatureValidityPeriod = (output, context) => {
1592
1586
  return {
1593
1587
  type: (0, smithy_client_1.expectString)(output.type),
1594
1588
  value: (0, smithy_client_1.expectInt32)(output.value),
1595
1589
  };
1596
1590
  };
1597
- const deserializeAws_restJson1SignedObject = (output, context) => {
1591
+ const de_SignedObject = (output, context) => {
1598
1592
  return {
1599
- s3: output.s3 != null ? deserializeAws_restJson1S3SignedObject(output.s3, context) : undefined,
1593
+ s3: output.s3 != null ? de_S3SignedObject(output.s3, context) : undefined,
1600
1594
  };
1601
1595
  };
1602
- const deserializeAws_restJson1SigningConfiguration = (output, context) => {
1596
+ const de_SigningConfiguration = (output, context) => {
1603
1597
  return {
1604
1598
  encryptionAlgorithmOptions: output.encryptionAlgorithmOptions != null
1605
- ? deserializeAws_restJson1EncryptionAlgorithmOptions(output.encryptionAlgorithmOptions, context)
1606
- : undefined,
1607
- hashAlgorithmOptions: output.hashAlgorithmOptions != null
1608
- ? deserializeAws_restJson1HashAlgorithmOptions(output.hashAlgorithmOptions, context)
1599
+ ? de_EncryptionAlgorithmOptions(output.encryptionAlgorithmOptions, context)
1609
1600
  : undefined,
1601
+ hashAlgorithmOptions: output.hashAlgorithmOptions != null ? de_HashAlgorithmOptions(output.hashAlgorithmOptions, context) : undefined,
1610
1602
  };
1611
1603
  };
1612
- const deserializeAws_restJson1SigningConfigurationOverrides = (output, context) => {
1604
+ const de_SigningConfigurationOverrides = (output, context) => {
1613
1605
  return {
1614
1606
  encryptionAlgorithm: (0, smithy_client_1.expectString)(output.encryptionAlgorithm),
1615
1607
  hashAlgorithm: (0, smithy_client_1.expectString)(output.hashAlgorithm),
1616
1608
  };
1617
1609
  };
1618
- const deserializeAws_restJson1SigningImageFormat = (output, context) => {
1610
+ const de_SigningImageFormat = (output, context) => {
1619
1611
  return {
1620
1612
  defaultFormat: (0, smithy_client_1.expectString)(output.defaultFormat),
1621
- supportedFormats: output.supportedFormats != null
1622
- ? deserializeAws_restJson1ImageFormats(output.supportedFormats, context)
1623
- : undefined,
1613
+ supportedFormats: output.supportedFormats != null ? de_ImageFormats(output.supportedFormats, context) : undefined,
1624
1614
  };
1625
1615
  };
1626
- const deserializeAws_restJson1SigningJob = (output, context) => {
1616
+ const de_SigningJob = (output, context) => {
1627
1617
  return {
1628
1618
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
1629
1619
  isRevoked: (0, smithy_client_1.expectBoolean)(output.isRevoked),
@@ -1637,38 +1627,36 @@ const deserializeAws_restJson1SigningJob = (output, context) => {
1637
1627
  signatureExpiresAt: output.signatureExpiresAt != null
1638
1628
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.signatureExpiresAt)))
1639
1629
  : undefined,
1640
- signedObject: output.signedObject != null ? deserializeAws_restJson1SignedObject(output.signedObject, context) : undefined,
1641
- signingMaterial: output.signingMaterial != null
1642
- ? deserializeAws_restJson1SigningMaterial(output.signingMaterial, context)
1643
- : undefined,
1644
- source: output.source != null ? deserializeAws_restJson1Source(output.source, context) : undefined,
1630
+ signedObject: output.signedObject != null ? de_SignedObject(output.signedObject, context) : undefined,
1631
+ signingMaterial: output.signingMaterial != null ? de_SigningMaterial(output.signingMaterial, context) : undefined,
1632
+ source: output.source != null ? de_Source(output.source, context) : undefined,
1645
1633
  status: (0, smithy_client_1.expectString)(output.status),
1646
1634
  };
1647
1635
  };
1648
- const deserializeAws_restJson1SigningJobRevocationRecord = (output, context) => {
1636
+ const de_SigningJobRevocationRecord = (output, context) => {
1649
1637
  return {
1650
1638
  reason: (0, smithy_client_1.expectString)(output.reason),
1651
1639
  revokedAt: output.revokedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.revokedAt))) : undefined,
1652
1640
  revokedBy: (0, smithy_client_1.expectString)(output.revokedBy),
1653
1641
  };
1654
1642
  };
1655
- const deserializeAws_restJson1SigningJobs = (output, context) => {
1643
+ const de_SigningJobs = (output, context) => {
1656
1644
  const retVal = (output || [])
1657
1645
  .filter((e) => e != null)
1658
1646
  .map((entry) => {
1659
1647
  if (entry === null) {
1660
1648
  return null;
1661
1649
  }
1662
- return deserializeAws_restJson1SigningJob(entry, context);
1650
+ return de_SigningJob(entry, context);
1663
1651
  });
1664
1652
  return retVal;
1665
1653
  };
1666
- const deserializeAws_restJson1SigningMaterial = (output, context) => {
1654
+ const de_SigningMaterial = (output, context) => {
1667
1655
  return {
1668
1656
  certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
1669
1657
  };
1670
1658
  };
1671
- const deserializeAws_restJson1SigningParameters = (output, context) => {
1659
+ const de_SigningParameters = (output, context) => {
1672
1660
  return Object.entries(output).reduce((acc, [key, value]) => {
1673
1661
  if (value === null) {
1674
1662
  return acc;
@@ -1677,7 +1665,7 @@ const deserializeAws_restJson1SigningParameters = (output, context) => {
1677
1665
  return acc;
1678
1666
  }, {});
1679
1667
  };
1680
- const deserializeAws_restJson1SigningPlatform = (output, context) => {
1668
+ const de_SigningPlatform = (output, context) => {
1681
1669
  return {
1682
1670
  category: (0, smithy_client_1.expectString)(output.category),
1683
1671
  displayName: (0, smithy_client_1.expectString)(output.displayName),
@@ -1685,35 +1673,31 @@ const deserializeAws_restJson1SigningPlatform = (output, context) => {
1685
1673
  partner: (0, smithy_client_1.expectString)(output.partner),
1686
1674
  platformId: (0, smithy_client_1.expectString)(output.platformId),
1687
1675
  revocationSupported: (0, smithy_client_1.expectBoolean)(output.revocationSupported),
1688
- signingConfiguration: output.signingConfiguration != null
1689
- ? deserializeAws_restJson1SigningConfiguration(output.signingConfiguration, context)
1690
- : undefined,
1691
- signingImageFormat: output.signingImageFormat != null
1692
- ? deserializeAws_restJson1SigningImageFormat(output.signingImageFormat, context)
1693
- : undefined,
1676
+ signingConfiguration: output.signingConfiguration != null ? de_SigningConfiguration(output.signingConfiguration, context) : undefined,
1677
+ signingImageFormat: output.signingImageFormat != null ? de_SigningImageFormat(output.signingImageFormat, context) : undefined,
1694
1678
  target: (0, smithy_client_1.expectString)(output.target),
1695
1679
  };
1696
1680
  };
1697
- const deserializeAws_restJson1SigningPlatformOverrides = (output, context) => {
1681
+ const de_SigningPlatformOverrides = (output, context) => {
1698
1682
  return {
1699
1683
  signingConfiguration: output.signingConfiguration != null
1700
- ? deserializeAws_restJson1SigningConfigurationOverrides(output.signingConfiguration, context)
1684
+ ? de_SigningConfigurationOverrides(output.signingConfiguration, context)
1701
1685
  : undefined,
1702
1686
  signingImageFormat: (0, smithy_client_1.expectString)(output.signingImageFormat),
1703
1687
  };
1704
1688
  };
1705
- const deserializeAws_restJson1SigningPlatforms = (output, context) => {
1689
+ const de_SigningPlatforms = (output, context) => {
1706
1690
  const retVal = (output || [])
1707
1691
  .filter((e) => e != null)
1708
1692
  .map((entry) => {
1709
1693
  if (entry === null) {
1710
1694
  return null;
1711
1695
  }
1712
- return deserializeAws_restJson1SigningPlatform(entry, context);
1696
+ return de_SigningPlatform(entry, context);
1713
1697
  });
1714
1698
  return retVal;
1715
1699
  };
1716
- const deserializeAws_restJson1SigningProfile = (output, context) => {
1700
+ const de_SigningProfile = (output, context) => {
1717
1701
  return {
1718
1702
  arn: (0, smithy_client_1.expectString)(output.arn),
1719
1703
  platformDisplayName: (0, smithy_client_1.expectString)(output.platformDisplayName),
@@ -1722,19 +1706,15 @@ const deserializeAws_restJson1SigningProfile = (output, context) => {
1722
1706
  profileVersion: (0, smithy_client_1.expectString)(output.profileVersion),
1723
1707
  profileVersionArn: (0, smithy_client_1.expectString)(output.profileVersionArn),
1724
1708
  signatureValidityPeriod: output.signatureValidityPeriod != null
1725
- ? deserializeAws_restJson1SignatureValidityPeriod(output.signatureValidityPeriod, context)
1726
- : undefined,
1727
- signingMaterial: output.signingMaterial != null
1728
- ? deserializeAws_restJson1SigningMaterial(output.signingMaterial, context)
1729
- : undefined,
1730
- signingParameters: output.signingParameters != null
1731
- ? deserializeAws_restJson1SigningParameters(output.signingParameters, context)
1709
+ ? de_SignatureValidityPeriod(output.signatureValidityPeriod, context)
1732
1710
  : undefined,
1711
+ signingMaterial: output.signingMaterial != null ? de_SigningMaterial(output.signingMaterial, context) : undefined,
1712
+ signingParameters: output.signingParameters != null ? de_SigningParameters(output.signingParameters, context) : undefined,
1733
1713
  status: (0, smithy_client_1.expectString)(output.status),
1734
- tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1714
+ tags: output.tags != null ? de_TagMap(output.tags, context) : undefined,
1735
1715
  };
1736
1716
  };
1737
- const deserializeAws_restJson1SigningProfileRevocationRecord = (output, context) => {
1717
+ const de_SigningProfileRevocationRecord = (output, context) => {
1738
1718
  return {
1739
1719
  revocationEffectiveFrom: output.revocationEffectiveFrom != null
1740
1720
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.revocationEffectiveFrom)))
@@ -1743,23 +1723,23 @@ const deserializeAws_restJson1SigningProfileRevocationRecord = (output, context)
1743
1723
  revokedBy: (0, smithy_client_1.expectString)(output.revokedBy),
1744
1724
  };
1745
1725
  };
1746
- const deserializeAws_restJson1SigningProfiles = (output, context) => {
1726
+ const de_SigningProfiles = (output, context) => {
1747
1727
  const retVal = (output || [])
1748
1728
  .filter((e) => e != null)
1749
1729
  .map((entry) => {
1750
1730
  if (entry === null) {
1751
1731
  return null;
1752
1732
  }
1753
- return deserializeAws_restJson1SigningProfile(entry, context);
1733
+ return de_SigningProfile(entry, context);
1754
1734
  });
1755
1735
  return retVal;
1756
1736
  };
1757
- const deserializeAws_restJson1Source = (output, context) => {
1737
+ const de_Source = (output, context) => {
1758
1738
  return {
1759
- s3: output.s3 != null ? deserializeAws_restJson1S3Source(output.s3, context) : undefined,
1739
+ s3: output.s3 != null ? de_S3Source(output.s3, context) : undefined,
1760
1740
  };
1761
1741
  };
1762
- const deserializeAws_restJson1TagMap = (output, context) => {
1742
+ const de_TagMap = (output, context) => {
1763
1743
  return Object.entries(output).reduce((acc, [key, value]) => {
1764
1744
  if (value === null) {
1765
1745
  return acc;