@aws-sdk/client-serverlessapplicationrepository 3.31.0 → 3.32.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 (55) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/ServerlessApplicationRepositoryClient.js +13 -13
  3. package/dist/cjs/ServerlessApplicationRepositoryClient.js.map +1 -1
  4. package/dist/cjs/commands/CreateApplicationCommand.js +3 -3
  5. package/dist/cjs/commands/CreateApplicationCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateApplicationVersionCommand.js +3 -3
  7. package/dist/cjs/commands/CreateApplicationVersionCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateCloudFormationChangeSetCommand.js +3 -3
  9. package/dist/cjs/commands/CreateCloudFormationChangeSetCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateCloudFormationTemplateCommand.js +3 -3
  11. package/dist/cjs/commands/CreateCloudFormationTemplateCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteApplicationCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteApplicationCommand.js.map +1 -1
  14. package/dist/cjs/commands/GetApplicationCommand.js +3 -3
  15. package/dist/cjs/commands/GetApplicationCommand.js.map +1 -1
  16. package/dist/cjs/commands/GetApplicationPolicyCommand.js +3 -3
  17. package/dist/cjs/commands/GetApplicationPolicyCommand.js.map +1 -1
  18. package/dist/cjs/commands/GetCloudFormationTemplateCommand.js +3 -3
  19. package/dist/cjs/commands/GetCloudFormationTemplateCommand.js.map +1 -1
  20. package/dist/cjs/commands/ListApplicationDependenciesCommand.js +3 -3
  21. package/dist/cjs/commands/ListApplicationDependenciesCommand.js.map +1 -1
  22. package/dist/cjs/commands/ListApplicationVersionsCommand.js +3 -3
  23. package/dist/cjs/commands/ListApplicationVersionsCommand.js.map +1 -1
  24. package/dist/cjs/commands/ListApplicationsCommand.js +3 -3
  25. package/dist/cjs/commands/ListApplicationsCommand.js.map +1 -1
  26. package/dist/cjs/commands/PutApplicationPolicyCommand.js +3 -3
  27. package/dist/cjs/commands/PutApplicationPolicyCommand.js.map +1 -1
  28. package/dist/cjs/commands/UnshareApplicationCommand.js +3 -3
  29. package/dist/cjs/commands/UnshareApplicationCommand.js.map +1 -1
  30. package/dist/cjs/commands/UpdateApplicationCommand.js +3 -3
  31. package/dist/cjs/commands/UpdateApplicationCommand.js.map +1 -1
  32. package/dist/cjs/endpoints.js +1 -1
  33. package/dist/cjs/endpoints.js.map +1 -1
  34. package/dist/cjs/index.js +21 -21
  35. package/dist/cjs/index.js.map +1 -1
  36. package/dist/cjs/models/index.js +1 -1
  37. package/dist/cjs/models/index.js.map +1 -1
  38. package/dist/cjs/package.json +31 -31
  39. package/dist/cjs/protocols/Aws_restJson1.js +133 -133
  40. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  41. package/dist/cjs/runtimeConfig.browser.js +4 -4
  42. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  43. package/dist/cjs/runtimeConfig.js +8 -8
  44. package/dist/cjs/runtimeConfig.js.map +1 -1
  45. package/dist/cjs/runtimeConfig.native.js +1 -1
  46. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  47. package/dist/es/package.json +31 -31
  48. package/dist/es/pagination/ListApplicationDependenciesPaginator.js +4 -4
  49. package/dist/es/pagination/ListApplicationDependenciesPaginator.js.map +1 -1
  50. package/dist/es/pagination/ListApplicationVersionsPaginator.js +4 -4
  51. package/dist/es/pagination/ListApplicationVersionsPaginator.js.map +1 -1
  52. package/dist/es/pagination/ListApplicationsPaginator.js +4 -4
  53. package/dist/es/pagination/ListApplicationsPaginator.js.map +1 -1
  54. package/package.json +31 -31
  55. package/tsconfig.json +1 -2
@@ -53,7 +53,7 @@ const serializeAws_restJson1CreateApplicationVersionCommand = async (input, cont
53
53
  if (labelValue.length <= 0) {
54
54
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
55
55
  }
56
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
56
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
57
57
  }
