@aws-sdk/client-serverlessapplicationrepository 3.53.0 → 3.55.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 (35) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/ServerlessApplicationRepositoryClient.js +13 -13
  3. package/dist-cjs/commands/CreateApplicationCommand.js +3 -3
  4. package/dist-cjs/commands/CreateApplicationVersionCommand.js +3 -3
  5. package/dist-cjs/commands/CreateCloudFormationChangeSetCommand.js +3 -3
  6. package/dist-cjs/commands/CreateCloudFormationTemplateCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteApplicationCommand.js +3 -3
  8. package/dist-cjs/commands/GetApplicationCommand.js +3 -3
  9. package/dist-cjs/commands/GetApplicationPolicyCommand.js +3 -3
  10. package/dist-cjs/commands/GetCloudFormationTemplateCommand.js +3 -3
  11. package/dist-cjs/commands/ListApplicationDependenciesCommand.js +3 -3
  12. package/dist-cjs/commands/ListApplicationVersionsCommand.js +3 -3
  13. package/dist-cjs/commands/ListApplicationsCommand.js +3 -3
  14. package/dist-cjs/commands/PutApplicationPolicyCommand.js +3 -3
  15. package/dist-cjs/commands/UnshareApplicationCommand.js +3 -3
  16. package/dist-cjs/commands/UpdateApplicationCommand.js +3 -3
  17. package/dist-cjs/endpoints.js +1 -1
  18. package/dist-cjs/protocols/Aws_restJson1.js +153 -153
  19. package/dist-cjs/runtimeConfig.browser.js +4 -4
  20. package/dist-cjs/runtimeConfig.js +9 -9
  21. package/dist-cjs/runtimeConfig.native.js +1 -1
  22. package/dist-es/ServerlessApplicationRepository.js +14 -14
  23. package/dist-es/pagination/ListApplicationDependenciesPaginator.js +4 -4
  24. package/dist-es/pagination/ListApplicationVersionsPaginator.js +4 -4
  25. package/dist-es/pagination/ListApplicationsPaginator.js +4 -4
  26. package/dist-es/protocols/Aws_restJson1.js +14 -14
  27. package/dist-types/ServerlessApplicationRepositoryClient.d.ts +2 -2
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  29. package/dist-types/runtimeConfig.d.ts +1 -1
  30. package/dist-types/runtimeConfig.native.d.ts +3 -3
  31. package/dist-types/ts3.4/ServerlessApplicationRepositoryClient.d.ts +2 -2
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  35. package/package.json +34 -34
@@ -55,7 +55,7 @@ const serializeAws_restJson1CreateApplicationVersionCommand = async (input, cont
55
55
  if (labelValue.length <= 0) {
56
56
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
57
57
  }
58
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
58
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
59
59
  }
