@aws-sdk/client-serverlessapplicationrepository 3.306.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 (33) hide show
  1. package/dist-cjs/commands/CreateApplicationCommand.js +2 -2
  2. package/dist-cjs/commands/CreateApplicationVersionCommand.js +2 -2
  3. package/dist-cjs/commands/CreateCloudFormationChangeSetCommand.js +2 -2
  4. package/dist-cjs/commands/CreateCloudFormationTemplateCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteApplicationCommand.js +2 -2
  6. package/dist-cjs/commands/GetApplicationCommand.js +2 -2
  7. package/dist-cjs/commands/GetApplicationPolicyCommand.js +2 -2
  8. package/dist-cjs/commands/GetCloudFormationTemplateCommand.js +2 -2
  9. package/dist-cjs/commands/ListApplicationDependenciesCommand.js +2 -2
  10. package/dist-cjs/commands/ListApplicationVersionsCommand.js +2 -2
  11. package/dist-cjs/commands/ListApplicationsCommand.js +2 -2
  12. package/dist-cjs/commands/PutApplicationPolicyCommand.js +2 -2
  13. package/dist-cjs/commands/UnshareApplicationCommand.js +2 -2
  14. package/dist-cjs/commands/UpdateApplicationCommand.js +2 -2
  15. package/dist-cjs/protocols/Aws_restJson1.js +227 -245
  16. package/dist-es/commands/CreateApplicationCommand.js +3 -3
  17. package/dist-es/commands/CreateApplicationVersionCommand.js +3 -3
  18. package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +3 -3
  19. package/dist-es/commands/CreateCloudFormationTemplateCommand.js +3 -3
  20. package/dist-es/commands/DeleteApplicationCommand.js +3 -3
  21. package/dist-es/commands/GetApplicationCommand.js +3 -3
  22. package/dist-es/commands/GetApplicationPolicyCommand.js +3 -3
  23. package/dist-es/commands/GetCloudFormationTemplateCommand.js +3 -3
  24. package/dist-es/commands/ListApplicationDependenciesCommand.js +3 -3
  25. package/dist-es/commands/ListApplicationVersionsCommand.js +3 -3
  26. package/dist-es/commands/ListApplicationsCommand.js +3 -3
  27. package/dist-es/commands/PutApplicationPolicyCommand.js +3 -3
  28. package/dist-es/commands/UnshareApplicationCommand.js +3 -3
  29. package/dist-es/commands/UpdateApplicationCommand.js +3 -3
  30. package/dist-es/protocols/Aws_restJson1.js +198 -216
  31. package/dist-types/protocols/Aws_restJson1.d.ts +112 -28
  32. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +28 -28
  33. package/package.json +6 -6
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UpdateApplicationCommand = exports.deserializeAws_restJson1UnshareApplicationCommand = exports.deserializeAws_restJson1PutApplicationPolicyCommand = exports.deserializeAws_restJson1ListApplicationVersionsCommand = exports.deserializeAws_restJson1ListApplicationsCommand = exports.deserializeAws_restJson1ListApplicationDependenciesCommand = exports.deserializeAws_restJson1GetCloudFormationTemplateCommand = exports.deserializeAws_restJson1GetApplicationPolicyCommand = exports.deserializeAws_restJson1GetApplicationCommand = exports.deserializeAws_restJson1DeleteApplicationCommand = exports.deserializeAws_restJson1CreateCloudFormationTemplateCommand = exports.deserializeAws_restJson1CreateCloudFormationChangeSetCommand = exports.deserializeAws_restJson1CreateApplicationVersionCommand = exports.deserializeAws_restJson1CreateApplicationCommand = exports.serializeAws_restJson1UpdateApplicationCommand = exports.serializeAws_restJson1UnshareApplicationCommand = exports.serializeAws_restJson1PutApplicationPolicyCommand = exports.serializeAws_restJson1ListApplicationVersionsCommand = exports.serializeAws_restJson1ListApplicationsCommand = exports.serializeAws_restJson1ListApplicationDependenciesCommand = exports.serializeAws_restJson1GetCloudFormationTemplateCommand = exports.serializeAws_restJson1GetApplicationPolicyCommand = exports.serializeAws_restJson1GetApplicationCommand = exports.serializeAws_restJson1DeleteApplicationCommand = exports.serializeAws_restJson1CreateCloudFormationTemplateCommand = exports.serializeAws_restJson1CreateCloudFormationChangeSetCommand = exports.serializeAws_restJson1CreateApplicationVersionCommand = exports.serializeAws_restJson1CreateApplicationCommand = void 0;
3
+ exports.de_UpdateApplicationCommand = exports.de_UnshareApplicationCommand = exports.de_PutApplicationPolicyCommand = exports.de_ListApplicationVersionsCommand = exports.de_ListApplicationsCommand = exports.de_ListApplicationDependenciesCommand = exports.de_GetCloudFormationTemplateCommand = exports.de_GetApplicationPolicyCommand = exports.de_GetApplicationCommand = exports.de_DeleteApplicationCommand = exports.de_CreateCloudFormationTemplateCommand = exports.de_CreateCloudFormationChangeSetCommand = exports.de_CreateApplicationVersionCommand = exports.de_CreateApplicationCommand = exports.se_UpdateApplicationCommand = exports.se_UnshareApplicationCommand = exports.se_PutApplicationPolicyCommand = exports.se_ListApplicationVersionsCommand = exports.se_ListApplicationsCommand = exports.se_ListApplicationDependenciesCommand = exports.se_GetCloudFormationTemplateCommand = exports.se_GetApplicationPolicyCommand = exports.se_GetApplicationCommand = exports.se_DeleteApplicationCommand = exports.se_CreateCloudFormationTemplateCommand = exports.se_CreateCloudFormationChangeSetCommand = exports.se_CreateApplicationVersionCommand = exports.se_CreateApplicationCommand = 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 models_0_1 = require("../models/models_0");
7
7
  const ServerlessApplicationRepositoryServiceException_1 = require("../models/ServerlessApplicationRepositoryServiceException");
8
- const serializeAws_restJson1CreateApplicationCommand = async (input, context) => {
8
+ const se_CreateApplicationCommand = async (input, context) => {
9
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
10
10
  const headers = {
11
11
  "content-type": "application/json",
@@ -16,7 +16,7 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
16
16
  ...(input.Author != null && { author: input.Author }),
17
17
  ...(input.Description != null && { description: input.Description }),
18
18
  ...(input.HomePageUrl != null && { homePageUrl: input.HomePageUrl }),
19
- ...(input.Labels != null && { labels: serializeAws_restJson1__listOf__string(input.Labels, context) }),
19
+ ...(input.Labels != null && { labels: se___listOf__string(input.Labels, context) }),
20
20
  ...(input.LicenseBody != null && { licenseBody: input.LicenseBody }),
21
21
  ...(input.LicenseUrl != null && { licenseUrl: input.LicenseUrl }),
22
22
  ...(input.Name != null && { name: input.Name }),
@@ -39,8 +39,8 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
39
39
  body,
40
40
  });
41
41
  };