58
58
  else {
59
59
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -63,7 +63,7 @@ const serializeAws_restJson1CreateApplicationVersionCommand = async (input, cont
63
63
  if (labelValue.length <= 0) {
64
64
  throw new Error("Empty value provided for input HTTP label: SemanticVersion.");
65
65
  }
66
- resolvedPath = resolvedPath.replace("{SemanticVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
66
+ resolvedPath = resolvedPath.replace("{SemanticVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
67
67
  }
68
68
  else {
69
69
  throw new Error("No value provided for input HTTP label: SemanticVersion.");
@@ -98,7 +98,7 @@ const serializeAws_restJson1CreateCloudFormationChangeSetCommand = async (input,
98
98
  if (labelValue.length <= 0) {
99
99
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
100
100
  }
101
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
101
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
102
102
  }
103
103
  else {
104
104
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -157,7 +157,7 @@ const serializeAws_restJson1CreateCloudFormationTemplateCommand = async (input,
157
157
  if (labelValue.length <= 0) {
158
158
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
159
159
  }
160
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
160
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
161
161
  }
162
162
  else {
163
163
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -187,7 +187,7 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
187
187
  if (labelValue.length <= 0) {
188
188
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
189
189
  }
190
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
190
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
191
191
  }
192
192
  else {
193
193
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -213,7 +213,7 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
213
213
  if (labelValue.length <= 0) {
214
214
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
215
215
  }
216
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
216
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
217
217
  }
218
218
  else {
219
219
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -243,7 +243,7 @@ const serializeAws_restJson1GetApplicationPolicyCommand = async (input, context)
243
243
  if (labelValue.length <= 0) {
244
244
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
245
245
  }
246
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
246
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
247
247
  }
248
248
  else {
249
249
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -270,7 +270,7 @@ const serializeAws_restJson1GetCloudFormationTemplateCommand = async (input, con
270
270
  if (labelValue.length <= 0) {
271
271
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
272
272
  }
273
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
273
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
274
274
  }
275
275
  else {
276
276
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -280,7 +280,7 @@ const serializeAws_restJson1GetCloudFormationTemplateCommand = async (input, con
280
280
  if (labelValue.length <= 0) {
281
281
  throw new Error("Empty value provided for input HTTP label: TemplateId.");
282
282
  }
283
- resolvedPath = resolvedPath.replace("{TemplateId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
283
+ resolvedPath = resolvedPath.replace("{TemplateId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
284
284
  }
285
285
  else {
286
286
  throw new Error("No value provided for input HTTP label: TemplateId.");
@@ -307,7 +307,7 @@ const serializeAws_restJson1ListApplicationDependenciesCommand = async (input, c
307
307
  if (labelValue.length <= 0) {
308
308
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
309
309
  }
310
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
310
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
311
311
  }
312
312
  else {
313
313
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -360,7 +360,7 @@ const serializeAws_restJson1ListApplicationVersionsCommand = async (input, conte
360
360
  if (labelValue.length <= 0) {
361
361
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
362
362
  }
363
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
363
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
364
364
  }
365
365
  else {
366
366
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -393,7 +393,7 @@ const serializeAws_restJson1PutApplicationPolicyCommand = async (input, context)
393
393
  if (labelValue.length <= 0) {
394
394
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
395
395
  }
396
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
396
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
397
397
  }
398
398
  else {
399
399
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -427,7 +427,7 @@ const serializeAws_restJson1UnshareApplicationCommand = async (input, context) =
427
427
  if (labelValue.length <= 0) {
428
428
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
429
429
  }
430
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
430
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
431
431
  }
432
432
  else {
433
433
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -459,7 +459,7 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
459
459
  if (labelValue.length <= 0) {
460
460
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
461
461
  }
462
- resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
462
+ resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
463
463
  }
464
464
  else {
465
465
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -505,42 +505,42 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
505
505
  VerifiedAuthorUrl: undefined,
506
506
  Version: undefined,
507
507
  };
508
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
508
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
509
509
  if (data.applicationId !== undefined && data.applicationId !== null) {
510
- contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
510
+ contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
511
511
  }
512
512
  if (data.author !== undefined && data.author !== null) {
513
- contents.Author = (0, smithy_client_1.expectString)(data.author);
513
+ contents.Author = smithy_client_1.expectString(data.author);
514
514
  }
515
515
  if (data.creationTime !== undefined && data.creationTime !== null) {
516
- contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
516
+ contents.CreationTime = smithy_client_1.expectString(data.creationTime);
517
517
  }
518
518
  if (data.description !== undefined && data.description !== null) {
519
- contents.Description = (0, smithy_client_1.expectString)(data.description);
519
+ contents.Description = smithy_client_1.expectString(data.description);
520
520
  }
521
521
  if (data.homePageUrl !== undefined && data.homePageUrl !== null) {
522
- contents.HomePageUrl = (0, smithy_client_1.expectString)(data.homePageUrl);
522
+ contents.HomePageUrl = smithy_client_1.expectString(data.homePageUrl);
523
523
  }
524
524
  if (data.isVerifiedAuthor !== undefined && data.isVerifiedAuthor !== null) {
525
- contents.IsVerifiedAuthor = (0, smithy_client_1.expectBoolean)(data.isVerifiedAuthor);
525
+ contents.IsVerifiedAuthor = smithy_client_1.expectBoolean(data.isVerifiedAuthor);
526
526
  }
527
527
  if (data.labels !== undefined && data.labels !== null) {
528
528
  contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
529
529
  }
530
530
  if (data.licenseUrl !== undefined && data.licenseUrl !== null) {
531
- contents.LicenseUrl = (0, smithy_client_1.expectString)(data.licenseUrl);
531
+ contents.LicenseUrl = smithy_client_1.expectString(data.licenseUrl);
532
532
  }
533
533
  if (data.name !== undefined && data.name !== null) {
534
- contents.Name = (0, smithy_client_1.expectString)(data.name);
534
+ contents.Name = smithy_client_1.expectString(data.name);
535
535
  }
536
536
  if (data.readmeUrl !== undefined && data.readmeUrl !== null) {
537
- contents.ReadmeUrl = (0, smithy_client_1.expectString)(data.readmeUrl);
537
+ contents.ReadmeUrl = smithy_client_1.expectString(data.readmeUrl);
538
538
  }
539
539
  if (data.spdxLicenseId !== undefined && data.spdxLicenseId !== null) {
540
- contents.SpdxLicenseId = (0, smithy_client_1.expectString)(data.spdxLicenseId);
540
+ contents.SpdxLicenseId = smithy_client_1.expectString(data.spdxLicenseId);
541
541
  }
542
542
  if (data.verifiedAuthorUrl !== undefined && data.verifiedAuthorUrl !== null) {
543
- contents.VerifiedAuthorUrl = (0, smithy_client_1.expectString)(data.verifiedAuthorUrl);
543
+ contents.VerifiedAuthorUrl = smithy_client_1.expectString(data.verifiedAuthorUrl);
544
544
  }
545
545
  if (data.version !== undefined && data.version !== null) {
546
546
  contents.Version = deserializeAws_restJson1Version(data.version, context);
@@ -629,12 +629,12 @@ const deserializeAws_restJson1CreateApplicationVersionCommand = async (output, c
629
629
  SourceCodeUrl: undefined,
630
630
  TemplateUrl: undefined,
631
631
  };
632
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
632
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
633
633
  if (data.applicationId !== undefined && data.applicationId !== null) {
634
- contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
634
+ contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
635
635
  }
636
636
  if (data.creationTime !== undefined && data.creationTime !== null) {
637
- contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
637
+ contents.CreationTime = smithy_client_1.expectString(data.creationTime);
638
638
  }
639
639
  if (data.parameterDefinitions !== undefined && data.parameterDefinitions !== null) {
640
640
  contents.ParameterDefinitions = deserializeAws_restJson1__listOfParameterDefinition(data.parameterDefinitions, context);
@@ -643,19 +643,19 @@ const deserializeAws_restJson1CreateApplicationVersionCommand = async (output, c
643
643
  contents.RequiredCapabilities = deserializeAws_restJson1__listOfCapability(data.requiredCapabilities, context);
644
644
  }
645
645
  if (data.resourcesSupported !== undefined && data.resourcesSupported !== null) {
646
- contents.ResourcesSupported = (0, smithy_client_1.expectBoolean)(data.resourcesSupported);
646
+ contents.ResourcesSupported = smithy_client_1.expectBoolean(data.resourcesSupported);
647
647
  }
648
648
  if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
649
- contents.SemanticVersion = (0, smithy_client_1.expectString)(data.semanticVersion);
649
+ contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
650
650
  }
651
651
  if (data.sourceCodeArchiveUrl !== undefined && data.sourceCodeArchiveUrl !== null) {
652
- contents.SourceCodeArchiveUrl = (0, smithy_client_1.expectString)(data.sourceCodeArchiveUrl);
652
+ contents.SourceCodeArchiveUrl = smithy_client_1.expectString(data.sourceCodeArchiveUrl);
653
653
  }
654
654
  if (data.sourceCodeUrl !== undefined && data.sourceCodeUrl !== null) {
655
- contents.SourceCodeUrl = (0, smithy_client_1.expectString)(data.sourceCodeUrl);
655
+ contents.SourceCodeUrl = smithy_client_1.expectString(data.sourceCodeUrl);
656
656
  }
657
657
  if (data.templateUrl !== undefined && data.templateUrl !== null) {
658
- contents.TemplateUrl = (0, smithy_client_1.expectString)(data.templateUrl);
658
+ contents.TemplateUrl = smithy_client_1.expectString(data.templateUrl);
659
659
  }
660
660
  return Promise.resolve(contents);
661
661
  };
@@ -736,18 +736,18 @@ const deserializeAws_restJson1CreateCloudFormationChangeSetCommand = async (outp
736
736
  SemanticVersion: undefined,
737
737
  StackId: undefined,
738
738
  };
739
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
739
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
740
740
  if (data.applicationId !== undefined && data.applicationId !== null) {
741
- contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
741
+ contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
742
742
  }
743
743
  if (data.changeSetId !== undefined && data.changeSetId !== null) {
744
- contents.ChangeSetId = (0, smithy_client_1.expectString)(data.changeSetId);
744
+ contents.ChangeSetId = smithy_client_1.expectString(data.changeSetId);
745
745
  }
746
746
  if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
747
- contents.SemanticVersion = (0, smithy_client_1.expectString)(data.semanticVersion);
747
+ contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
748
748
  }
749
749
  if (data.stackId !== undefined && data.stackId !== null) {
750
- contents.StackId = (0, smithy_client_1.expectString)(data.stackId);
750
+ contents.StackId = smithy_client_1.expectString(data.stackId);
751
751
  }
752
752
  return Promise.resolve(contents);
753
753
  };
@@ -823,27 +823,27 @@ const deserializeAws_restJson1CreateCloudFormationTemplateCommand = async (outpu
823
823
  TemplateId: undefined,
824
824
  TemplateUrl: undefined,
825
825
  };
826
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
826
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
827
827
  if (data.applicationId !== undefined && data.applicationId !== null) {
828
- contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
828
+ contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
829
829
  }
830
830
  if (data.creationTime !== undefined && data.creationTime !== null) {
831
- contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
831
+ contents.CreationTime = smithy_client_1.expectString(data.creationTime);
832
832
  }
833
833
  if (data.expirationTime !== undefined && data.expirationTime !== null) {
834
- contents.ExpirationTime = (0, smithy_client_1.expectString)(data.expirationTime);
834
+ contents.ExpirationTime = smithy_client_1.expectString(data.expirationTime);
835
835
  }
836
836
  if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
837
- contents.SemanticVersion = (0, smithy_client_1.expectString)(data.semanticVersion);
837
+ contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
838
838
  }
839
839
  if (data.status !== undefined && data.status !== null) {
840
- contents.Status = (0, smithy_client_1.expectString)(data.status);
840
+ contents.Status = smithy_client_1.expectString(data.status);
841
841
  }
842
842
  if (data.templateId !== undefined && data.templateId !== null) {
843
- contents.TemplateId = (0, smithy_client_1.expectString)(data.templateId);
843
+ contents.TemplateId = smithy_client_1.expectString(data.templateId);
844
844
  }
845
845
  if (data.templateUrl !== undefined && data.templateUrl !== null) {
846
- contents.TemplateUrl = (0, smithy_client_1.expectString)(data.templateUrl);
846
+ contents.TemplateUrl = smithy_client_1.expectString(data.templateUrl);
847
847
  }
848
848
  return Promise.resolve(contents);
849
849
  };
@@ -1017,42 +1017,42 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
1017
1017
  VerifiedAuthorUrl: undefined,
1018
1018
  Version: undefined,
1019
1019
  };
1020
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1020
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1021
1021
  if (data.applicationId !== undefined && data.applicationId !== null) {
1022
- contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
1022
+ contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
1023
1023
  }
1024
1024
  if (data.author !== undefined && data.author !== null) {
1025
- contents.Author = (0, smithy_client_1.expectString)(data.author);
1025
+ contents.Author = smithy_client_1.expectString(data.author);
1026
1026
  }
1027
1027
  if (data.creationTime !== undefined && data.creationTime !== null) {
1028
- contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
1028
+ contents.CreationTime = smithy_client_1.expectString(data.creationTime);
1029
1029
  }
1030
1030
  if (data.description !== undefined && data.description !== null) {
1031
- contents.Description = (0, smithy_client_1.expectString)(data.description);
1031
+ contents.Description = smithy_client_1.expectString(data.description);
1032
1032
  }
1033
1033
  if (data.homePageUrl !== undefined && data.homePageUrl !== null) {
1034
- contents.HomePageUrl = (0, smithy_client_1.expectString)(data.homePageUrl);
1034
+ contents.HomePageUrl = smithy_client_1.expectString(data.homePageUrl);
1035
1035
  }
1036
1036
  if (data.isVerifiedAuthor !== undefined && data.isVerifiedAuthor !== null) {
1037
- contents.IsVerifiedAuthor = (0, smithy_client_1.expectBoolean)(data.isVerifiedAuthor);
1037
+ contents.IsVerifiedAuthor = smithy_client_1.expectBoolean(data.isVerifiedAuthor);
1038
1038
  }
1039
1039
  if (data.labels !== undefined && data.labels !== null) {
1040
1040
  contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
1041
1041
  }
1042
1042
  if (data.licenseUrl !== undefined && data.licenseUrl !== null) {
1043
- contents.LicenseUrl = (0, smithy_client_1.expectString)(data.licenseUrl);
1043
+ contents.LicenseUrl = smithy_client_1.expectString(data.licenseUrl);
1044
1044
  }
1045
1045
  if (data.name !== undefined && data.name !== null) {
1046
- contents.Name = (0, smithy_client_1.expectString)(data.name);
1046
+ contents.Name = smithy_client_1.expectString(data.name);
1047
1047
  }
1048
1048
  if (data.readmeUrl !== undefined && data.readmeUrl !== null) {
1049
- contents.ReadmeUrl = (0, smithy_client_1.expectString)(data.readmeUrl);
1049
+ contents.ReadmeUrl = smithy_client_1.expectString(data.readmeUrl);
1050
1050
  }
1051
1051
  if (data.spdxLicenseId !== undefined && data.spdxLicenseId !== null) {
1052
- contents.SpdxLicenseId = (0, smithy_client_1.expectString)(data.spdxLicenseId);
1052
+ contents.SpdxLicenseId = smithy_client_1.expectString(data.spdxLicenseId);
1053
1053
  }
1054
1054
  if (data.verifiedAuthorUrl !== undefined && data.verifiedAuthorUrl !== null) {
1055
- contents.VerifiedAuthorUrl = (0, smithy_client_1.expectString)(data.verifiedAuthorUrl);
1055
+ contents.VerifiedAuthorUrl = smithy_client_1.expectString(data.verifiedAuthorUrl);
1056
1056
  }
1057
1057
  if (data.version !== undefined && data.version !== null) {
1058
1058
  contents.Version = deserializeAws_restJson1Version(data.version, context);
@@ -1133,7 +1133,7 @@ const deserializeAws_restJson1GetApplicationPolicyCommand = async (output, conte
1133
1133
  $metadata: deserializeMetadata(output),
1134
1134
  Statements: undefined,
1135
1135
  };
1136
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1136
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1137
1137
  if (data.statements !== undefined && data.statements !== null) {
1138
1138
  contents.Statements = deserializeAws_restJson1__listOfApplicationPolicyStatement(data.statements, context);
1139
1139
  }
@@ -1219,27 +1219,27 @@ const deserializeAws_restJson1GetCloudFormationTemplateCommand = async (output,
1219
1219
  TemplateId: undefined,
1220
1220
  TemplateUrl: undefined,
1221
1221
  };
1222
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1222
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1223
1223
  if (data.applicationId !== undefined && data.applicationId !== null) {
1224
- contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
1224
+ contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
1225
1225
  }
1226
1226
  if (data.creationTime !== undefined && data.creationTime !== null) {
1227
- contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
1227
+ contents.CreationTime = smithy_client_1.expectString(data.creationTime);
1228
1228
  }
1229
1229
  if (data.expirationTime !== undefined && data.expirationTime !== null) {
1230
- contents.ExpirationTime = (0, smithy_client_1.expectString)(data.expirationTime);
1230
+ contents.ExpirationTime = smithy_client_1.expectString(data.expirationTime);
1231
1231
  }
1232
1232
  if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
1233
- contents.SemanticVersion = (0, smithy_client_1.expectString)(data.semanticVersion);
1233
+ contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
1234
1234
  }
1235
1235
  if (data.status !== undefined && data.status !== null) {
1236
- contents.Status = (0, smithy_client_1.expectString)(data.status);
1236
+ contents.Status = smithy_client_1.expectString(data.status);
1237
1237
  }
1238
1238
  if (data.templateId !== undefined && data.templateId !== null) {
1239
- contents.TemplateId = (0, smithy_client_1.expectString)(data.templateId);
1239
+ contents.TemplateId = smithy_client_1.expectString(data.templateId);
1240
1240
  }
1241
1241
  if (data.templateUrl !== undefined && data.templateUrl !== null) {
1242
- contents.TemplateUrl = (0, smithy_client_1.expectString)(data.templateUrl);
1242
+ contents.TemplateUrl = smithy_client_1.expectString(data.templateUrl);
1243
1243
  }
1244
1244
  return Promise.resolve(contents);
1245
1245
  };
@@ -1318,12 +1318,12 @@ const deserializeAws_restJson1ListApplicationDependenciesCommand = async (output
1318
1318
  Dependencies: undefined,
1319
1319
  NextToken: undefined,
1320
1320
  };
1321
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1321
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1322
1322
  if (data.dependencies !== undefined && data.dependencies !== null) {
1323
1323
  contents.Dependencies = deserializeAws_restJson1__listOfApplicationDependencySummary(data.dependencies, context);
1324
1324
  }
1325
1325
  if (data.nextToken !== undefined && data.nextToken !== null) {
1326
- contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1326
+ contents.NextToken = smithy_client_1.expectString(data.nextToken);
1327
1327
  }
1328
1328
  return Promise.resolve(contents);
1329
1329
  };
@@ -1402,12 +1402,12 @@ const deserializeAws_restJson1ListApplicationsCommand = async (output, context)
1402
1402
  Applications: undefined,
1403
1403
  NextToken: undefined,
1404
1404
  };
1405
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1405
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1406
1406
  if (data.applications !== undefined && data.applications !== null) {
1407
1407
  contents.Applications = deserializeAws_restJson1__listOfApplicationSummary(data.applications, context);
1408
1408
  }
1409
1409
  if (data.nextToken !== undefined && data.nextToken !== null) {
1410
- contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1410
+ contents.NextToken = smithy_client_1.expectString(data.nextToken);
1411
1411
  }
1412
1412
  return Promise.resolve(contents);
1413
1413
  };
@@ -1478,9 +1478,9 @@ const deserializeAws_restJson1ListApplicationVersionsCommand = async (output, co
1478
1478
  NextToken: undefined,
1479
1479
  Versions: undefined,
1480
1480
  };
1481
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1481
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1482
1482
  if (data.nextToken !== undefined && data.nextToken !== null) {
1483
- contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1483
+ contents.NextToken = smithy_client_1.expectString(data.nextToken);
1484
1484
  }
1485
1485
  if (data.versions !== undefined && data.versions !== null) {
1486
1486
  contents.Versions = deserializeAws_restJson1__listOfVersionSummary(data.versions, context);
@@ -1561,7 +1561,7 @@ const deserializeAws_restJson1PutApplicationPolicyCommand = async (output, conte
1561
1561
  $metadata: deserializeMetadata(output),
1562
1562
  Statements: undefined,
1563
1563
  };
1564
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1564
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1565
1565
  if (data.statements !== undefined && data.statements !== null) {
1566
1566
  contents.Statements = deserializeAws_restJson1__listOfApplicationPolicyStatement(data.statements, context);
1567
1567
  }
@@ -1729,42 +1729,42 @@ const deserializeAws_restJson1UpdateApplicationCommand = async (output, context)
1729
1729
  VerifiedAuthorUrl: undefined,
1730
1730
  Version: undefined,
1731
1731
  };
1732
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1732
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1733
1733
  if (data.applicationId !== undefined && data.applicationId !== null) {
1734
- contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
1734
+ contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
1735
1735
  }
1736
1736
  if (data.author !== undefined && data.author !== null) {
1737
- contents.Author = (0, smithy_client_1.expectString)(data.author);
1737
+ contents.Author = smithy_client_1.expectString(data.author);
1738
1738
  }
1739
1739
  if (data.creationTime !== undefined && data.creationTime !== null) {
1740
- contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
1740
+ contents.CreationTime = smithy_client_1.expectString(data.creationTime);
1741
1741
  }
1742
1742
  if (data.description !== undefined && data.description !== null) {
1743
- contents.Description = (0, smithy_client_1.expectString)(data.description);
1743
+ contents.Description = smithy_client_1.expectString(data.description);
1744
1744
  }
1745
1745
  if (data.homePageUrl !== undefined && data.homePageUrl !== null) {
1746
- contents.HomePageUrl = (0, smithy_client_1.expectString)(data.homePageUrl);
1746
+ contents.HomePageUrl = smithy_client_1.expectString(data.homePageUrl);
1747
1747
  }
1748
1748
  if (data.isVerifiedAuthor !== undefined && data.isVerifiedAuthor !== null) {
1749
- contents.IsVerifiedAuthor = (0, smithy_client_1.expectBoolean)(data.isVerifiedAuthor);
1749
+ contents.IsVerifiedAuthor = smithy_client_1.expectBoolean(data.isVerifiedAuthor);
1750
1750
  }
1751
1751
  if (data.labels !== undefined && data.labels !== null) {
1752
1752
  contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
1753
1753
  }
1754
1754
  if (data.licenseUrl !== undefined && data.licenseUrl !== null) {
1755
- contents.LicenseUrl = (0, smithy_client_1.expectString)(data.licenseUrl);
1755
+ contents.LicenseUrl = smithy_client_1.expectString(data.licenseUrl);
1756
1756
  }
1757
1757
  if (data.name !== undefined && data.name !== null) {
1758
- contents.Name = (0, smithy_client_1.expectString)(data.name);
1758
+ contents.Name = smithy_client_1.expectString(data.name);
1759
1759
  }
1760
1760
  if (data.readmeUrl !== undefined && data.readmeUrl !== null) {
1761
- contents.ReadmeUrl = (0, smithy_client_1.expectString)(data.readmeUrl);
1761
+ contents.ReadmeUrl = smithy_client_1.expectString(data.readmeUrl);
1762
1762
  }
1763
1763
  if (data.spdxLicenseId !== undefined && data.spdxLicenseId !== null) {
1764
- contents.SpdxLicenseId = (0, smithy_client_1.expectString)(data.spdxLicenseId);
1764
+ contents.SpdxLicenseId = smithy_client_1.expectString(data.spdxLicenseId);
1765
1765
  }
1766
1766
  if (data.verifiedAuthorUrl !== undefined && data.verifiedAuthorUrl !== null) {
1767
- contents.VerifiedAuthorUrl = (0, smithy_client_1.expectString)(data.verifiedAuthorUrl);
1767
+ contents.VerifiedAuthorUrl = smithy_client_1.expectString(data.verifiedAuthorUrl);
1768
1768
  }
1769
1769
  if (data.version !== undefined && data.version !== null) {
1770
1770
  contents.Version = deserializeAws_restJson1Version(data.version, context);
@@ -1855,10 +1855,10 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
1855
1855
  };
1856
1856
  const data = parsedOutput.body;
1857
1857
  if (data.errorCode !== undefined && data.errorCode !== null) {
1858
- contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1858
+ contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1859
1859
  }
1860
1860
  if (data.message !== undefined && data.message !== null) {
1861
- contents.Message = (0, smithy_client_1.expectString)(data.message);
1861
+ contents.Message = smithy_client_1.expectString(data.message);
1862
1862
  }
1863
1863
  return contents;
1864
1864
  };
@@ -1872,10 +1872,10 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1872
1872
  };