60
60
  else {
61
61
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -65,7 +65,7 @@ const serializeAws_restJson1CreateApplicationVersionCommand = async (input, cont
65
65
  if (labelValue.length <= 0) {
66
66
  throw new Error("Empty value provided for input HTTP label: SemanticVersion.");
67
67
  }
68
- resolvedPath = resolvedPath.replace("{SemanticVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
68
+ resolvedPath = resolvedPath.replace("{SemanticVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
69
69
  }
70
70
  else {
71
71
  throw new Error("No value provided for input HTTP label: SemanticVersion.");
@@ -100,7 +100,7 @@ const serializeAws_restJson1CreateCloudFormationChangeSetCommand = async (input,
100
100
  if (labelValue.length <= 0) {
101
101
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
102
102
  }
103
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
103
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
104
104
  }
105
105
  else {
106
106
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -159,7 +159,7 @@ const serializeAws_restJson1CreateCloudFormationTemplateCommand = async (input,
159
159
  if (labelValue.length <= 0) {
160
160
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
161
161
  }
162
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
162
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
163
163
  }
164
164
  else {
165
165
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -189,7 +189,7 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
189
189
  if (labelValue.length <= 0) {
190
190
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
191
191
  }
192
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
192
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
193
193
  }
194
194
  else {
195
195
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -215,7 +215,7 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
215
215
  if (labelValue.length <= 0) {
216
216
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
217
217
  }
218
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
218
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
219
219
  }
220
220
  else {
221
221
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -245,7 +245,7 @@ const serializeAws_restJson1GetApplicationPolicyCommand = async (input, context)
245
245
  if (labelValue.length <= 0) {
246
246
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
247
247
  }
248
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
248
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
249
249
  }
250
250
  else {
251
251
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -272,7 +272,7 @@ const serializeAws_restJson1GetCloudFormationTemplateCommand = async (input, con
272
272
  if (labelValue.length <= 0) {
273
273
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
274
274
  }
275
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
275
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
276
276
  }
277
277
  else {
278
278
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -282,7 +282,7 @@ const serializeAws_restJson1GetCloudFormationTemplateCommand = async (input, con
282
282
  if (labelValue.length <= 0) {
283
283
  throw new Error("Empty value provided for input HTTP label: TemplateId.");
284
284
  }
285
- resolvedPath = resolvedPath.replace("{TemplateId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
285
+ resolvedPath = resolvedPath.replace("{TemplateId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
286
286
  }
287
287
  else {
288
288
  throw new Error("No value provided for input HTTP label: TemplateId.");
@@ -309,7 +309,7 @@ const serializeAws_restJson1ListApplicationDependenciesCommand = async (input, c
309
309
  if (labelValue.length <= 0) {
310
310
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
311
311
  }
312
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
312
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
313
313
  }
314
314
  else {
315
315
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -362,7 +362,7 @@ const serializeAws_restJson1ListApplicationVersionsCommand = async (input, conte
362
362
  if (labelValue.length <= 0) {
363
363
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
364
364
  }
365
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
365
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
366
366
  }
367
367
  else {
368
368
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -395,7 +395,7 @@ const serializeAws_restJson1PutApplicationPolicyCommand = async (input, context)
395
395
  if (labelValue.length <= 0) {
396
396
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
397
397
  }
398
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
398
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
399
399
  }
400
400
  else {
401
401
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -429,7 +429,7 @@ const serializeAws_restJson1UnshareApplicationCommand = async (input, context) =
429
429
  if (labelValue.length <= 0) {
430
430
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
431
431
  }
432
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
432
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
433
433
  }
434
434
  else {
435
435
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -461,7 +461,7 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
461
461
  if (labelValue.length <= 0) {
462
462
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
463
463
  }
464
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
464
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
465
465
  }
466
466
  else {
467
467
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -507,42 +507,42 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
507
507
  VerifiedAuthorUrl: undefined,
508
508
  Version: undefined,
509
509
  };
510
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
510
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
511
511
  if (data.applicationId !== undefined && data.applicationId !== null) {
512
- contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
512
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
513
513
  }
514
514
  if (data.author !== undefined && data.author !== null) {
515
- contents.Author = smithy_client_1.expectString(data.author);
515
+ contents.Author = (0, smithy_client_1.expectString)(data.author);
516
516
  }
517
517
  if (data.creationTime !== undefined && data.creationTime !== null) {
518
- contents.CreationTime = smithy_client_1.expectString(data.creationTime);
518
+ contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
519
519
  }
520
520
  if (data.description !== undefined && data.description !== null) {
521
- contents.Description = smithy_client_1.expectString(data.description);
521
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
522
522
  }
523
523
  if (data.homePageUrl !== undefined && data.homePageUrl !== null) {
524
- contents.HomePageUrl = smithy_client_1.expectString(data.homePageUrl);
524
+ contents.HomePageUrl = (0, smithy_client_1.expectString)(data.homePageUrl);
525
525
  }
526
526
  if (data.isVerifiedAuthor !== undefined && data.isVerifiedAuthor !== null) {
527
- contents.IsVerifiedAuthor = smithy_client_1.expectBoolean(data.isVerifiedAuthor);
527
+ contents.IsVerifiedAuthor = (0, smithy_client_1.expectBoolean)(data.isVerifiedAuthor);
528
528
  }
529
529
  if (data.labels !== undefined && data.labels !== null) {
530
530
  contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
531
531
  }
532
532
  if (data.licenseUrl !== undefined && data.licenseUrl !== null) {
533
- contents.LicenseUrl = smithy_client_1.expectString(data.licenseUrl);
533
+ contents.LicenseUrl = (0, smithy_client_1.expectString)(data.licenseUrl);
534
534
  }
535
535
  if (data.name !== undefined && data.name !== null) {
536
- contents.Name = smithy_client_1.expectString(data.name);
536
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
537
537
  }
538
538
  if (data.readmeUrl !== undefined && data.readmeUrl !== null) {
539
- contents.ReadmeUrl = smithy_client_1.expectString(data.readmeUrl);
539
+ contents.ReadmeUrl = (0, smithy_client_1.expectString)(data.readmeUrl);
540
540
  }
541
541
  if (data.spdxLicenseId !== undefined && data.spdxLicenseId !== null) {
542
- contents.SpdxLicenseId = smithy_client_1.expectString(data.spdxLicenseId);
542
+ contents.SpdxLicenseId = (0, smithy_client_1.expectString)(data.spdxLicenseId);
543
543
  }
544
544
  if (data.verifiedAuthorUrl !== undefined && data.verifiedAuthorUrl !== null) {
545
- contents.VerifiedAuthorUrl = smithy_client_1.expectString(data.verifiedAuthorUrl);
545
+ contents.VerifiedAuthorUrl = (0, smithy_client_1.expectString)(data.verifiedAuthorUrl);
546
546
  }
547
547
  if (data.version !== undefined && data.version !== null) {
548
548
  contents.Version = deserializeAws_restJson1Version(data.version, context);
@@ -581,7 +581,7 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
581
581
  $fault: "client",
582
582
  $metadata: deserializeMetadata(output),
583
583
  });
584
- throw smithy_client_1.decorateServiceException(response, parsedBody);
584
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
585
585
  }
586
586
  };
587
587
  const deserializeAws_restJson1CreateApplicationVersionCommand = async (output, context) => {
@@ -600,12 +600,12 @@ const deserializeAws_restJson1CreateApplicationVersionCommand = async (output, c
600
600
  SourceCodeUrl: undefined,
601
601
  TemplateUrl: undefined,
602
602
  };
603
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
603
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
604
604
  if (data.applicationId !== undefined && data.applicationId !== null) {
605
- contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
605
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
606
606
  }
607
607
  if (data.creationTime !== undefined && data.creationTime !== null) {
608
- contents.CreationTime = smithy_client_1.expectString(data.creationTime);
608
+ contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
609
609
  }
610
610
  if (data.parameterDefinitions !== undefined && data.parameterDefinitions !== null) {
611
611
  contents.ParameterDefinitions = deserializeAws_restJson1__listOfParameterDefinition(data.parameterDefinitions, context);
@@ -614,19 +614,19 @@ const deserializeAws_restJson1CreateApplicationVersionCommand = async (output, c
614
614
  contents.RequiredCapabilities = deserializeAws_restJson1__listOfCapability(data.requiredCapabilities, context);
615
615
  }
616
616
  if (data.resourcesSupported !== undefined && data.resourcesSupported !== null) {
617
- contents.ResourcesSupported = smithy_client_1.expectBoolean(data.resourcesSupported);
617
+ contents.ResourcesSupported = (0, smithy_client_1.expectBoolean)(data.resourcesSupported);
618
618
  }
619
619
  if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
620
- contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
620
+ contents.SemanticVersion = (0, smithy_client_1.expectString)(data.semanticVersion);
621
621
  }
622
622
  if (data.sourceCodeArchiveUrl !== undefined && data.sourceCodeArchiveUrl !== null) {
623
- contents.SourceCodeArchiveUrl = smithy_client_1.expectString(data.sourceCodeArchiveUrl);
623
+ contents.SourceCodeArchiveUrl = (0, smithy_client_1.expectString)(data.sourceCodeArchiveUrl);
624
624
  }
625
625
  if (data.sourceCodeUrl !== undefined && data.sourceCodeUrl !== null) {
626
- contents.SourceCodeUrl = smithy_client_1.expectString(data.sourceCodeUrl);
626
+ contents.SourceCodeUrl = (0, smithy_client_1.expectString)(data.sourceCodeUrl);
627
627
  }
628
628
  if (data.templateUrl !== undefined && data.templateUrl !== null) {
629
- contents.TemplateUrl = smithy_client_1.expectString(data.templateUrl);
629
+ contents.TemplateUrl = (0, smithy_client_1.expectString)(data.templateUrl);
630
630
  }
631
631
  return Promise.resolve(contents);
632
632
  };
@@ -662,7 +662,7 @@ const deserializeAws_restJson1CreateApplicationVersionCommandError = async (outp
662
662
  $fault: "client",
663
663
  $metadata: deserializeMetadata(output),
664
664
  });
665
- throw smithy_client_1.decorateServiceException(response, parsedBody);
665
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
666
666
  }
667
667
  };
668
668
  const deserializeAws_restJson1CreateCloudFormationChangeSetCommand = async (output, context) => {
@@ -676,18 +676,18 @@ const deserializeAws_restJson1CreateCloudFormationChangeSetCommand = async (outp
676
676
  SemanticVersion: undefined,
677
677
  StackId: undefined,
678
678
  };
679
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
679
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
680
680
  if (data.applicationId !== undefined && data.applicationId !== null) {
681
- contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
681
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
682
682
  }
683
683
  if (data.changeSetId !== undefined && data.changeSetId !== null) {
684
- contents.ChangeSetId = smithy_client_1.expectString(data.changeSetId);
684
+ contents.ChangeSetId = (0, smithy_client_1.expectString)(data.changeSetId);
685
685
  }
686
686
  if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
687
- contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
687
+ contents.SemanticVersion = (0, smithy_client_1.expectString)(data.semanticVersion);
688
688
  }
689
689
  if (data.stackId !== undefined && data.stackId !== null) {
690
- contents.StackId = smithy_client_1.expectString(data.stackId);
690
+ contents.StackId = (0, smithy_client_1.expectString)(data.stackId);
691
691
  }
692
692
  return Promise.resolve(contents);
693
693
  };
@@ -720,7 +720,7 @@ const deserializeAws_restJson1CreateCloudFormationChangeSetCommandError = async
720
720
  $fault: "client",
721
721
  $metadata: deserializeMetadata(output),
722
722
  });
723
- throw smithy_client_1.decorateServiceException(response, parsedBody);
723
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
724
724
  }
725
725
  };