42
- exports.serializeAws_restJson1CreateApplicationCommand = serializeAws_restJson1CreateApplicationCommand;
43
- const serializeAws_restJson1CreateApplicationVersionCommand = async (input, context) => {
42
+ exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
43
+ const se_CreateApplicationVersionCommand = async (input, context) => {
44
44
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
45
45
  const headers = {
46
46
  "content-type": "application/json",
@@ -66,8 +66,8 @@ const serializeAws_restJson1CreateApplicationVersionCommand = async (input, cont
66
66
  body,
67
67
  });
68
68
  };
69
- exports.serializeAws_restJson1CreateApplicationVersionCommand = serializeAws_restJson1CreateApplicationVersionCommand;
70
- const serializeAws_restJson1CreateCloudFormationChangeSetCommand = async (input, context) => {
69
+ exports.se_CreateApplicationVersionCommand = se_CreateApplicationVersionCommand;
70
+ const se_CreateCloudFormationChangeSetCommand = async (input, context) => {
71
71
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
72
72
  const headers = {
73
73
  "content-type": "application/json",
@@ -76,27 +76,21 @@ const serializeAws_restJson1CreateCloudFormationChangeSetCommand = async (input,
76
76
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
77
77
  let body;
78
78
  body = JSON.stringify({
79
- ...(input.Capabilities != null && {
80
- capabilities: serializeAws_restJson1__listOf__string(input.Capabilities, context),
81
- }),
79
+ ...(input.Capabilities != null && { capabilities: se___listOf__string(input.Capabilities, context) }),
82
80
  ...(input.ChangeSetName != null && { changeSetName: input.ChangeSetName }),
83
81
  ...(input.ClientToken != null && { clientToken: input.ClientToken }),
84
82
  ...(input.Description != null && { description: input.Description }),
85
- ...(input.NotificationArns != null && {
86
- notificationArns: serializeAws_restJson1__listOf__string(input.NotificationArns, context),
87
- }),
83
+ ...(input.NotificationArns != null && { notificationArns: se___listOf__string(input.NotificationArns, context) }),
88
84
  ...(input.ParameterOverrides != null && {
89
- parameterOverrides: serializeAws_restJson1__listOfParameterValue(input.ParameterOverrides, context),
90
- }),
91
- ...(input.ResourceTypes != null && {
92
- resourceTypes: serializeAws_restJson1__listOf__string(input.ResourceTypes, context),
85
+ parameterOverrides: se___listOfParameterValue(input.ParameterOverrides, context),
93
86
  }),
87
+ ...(input.ResourceTypes != null && { resourceTypes: se___listOf__string(input.ResourceTypes, context) }),
94
88
  ...(input.RollbackConfiguration != null && {
95
- rollbackConfiguration: serializeAws_restJson1RollbackConfiguration(input.RollbackConfiguration, context),
89
+ rollbackConfiguration: se_RollbackConfiguration(input.RollbackConfiguration, context),
96
90
  }),
97
91
  ...(input.SemanticVersion != null && { semanticVersion: input.SemanticVersion }),
98
92
  ...(input.StackName != null && { stackName: input.StackName }),
99
- ...(input.Tags != null && { tags: serializeAws_restJson1__listOfTag(input.Tags, context) }),
93
+ ...(input.Tags != null && { tags: se___listOfTag(input.Tags, context) }),
100
94
  ...(input.TemplateId != null && { templateId: input.TemplateId }),
101
95
  });
102
96
  return new protocol_http_1.HttpRequest({
@@ -109,8 +103,8 @@ const serializeAws_restJson1CreateCloudFormationChangeSetCommand = async (input,
109
103
  body,
110
104
  });
111
105
  };
112
- exports.serializeAws_restJson1CreateCloudFormationChangeSetCommand = serializeAws_restJson1CreateCloudFormationChangeSetCommand;
113
- const serializeAws_restJson1CreateCloudFormationTemplateCommand = async (input, context) => {
106
+ exports.se_CreateCloudFormationChangeSetCommand = se_CreateCloudFormationChangeSetCommand;
107
+ const se_CreateCloudFormationTemplateCommand = async (input, context) => {
114
108
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
115
109
  const headers = {
116
110
  "content-type": "application/json",
@@ -131,8 +125,8 @@ const serializeAws_restJson1CreateCloudFormationTemplateCommand = async (input,
131
125
  body,
132
126
  });
133
127
  };
134
- exports.serializeAws_restJson1CreateCloudFormationTemplateCommand = serializeAws_restJson1CreateCloudFormationTemplateCommand;
135
- const serializeAws_restJson1DeleteApplicationCommand = async (input, context) => {
128
+ exports.se_CreateCloudFormationTemplateCommand = se_CreateCloudFormationTemplateCommand;
129
+ const se_DeleteApplicationCommand = async (input, context) => {
136
130
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
137
131
  const headers = {};
138
132
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{ApplicationId}";
@@ -148,8 +142,8 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
148
142
  body,
149
143
  });
150
144
  };
151
- exports.serializeAws_restJson1DeleteApplicationCommand = serializeAws_restJson1DeleteApplicationCommand;
152
- const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
145
+ exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
146
+ const se_GetApplicationCommand = async (input, context) => {
153
147
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
154
148
  const headers = {};
155
149
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{ApplicationId}";
@@ -169,8 +163,8 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
169
163
  body,
170
164
  });
171
165
  };
172
- exports.serializeAws_restJson1GetApplicationCommand = serializeAws_restJson1GetApplicationCommand;
173
- const serializeAws_restJson1GetApplicationPolicyCommand = async (input, context) => {
166
+ exports.se_GetApplicationCommand = se_GetApplicationCommand;
167
+ const se_GetApplicationPolicyCommand = async (input, context) => {
174
168
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
175
169
  const headers = {};
176
170
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{ApplicationId}/policy";
@@ -186,8 +180,8 @@ const serializeAws_restJson1GetApplicationPolicyCommand = async (input, context)
186
180
  body,
187
181
  });
188
182
  };
189
- exports.serializeAws_restJson1GetApplicationPolicyCommand = serializeAws_restJson1GetApplicationPolicyCommand;
190
- const serializeAws_restJson1GetCloudFormationTemplateCommand = async (input, context) => {
183
+ exports.se_GetApplicationPolicyCommand = se_GetApplicationPolicyCommand;
184
+ const se_GetCloudFormationTemplateCommand = async (input, context) => {
191
185
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
192
186
  const headers = {};
193
187
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -205,8 +199,8 @@ const serializeAws_restJson1GetCloudFormationTemplateCommand = async (input, con
205
199
  body,
206
200
  });
207
201
  };
208
- exports.serializeAws_restJson1GetCloudFormationTemplateCommand = serializeAws_restJson1GetCloudFormationTemplateCommand;
209
- const serializeAws_restJson1ListApplicationDependenciesCommand = async (input, context) => {
202
+ exports.se_GetCloudFormationTemplateCommand = se_GetCloudFormationTemplateCommand;
203
+ const se_ListApplicationDependenciesCommand = async (input, context) => {
210
204
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
211
205
  const headers = {};
212
206
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -229,8 +223,8 @@ const serializeAws_restJson1ListApplicationDependenciesCommand = async (input, c
229
223
  body,
230
224
  });
231
225
  };
232
- exports.serializeAws_restJson1ListApplicationDependenciesCommand = serializeAws_restJson1ListApplicationDependenciesCommand;
233
- const serializeAws_restJson1ListApplicationsCommand = async (input, context) => {
226
+ exports.se_ListApplicationDependenciesCommand = se_ListApplicationDependenciesCommand;
227
+ const se_ListApplicationsCommand = async (input, context) => {
234
228
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
235
229
  const headers = {};
236
230
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
@@ -250,8 +244,8 @@ const serializeAws_restJson1ListApplicationsCommand = async (input, context) =>
250
244
  body,
251
245
  });
252
246
  };
253
- exports.serializeAws_restJson1ListApplicationsCommand = serializeAws_restJson1ListApplicationsCommand;
254
- const serializeAws_restJson1ListApplicationVersionsCommand = async (input, context) => {
247
+ exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
248
+ const se_ListApplicationVersionsCommand = async (input, context) => {
255
249
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
256
250
  const headers = {};
257
251
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{ApplicationId}/versions";
@@ -272,8 +266,8 @@ const serializeAws_restJson1ListApplicationVersionsCommand = async (input, conte
272
266
  body,
273
267
  });
274
268
  };
275
- exports.serializeAws_restJson1ListApplicationVersionsCommand = serializeAws_restJson1ListApplicationVersionsCommand;
276
- const serializeAws_restJson1PutApplicationPolicyCommand = async (input, context) => {
269
+ exports.se_ListApplicationVersionsCommand = se_ListApplicationVersionsCommand;
270
+ const se_PutApplicationPolicyCommand = async (input, context) => {
277
271
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
278
272
  const headers = {
279
273
  "content-type": "application/json",
@@ -282,9 +276,7 @@ const serializeAws_restJson1PutApplicationPolicyCommand = async (input, context)
282
276
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
283
277
  let body;
284
278
  body = JSON.stringify({
285
- ...(input.Statements != null && {
286
- statements: serializeAws_restJson1__listOfApplicationPolicyStatement(input.Statements, context),
287
- }),
279
+ ...(input.Statements != null && { statements: se___listOfApplicationPolicyStatement(input.Statements, context) }),
288
280
  });
289
281
  return new protocol_http_1.HttpRequest({
290
282
  protocol,
@@ -296,8 +288,8 @@ const serializeAws_restJson1PutApplicationPolicyCommand = async (input, context)
296
288
  body,
297
289
  });
298
290
  };
299
- exports.serializeAws_restJson1PutApplicationPolicyCommand = serializeAws_restJson1PutApplicationPolicyCommand;
300
- const serializeAws_restJson1UnshareApplicationCommand = async (input, context) => {
291
+ exports.se_PutApplicationPolicyCommand = se_PutApplicationPolicyCommand;
292
+ const se_UnshareApplicationCommand = async (input, context) => {
301
293
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
302
294
  const headers = {
303
295
  "content-type": "application/json",
@@ -318,8 +310,8 @@ const serializeAws_restJson1UnshareApplicationCommand = async (input, context) =
318
310
  body,
319
311
  });
320
312
  };
321
- exports.serializeAws_restJson1UnshareApplicationCommand = serializeAws_restJson1UnshareApplicationCommand;
322
- const serializeAws_restJson1UpdateApplicationCommand = async (input, context) => {
313
+ exports.se_UnshareApplicationCommand = se_UnshareApplicationCommand;
314
+ const se_UpdateApplicationCommand = async (input, context) => {
323
315
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
324
316
  const headers = {
325
317
  "content-type": "application/json",
@@ -331,7 +323,7 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
331
323
  ...(input.Author != null && { author: input.Author }),
332
324
  ...(input.Description != null && { description: input.Description }),
333
325
  ...(input.HomePageUrl != null && { homePageUrl: input.HomePageUrl }),
334
- ...(input.Labels != null && { labels: serializeAws_restJson1__listOf__string(input.Labels, context) }),
326
+ ...(input.Labels != null && { labels: se___listOf__string(input.Labels, context) }),
335
327
  ...(input.ReadmeBody != null && { readmeBody: input.ReadmeBody }),
336
328
  ...(input.ReadmeUrl != null && { readmeUrl: input.ReadmeUrl }),
337
329
  });
@@ -345,10 +337,10 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
345
337
  body,
346
338
  });
347
339
  };
348
- exports.serializeAws_restJson1UpdateApplicationCommand = serializeAws_restJson1UpdateApplicationCommand;
349
- const deserializeAws_restJson1CreateApplicationCommand = async (output, context) => {
340
+ exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
341
+ const de_CreateApplicationCommand = async (output, context) => {
350
342
  if (output.statusCode !== 201 && output.statusCode >= 300) {
351
- return deserializeAws_restJson1CreateApplicationCommandError(output, context);
343
+ return de_CreateApplicationCommandError(output, context);
352
344
  }
353
345
  const contents = map({
354
346
  $metadata: deserializeMetadata(output),
@@ -373,7 +365,7 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
373
365
  contents.IsVerifiedAuthor = (0, smithy_client_1.expectBoolean)(data.isVerifiedAuthor);
374
366
  }
375
367
  if (data.labels != null) {
376
- contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
368
+ contents.Labels = de___listOf__string(data.labels, context);
377
369
  }
378
370
  if (data.licenseUrl != null) {
379
371
  contents.LicenseUrl = (0, smithy_client_1.expectString)(data.licenseUrl);
@@ -391,12 +383,12 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
391
383
  contents.VerifiedAuthorUrl = (0, smithy_client_1.expectString)(data.verifiedAuthorUrl);
392
384
  }
393
385
  if (data.version != null) {
394
- contents.Version = deserializeAws_restJson1Version(data.version, context);
386
+ contents.Version = de_Version(data.version, context);
395
387
  }
396
388
  return contents;
397
389
  };
398
- exports.deserializeAws_restJson1CreateApplicationCommand = deserializeAws_restJson1CreateApplicationCommand;
399
- const deserializeAws_restJson1CreateApplicationCommandError = async (output, context) => {
390
+ exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
391
+ const de_CreateApplicationCommandError = async (output, context) => {
400
392
  const parsedOutput = {
401
393
  ...output,
402
394
  body: await parseErrorBody(output.body, context),
@@ -405,19 +397,19 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
405
397
  switch (errorCode) {
406
398
  case "BadRequestException":
407
399
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
408
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
400
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
409
401
  case "ConflictException":
410
402
  case "com.amazonaws.serverlessapplicationrepository#ConflictException":
411
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
403
+ throw await de_ConflictExceptionRes(parsedOutput, context);
412
404
  case "ForbiddenException":
413
405
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
414
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
406
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
415
407
  case "InternalServerErrorException":
416
408
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
417
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
409
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
418
410
  case "TooManyRequestsException":
419
411
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
420
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
412
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
421
413
  default:
422
414
  const parsedBody = parsedOutput.body;
423
415
  (0, smithy_client_1.throwDefaultError)({
@@ -428,9 +420,9 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
428
420
  });
429
421
  }
430
422
  };
431
- const deserializeAws_restJson1CreateApplicationVersionCommand = async (output, context) => {
423
+ const de_CreateApplicationVersionCommand = async (output, context) => {
432
424
  if (output.statusCode !== 201 && output.statusCode >= 300) {
433
- return deserializeAws_restJson1CreateApplicationVersionCommandError(output, context);
425
+ return de_CreateApplicationVersionCommandError(output, context);
434
426
  }
435
427
  const contents = map({
436
428
  $metadata: deserializeMetadata(output),
@@ -443,10 +435,10 @@ const deserializeAws_restJson1CreateApplicationVersionCommand = async (output, c
443
435
  contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
444
436
  }
445
437
  if (data.parameterDefinitions != null) {
446
- contents.ParameterDefinitions = deserializeAws_restJson1__listOfParameterDefinition(data.parameterDefinitions, context);
438
+ contents.ParameterDefinitions = de___listOfParameterDefinition(data.parameterDefinitions, context);
447
439
  }
448
440
  if (data.requiredCapabilities != null) {
449
- contents.RequiredCapabilities = deserializeAws_restJson1__listOfCapability(data.requiredCapabilities, context);
441
+ contents.RequiredCapabilities = de___listOfCapability(data.requiredCapabilities, context);
450
442
  }
451
443
  if (data.resourcesSupported != null) {
452
444
  contents.ResourcesSupported = (0, smithy_client_1.expectBoolean)(data.resourcesSupported);
@@ -465,8 +457,8 @@ const deserializeAws_restJson1CreateApplicationVersionCommand = async (output, c
465
457
  }
466
458
  return contents;
467
459
  };
468
- exports.deserializeAws_restJson1CreateApplicationVersionCommand = deserializeAws_restJson1CreateApplicationVersionCommand;
469
- const deserializeAws_restJson1CreateApplicationVersionCommandError = async (output, context) => {
460
+ exports.de_CreateApplicationVersionCommand = de_CreateApplicationVersionCommand;
461
+ const de_CreateApplicationVersionCommandError = async (output, context) => {
470
462
  const parsedOutput = {
471
463
  ...output,
472
464
  body: await parseErrorBody(output.body, context),
@@ -475,19 +467,19 @@ const deserializeAws_restJson1CreateApplicationVersionCommandError = async (outp
475
467
  switch (errorCode) {
476
468
  case "BadRequestException":
477
469
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
478
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
470
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
479
471
  case "ConflictException":
480
472
  case "com.amazonaws.serverlessapplicationrepository#ConflictException":
481
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
473
+ throw await de_ConflictExceptionRes(parsedOutput, context);
482
474
  case "ForbiddenException":
483
475
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
484
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
476
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
485
477
  case "InternalServerErrorException":
486
478
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
487
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
479
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
488
480
  case "TooManyRequestsException":
489
481
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
490
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
482
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
491
483
  default:
492
484
  const parsedBody = parsedOutput.body;
493
485
  (0, smithy_client_1.throwDefaultError)({
@@ -498,9 +490,9 @@ const deserializeAws_restJson1CreateApplicationVersionCommandError = async (outp
498
490
  });
499
491
  }
500
492
  };
501
- const deserializeAws_restJson1CreateCloudFormationChangeSetCommand = async (output, context) => {
493
+ const de_CreateCloudFormationChangeSetCommand = async (output, context) => {
502
494
  if (output.statusCode !== 201 && output.statusCode >= 300) {
503
- return deserializeAws_restJson1CreateCloudFormationChangeSetCommandError(output, context);
495
+ return de_CreateCloudFormationChangeSetCommandError(output, context);
504
496
  }
505
497
  const contents = map({
506
498
  $metadata: deserializeMetadata(output),
@@ -520,8 +512,8 @@ const deserializeAws_restJson1CreateCloudFormationChangeSetCommand = async (outp
520
512
  }
521
513
  return contents;
522
514
  };
523
- exports.deserializeAws_restJson1CreateCloudFormationChangeSetCommand = deserializeAws_restJson1CreateCloudFormationChangeSetCommand;
524
- const deserializeAws_restJson1CreateCloudFormationChangeSetCommandError = async (output, context) => {
515
+ exports.de_CreateCloudFormationChangeSetCommand = de_CreateCloudFormationChangeSetCommand;
516
+ const de_CreateCloudFormationChangeSetCommandError = async (output, context) => {
525
517
  const parsedOutput = {
526
518
  ...output,
527
519
  body: await parseErrorBody(output.body, context),
@@ -530,16 +522,16 @@ const deserializeAws_restJson1CreateCloudFormationChangeSetCommandError = async
530
522
  switch (errorCode) {
531
523
  case "BadRequestException":
532
524
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
533
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
525
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
534
526
  case "ForbiddenException":
535
527
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
536
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
528
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
537
529
  case "InternalServerErrorException":
538
530
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
539
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
531
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
540
532
  case "TooManyRequestsException":
541
533
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
542
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
534
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
543
535
  default:
544
536
  const parsedBody = parsedOutput.body;
545
537
  (0, smithy_client_1.throwDefaultError)({
@@ -550,9 +542,9 @@ const deserializeAws_restJson1CreateCloudFormationChangeSetCommandError = async
550
542
  });
551
543
  }
552
544
  };
553
- const deserializeAws_restJson1CreateCloudFormationTemplateCommand = async (output, context) => {
545
+ const de_CreateCloudFormationTemplateCommand = async (output, context) => {
554
546
  if (output.statusCode !== 201 && output.statusCode >= 300) {
555
- return deserializeAws_restJson1CreateCloudFormationTemplateCommandError(output, context);
547
+ return de_CreateCloudFormationTemplateCommandError(output, context);
556
548
  }
557
549
  const contents = map({
558
550
  $metadata: deserializeMetadata(output),
@@ -581,8 +573,8 @@ const deserializeAws_restJson1CreateCloudFormationTemplateCommand = async (outpu
581
573
  }
582
574
  return contents;
583
575
  };
584
- exports.deserializeAws_restJson1CreateCloudFormationTemplateCommand = deserializeAws_restJson1CreateCloudFormationTemplateCommand;
585
- const deserializeAws_restJson1CreateCloudFormationTemplateCommandError = async (output, context) => {
576
+ exports.de_CreateCloudFormationTemplateCommand = de_CreateCloudFormationTemplateCommand;
577
+ const de_CreateCloudFormationTemplateCommandError = async (output, context) => {
586
578
  const parsedOutput = {
587
579
  ...output,
588
580
  body: await parseErrorBody(output.body, context),
@@ -591,19 +583,19 @@ const deserializeAws_restJson1CreateCloudFormationTemplateCommandError = async (
591
583
  switch (errorCode) {
592
584
  case "BadRequestException":
593
585
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
594
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
586
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
595
587
  case "ForbiddenException":
596
588
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
597
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
589
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
598
590
  case "InternalServerErrorException":
599
591
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
600
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
592
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
601
593
  case "NotFoundException":
602
594
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
603
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
595
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
604
596
  case "TooManyRequestsException":
605
597
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
606
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
598
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
607
599
  default:
608
600
  const parsedBody = parsedOutput.body;
609
601
  (0, smithy_client_1.throwDefaultError)({
@@ -614,9 +606,9 @@ const deserializeAws_restJson1CreateCloudFormationTemplateCommandError = async (
614
606
  });
615
607
  }
616
608
  };
617
- const deserializeAws_restJson1DeleteApplicationCommand = async (output, context) => {
609
+ const de_DeleteApplicationCommand = async (output, context) => {
618
610
  if (output.statusCode !== 204 && output.statusCode >= 300) {
619
- return deserializeAws_restJson1DeleteApplicationCommandError(output, context);
611
+ return de_DeleteApplicationCommandError(output, context);
620
612
  }
621
613
  const contents = map({
622
614
  $metadata: deserializeMetadata(output),
@@ -624,8 +616,8 @@ const deserializeAws_restJson1DeleteApplicationCommand = async (output, context)
624
616
  await collectBody(output.body, context);
625
617
  return contents;
626
618
  };
627
- exports.deserializeAws_restJson1DeleteApplicationCommand = deserializeAws_restJson1DeleteApplicationCommand;
628
- const deserializeAws_restJson1DeleteApplicationCommandError = async (output, context) => {
619
+ exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
620
+ const de_DeleteApplicationCommandError = async (output, context) => {
629
621
  const parsedOutput = {
630
622
  ...output,
631
623
  body: await parseErrorBody(output.body, context),
@@ -634,22 +626,22 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
634
626
  switch (errorCode) {
635
627
  case "BadRequestException":
636
628
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
637
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
629
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
638
630
  case "ConflictException":
639
631
  case "com.amazonaws.serverlessapplicationrepository#ConflictException":
640
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
632
+ throw await de_ConflictExceptionRes(parsedOutput, context);
641
633
  case "ForbiddenException":
642
634
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
643
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
635
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
644
636
  case "InternalServerErrorException":
645
637
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
646
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
638
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
647
639
  case "NotFoundException":
648
640
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
649
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
641
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
650
642
  case "TooManyRequestsException":
651
643
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
652
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
644
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
653
645
  default:
654
646
  const parsedBody = parsedOutput.body;
655
647
  (0, smithy_client_1.throwDefaultError)({
@@ -660,9 +652,9 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
660
652
  });
661
653
  }
662
654
  };
663
- const deserializeAws_restJson1GetApplicationCommand = async (output, context) => {
655
+ const de_GetApplicationCommand = async (output, context) => {
664
656
  if (output.statusCode !== 200 && output.statusCode >= 300) {
665
- return deserializeAws_restJson1GetApplicationCommandError(output, context);
657
+ return de_GetApplicationCommandError(output, context);
666
658
  }
667
659
  const contents = map({
668
660
  $metadata: deserializeMetadata(output),
@@ -687,7 +679,7 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
687
679
  contents.IsVerifiedAuthor = (0, smithy_client_1.expectBoolean)(data.isVerifiedAuthor);
688
680
  }
689
681
  if (data.labels != null) {
690
- contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
682
+ contents.Labels = de___listOf__string(data.labels, context);
691
683
  }
692
684
  if (data.licenseUrl != null) {
693
685
  contents.LicenseUrl = (0, smithy_client_1.expectString)(data.licenseUrl);
@@ -705,12 +697,12 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
705
697
  contents.VerifiedAuthorUrl = (0, smithy_client_1.expectString)(data.verifiedAuthorUrl);
706
698
  }
707
699
  if (data.version != null) {
708
- contents.Version = deserializeAws_restJson1Version(data.version, context);
700
+ contents.Version = de_Version(data.version, context);
709
701
  }
710
702
  return contents;
711
703
  };
712
- exports.deserializeAws_restJson1GetApplicationCommand = deserializeAws_restJson1GetApplicationCommand;
713
- const deserializeAws_restJson1GetApplicationCommandError = async (output, context) => {
704
+ exports.de_GetApplicationCommand = de_GetApplicationCommand;
705
+ const de_GetApplicationCommandError = async (output, context) => {
714
706
  const parsedOutput = {
715
707
  ...output,
716
708
  body: await parseErrorBody(output.body, context),
@@ -719,19 +711,19 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
719
711
  switch (errorCode) {
720
712
  case "BadRequestException":
721
713
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
722
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
714
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
723
715
  case "ForbiddenException":
724
716
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
725
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
717
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
726
718
  case "InternalServerErrorException":
727
719
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
728
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
720
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
729
721
  case "NotFoundException":
730
722
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
731
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
723
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
732
724
  case "TooManyRequestsException":
733
725
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
734
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
726
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
735
727
  default:
736
728
  const parsedBody = parsedOutput.body;
737
729
  (0, smithy_client_1.throwDefaultError)({
@@ -742,21 +734,21 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
742
734
  });
743
735
  }
744
736
  };
745
- const deserializeAws_restJson1GetApplicationPolicyCommand = async (output, context) => {
737
+ const de_GetApplicationPolicyCommand = async (output, context) => {
746
738
  if (output.statusCode !== 200 && output.statusCode >= 300) {
747
- return deserializeAws_restJson1GetApplicationPolicyCommandError(output, context);
739
+ return de_GetApplicationPolicyCommandError(output, context);
748
740
  }
749
741
  const contents = map({
750
742
  $metadata: deserializeMetadata(output),
751
743
  });
752
744
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
753
745
  if (data.statements != null) {
754
- contents.Statements = deserializeAws_restJson1__listOfApplicationPolicyStatement(data.statements, context);
746
+ contents.Statements = de___listOfApplicationPolicyStatement(data.statements, context);
755
747
  }
756
748
  return contents;
757
749
  };
758
- exports.deserializeAws_restJson1GetApplicationPolicyCommand = deserializeAws_restJson1GetApplicationPolicyCommand;
759
- const deserializeAws_restJson1GetApplicationPolicyCommandError = async (output, context) => {
750
+ exports.de_GetApplicationPolicyCommand = de_GetApplicationPolicyCommand;
751
+ const de_GetApplicationPolicyCommandError = async (output, context) => {
760
752
  const parsedOutput = {
761
753
  ...output,
762
754
  body: await parseErrorBody(output.body, context),
@@ -765,19 +757,19 @@ const deserializeAws_restJson1GetApplicationPolicyCommandError = async (output,
765
757
  switch (errorCode) {
766
758
  case "BadRequestException":
767
759
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
768
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
760
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
769
761
  case "ForbiddenException":
770
762
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
771
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
763
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
772
764
  case "InternalServerErrorException":
773
765
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
774
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
766
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
775
767
  case "NotFoundException":
776
768
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
777
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
769
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
778
770
  case "TooManyRequestsException":
779
771
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
780
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
772
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
781
773
  default:
782
774
  const parsedBody = parsedOutput.body;
783
775
  (0, smithy_client_1.throwDefaultError)({
@@ -788,9 +780,9 @@ const deserializeAws_restJson1GetApplicationPolicyCommandError = async (output,
788
780
  });
789
781
  }
790
782
  };
791
- const deserializeAws_restJson1GetCloudFormationTemplateCommand = async (output, context) => {
783
+ const de_GetCloudFormationTemplateCommand = async (output, context) => {
792
784
  if (output.statusCode !== 200 && output.statusCode >= 300) {
793
- return deserializeAws_restJson1GetCloudFormationTemplateCommandError(output, context);
785
+ return de_GetCloudFormationTemplateCommandError(output, context);
794
786
  }
795
787
  const contents = map({
796
788
  $metadata: deserializeMetadata(output),
@@ -819,8 +811,8 @@ const deserializeAws_restJson1GetCloudFormationTemplateCommand = async (output,
819
811
  }
820
812
  return contents;
821
813
  };
822
- exports.deserializeAws_restJson1GetCloudFormationTemplateCommand = deserializeAws_restJson1GetCloudFormationTemplateCommand;
823
- const deserializeAws_restJson1GetCloudFormationTemplateCommandError = async (output, context) => {
814
+ exports.de_GetCloudFormationTemplateCommand = de_GetCloudFormationTemplateCommand;
815
+ const de_GetCloudFormationTemplateCommandError = async (output, context) => {
824
816
  const parsedOutput = {
825
817
  ...output,
826
818
  body: await parseErrorBody(output.body, context),
@@ -829,19 +821,19 @@ const deserializeAws_restJson1GetCloudFormationTemplateCommandError = async (out
829
821
  switch (errorCode) {
830
822
  case "BadRequestException":
831
823
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
832
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
824
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
833
825
  case "ForbiddenException":
834
826
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
835
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
827
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
836
828
  case "InternalServerErrorException":
837
829
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
838
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
830
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
839
831
  case "NotFoundException":
840
832
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
841
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
833
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
842
834
  case "TooManyRequestsException":
843
835
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
844
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
836
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
845
837
  default:
846
838
  const parsedBody = parsedOutput.body;
847
839
  (0, smithy_client_1.throwDefaultError)({
@@ -852,24 +844,24 @@ const deserializeAws_restJson1GetCloudFormationTemplateCommandError = async (out
852
844
  });
853
845
  }
854
846
  };
855
- const deserializeAws_restJson1ListApplicationDependenciesCommand = async (output, context) => {
847
+ const de_ListApplicationDependenciesCommand = async (output, context) => {
856
848
  if (output.statusCode !== 200 && output.statusCode >= 300) {
857
- return deserializeAws_restJson1ListApplicationDependenciesCommandError(output, context);
849
+ return de_ListApplicationDependenciesCommandError(output, context);
858
850
  }
859
851
  const contents = map({
860
852
  $metadata: deserializeMetadata(output),
861
853
  });
862
854
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
863
855
  if (data.dependencies != null) {
864
- contents.Dependencies = deserializeAws_restJson1__listOfApplicationDependencySummary(data.dependencies, context);
856
+ contents.Dependencies = de___listOfApplicationDependencySummary(data.dependencies, context);
865
857
  }
866
858
  if (data.nextToken != null) {
867
859
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
868
860
  }
869
861
  return contents;
870
862
  };
871
- exports.deserializeAws_restJson1ListApplicationDependenciesCommand = deserializeAws_restJson1ListApplicationDependenciesCommand;
872
- const deserializeAws_restJson1ListApplicationDependenciesCommandError = async (output, context) => {
863
+ exports.de_ListApplicationDependenciesCommand = de_ListApplicationDependenciesCommand;
864
+ const de_ListApplicationDependenciesCommandError = async (output, context) => {
873
865
  const parsedOutput = {
874
866
  ...output,
875
867
  body: await parseErrorBody(output.body, context),
@@ -878,19 +870,19 @@ const deserializeAws_restJson1ListApplicationDependenciesCommandError = async (o
878
870
  switch (errorCode) {
879
871
  case "BadRequestException":
880
872
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
881
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
873
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
882
874
  case "ForbiddenException":
883
875
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
884
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
876
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
885
877
  case "InternalServerErrorException":
886
878
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
887
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
879
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
888
880
  case "NotFoundException":
889
881
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
890
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
882
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
891
883
  case "TooManyRequestsException":
892
884
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
893
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
885
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
894
886
  default:
895
887
  const parsedBody = parsedOutput.body;
896
888
  (0, smithy_client_1.throwDefaultError)({
@@ -901,24 +893,24 @@ const deserializeAws_restJson1ListApplicationDependenciesCommandError = async (o
901
893
  });
902
894
  }
903
895
  };
904
- const deserializeAws_restJson1ListApplicationsCommand = async (output, context) => {
896
+ const de_ListApplicationsCommand = async (output, context) => {
905
897
  if (output.statusCode !== 200 && output.statusCode >= 300) {
906
- return deserializeAws_restJson1ListApplicationsCommandError(output, context);
898
+ return de_ListApplicationsCommandError(output, context);
907
899
  }
908
900
  const contents = map({
909
901
  $metadata: deserializeMetadata(output),
910
902
  });
911
903
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
912
904
  if (data.applications != null) {
913
- contents.Applications = deserializeAws_restJson1__listOfApplicationSummary(data.applications, context);
905
+ contents.Applications = de___listOfApplicationSummary(data.applications, context);
914
906
  }
915
907
  if (data.nextToken != null) {
916
908
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
917
909
  }
918
910
  return contents;
919
911
  };
920
- exports.deserializeAws_restJson1ListApplicationsCommand = deserializeAws_restJson1ListApplicationsCommand;
921
- const deserializeAws_restJson1ListApplicationsCommandError = async (output, context) => {
912
+ exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
913
+ const de_ListApplicationsCommandError = async (output, context) => {
922
914
  const parsedOutput = {
923
915
  ...output,
924
916
  body: await parseErrorBody(output.body, context),
@@ -927,16 +919,16 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
927
919
  switch (errorCode) {
928
920
  case "BadRequestException":
929
921
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
930
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
922
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
931
923
  case "ForbiddenException":
932
924
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
933
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
925
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
934
926
  case "InternalServerErrorException":
935
927
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
936
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
928
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
937
929
  case "NotFoundException":
938
930
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
939
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
931
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
940
932
  default:
941
933
  const parsedBody = parsedOutput.body;
942
934
  (0, smithy_client_1.throwDefaultError)({
@@ -947,9 +939,9 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
947
939
  });
948
940
  }
949
941
  };
950
- const deserializeAws_restJson1ListApplicationVersionsCommand = async (output, context) => {
942
+ const de_ListApplicationVersionsCommand = async (output, context) => {
951
943
  if (output.statusCode !== 200 && output.statusCode >= 300) {
952
- return deserializeAws_restJson1ListApplicationVersionsCommandError(output, context);
944
+ return de_ListApplicationVersionsCommandError(output, context);
953
945
  }
954
946
  const contents = map({
955
947
  $metadata: deserializeMetadata(output),
@@ -959,12 +951,12 @@ const deserializeAws_restJson1ListApplicationVersionsCommand = async (output, co
959
951
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
960
952
  }
961
953
  if (data.versions != null) {
962
- contents.Versions = deserializeAws_restJson1__listOfVersionSummary(data.versions, context);
954
+ contents.Versions = de___listOfVersionSummary(data.versions, context);
963
955
  }
964
956
  return contents;
965
957
  };
966
- exports.deserializeAws_restJson1ListApplicationVersionsCommand = deserializeAws_restJson1ListApplicationVersionsCommand;
967
- const deserializeAws_restJson1ListApplicationVersionsCommandError = async (output, context) => {
958
+ exports.de_ListApplicationVersionsCommand = de_ListApplicationVersionsCommand;
959
+ const de_ListApplicationVersionsCommandError = async (output, context) => {
968
960
  const parsedOutput = {
969
961
  ...output,
970
962
  body: await parseErrorBody(output.body, context),
@@ -973,19 +965,19 @@ const deserializeAws_restJson1ListApplicationVersionsCommandError = async (outpu
973
965
  switch (errorCode) {
974
966
  case "BadRequestException":
975
967
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
976
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
968
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
977
969
  case "ForbiddenException":
978
970
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
979
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
971
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
980
972
  case "InternalServerErrorException":
981
973
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
982
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
974
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
983
975
  case "NotFoundException":
984
976
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
985
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
977
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
986
978
  case "TooManyRequestsException":
987
979
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
988
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
980
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
989
981
  default:
990
982
  const parsedBody = parsedOutput.body;
991
983
  (0, smithy_client_1.throwDefaultError)({
@@ -996,21 +988,21 @@ const deserializeAws_restJson1ListApplicationVersionsCommandError = async (outpu
996
988
  });
997
989
  }
998
990
  };
999
- const deserializeAws_restJson1PutApplicationPolicyCommand = async (output, context) => {
991
+ const de_PutApplicationPolicyCommand = async (output, context) => {
1000
992
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1001
- return deserializeAws_restJson1PutApplicationPolicyCommandError(output, context);
993
+ return de_PutApplicationPolicyCommandError(output, context);
1002
994
  }
1003
995
  const contents = map({
1004
996
  $metadata: deserializeMetadata(output),
1005
997
  });
1006
998
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1007
999
  if (data.statements != null) {
1008
- contents.Statements = deserializeAws_restJson1__listOfApplicationPolicyStatement(data.statements, context);
1000
+ contents.Statements = de___listOfApplicationPolicyStatement(data.statements, context);
1009
1001
  }
1010
1002
  return contents;
1011
1003
  };
1012
- exports.deserializeAws_restJson1PutApplicationPolicyCommand = deserializeAws_restJson1PutApplicationPolicyCommand;
1013
- const deserializeAws_restJson1PutApplicationPolicyCommandError = async (output, context) => {
1004
+ exports.de_PutApplicationPolicyCommand = de_PutApplicationPolicyCommand;
1005
+ const de_PutApplicationPolicyCommandError = async (output, context) => {
1014
1006
  const parsedOutput = {
1015
1007
  ...output,
1016
1008
  body: await parseErrorBody(output.body, context),
@@ -1019,19 +1011,19 @@ const deserializeAws_restJson1PutApplicationPolicyCommandError = async (output,
1019
1011
  switch (errorCode) {
1020
1012
  case "BadRequestException":
1021
1013
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
1022
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1014
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1023
1015
  case "ForbiddenException":
1024
1016
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
1025
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1017
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1026
1018
  case "InternalServerErrorException":
1027
1019
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
1028
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1020
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1029
1021
  case "NotFoundException":
1030
1022
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
1031
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1023
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1032
1024
  case "TooManyRequestsException":
1033
1025
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
1034
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1026
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1035
1027
  default:
1036
1028
  const parsedBody = parsedOutput.body;
1037
1029
  (0, smithy_client_1.throwDefaultError)({
@@ -1042,9 +1034,9 @@ const deserializeAws_restJson1PutApplicationPolicyCommandError = async (output,
1042
1034
  });
1043
1035
  }
1044
1036
  };
1045
- const deserializeAws_restJson1UnshareApplicationCommand = async (output, context) => {
1037
+ const de_UnshareApplicationCommand = async (output, context) => {
1046
1038
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1047
- return deserializeAws_restJson1UnshareApplicationCommandError(output, context);
1039
+ return de_UnshareApplicationCommandError(output, context);
1048
1040
  }
1049
1041
  const contents = map({
1050
1042
  $metadata: deserializeMetadata(output),
@@ -1052,8 +1044,8 @@ const deserializeAws_restJson1UnshareApplicationCommand = async (output, context
1052
1044
  await collectBody(output.body, context);
1053
1045
  return contents;
1054
1046
  };
1055
- exports.deserializeAws_restJson1UnshareApplicationCommand = deserializeAws_restJson1UnshareApplicationCommand;
1056
- const deserializeAws_restJson1UnshareApplicationCommandError = async (output, context) => {
1047
+ exports.de_UnshareApplicationCommand = de_UnshareApplicationCommand;
1048
+ const de_UnshareApplicationCommandError = async (output, context) => {
1057
1049
  const parsedOutput = {
1058
1050
  ...output,
1059
1051
  body: await parseErrorBody(output.body, context),
@@ -1062,19 +1054,19 @@ const deserializeAws_restJson1UnshareApplicationCommandError = async (output, co
1062
1054
  switch (errorCode) {
1063
1055
  case "BadRequestException":
1064
1056
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
1065
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1057
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1066
1058
  case "ForbiddenException":
1067
1059
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
1068
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1060
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1069
1061
  case "InternalServerErrorException":
1070
1062
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
1071
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1063
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1072
1064
  case "NotFoundException":
1073
1065
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
1074
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1066
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1075
1067
  case "TooManyRequestsException":
1076
1068
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
1077
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1069
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1078
1070
  default:
1079
1071
  const parsedBody = parsedOutput.body;
1080
1072
  (0, smithy_client_1.throwDefaultError)({
@@ -1085,9 +1077,9 @@ const deserializeAws_restJson1UnshareApplicationCommandError = async (output, co
1085
1077
  });
1086
1078
  }
1087
1079
  };
1088
- const deserializeAws_restJson1UpdateApplicationCommand = async (output, context) => {
1080
+ const de_UpdateApplicationCommand = async (output, context) => {
1089
1081
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1090
- return deserializeAws_restJson1UpdateApplicationCommandError(output, context);
1082
+ return de_UpdateApplicationCommandError(output, context);
1091
1083
  }
1092
1084
  const contents = map({
1093
1085
  $metadata: deserializeMetadata(output),
@@ -1112,7 +1104,7 @@ const deserializeAws_restJson1UpdateApplicationCommand = async (output, context)
1112
1104
  contents.IsVerifiedAuthor = (0, smithy_client_1.expectBoolean)(data.isVerifiedAuthor);
1113
1105
  }
1114
1106
  if (data.labels != null) {
1115
- contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
1107
+ contents.Labels = de___listOf__string(data.labels, context);
1116
1108
  }
1117
1109
  if (data.licenseUrl != null) {
1118
1110
  contents.LicenseUrl = (0, smithy_client_1.expectString)(data.licenseUrl);
@@ -1130,12 +1122,12 @@ const deserializeAws_restJson1UpdateApplicationCommand = async (output, context)
1130
1122
  contents.VerifiedAuthorUrl = (0, smithy_client_1.expectString)(data.verifiedAuthorUrl);
1131
1123
  }
1132
1124
  if (data.version != null) {
1133
- contents.Version = deserializeAws_restJson1Version(data.version, context);
1125
+ contents.Version = de_Version(data.version, context);
1134
1126
  }
1135
1127
  return contents;
1136
1128
  };
1137
- exports.deserializeAws_restJson1UpdateApplicationCommand = deserializeAws_restJson1UpdateApplicationCommand;
1138
- const deserializeAws_restJson1UpdateApplicationCommandError = async (output, context) => {
1129
+ exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
1130
+ const de_UpdateApplicationCommandError = async (output, context) => {
1139
1131
  const parsedOutput = {
1140
1132
  ...output,
1141
1133
  body: await parseErrorBody(output.body, context),
@@ -1144,22 +1136,22 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
1144
1136
  switch (errorCode) {
1145
1137
  case "BadRequestException":
1146
1138
  case "com.amazonaws.serverlessapplicationrepository#BadRequestException":
1147
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1139
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1148
1140
  case "ConflictException":
1149
1141
  case "com.amazonaws.serverlessapplicationrepository#ConflictException":
1150
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1142
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1151
1143
  case "ForbiddenException":
1152
1144
  case "com.amazonaws.serverlessapplicationrepository#ForbiddenException":
1153
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1145
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1154
1146
  case "InternalServerErrorException":
1155
1147
  case "com.amazonaws.serverlessapplicationrepository#InternalServerErrorException":
1156
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1148
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1157
1149
  case "NotFoundException":
1158
1150
  case "com.amazonaws.serverlessapplicationrepository#NotFoundException":
1159
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1151
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1160
1152
  case "TooManyRequestsException":
1161
1153
  case "com.amazonaws.serverlessapplicationrepository#TooManyRequestsException":
1162
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1154
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1163
1155
  default:
1164
1156
  const parsedBody = parsedOutput.body;
1165
1157
  (0, smithy_client_1.throwDefaultError)({
@@ -1171,7 +1163,7 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
1171
1163
  }
1172
1164
  };
1173
1165
  const map = smithy_client_1.map;
1174
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
1166
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1175
1167
  const contents = map({});
1176
1168
  const data = parsedOutput.body;
1177
1169
  if (data.errorCode != null) {
@@ -1186,7 +1178,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
1186
1178
  });
1187
1179
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1188
1180
  };
1189
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1181
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1190
1182
  const contents = map({});
1191
1183
  const data = parsedOutput.body;
1192
1184
  if (data.errorCode != null) {
@@ -1201,7 +1193,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1201
1193
  });
1202
1194
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1203
1195
  };
1204
- const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
1196
+ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
1205
1197
  const contents = map({});
1206
1198
  const data = parsedOutput.body;
1207
1199
  if (data.errorCode != null) {
@@ -1216,7 +1208,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
1216
1208
  });
1217
1209
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1218
1210
  };
1219
- const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
1211
+ const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
1220
1212
  const contents = map({});
1221
1213
  const data = parsedOutput.body;
1222
1214
  if (data.errorCode != null) {
@@ -1231,7 +1223,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
1231
1223
  });
1232
1224
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1233
1225
  };
1234
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
1226
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1235
1227
  const contents = map({});
1236
1228
  const data = parsedOutput.body;
1237
1229
  if (data.errorCode != null) {
@@ -1246,7 +1238,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
1246
1238
  });
1247
1239
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1248
1240
  };
1249
- const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
1241
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1250
1242
  const contents = map({});
1251
1243
  const data = parsedOutput.body;
1252
1244
  if (data.errorCode != null) {
@@ -1261,78 +1253,76 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
1261
1253
  });
1262
1254
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1263
1255
  };
1264
- const serializeAws_restJson1__listOf__string = (input, context) => {
1256
+ const se___listOf__string = (input, context) => {
1265
1257
  return input
1266
1258
  .filter((e) => e != null)
1267
1259
  .map((entry) => {
1268
1260
  return entry;
1269
1261
  });
1270
1262
  };
1271
- const serializeAws_restJson1__listOfApplicationPolicyStatement = (input, context) => {
1263
+ const se___listOfApplicationPolicyStatement = (input, context) => {
1272
1264
  return input
1273
1265
  .filter((e) => e != null)
1274
1266
  .map((entry) => {
1275
- return serializeAws_restJson1ApplicationPolicyStatement(entry, context);
1267
+ return se_ApplicationPolicyStatement(entry, context);
1276
1268
  });
1277
1269
  };
1278
- const serializeAws_restJson1__listOfParameterValue = (input, context) => {
1270
+ const se___listOfParameterValue = (input, context) => {
1279
1271
  return input
1280
1272
  .filter((e) => e != null)
1281
1273
  .map((entry) => {
1282
- return serializeAws_restJson1ParameterValue(entry, context);
1274
+ return se_ParameterValue(entry, context);
1283
1275
  });
1284
1276
  };
1285
- const serializeAws_restJson1__listOfRollbackTrigger = (input, context) => {
1277
+ const se___listOfRollbackTrigger = (input, context) => {
1286
1278
  return input
1287
1279
  .filter((e) => e != null)
1288
1280
  .map((entry) => {
1289
- return serializeAws_restJson1RollbackTrigger(entry, context);
1281
+ return se_RollbackTrigger(entry, context);
1290
1282
  });
1291
1283
  };
1292
- const serializeAws_restJson1__listOfTag = (input, context) => {
1284
+ const se___listOfTag = (input, context) => {
1293
1285
  return input
1294
1286
  .filter((e) => e != null)
1295
1287
  .map((entry) => {
1296
- return serializeAws_restJson1Tag(entry, context);
1288
+ return se_Tag(entry, context);
1297
1289
  });
1298
1290
  };
1299
- const serializeAws_restJson1ApplicationPolicyStatement = (input, context) => {
1291
+ const se_ApplicationPolicyStatement = (input, context) => {
1300
1292
  return {
1301
- ...(input.Actions != null && { actions: serializeAws_restJson1__listOf__string(input.Actions, context) }),
1302
- ...(input.PrincipalOrgIDs != null && {
1303
- principalOrgIDs: serializeAws_restJson1__listOf__string(input.PrincipalOrgIDs, context),
1304
- }),
1305
- ...(input.Principals != null && { principals: serializeAws_restJson1__listOf__string(input.Principals, context) }),
1293
+ ...(input.Actions != null && { actions: se___listOf__string(input.Actions, context) }),
1294
+ ...(input.PrincipalOrgIDs != null && { principalOrgIDs: se___listOf__string(input.PrincipalOrgIDs, context) }),
1295
+ ...(input.Principals != null && { principals: se___listOf__string(input.Principals, context) }),
1306
1296
  ...(input.StatementId != null && { statementId: input.StatementId }),
1307
1297
  };
1308
1298
  };
1309
- const serializeAws_restJson1ParameterValue = (input, context) => {
1299
+ const se_ParameterValue = (input, context) => {
1310
1300
  return {
1311
1301
  ...(input.Name != null && { name: input.Name }),
1312
1302
  ...(input.Value != null && { value: input.Value }),
1313
1303
  };
1314
1304
  };
1315
- const serializeAws_restJson1RollbackConfiguration = (input, context) => {
1305
+ const se_RollbackConfiguration = (input, context) => {
1316
1306
  return {
1317
1307
  ...(input.MonitoringTimeInMinutes != null && { monitoringTimeInMinutes: input.MonitoringTimeInMinutes }),
1318
1308
  ...(input.RollbackTriggers != null && {
1319
- rollbackTriggers: serializeAws_restJson1__listOfRollbackTrigger(input.RollbackTriggers, context),
1309
+ rollbackTriggers: se___listOfRollbackTrigger(input.RollbackTriggers, context),
1320
1310
  }),
1321
1311
  };
1322
1312
  };
1323
- const serializeAws_restJson1RollbackTrigger = (input, context) => {
1313
+ const se_RollbackTrigger = (input, context) => {
1324
1314
  return {
1325
1315
  ...(input.Arn != null && { arn: input.Arn }),
1326
1316
  ...(input.Type != null && { type: input.Type }),
1327
1317
  };
1328
1318
  };
1329
- const serializeAws_restJson1Tag = (input, context) => {
1319
+ const se_Tag = (input, context) => {
1330
1320
  return {
1331
1321
  ...(input.Key != null && { key: input.Key }),
1332
1322
  ...(input.Value != null && { value: input.Value }),
1333
1323
  };
1334
1324
  };
1335
- const deserializeAws_restJson1__listOf__string = (output, context) => {
1325
+ const de___listOf__string = (output, context) => {
1336
1326
  const retVal = (output || [])
1337
1327
  .filter((e) => e != null)
1338
1328
  .map((entry) => {
@@ -1343,40 +1333,40 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
1343
1333
  });
1344
1334
  return retVal;
1345
1335
  };
1346
- const deserializeAws_restJson1__listOfApplicationDependencySummary = (output, context) => {
1336
+ const de___listOfApplicationDependencySummary = (output, context) => {
1347
1337
  const retVal = (output || [])
1348
1338
  .filter((e) => e != null)
1349
1339
  .map((entry) => {
1350
1340
  if (entry === null) {
1351
1341
  return null;
1352
1342
  }
1353
- return deserializeAws_restJson1ApplicationDependencySummary(entry, context);
1343
+ return de_ApplicationDependencySummary(entry, context);
1354
1344
  });
1355
1345
  return retVal;
1356
1346
  };
1357
- const deserializeAws_restJson1__listOfApplicationPolicyStatement = (output, context) => {
1347
+ const de___listOfApplicationPolicyStatement = (output, context) => {
1358
1348
  const retVal = (output || [])
1359
1349
  .filter((e) => e != null)
1360
1350
  .map((entry) => {
1361
1351
  if (entry === null) {
1362
1352
  return null;
1363
1353
  }
1364
- return deserializeAws_restJson1ApplicationPolicyStatement(entry, context);
1354
+ return de_ApplicationPolicyStatement(entry, context);
1365
1355
  });
1366
1356
  return retVal;
1367
1357
  };
1368
- const deserializeAws_restJson1__listOfApplicationSummary = (output, context) => {
1358
+ const de___listOfApplicationSummary = (output, context) => {
1369
1359
  const retVal = (output || [])
1370
1360
  .filter((e) => e != null)
1371
1361
  .map((entry) => {
1372
1362
  if (entry === null) {
1373
1363
  return null;
1374
1364
  }
1375
- return deserializeAws_restJson1ApplicationSummary(entry, context);
1365
+ return de_ApplicationSummary(entry, context);
1376
1366
  });
1377
1367
  return retVal;
1378
1368
  };
1379
- const deserializeAws_restJson1__listOfCapability = (output, context) => {
1369
+ const de___listOfCapability = (output, context) => {
1380
1370
  const retVal = (output || [])
1381
1371
  .filter((e) => e != null)
1382
1372
  .map((entry) => {
@@ -1387,62 +1377,58 @@ const deserializeAws_restJson1__listOfCapability = (output, context) => {
1387
1377
  });
1388
1378
  return retVal;
1389
1379
  };
1390
- const deserializeAws_restJson1__listOfParameterDefinition = (output, context) => {
1380
+ const de___listOfParameterDefinition = (output, context) => {
1391
1381
  const retVal = (output || [])
1392
1382
  .filter((e) => e != null)
1393
1383
  .map((entry) => {
1394
1384
  if (entry === null) {
1395
1385
  return null;
1396
1386
  }
1397
- return deserializeAws_restJson1ParameterDefinition(entry, context);
1387
+ return de_ParameterDefinition(entry, context);
1398
1388
  });
1399
1389
  return retVal;
1400
1390
  };
1401
- const deserializeAws_restJson1__listOfVersionSummary = (output, context) => {
1391
+ const de___listOfVersionSummary = (output, context) => {
1402
1392
  const retVal = (output || [])
1403
1393
  .filter((e) => e != null)
1404
1394
  .map((entry) => {
1405
1395
  if (entry === null) {
1406
1396
  return null;
1407
1397
  }
1408
- return deserializeAws_restJson1VersionSummary(entry, context);
1398
+ return de_VersionSummary(entry, context);
1409
1399
  });
1410
1400
  return retVal;
1411
1401
  };
1412
- const deserializeAws_restJson1ApplicationDependencySummary = (output, context) => {
1402
+ const de_ApplicationDependencySummary = (output, context) => {
1413
1403
  return {
1414
1404
  ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
1415
1405
  SemanticVersion: (0, smithy_client_1.expectString)(output.semanticVersion),
1416
1406
  };
1417
1407
  };
1418
- const deserializeAws_restJson1ApplicationPolicyStatement = (output, context) => {
1408
+ const de_ApplicationPolicyStatement = (output, context) => {
1419
1409
  return {
1420
- Actions: output.actions != null ? deserializeAws_restJson1__listOf__string(output.actions, context) : undefined,
1421
- PrincipalOrgIDs: output.principalOrgIDs != null
1422
- ? deserializeAws_restJson1__listOf__string(output.principalOrgIDs, context)
1423
- : undefined,
1424
- Principals: output.principals != null ? deserializeAws_restJson1__listOf__string(output.principals, context) : undefined,
1410
+ Actions: output.actions != null ? de___listOf__string(output.actions, context) : undefined,
1411
+ PrincipalOrgIDs: output.principalOrgIDs != null ? de___listOf__string(output.principalOrgIDs, context) : undefined,
1412
+ Principals: output.principals != null ? de___listOf__string(output.principals, context) : undefined,
1425
1413
  StatementId: (0, smithy_client_1.expectString)(output.statementId),
1426
1414
  };
1427
1415
  };
1428
- const deserializeAws_restJson1ApplicationSummary = (output, context) => {
1416
+ const de_ApplicationSummary = (output, context) => {
1429
1417
  return {
1430
1418
  ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
1431
1419
  Author: (0, smithy_client_1.expectString)(output.author),
1432
1420
  CreationTime: (0, smithy_client_1.expectString)(output.creationTime),
1433
1421
  Description: (0, smithy_client_1.expectString)(output.description),
1434
1422
  HomePageUrl: (0, smithy_client_1.expectString)(output.homePageUrl),
1435
- Labels: output.labels != null ? deserializeAws_restJson1__listOf__string(output.labels, context) : undefined,
1423
+ Labels: output.labels != null ? de___listOf__string(output.labels, context) : undefined,
1436
1424
  Name: (0, smithy_client_1.expectString)(output.name),
1437
1425
  SpdxLicenseId: (0, smithy_client_1.expectString)(output.spdxLicenseId),
1438
1426
  };
1439
1427
  };
1440
- const deserializeAws_restJson1ParameterDefinition = (output, context) => {
1428
+ const de_ParameterDefinition = (output, context) => {
1441
1429
  return {
1442
1430
  AllowedPattern: (0, smithy_client_1.expectString)(output.allowedPattern),
1443
- AllowedValues: output.allowedValues != null
1444
- ? deserializeAws_restJson1__listOf__string(output.allowedValues, context)
1445
- : undefined,
1431
+ AllowedValues: output.allowedValues != null ? de___listOf__string(output.allowedValues, context) : undefined,
1446
1432
  ConstraintDescription: (0, smithy_client_1.expectString)(output.constraintDescription),
1447
1433
  DefaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
1448
1434
  Description: (0, smithy_client_1.expectString)(output.description),
@@ -1452,22 +1438,18 @@ const deserializeAws_restJson1ParameterDefinition = (output, context) => {
1452
1438
  MinValue: (0, smithy_client_1.expectInt32)(output.minValue),
1453
1439
  Name: (0, smithy_client_1.expectString)(output.name),
1454
1440
  NoEcho: (0, smithy_client_1.expectBoolean)(output.noEcho),
1455
- ReferencedByResources: output.referencedByResources != null
1456
- ? deserializeAws_restJson1__listOf__string(output.referencedByResources, context)
1457
- : undefined,
1441
+ ReferencedByResources: output.referencedByResources != null ? de___listOf__string(output.referencedByResources, context) : undefined,
1458
1442
  Type: (0, smithy_client_1.expectString)(output.type),
1459
1443
  };
1460
1444
  };
1461
- const deserializeAws_restJson1Version = (output, context) => {
1445
+ const de_Version = (output, context) => {
1462
1446
  return {
1463
1447
  ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
1464
1448
  CreationTime: (0, smithy_client_1.expectString)(output.creationTime),
1465
1449
  ParameterDefinitions: output.parameterDefinitions != null
1466
- ? deserializeAws_restJson1__listOfParameterDefinition(output.parameterDefinitions, context)
1467
- : undefined,
1468
- RequiredCapabilities: output.requiredCapabilities != null
1469
- ? deserializeAws_restJson1__listOfCapability(output.requiredCapabilities, context)
1450
+ ? de___listOfParameterDefinition(output.parameterDefinitions, context)
1470
1451
  : undefined,
1452
+ RequiredCapabilities: output.requiredCapabilities != null ? de___listOfCapability(output.requiredCapabilities, context) : undefined,
1471
1453
  ResourcesSupported: (0, smithy_client_1.expectBoolean)(output.resourcesSupported),
1472
1454
  SemanticVersion: (0, smithy_client_1.expectString)(output.semanticVersion),
1473
1455
  SourceCodeArchiveUrl: (0, smithy_client_1.expectString)(output.sourceCodeArchiveUrl),
@@ -1475,7 +1457,7 @@ const deserializeAws_restJson1Version = (output, context) => {
1475
1457
  TemplateUrl: (0, smithy_client_1.expectString)(output.templateUrl),
1476
1458
  };
1477
1459
  };
1478
- const deserializeAws_restJson1VersionSummary = (output, context) => {
1460
+ const de_VersionSummary = (output, context) => {
1479
1461
  return {
1480
1462
  ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
1481
1463
  CreationTime: (0, smithy_client_1.expectString)(output.creationTime),