1873
1873
  const data = parsedOutput.body;
1874
1874
  if (data.errorCode !== undefined && data.errorCode !== null) {
1875
- contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1875
+ contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1876
1876
  }
1877
1877
  if (data.message !== undefined && data.message !== null) {
1878
- contents.Message = (0, smithy_client_1.expectString)(data.message);
1878
+ contents.Message = smithy_client_1.expectString(data.message);
1879
1879
  }
1880
1880
  return contents;
1881
1881
  };
@@ -1889,10 +1889,10 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
1889
1889
  };
1890
1890
  const data = parsedOutput.body;
1891
1891
  if (data.errorCode !== undefined && data.errorCode !== null) {
1892
- contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1892
+ contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1893
1893
  }
1894
1894
  if (data.message !== undefined && data.message !== null) {
1895
- contents.Message = (0, smithy_client_1.expectString)(data.message);
1895
+ contents.Message = smithy_client_1.expectString(data.message);
1896
1896
  }
1897
1897
  return contents;
1898
1898
  };
@@ -1906,10 +1906,10 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
1906
1906
  };
1907
1907
  const data = parsedOutput.body;
1908
1908
  if (data.errorCode !== undefined && data.errorCode !== null) {
1909
- contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1909
+ contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1910
1910
  }