726
726
  const deserializeAws_restJson1CreateCloudFormationTemplateCommand = async (output, context) => {
@@ -737,27 +737,27 @@ const deserializeAws_restJson1CreateCloudFormationTemplateCommand = async (outpu
737
737
  TemplateId: undefined,
738
738
  TemplateUrl: undefined,
739
739
  };
740
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
740
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
741
741
  if (data.applicationId !== undefined && data.applicationId !== null) {
742
- contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
742
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
743
743
  }
744
744
  if (data.creationTime !== undefined && data.creationTime !== null) {
745
- contents.CreationTime = smithy_client_1.expectString(data.creationTime);
745
+ contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
746
746
  }
747
747
  if (data.expirationTime !== undefined && data.expirationTime !== null) {
748
- contents.ExpirationTime = smithy_client_1.expectString(data.expirationTime);
748
+ contents.ExpirationTime = (0, smithy_client_1.expectString)(data.expirationTime);
749
749
  }
750
750
  if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
751
- contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
751
+ contents.SemanticVersion = (0, smithy_client_1.expectString)(data.semanticVersion);
752
752
  }
753
753
  if (data.status !== undefined && data.status !== null) {
754
- contents.Status = smithy_client_1.expectString(data.status);
754
+ contents.Status = (0, smithy_client_1.expectString)(data.status);
755
755
  }
756
756
  if (data.templateId !== undefined && data.templateId !== null) {
757
- contents.TemplateId = smithy_client_1.expectString(data.templateId);
757
+ contents.TemplateId = (0, smithy_client_1.expectString)(data.templateId);
758
758
  }
759
759
  if (data.templateUrl !== undefined && data.templateUrl !== null) {
760
- contents.TemplateUrl = smithy_client_1.expectString(data.templateUrl);
760
+ contents.TemplateUrl = (0, smithy_client_1.expectString)(data.templateUrl);
761
761
  }
762
762
  return Promise.resolve(contents);
763
763
  };
@@ -793,7 +793,7 @@ const deserializeAws_restJson1CreateCloudFormationTemplateCommandError = async (
793
793
  $fault: "client",
794
794
  $metadata: deserializeMetadata(output),
795
795
  });
796
- throw smithy_client_1.decorateServiceException(response, parsedBody);
796
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
797
797
  }
798
798
  };
799
799
  const deserializeAws_restJson1DeleteApplicationCommand = async (output, context) => {
@@ -841,7 +841,7 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
841
841
  $fault: "client",
842
842
  $metadata: deserializeMetadata(output),
843
843
  });
844
- throw smithy_client_1.decorateServiceException(response, parsedBody);
844
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
845
845
  }
846
846
  };
847
847
  const deserializeAws_restJson1GetApplicationCommand = async (output, context) => {
@@ -864,42 +864,42 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
864
864
  VerifiedAuthorUrl: undefined,
865
865
  Version: undefined,
866
866
  };
867
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
867
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
868
868
  if (data.applicationId !== undefined && data.applicationId !== null) {
869
- contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
869
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
870
870
  }
871
871
  if (data.author !== undefined && data.author !== null) {
872
- contents.Author = smithy_client_1.expectString(data.author);
872
+ contents.Author = (0, smithy_client_1.expectString)(data.author);
873
873
  }
874
874
  if (data.creationTime !== undefined && data.creationTime !== null) {
875
- contents.CreationTime = smithy_client_1.expectString(data.creationTime);
875
+ contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
876
876
  }
877
877
  if (data.description !== undefined && data.description !== null) {
878
- contents.Description = smithy_client_1.expectString(data.description);
878
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
879
879
  }
880
880
  if (data.homePageUrl !== undefined && data.homePageUrl !== null) {
881
- contents.HomePageUrl = smithy_client_1.expectString(data.homePageUrl);
881
+ contents.HomePageUrl = (0, smithy_client_1.expectString)(data.homePageUrl);
882
882
  }
883
883
  if (data.isVerifiedAuthor !== undefined && data.isVerifiedAuthor !== null) {
884
- contents.IsVerifiedAuthor = smithy_client_1.expectBoolean(data.isVerifiedAuthor);
884
+ contents.IsVerifiedAuthor = (0, smithy_client_1.expectBoolean)(data.isVerifiedAuthor);
885
885
  }
886
886
  if (data.labels !== undefined && data.labels !== null) {
887
887
  contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
888
888
  }
889
889
  if (data.licenseUrl !== undefined && data.licenseUrl !== null) {
890
- contents.LicenseUrl = smithy_client_1.expectString(data.licenseUrl);
890
+ contents.LicenseUrl = (0, smithy_client_1.expectString)(data.licenseUrl);
891
891
  }
892
892
  if (data.name !== undefined && data.name !== null) {
893
- contents.Name = smithy_client_1.expectString(data.name);
893
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
894
894
  }
895
895
  if (data.readmeUrl !== undefined && data.readmeUrl !== null) {
896
- contents.ReadmeUrl = smithy_client_1.expectString(data.readmeUrl);
896
+ contents.ReadmeUrl = (0, smithy_client_1.expectString)(data.readmeUrl);
897
897
  }
898
898
  if (data.spdxLicenseId !== undefined && data.spdxLicenseId !== null) {
899
- contents.SpdxLicenseId = smithy_client_1.expectString(data.spdxLicenseId);
899
+ contents.SpdxLicenseId = (0, smithy_client_1.expectString)(data.spdxLicenseId);
900
900
  }
901
901
  if (data.verifiedAuthorUrl !== undefined && data.verifiedAuthorUrl !== null) {
902
- contents.VerifiedAuthorUrl = smithy_client_1.expectString(data.verifiedAuthorUrl);
902
+ contents.VerifiedAuthorUrl = (0, smithy_client_1.expectString)(data.verifiedAuthorUrl);
903
903
  }
904
904
  if (data.version !== undefined && data.version !== null) {
905
905
  contents.Version = deserializeAws_restJson1Version(data.version, context);
@@ -938,7 +938,7 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
938
938
  $fault: "client",
939
939
  $metadata: deserializeMetadata(output),
940
940
  });
941
- throw smithy_client_1.decorateServiceException(response, parsedBody);
941
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
942
942
  }
943
943
  };
944
944
  const deserializeAws_restJson1GetApplicationPolicyCommand = async (output, context) => {
@@ -949,7 +949,7 @@ const deserializeAws_restJson1GetApplicationPolicyCommand = async (output, conte
949
949
  $metadata: deserializeMetadata(output),
950
950
  Statements: undefined,
951
951
  };
952
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
952
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
953
953
  if (data.statements !== undefined && data.statements !== null) {
954
954
  contents.Statements = deserializeAws_restJson1__listOfApplicationPolicyStatement(data.statements, context);
955
955
  }
@@ -987,7 +987,7 @@ const deserializeAws_restJson1GetApplicationPolicyCommandError = async (output,
987
987
  $fault: "client",
988
988
  $metadata: deserializeMetadata(output),
989
989
  });
990
- throw smithy_client_1.decorateServiceException(response, parsedBody);
990
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
991
991
  }
992
992
  };