1911
1911
  if (data.message !== undefined && data.message !== null) {
1912
- contents.Message = (0, smithy_client_1.expectString)(data.message);
1912
+ contents.Message = smithy_client_1.expectString(data.message);
1913
1913
  }
1914
1914
  return contents;
1915
1915
  };
@@ -1923,10 +1923,10 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
1923
1923
  };
1924
1924
  const data = parsedOutput.body;
1925
1925
  if (data.errorCode !== undefined && data.errorCode !== null) {
1926
- contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1926
+ contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1927
1927
  }
1928
1928
  if (data.message !== undefined && data.message !== null) {
1929
- contents.Message = (0, smithy_client_1.expectString)(data.message);
1929
+ contents.Message = smithy_client_1.expectString(data.message);
1930
1930
  }
1931
1931
  return contents;
1932
1932
  };
@@ -1940,10 +1940,10 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
1940
1940
  };
1941
1941
  const data = parsedOutput.body;
1942
1942
  if (data.errorCode !== undefined && data.errorCode !== null) {
1943
- contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1943
+ contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1944
1944
  }
1945
1945
  if (data.message !== undefined && data.message !== null) {
1946
- contents.Message = (0, smithy_client_1.expectString)(data.message);
1946
+ contents.Message = smithy_client_1.expectString(data.message);
1947
1947
  }