993
993
  const deserializeAws_restJson1GetCloudFormationTemplateCommand = async (output, context) => {
@@ -1004,27 +1004,27 @@ const deserializeAws_restJson1GetCloudFormationTemplateCommand = async (output,
1004
1004
  TemplateId: undefined,
1005
1005
  TemplateUrl: undefined,
1006
1006
  };
1007
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1007
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1008
1008
  if (data.applicationId !== undefined && data.applicationId !== null) {
1009
- contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
1009
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
1010
1010
  }
1011
1011
  if (data.creationTime !== undefined && data.creationTime !== null) {
1012
- contents.CreationTime = smithy_client_1.expectString(data.creationTime);
1012
+ contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
1013
1013
  }
1014
1014
  if (data.expirationTime !== undefined && data.expirationTime !== null) {
1015
- contents.ExpirationTime = smithy_client_1.expectString(data.expirationTime);
1015
+ contents.ExpirationTime = (0, smithy_client_1.expectString)(data.expirationTime);
1016
1016
  }
1017
1017
  if (data.semanticVersion !== undefined && data.semanticVersion !== null) {
1018
- contents.SemanticVersion = smithy_client_1.expectString(data.semanticVersion);
1018
+ contents.SemanticVersion = (0, smithy_client_1.expectString)(data.semanticVersion);
1019
1019
  }
1020
1020
  if (data.status !== undefined && data.status !== null) {
1021
- contents.Status = smithy_client_1.expectString(data.status);
1021
+ contents.Status = (0, smithy_client_1.expectString)(data.status);
1022
1022
  }
1023
1023
  if (data.templateId !== undefined && data.templateId !== null) {
1024
- contents.TemplateId = smithy_client_1.expectString(data.templateId);
1024
+ contents.TemplateId = (0, smithy_client_1.expectString)(data.templateId);
1025
1025
  }
1026
1026
  if (data.templateUrl !== undefined && data.templateUrl !== null) {
1027
- contents.TemplateUrl = smithy_client_1.expectString(data.templateUrl);
1027
+ contents.TemplateUrl = (0, smithy_client_1.expectString)(data.templateUrl);
1028
1028
  }
1029
1029
  return Promise.resolve(contents);
1030
1030
  };
@@ -1060,7 +1060,7 @@ const deserializeAws_restJson1GetCloudFormationTemplateCommandError = async (out
1060
1060
  $fault: "client",
1061
1061
  $metadata: deserializeMetadata(output),
1062
1062
  });
1063
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1063
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1064
1064
  }
1065
1065
  };
1066
1066
  const deserializeAws_restJson1ListApplicationDependenciesCommand = async (output, context) => {
@@ -1072,12 +1072,12 @@ const deserializeAws_restJson1ListApplicationDependenciesCommand = async (output
1072
1072
  Dependencies: undefined,
1073
1073
  NextToken: undefined,
1074
1074
  };
1075
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1075
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1076
1076
  if (data.dependencies !== undefined && data.dependencies !== null) {
1077
1077
  contents.Dependencies = deserializeAws_restJson1__listOfApplicationDependencySummary(data.dependencies, context);
1078
1078
  }
1079
1079
  if (data.nextToken !== undefined && data.nextToken !== null) {
1080
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
1080
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1081
1081
  }
1082
1082
  return Promise.resolve(contents);
1083
1083
  };
@@ -1113,7 +1113,7 @@ const deserializeAws_restJson1ListApplicationDependenciesCommandError = async (o
1113
1113
  $fault: "client",
1114
1114
  $metadata: deserializeMetadata(output),
1115
1115
  });
1116
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1116
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1117
1117
  }
1118
1118
  };
1119
1119
  const deserializeAws_restJson1ListApplicationsCommand = async (output, context) => {
@@ -1125,12 +1125,12 @@ const deserializeAws_restJson1ListApplicationsCommand = async (output, context)
1125
1125
  Applications: undefined,
1126
1126
  NextToken: undefined,
1127
1127
  };
1128
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1128
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1129
1129
  if (data.applications !== undefined && data.applications !== null) {
1130
1130
  contents.Applications = deserializeAws_restJson1__listOfApplicationSummary(data.applications, context);
1131
1131
  }
1132
1132
  if (data.nextToken !== undefined && data.nextToken !== null) {
1133
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
1133
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1134
1134
  }
1135
1135
  return Promise.resolve(contents);
1136
1136
  };
@@ -1163,7 +1163,7 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
1163
1163
  $fault: "client",
1164
1164
  $metadata: deserializeMetadata(output),
1165
1165
  });
1166
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1166
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1167
1167
  }
1168
1168
  };
1169
1169
  const deserializeAws_restJson1ListApplicationVersionsCommand = async (output, context) => {
@@ -1175,9 +1175,9 @@ const deserializeAws_restJson1ListApplicationVersionsCommand = async (output, co
1175
1175
  NextToken: undefined,
1176
1176
  Versions: undefined,
1177
1177
  };
1178
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1178
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1179
1179
  if (data.nextToken !== undefined && data.nextToken !== null) {
1180
- contents.NextToken = smithy_client_1.expectString(data.nextToken);
1180
+ contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1181
1181
  }
1182
1182
  if (data.versions !== undefined && data.versions !== null) {
1183
1183
  contents.Versions = deserializeAws_restJson1__listOfVersionSummary(data.versions, context);
@@ -1216,7 +1216,7 @@ const deserializeAws_restJson1ListApplicationVersionsCommandError = async (outpu
1216
1216
  $fault: "client",
1217
1217
  $metadata: deserializeMetadata(output),
1218
1218
  });
1219
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1219
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1220
1220
  }
1221
1221
  };
1222
1222
  const deserializeAws_restJson1PutApplicationPolicyCommand = async (output, context) => {
@@ -1227,7 +1227,7 @@ const deserializeAws_restJson1PutApplicationPolicyCommand = async (output, conte
1227
1227
  $metadata: deserializeMetadata(output),
1228
1228
  Statements: undefined,
1229
1229
  };
1230
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1230
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1231
1231
  if (data.statements !== undefined && data.statements !== null) {
1232
1232
  contents.Statements = deserializeAws_restJson1__listOfApplicationPolicyStatement(data.statements, context);
1233
1233
  }
@@ -1265,7 +1265,7 @@ const deserializeAws_restJson1PutApplicationPolicyCommandError = async (output,
1265
1265
  $fault: "client",
1266
1266
  $metadata: deserializeMetadata(output),
1267
1267
  });
1268
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1268
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1269
1269
  }
1270
1270
  };
1271
1271
  const deserializeAws_restJson1UnshareApplicationCommand = async (output, context) => {
@@ -1310,7 +1310,7 @@ const deserializeAws_restJson1UnshareApplicationCommandError = async (output, co
1310
1310
  $fault: "client",
1311
1311
  $metadata: deserializeMetadata(output),
1312
1312
  });