1948
1948
  return contents;
1949
1949
  };
@@ -2045,7 +2045,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
2045
2045
  if (entry === null) {
2046
2046
  return null;
2047
2047
  }
2048
- return (0, smithy_client_1.expectString)(entry);
2048
+ return smithy_client_1.expectString(entry);
2049
2049
  });
2050
2050
  };
2051
2051
  const deserializeAws_restJson1__listOfApplicationDependencySummary = (output, context) => {
@@ -2085,7 +2085,7 @@ const deserializeAws_restJson1__listOfCapability = (output, context) => {
2085
2085
  if (entry === null) {
2086
2086
  return null;
2087
2087
  }
2088
- return (0, smithy_client_1.expectString)(entry);
2088
+ return smithy_client_1.expectString(entry);
2089
2089
  });
2090
2090
  };
2091
2091
  const deserializeAws_restJson1__listOfParameterDefinition = (output, context) => {
@@ -2110,8 +2110,8 @@ const deserializeAws_restJson1__listOfVersionSummary = (output, context) => {
2110
2110
  };
2111
2111
  const deserializeAws_restJson1ApplicationDependencySummary = (output, context) => {
2112
2112
  return {
2113
- ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
2114
- SemanticVersion: (0, smithy_client_1.expectString)(output.semanticVersion),
2113
+ ApplicationId: smithy_client_1.expectString(output.applicationId),
2114
+ SemanticVersion: smithy_client_1.expectString(output.semanticVersion),
2115
2115
  };
2116
2116
  };
2117
2117
  const deserializeAws_restJson1ApplicationPolicyStatement = (output, context) => {
@@ -2125,67 +2125,67 @@ const deserializeAws_restJson1ApplicationPolicyStatement = (output, context) =>
2125
2125
  Principals: output.principals !== undefined && output.principals !== null
2126
2126
  ? deserializeAws_restJson1__listOf__string(output.principals, context)
2127
2127
  : undefined,
2128
- StatementId: (0, smithy_client_1.expectString)(output.statementId),
2128
+ StatementId: smithy_client_1.expectString(output.statementId),
2129
2129
  };
2130
2130
  };