1313
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1313
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1314
1314
  }
1315
1315
  };
1316
1316
  const deserializeAws_restJson1UpdateApplicationCommand = async (output, context) => {
@@ -1333,42 +1333,42 @@ const deserializeAws_restJson1UpdateApplicationCommand = async (output, context)
1333
1333
  VerifiedAuthorUrl: undefined,
1334
1334
  Version: undefined,
1335
1335
  };
1336
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1336
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1337
1337
  if (data.applicationId !== undefined && data.applicationId !== null) {
1338
- contents.ApplicationId = smithy_client_1.expectString(data.applicationId);
1338
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.applicationId);
1339
1339
  }
1340
1340
  if (data.author !== undefined && data.author !== null) {
1341
- contents.Author = smithy_client_1.expectString(data.author);
1341
+ contents.Author = (0, smithy_client_1.expectString)(data.author);
1342
1342
  }
1343
1343
  if (data.creationTime !== undefined && data.creationTime !== null) {
1344
- contents.CreationTime = smithy_client_1.expectString(data.creationTime);
1344
+ contents.CreationTime = (0, smithy_client_1.expectString)(data.creationTime);
1345
1345
  }
1346
1346
  if (data.description !== undefined && data.description !== null) {
1347
- contents.Description = smithy_client_1.expectString(data.description);
1347
+ contents.Description = (0, smithy_client_1.expectString)(data.description);
1348
1348
  }
1349
1349
  if (data.homePageUrl !== undefined && data.homePageUrl !== null) {
1350
- contents.HomePageUrl = smithy_client_1.expectString(data.homePageUrl);
1350
+ contents.HomePageUrl = (0, smithy_client_1.expectString)(data.homePageUrl);
1351
1351
  }
1352
1352
  if (data.isVerifiedAuthor !== undefined && data.isVerifiedAuthor !== null) {
1353
- contents.IsVerifiedAuthor = smithy_client_1.expectBoolean(data.isVerifiedAuthor);
1353
+ contents.IsVerifiedAuthor = (0, smithy_client_1.expectBoolean)(data.isVerifiedAuthor);
1354
1354
  }
1355
1355
  if (data.labels !== undefined && data.labels !== null) {
1356
1356
  contents.Labels = deserializeAws_restJson1__listOf__string(data.labels, context);
1357
1357
  }
1358
1358
  if (data.licenseUrl !== undefined && data.licenseUrl !== null) {
1359
- contents.LicenseUrl = smithy_client_1.expectString(data.licenseUrl);
1359
+ contents.LicenseUrl = (0, smithy_client_1.expectString)(data.licenseUrl);
1360
1360
  }
1361
1361
  if (data.name !== undefined && data.name !== null) {
1362
- contents.Name = smithy_client_1.expectString(data.name);
1362
+ contents.Name = (0, smithy_client_1.expectString)(data.name);
1363
1363
  }
1364
1364
  if (data.readmeUrl !== undefined && data.readmeUrl !== null) {
1365
- contents.ReadmeUrl = smithy_client_1.expectString(data.readmeUrl);
1365
+ contents.ReadmeUrl = (0, smithy_client_1.expectString)(data.readmeUrl);
1366
1366
  }
1367
1367
  if (data.spdxLicenseId !== undefined && data.spdxLicenseId !== null) {
1368
- contents.SpdxLicenseId = smithy_client_1.expectString(data.spdxLicenseId);
1368
+ contents.SpdxLicenseId = (0, smithy_client_1.expectString)(data.spdxLicenseId);
1369
1369
  }
1370
1370
  if (data.verifiedAuthorUrl !== undefined && data.verifiedAuthorUrl !== null) {
1371
- contents.VerifiedAuthorUrl = smithy_client_1.expectString(data.verifiedAuthorUrl);
1371
+ contents.VerifiedAuthorUrl = (0, smithy_client_1.expectString)(data.verifiedAuthorUrl);
1372
1372
  }
1373
1373
  if (data.version !== undefined && data.version !== null) {
1374
1374
  contents.Version = deserializeAws_restJson1Version(data.version, context);
@@ -1410,98 +1410,98 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
1410
1410
  $fault: "client",
1411
1411
  $metadata: deserializeMetadata(output),
1412
1412
  });
1413
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1413
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1414
1414
  }
1415
1415
  };
1416
1416
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
1417
1417
  const contents = {};
1418
1418
  const data = parsedOutput.body;
1419
1419
  if (data.errorCode !== undefined && data.errorCode !== null) {
1420
- contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1420
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1421
1421
  }
1422
1422
  if (data.message !== undefined && data.message !== null) {
1423
- contents.Message = smithy_client_1.expectString(data.message);
1423
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
1424
1424
  }
1425
1425
  const exception = new models_0_1.BadRequestException({
1426
1426
  $metadata: deserializeMetadata(parsedOutput),
1427
1427
  ...contents,
1428
1428
  });
1429
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1429
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1430
1430
  };
1431
1431
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1432
1432
  const contents = {};
1433
1433
  const data = parsedOutput.body;
1434
1434
  if (data.errorCode !== undefined && data.errorCode !== null) {
1435
- contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1435
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1436
1436
  }
1437
1437
  if (data.message !== undefined && data.message !== null) {
1438
- contents.Message = smithy_client_1.expectString(data.message);
1438
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
1439
1439
  }
1440
1440
  const exception = new models_0_1.ConflictException({
1441
1441
  $metadata: deserializeMetadata(parsedOutput),
1442
1442
  ...contents,
1443
1443
  });
1444
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1444
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1445
1445
  };
1446
1446
  const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
1447
1447
  const contents = {};
1448
1448
  const data = parsedOutput.body;
1449
1449
  if (data.errorCode !== undefined && data.errorCode !== null) {
1450
- contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1450
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1451
1451
  }
1452
1452
  if (data.message !== undefined && data.message !== null) {
1453
- contents.Message = smithy_client_1.expectString(data.message);
1453
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
1454
1454
  }
1455
1455
  const exception = new models_0_1.ForbiddenException({
1456
1456
  $metadata: deserializeMetadata(parsedOutput),
1457
1457
  ...contents,
1458
1458
  });
1459
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1459
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1460
1460
  };
1461
1461
  const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
1462
1462
  const contents = {};
1463
1463
  const data = parsedOutput.body;
1464
1464
  if (data.errorCode !== undefined && data.errorCode !== null) {
1465
- contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1465
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1466
1466
  }
1467
1467
  if (data.message !== undefined && data.message !== null) {
1468
- contents.Message = smithy_client_1.expectString(data.message);
1468
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
1469
1469
  }
1470
1470
  const exception = new models_0_1.InternalServerErrorException({
1471
1471
  $metadata: deserializeMetadata(parsedOutput),
1472
1472
  ...contents,
1473
1473
  });
1474
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1474
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1475
1475
  };
1476
1476
  const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
1477
1477
  const contents = {};
1478
1478
  const data = parsedOutput.body;
1479
1479
  if (data.errorCode !== undefined && data.errorCode !== null) {
1480
- contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1480
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1481
1481
  }
1482
1482
  if (data.message !== undefined && data.message !== null) {
1483
- contents.Message = smithy_client_1.expectString(data.message);
1483
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
1484
1484
  }
1485
1485
  const exception = new models_0_1.NotFoundException({
1486
1486
  $metadata: deserializeMetadata(parsedOutput),
1487
1487
  ...contents,
1488
1488
  });
1489
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1489
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1490
1490
  };
1491
1491
  const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
1492
1492
  const contents = {};
1493
1493
  const data = parsedOutput.body;
1494
1494
  if (data.errorCode !== undefined && data.errorCode !== null) {
1495
- contents.ErrorCode = smithy_client_1.expectString(data.errorCode);
1495
+ contents.ErrorCode = (0, smithy_client_1.expectString)(data.errorCode);
1496
1496
  }
1497
1497
  if (data.message !== undefined && data.message !== null) {
1498
- contents.Message = smithy_client_1.expectString(data.message);
1498
+ contents.Message = (0, smithy_client_1.expectString)(data.message);
1499
1499
  }
1500
1500
  const exception = new models_0_1.TooManyRequestsException({
1501
1501
  $metadata: deserializeMetadata(parsedOutput),
1502
1502
  ...contents,
1503
1503
  });
1504
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1504
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1505
1505
  };
1506
1506
  const serializeAws_restJson1__listOf__string = (input, context) => {
1507
1507
  return input
@@ -1601,7 +1601,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
1601
1601
  if (entry === null) {
1602
1602
  return null;
1603
1603
  }
1604
- return smithy_client_1.expectString(entry);
1604
+ return (0, smithy_client_1.expectString)(entry);
1605
1605
  });
1606
1606
  return retVal;
1607
1607
  };
@@ -1645,7 +1645,7 @@ const deserializeAws_restJson1__listOfCapability = (output, context) => {
1645
1645
  if (entry === null) {
1646
1646
  return null;
1647
1647
  }
1648
- return smithy_client_1.expectString(entry);
1648
+ return (0, smithy_client_1.expectString)(entry);
1649
1649
  });
1650
1650
  return retVal;
1651
1651
  };
@@ -1673,8 +1673,8 @@ const deserializeAws_restJson1__listOfVersionSummary = (output, context) => {
1673
1673
  };
1674
1674
  const deserializeAws_restJson1ApplicationDependencySummary = (output, context) => {
1675
1675
  return {
1676
- ApplicationId: smithy_client_1.expectString(output.applicationId),
1677
- SemanticVersion: smithy_client_1.expectString(output.semanticVersion),
1676
+ ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
1677
+ SemanticVersion: (0, smithy_client_1.expectString)(output.semanticVersion),
1678
1678
  };
1679
1679
  };
1680
1680
  const deserializeAws_restJson1ApplicationPolicyStatement = (output, context) => {
@@ -1688,67 +1688,67 @@ const deserializeAws_restJson1ApplicationPolicyStatement = (output, context) =>
1688
1688
  Principals: output.principals !== undefined && output.principals !== null
1689
1689
  ? deserializeAws_restJson1__listOf__string(output.principals, context)
1690
1690
  : undefined,
1691
- StatementId: smithy_client_1.expectString(output.statementId),
1691
+ StatementId: (0, smithy_client_1.expectString)(output.statementId),
1692
1692
  };
1693
1693
  };
1694
1694
  const deserializeAws_restJson1ApplicationSummary = (output, context) => {
1695
1695
  return {
1696
- ApplicationId: smithy_client_1.expectString(output.applicationId),
1697
- Author: smithy_client_1.expectString(output.author),
1698
- CreationTime: smithy_client_1.expectString(output.creationTime),
1699
- Description: smithy_client_1.expectString(output.description),
1700
- HomePageUrl: smithy_client_1.expectString(output.homePageUrl),
1696
+ ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
1697
+ Author: (0, smithy_client_1.expectString)(output.author),
1698
+ CreationTime: (0, smithy_client_1.expectString)(output.creationTime),
1699
+ Description: (0, smithy_client_1.expectString)(output.description),
1700
+ HomePageUrl: (0, smithy_client_1.expectString)(output.homePageUrl),
1701
1701
  Labels: output.labels !== undefined && output.labels !== null
1702
1702
  ? deserializeAws_restJson1__listOf__string(output.labels, context)
1703
1703
  : undefined,
1704
- Name: smithy_client_1.expectString(output.name),
1705
- SpdxLicenseId: smithy_client_1.expectString(output.spdxLicenseId),
1704
+ Name: (0, smithy_client_1.expectString)(output.name),
1705
+ SpdxLicenseId: (0, smithy_client_1.expectString)(output.spdxLicenseId),
1706
1706
  };
1707
1707
  };