2131
2131
  const deserializeAws_restJson1ApplicationSummary = (output, context) => {
2132
2132
  return {
2133
- ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
2134
- Author: (0, smithy_client_1.expectString)(output.author),
2135
- CreationTime: (0, smithy_client_1.expectString)(output.creationTime),
2136
- Description: (0, smithy_client_1.expectString)(output.description),
2137
- HomePageUrl: (0, smithy_client_1.expectString)(output.homePageUrl),
2133
+ ApplicationId: smithy_client_1.expectString(output.applicationId),
2134
+ Author: smithy_client_1.expectString(output.author),
2135
+ CreationTime: smithy_client_1.expectString(output.creationTime),
2136
+ Description: smithy_client_1.expectString(output.description),
2137
+ HomePageUrl: smithy_client_1.expectString(output.homePageUrl),
2138
2138
  Labels: output.labels !== undefined && output.labels !== null
2139
2139
  ? deserializeAws_restJson1__listOf__string(output.labels, context)
2140
2140
  : undefined,
2141
- Name: (0, smithy_client_1.expectString)(output.name),
2142
- SpdxLicenseId: (0, smithy_client_1.expectString)(output.spdxLicenseId),
2141
+ Name: smithy_client_1.expectString(output.name),
2142
+ SpdxLicenseId: smithy_client_1.expectString(output.spdxLicenseId),
2143
2143
  };
2144
2144
  };
2145
2145
  const deserializeAws_restJson1ParameterDefinition = (output, context) => {
2146
2146
  return {
2147
- AllowedPattern: (0, smithy_client_1.expectString)(output.allowedPattern),
2147
+ AllowedPattern: smithy_client_1.expectString(output.allowedPattern),
2148
2148
  AllowedValues: output.allowedValues !== undefined && output.allowedValues !== null
2149
2149
  ? deserializeAws_restJson1__listOf__string(output.allowedValues, context)
2150
2150
  : undefined,
2151
- ConstraintDescription: (0, smithy_client_1.expectString)(output.constraintDescription),
2152
- DefaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
2153
- Description: (0, smithy_client_1.expectString)(output.description),
2154
- MaxLength: (0, smithy_client_1.expectInt32)(output.maxLength),
2155
- MaxValue: (0, smithy_client_1.expectInt32)(output.maxValue),
2156
- MinLength: (0, smithy_client_1.expectInt32)(output.minLength),
2157
- MinValue: (0, smithy_client_1.expectInt32)(output.minValue),
2158
- Name: (0, smithy_client_1.expectString)(output.name),
2159
- NoEcho: (0, smithy_client_1.expectBoolean)(output.noEcho),
2151
+ ConstraintDescription: smithy_client_1.expectString(output.constraintDescription),
2152
+ DefaultValue: smithy_client_1.expectString(output.defaultValue),
2153
+ Description: smithy_client_1.expectString(output.description),
2154
+ MaxLength: smithy_client_1.expectInt32(output.maxLength),
2155
+ MaxValue: smithy_client_1.expectInt32(output.maxValue),
2156
+ MinLength: smithy_client_1.expectInt32(output.minLength),
2157
+ MinValue: smithy_client_1.expectInt32(output.minValue),
2158
+ Name: smithy_client_1.expectString(output.name),
2159
+ NoEcho: smithy_client_1.expectBoolean(output.noEcho),
2160
2160
  ReferencedByResources: output.referencedByResources !== undefined && output.referencedByResources !== null
2161
2161
  ? deserializeAws_restJson1__listOf__string(output.referencedByResources, context)
2162
2162
  : undefined,
2163
- Type: (0, smithy_client_1.expectString)(output.type),
2163
+ Type: smithy_client_1.expectString(output.type),
2164
2164
  };
2165
2165
  };