1708
1708
  const deserializeAws_restJson1ParameterDefinition = (output, context) => {
1709
1709
  return {
1710
- AllowedPattern: smithy_client_1.expectString(output.allowedPattern),
1710
+ AllowedPattern: (0, smithy_client_1.expectString)(output.allowedPattern),
1711
1711
  AllowedValues: output.allowedValues !== undefined && output.allowedValues !== null
1712
1712
  ? deserializeAws_restJson1__listOf__string(output.allowedValues, context)
1713
1713
  : undefined,
1714
- ConstraintDescription: smithy_client_1.expectString(output.constraintDescription),
1715
- DefaultValue: smithy_client_1.expectString(output.defaultValue),
1716
- Description: smithy_client_1.expectString(output.description),
1717
- MaxLength: smithy_client_1.expectInt32(output.maxLength),
1718
- MaxValue: smithy_client_1.expectInt32(output.maxValue),
1719
- MinLength: smithy_client_1.expectInt32(output.minLength),
1720
- MinValue: smithy_client_1.expectInt32(output.minValue),
1721
- Name: smithy_client_1.expectString(output.name),
1722
- NoEcho: smithy_client_1.expectBoolean(output.noEcho),
1714
+ ConstraintDescription: (0, smithy_client_1.expectString)(output.constraintDescription),
1715
+ DefaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
1716
+ Description: (0, smithy_client_1.expectString)(output.description),
1717
+ MaxLength: (0, smithy_client_1.expectInt32)(output.maxLength),
1718
+ MaxValue: (0, smithy_client_1.expectInt32)(output.maxValue),
1719
+ MinLength: (0, smithy_client_1.expectInt32)(output.minLength),
1720
+ MinValue: (0, smithy_client_1.expectInt32)(output.minValue),
1721
+ Name: (0, smithy_client_1.expectString)(output.name),
1722
+ NoEcho: (0, smithy_client_1.expectBoolean)(output.noEcho),
1723
1723
  ReferencedByResources: output.referencedByResources !== undefined && output.referencedByResources !== null
1724
1724
  ? deserializeAws_restJson1__listOf__string(output.referencedByResources, context)
1725
1725
  : undefined,
1726
- Type: smithy_client_1.expectString(output.type),
1726
+ Type: (0, smithy_client_1.expectString)(output.type),
1727
1727
  };
1728
1728
  };
1729
1729
  const deserializeAws_restJson1Version = (output, context) => {
1730
1730
  return {
1731
- ApplicationId: smithy_client_1.expectString(output.applicationId),
1732
- CreationTime: smithy_client_1.expectString(output.creationTime),
1731
+ ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
1732
+ CreationTime: (0, smithy_client_1.expectString)(output.creationTime),
1733
1733
  ParameterDefinitions: output.parameterDefinitions !== undefined && output.parameterDefinitions !== null
1734
1734
  ? deserializeAws_restJson1__listOfParameterDefinition(output.parameterDefinitions, context)
1735
1735
  : undefined,
1736
1736
  RequiredCapabilities: output.requiredCapabilities !== undefined && output.requiredCapabilities !== null
1737
1737
  ? deserializeAws_restJson1__listOfCapability(output.requiredCapabilities, context)
1738
1738
  : undefined,
1739
- ResourcesSupported: smithy_client_1.expectBoolean(output.resourcesSupported),
1740
- SemanticVersion: smithy_client_1.expectString(output.semanticVersion),
1741
- SourceCodeArchiveUrl: smithy_client_1.expectString(output.sourceCodeArchiveUrl),
1742
- SourceCodeUrl: smithy_client_1.expectString(output.sourceCodeUrl),
1743
- TemplateUrl: smithy_client_1.expectString(output.templateUrl),
1739
+ ResourcesSupported: (0, smithy_client_1.expectBoolean)(output.resourcesSupported),
1740
+ SemanticVersion: (0, smithy_client_1.expectString)(output.semanticVersion),
1741
+ SourceCodeArchiveUrl: (0, smithy_client_1.expectString)(output.sourceCodeArchiveUrl),
1742
+ SourceCodeUrl: (0, smithy_client_1.expectString)(output.sourceCodeUrl),
1743
+ TemplateUrl: (0, smithy_client_1.expectString)(output.templateUrl),
1744
1744
  };
1745
1745
  };
1746
1746
  const deserializeAws_restJson1VersionSummary = (output, context) => {
1747
1747
  return {
1748
- ApplicationId: smithy_client_1.expectString(output.applicationId),
1749
- CreationTime: smithy_client_1.expectString(output.creationTime),
1750
- SemanticVersion: smithy_client_1.expectString(output.semanticVersion),
1751
- SourceCodeUrl: smithy_client_1.expectString(output.sourceCodeUrl),
1748
+ ApplicationId: (0, smithy_client_1.expectString)(output.applicationId),
1749
+ CreationTime: (0, smithy_client_1.expectString)(output.creationTime),
1750
+ SemanticVersion: (0, smithy_client_1.expectString)(output.semanticVersion),
1751
+ SourceCodeUrl: (0, smithy_client_1.expectString)(output.sourceCodeUrl),
1752
1752
  };
1753
1753
  };
1754
1754
  const deserializeMetadata = (output) => {