2166
2166
  const deserializeAws_restJson1Version = (output, context) => {
2167
2167
  return {
2168
- ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
2169
- CreationTime: (0, smithy_client_1.expectString)(output.creationTime),
2168
+ ApplicationId: smithy_client_1.expectString(output.applicationId),
2169
+ CreationTime: smithy_client_1.expectString(output.creationTime),
2170
2170
  ParameterDefinitions: output.parameterDefinitions !== undefined && output.parameterDefinitions !== null
2171
2171
  ? deserializeAws_restJson1__listOfParameterDefinition(output.parameterDefinitions, context)
2172
2172
  : undefined,
2173
2173
  RequiredCapabilities: output.requiredCapabilities !== undefined && output.requiredCapabilities !== null
2174
2174
  ? deserializeAws_restJson1__listOfCapability(output.requiredCapabilities, context)
2175
2175
  : undefined,
2176
- ResourcesSupported: (0, smithy_client_1.expectBoolean)(output.resourcesSupported),
2177
- SemanticVersion: (0, smithy_client_1.expectString)(output.semanticVersion),
2178
- SourceCodeArchiveUrl: (0, smithy_client_1.expectString)(output.sourceCodeArchiveUrl),
2179
- SourceCodeUrl: (0, smithy_client_1.expectString)(output.sourceCodeUrl),
2180
- TemplateUrl: (0, smithy_client_1.expectString)(output.templateUrl),
2176
+ ResourcesSupported: smithy_client_1.expectBoolean(output.resourcesSupported),
2177
+ SemanticVersion: smithy_client_1.expectString(output.semanticVersion),
2178
+ SourceCodeArchiveUrl: smithy_client_1.expectString(output.sourceCodeArchiveUrl),
2179
+ SourceCodeUrl: smithy_client_1.expectString(output.sourceCodeUrl),
2180
+ TemplateUrl: smithy_client_1.expectString(output.templateUrl),
2181
2181
  };
2182
2182
  };
2183
2183
  const deserializeAws_restJson1VersionSummary = (output, context) => {
2184
2184
  return {
2185
- ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
2186
- CreationTime: (0, smithy_client_1.expectString)(output.creationTime),
2187
- SemanticVersion: (0, smithy_client_1.expectString)(output.semanticVersion),
2188
- SourceCodeUrl: (0, smithy_client_1.expectString)(output.sourceCodeUrl),
2185
+ ApplicationId: smithy_client_1.expectString(output.applicationId),
2186
+ CreationTime: smithy_client_1.expectString(output.creationTime),
2187
+ SemanticVersion: smithy_client_1.expectString(output.semanticVersion),
2188
+ SourceCodeUrl: smithy_client_1.expectString(output.sourceCodeUrl),
2189
2189
  };
2190
2190
  };
2191
2191
  const deserializeMetadata = (output) => {