@aws-sdk/client-appstream 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 (88) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/AppStreamClient.js +13 -13
  3. package/dist-cjs/commands/AssociateApplicationFleetCommand.js +3 -3
  4. package/dist-cjs/commands/AssociateApplicationToEntitlementCommand.js +3 -3
  5. package/dist-cjs/commands/AssociateFleetCommand.js +3 -3
  6. package/dist-cjs/commands/BatchAssociateUserStackCommand.js +3 -3
  7. package/dist-cjs/commands/BatchDisassociateUserStackCommand.js +3 -3
  8. package/dist-cjs/commands/CopyImageCommand.js +3 -3
  9. package/dist-cjs/commands/CreateAppBlockCommand.js +3 -3
  10. package/dist-cjs/commands/CreateApplicationCommand.js +3 -3
  11. package/dist-cjs/commands/CreateDirectoryConfigCommand.js +3 -3
  12. package/dist-cjs/commands/CreateEntitlementCommand.js +3 -3
  13. package/dist-cjs/commands/CreateFleetCommand.js +3 -3
  14. package/dist-cjs/commands/CreateImageBuilderCommand.js +3 -3
  15. package/dist-cjs/commands/CreateImageBuilderStreamingURLCommand.js +3 -3
  16. package/dist-cjs/commands/CreateStackCommand.js +3 -3
  17. package/dist-cjs/commands/CreateStreamingURLCommand.js +3 -3
  18. package/dist-cjs/commands/CreateUpdatedImageCommand.js +3 -3
  19. package/dist-cjs/commands/CreateUsageReportSubscriptionCommand.js +3 -3
  20. package/dist-cjs/commands/CreateUserCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteAppBlockCommand.js +3 -3
  22. package/dist-cjs/commands/DeleteApplicationCommand.js +3 -3
  23. package/dist-cjs/commands/DeleteDirectoryConfigCommand.js +3 -3
  24. package/dist-cjs/commands/DeleteEntitlementCommand.js +3 -3
  25. package/dist-cjs/commands/DeleteFleetCommand.js +3 -3
  26. package/dist-cjs/commands/DeleteImageBuilderCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteImageCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteImagePermissionsCommand.js +3 -3
  29. package/dist-cjs/commands/DeleteStackCommand.js +3 -3
  30. package/dist-cjs/commands/DeleteUsageReportSubscriptionCommand.js +3 -3
  31. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  32. package/dist-cjs/commands/DescribeAppBlocksCommand.js +3 -3
  33. package/dist-cjs/commands/DescribeApplicationFleetAssociationsCommand.js +3 -3
  34. package/dist-cjs/commands/DescribeApplicationsCommand.js +3 -3
  35. package/dist-cjs/commands/DescribeDirectoryConfigsCommand.js +3 -3
  36. package/dist-cjs/commands/DescribeEntitlementsCommand.js +3 -3
  37. package/dist-cjs/commands/DescribeFleetsCommand.js +3 -3
  38. package/dist-cjs/commands/DescribeImageBuildersCommand.js +3 -3
  39. package/dist-cjs/commands/DescribeImagePermissionsCommand.js +3 -3
  40. package/dist-cjs/commands/DescribeImagesCommand.js +3 -3
  41. package/dist-cjs/commands/DescribeSessionsCommand.js +3 -3
  42. package/dist-cjs/commands/DescribeStacksCommand.js +3 -3
  43. package/dist-cjs/commands/DescribeUsageReportSubscriptionsCommand.js +3 -3
  44. package/dist-cjs/commands/DescribeUserStackAssociationsCommand.js +3 -3
  45. package/dist-cjs/commands/DescribeUsersCommand.js +3 -3
  46. package/dist-cjs/commands/DisableUserCommand.js +3 -3
  47. package/dist-cjs/commands/DisassociateApplicationFleetCommand.js +3 -3
  48. package/dist-cjs/commands/DisassociateApplicationFromEntitlementCommand.js +3 -3
  49. package/dist-cjs/commands/DisassociateFleetCommand.js +3 -3
  50. package/dist-cjs/commands/EnableUserCommand.js +3 -3
  51. package/dist-cjs/commands/ExpireSessionCommand.js +3 -3
  52. package/dist-cjs/commands/ListAssociatedFleetsCommand.js +3 -3
  53. package/dist-cjs/commands/ListAssociatedStacksCommand.js +3 -3
  54. package/dist-cjs/commands/ListEntitledApplicationsCommand.js +3 -3
  55. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  56. package/dist-cjs/commands/StartFleetCommand.js +3 -3
  57. package/dist-cjs/commands/StartImageBuilderCommand.js +3 -3
  58. package/dist-cjs/commands/StopFleetCommand.js +3 -3
  59. package/dist-cjs/commands/StopImageBuilderCommand.js +3 -3
  60. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  61. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  62. package/dist-cjs/commands/UpdateApplicationCommand.js +3 -3
  63. package/dist-cjs/commands/UpdateDirectoryConfigCommand.js +3 -3
  64. package/dist-cjs/commands/UpdateEntitlementCommand.js +3 -3
  65. package/dist-cjs/commands/UpdateFleetCommand.js +3 -3
  66. package/dist-cjs/commands/UpdateImagePermissionsCommand.js +3 -3
  67. package/dist-cjs/commands/UpdateStackCommand.js +3 -3
  68. package/dist-cjs/endpoints.js +1 -1
  69. package/dist-cjs/protocols/Aws_json1_1.js +274 -274
  70. package/dist-cjs/runtimeConfig.browser.js +4 -4
  71. package/dist-cjs/runtimeConfig.js +9 -9
  72. package/dist-cjs/runtimeConfig.native.js +1 -1
  73. package/dist-cjs/waiters/waitForFleetStarted.js +3 -3
  74. package/dist-cjs/waiters/waitForFleetStopped.js +3 -3
  75. package/dist-es/AppStream.js +65 -65
  76. package/dist-es/pagination/DescribeImagePermissionsPaginator.js +4 -4
  77. package/dist-es/pagination/DescribeImagesPaginator.js +4 -4
  78. package/dist-es/waiters/waitForFleetStarted.js +3 -3
  79. package/dist-es/waiters/waitForFleetStopped.js +3 -3
  80. package/dist-types/AppStreamClient.d.ts +2 -2
  81. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  82. package/dist-types/runtimeConfig.d.ts +1 -1
  83. package/dist-types/runtimeConfig.native.d.ts +3 -3
  84. package/dist-types/ts3.4/AppStreamClient.d.ts +2 -2
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  88. package/package.json +35 -35
@@ -702,7 +702,7 @@ const deserializeAws_json1_1AssociateApplicationFleetCommandError = async (outpu
702
702
  $fault: "client",
703
703
  $metadata: deserializeMetadata(output),
704
704
  });
705
- throw smithy_client_1.decorateServiceException(response, parsedBody);
705
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
706
706
  }
707
707
  };
708
708
  const deserializeAws_json1_1AssociateApplicationToEntitlementCommand = async (output, context) => {
@@ -747,7 +747,7 @@ const deserializeAws_json1_1AssociateApplicationToEntitlementCommandError = asyn
747
747
  $fault: "client",
748
748
  $metadata: deserializeMetadata(output),
749
749
  });
750
- throw smithy_client_1.decorateServiceException(response, parsedBody);
750
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
751
751
  }
752
752
  };
753
753
  const deserializeAws_json1_1AssociateFleetCommand = async (output, context) => {
@@ -798,7 +798,7 @@ const deserializeAws_json1_1AssociateFleetCommandError = async (output, context)
798
798
  $fault: "client",
799
799
  $metadata: deserializeMetadata(output),
800
800
  });
801
- throw smithy_client_1.decorateServiceException(response, parsedBody);
801
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
802
802
  }
803
803
  };
804
804
  const deserializeAws_json1_1BatchAssociateUserStackCommand = async (output, context) => {
@@ -837,7 +837,7 @@ const deserializeAws_json1_1BatchAssociateUserStackCommandError = async (output,
837
837
  $fault: "client",
838
838
  $metadata: deserializeMetadata(output),
839
839
  });
840
- throw smithy_client_1.decorateServiceException(response, parsedBody);
840
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
841
841
  }
842
842
  };
843
843
  const deserializeAws_json1_1BatchDisassociateUserStackCommand = async (output, context) => {
@@ -876,7 +876,7 @@ const deserializeAws_json1_1BatchDisassociateUserStackCommandError = async (outp
876
876
  $fault: "client",
877
877
  $metadata: deserializeMetadata(output),
878
878
  });
879
- throw smithy_client_1.decorateServiceException(response, parsedBody);
879
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
880
880
  }
881
881
  };
882
882
  const deserializeAws_json1_1CopyImageCommand = async (output, context) => {
@@ -927,7 +927,7 @@ const deserializeAws_json1_1CopyImageCommandError = async (output, context) => {
927
927
  $fault: "client",
928
928
  $metadata: deserializeMetadata(output),
929
929
  });
930
- throw smithy_client_1.decorateServiceException(response, parsedBody);
930
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
931
931
  }
932
932
  };
933
933
  const deserializeAws_json1_1CreateAppBlockCommand = async (output, context) => {
@@ -972,7 +972,7 @@ const deserializeAws_json1_1CreateAppBlockCommandError = async (output, context)
972
972
  $fault: "client",
973
973
  $metadata: deserializeMetadata(output),
974
974
  });
975
- throw smithy_client_1.decorateServiceException(response, parsedBody);
975
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
976
976
  }
977
977
  };
978
978
  const deserializeAws_json1_1CreateApplicationCommand = async (output, context) => {
@@ -1020,7 +1020,7 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
1020
1020
  $fault: "client",
1021
1021
  $metadata: deserializeMetadata(output),
1022
1022
  });
1023
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1023
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1024
1024
  }
1025
1025
  };
1026
1026
  const deserializeAws_json1_1CreateDirectoryConfigCommand = async (output, context) => {
@@ -1071,7 +1071,7 @@ const deserializeAws_json1_1CreateDirectoryConfigCommandError = async (output, c
1071
1071
  $fault: "client",
1072
1072
  $metadata: deserializeMetadata(output),
1073
1073
  });
1074
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1074
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1075
1075
  }
1076
1076
  };
1077
1077
  const deserializeAws_json1_1CreateEntitlementCommand = async (output, context) => {
@@ -1116,7 +1116,7 @@ const deserializeAws_json1_1CreateEntitlementCommandError = async (output, conte
1116
1116
  $fault: "client",
1117
1117
  $metadata: deserializeMetadata(output),
1118
1118
  });
1119
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1119
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1120
1120
  }
1121
1121
  };
1122
1122
  const deserializeAws_json1_1CreateFleetCommand = async (output, context) => {
@@ -1182,7 +1182,7 @@ const deserializeAws_json1_1CreateFleetCommandError = async (output, context) =>
1182
1182
  $fault: "client",
1183
1183
  $metadata: deserializeMetadata(output),
1184
1184
  });
1185
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1185
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1186
1186
  }
1187
1187
  };
1188
1188
  const deserializeAws_json1_1CreateImageBuilderCommand = async (output, context) => {
@@ -1248,7 +1248,7 @@ const deserializeAws_json1_1CreateImageBuilderCommandError = async (output, cont
1248
1248
  $fault: "client",
1249
1249
  $metadata: deserializeMetadata(output),
1250
1250
  });
1251
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1251
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1252
1252
  }
1253
1253
  };
1254
1254
  const deserializeAws_json1_1CreateImageBuilderStreamingURLCommand = async (output, context) => {
@@ -1287,7 +1287,7 @@ const deserializeAws_json1_1CreateImageBuilderStreamingURLCommandError = async (
1287
1287
  $fault: "client",
1288
1288
  $metadata: deserializeMetadata(output),
1289
1289
  });
1290
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1290
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1291
1291
  }
1292
1292
  };
1293
1293
  const deserializeAws_json1_1CreateStackCommand = async (output, context) => {
@@ -1341,7 +1341,7 @@ const deserializeAws_json1_1CreateStackCommandError = async (output, context) =>
1341
1341
  $fault: "client",
1342
1342
  $metadata: deserializeMetadata(output),
1343
1343
  });
1344
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1344
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1345
1345
  }
1346
1346
  };
1347
1347
  const deserializeAws_json1_1CreateStreamingURLCommand = async (output, context) => {
@@ -1386,7 +1386,7 @@ const deserializeAws_json1_1CreateStreamingURLCommandError = async (output, cont
1386
1386
  $fault: "client",
1387
1387
  $metadata: deserializeMetadata(output),
1388
1388
  });
1389
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1389
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1390
1390
  }
1391
1391
  };
1392
1392
  const deserializeAws_json1_1CreateUpdatedImageCommand = async (output, context) => {
@@ -1440,7 +1440,7 @@ const deserializeAws_json1_1CreateUpdatedImageCommandError = async (output, cont
1440
1440
  $fault: "client",
1441
1441
  $metadata: deserializeMetadata(output),
1442
1442
  });
1443
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1443
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1444
1444
  }
1445
1445
  };
1446
1446
  const deserializeAws_json1_1CreateUsageReportSubscriptionCommand = async (output, context) => {
@@ -1482,7 +1482,7 @@ const deserializeAws_json1_1CreateUsageReportSubscriptionCommandError = async (o
1482
1482
  $fault: "client",
1483
1483
  $metadata: deserializeMetadata(output),
1484
1484
  });
1485
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1485
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1486
1486
  }
1487
1487
  };
1488
1488
  const deserializeAws_json1_1CreateUserCommand = async (output, context) => {
@@ -1530,7 +1530,7 @@ const deserializeAws_json1_1CreateUserCommandError = async (output, context) =>
1530
1530
  $fault: "client",
1531
1531
  $metadata: deserializeMetadata(output),
1532
1532
  });
1533
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1533
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1534
1534
  }
1535
1535
  };
1536
1536
  const deserializeAws_json1_1DeleteAppBlockCommand = async (output, context) => {
@@ -1572,7 +1572,7 @@ const deserializeAws_json1_1DeleteAppBlockCommandError = async (output, context)
1572
1572
  $fault: "client",
1573
1573
  $metadata: deserializeMetadata(output),
1574
1574
  });
1575
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1575
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1576
1576
  }
1577
1577
  };
1578
1578
  const deserializeAws_json1_1DeleteApplicationCommand = async (output, context) => {
@@ -1617,7 +1617,7 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
1617
1617
  $fault: "client",
1618
1618
  $metadata: deserializeMetadata(output),
1619
1619
  });
1620
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1620
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1621
1621
  }
1622
1622
  };
1623
1623
  const deserializeAws_json1_1DeleteDirectoryConfigCommand = async (output, context) => {
@@ -1656,7 +1656,7 @@ const deserializeAws_json1_1DeleteDirectoryConfigCommandError = async (output, c
1656
1656
  $fault: "client",
1657
1657
  $metadata: deserializeMetadata(output),
1658
1658
  });
1659
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1659
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1660
1660
  }
1661
1661
  };
1662
1662
  const deserializeAws_json1_1DeleteEntitlementCommand = async (output, context) => {
@@ -1701,7 +1701,7 @@ const deserializeAws_json1_1DeleteEntitlementCommandError = async (output, conte
1701
1701
  $fault: "client",
1702
1702
  $metadata: deserializeMetadata(output),
1703
1703
  });
1704
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1704
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1705
1705
  }
1706
1706
  };
1707
1707
  const deserializeAws_json1_1DeleteFleetCommand = async (output, context) => {
@@ -1743,7 +1743,7 @@ const deserializeAws_json1_1DeleteFleetCommandError = async (output, context) =>
1743
1743
  $fault: "client",
1744
1744
  $metadata: deserializeMetadata(output),
1745
1745
  });
1746
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1746
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1747
1747
  }
1748
1748
  };
1749
1749
  const deserializeAws_json1_1DeleteImageCommand = async (output, context) => {
@@ -1788,7 +1788,7 @@ const deserializeAws_json1_1DeleteImageCommandError = async (output, context) =>
1788
1788
  $fault: "client",
1789
1789
  $metadata: deserializeMetadata(output),
1790
1790
  });
1791
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1791
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1792
1792
  }
1793
1793
  };
1794
1794
  const deserializeAws_json1_1DeleteImageBuilderCommand = async (output, context) => {
@@ -1830,7 +1830,7 @@ const deserializeAws_json1_1DeleteImageBuilderCommandError = async (output, cont
1830
1830
  $fault: "client",
1831
1831
  $metadata: deserializeMetadata(output),
1832
1832
  });
1833
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1833
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1834
1834
  }
1835
1835
  };
1836
1836
  const deserializeAws_json1_1DeleteImagePermissionsCommand = async (output, context) => {
@@ -1869,7 +1869,7 @@ const deserializeAws_json1_1DeleteImagePermissionsCommandError = async (output,
1869
1869
  $fault: "client",
1870
1870
  $metadata: deserializeMetadata(output),
1871
1871
  });
1872
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1872
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1873
1873
  }
1874
1874
  };
1875
1875
  const deserializeAws_json1_1DeleteStackCommand = async (output, context) => {
@@ -1914,7 +1914,7 @@ const deserializeAws_json1_1DeleteStackCommandError = async (output, context) =>
1914
1914
  $fault: "client",
1915
1915
  $metadata: deserializeMetadata(output),
1916
1916
  });
1917
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1917
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1918
1918
  }
1919
1919
  };
1920
1920
  const deserializeAws_json1_1DeleteUsageReportSubscriptionCommand = async (output, context) => {
@@ -1953,7 +1953,7 @@ const deserializeAws_json1_1DeleteUsageReportSubscriptionCommandError = async (o
1953
1953
  $fault: "client",
1954
1954
  $metadata: deserializeMetadata(output),
1955
1955
  });
1956
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1956
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1957
1957
  }
1958
1958
  };
1959
1959
  const deserializeAws_json1_1DeleteUserCommand = async (output, context) => {
@@ -1989,7 +1989,7 @@ const deserializeAws_json1_1DeleteUserCommandError = async (output, context) =>
1989
1989
  $fault: "client",
1990
1990
  $metadata: deserializeMetadata(output),
1991
1991
  });
1992
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1992
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1993
1993
  }
1994
1994
  };
1995
1995
  const deserializeAws_json1_1DescribeAppBlocksCommand = async (output, context) => {
@@ -2028,7 +2028,7 @@ const deserializeAws_json1_1DescribeAppBlocksCommandError = async (output, conte
2028
2028
  $fault: "client",
2029
2029
  $metadata: deserializeMetadata(output),
2030
2030
  });
2031
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2031
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2032
2032
  }
2033
2033
  };
2034
2034
  const deserializeAws_json1_1DescribeApplicationFleetAssociationsCommand = async (output, context) => {
@@ -2067,7 +2067,7 @@ const deserializeAws_json1_1DescribeApplicationFleetAssociationsCommandError = a
2067
2067
  $fault: "client",
2068
2068
  $metadata: deserializeMetadata(output),
2069
2069
  });
2070
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2070
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2071
2071
  }
2072
2072
  };
2073
2073
  const deserializeAws_json1_1DescribeApplicationsCommand = async (output, context) => {
@@ -2106,7 +2106,7 @@ const deserializeAws_json1_1DescribeApplicationsCommandError = async (output, co
2106
2106
  $fault: "client",
2107
2107
  $metadata: deserializeMetadata(output),
2108
2108
  });
2109
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2109
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2110
2110
  }
2111
2111
  };
2112
2112
  const deserializeAws_json1_1DescribeDirectoryConfigsCommand = async (output, context) => {
@@ -2142,7 +2142,7 @@ const deserializeAws_json1_1DescribeDirectoryConfigsCommandError = async (output
2142
2142
  $fault: "client",
2143
2143
  $metadata: deserializeMetadata(output),
2144
2144
  });
2145
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2145
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2146
2146
  }
2147
2147
  };
2148
2148
  const deserializeAws_json1_1DescribeEntitlementsCommand = async (output, context) => {
@@ -2184,7 +2184,7 @@ const deserializeAws_json1_1DescribeEntitlementsCommandError = async (output, co
2184
2184
  $fault: "client",
2185
2185
  $metadata: deserializeMetadata(output),
2186
2186
  });
2187
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2187
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2188
2188
  }
2189
2189
  };
2190
2190
  const deserializeAws_json1_1DescribeFleetsCommand = async (output, context) => {
@@ -2220,7 +2220,7 @@ const deserializeAws_json1_1DescribeFleetsCommandError = async (output, context)
2220
2220
  $fault: "client",
2221
2221
  $metadata: deserializeMetadata(output),
2222
2222
  });
2223
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2223
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2224
2224
  }
2225
2225
  };
2226
2226
  const deserializeAws_json1_1DescribeImageBuildersCommand = async (output, context) => {
@@ -2256,7 +2256,7 @@ const deserializeAws_json1_1DescribeImageBuildersCommandError = async (output, c
2256
2256
  $fault: "client",
2257
2257
  $metadata: deserializeMetadata(output),
2258
2258
  });
2259
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2259
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2260
2260
  }
2261
2261
  };
2262
2262
  const deserializeAws_json1_1DescribeImagePermissionsCommand = async (output, context) => {
@@ -2292,7 +2292,7 @@ const deserializeAws_json1_1DescribeImagePermissionsCommandError = async (output
2292
2292
  $fault: "client",
2293
2293
  $metadata: deserializeMetadata(output),
2294
2294
  });
2295
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2295
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2296
2296
  }
2297
2297
  };
2298
2298
  const deserializeAws_json1_1DescribeImagesCommand = async (output, context) => {
@@ -2331,7 +2331,7 @@ const deserializeAws_json1_1DescribeImagesCommandError = async (output, context)
2331
2331
  $fault: "client",
2332
2332
  $metadata: deserializeMetadata(output),
2333
2333
  });
2334
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2334
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2335
2335
  }
2336
2336
  };
2337
2337
  const deserializeAws_json1_1DescribeSessionsCommand = async (output, context) => {
@@ -2367,7 +2367,7 @@ const deserializeAws_json1_1DescribeSessionsCommandError = async (output, contex
2367
2367
  $fault: "client",
2368
2368
  $metadata: deserializeMetadata(output),
2369
2369
  });
2370
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2370
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2371
2371
  }
2372
2372
  };
2373
2373
  const deserializeAws_json1_1DescribeStacksCommand = async (output, context) => {
@@ -2403,7 +2403,7 @@ const deserializeAws_json1_1DescribeStacksCommandError = async (output, context)
2403
2403
  $fault: "client",
2404
2404
  $metadata: deserializeMetadata(output),
2405
2405
  });
2406
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2406
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2407
2407
  }
2408
2408
  };
2409
2409
  const deserializeAws_json1_1DescribeUsageReportSubscriptionsCommand = async (output, context) => {
@@ -2442,7 +2442,7 @@ const deserializeAws_json1_1DescribeUsageReportSubscriptionsCommandError = async
2442
2442
  $fault: "client",
2443
2443
  $metadata: deserializeMetadata(output),
2444
2444
  });
2445
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2445
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2446
2446
  }
2447
2447
  };
2448
2448
  const deserializeAws_json1_1DescribeUsersCommand = async (output, context) => {
@@ -2484,7 +2484,7 @@ const deserializeAws_json1_1DescribeUsersCommandError = async (output, context)
2484
2484
  $fault: "client",
2485
2485
  $metadata: deserializeMetadata(output),
2486
2486
  });
2487
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2487
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2488
2488
  }
2489
2489
  };
2490
2490
  const deserializeAws_json1_1DescribeUserStackAssociationsCommand = async (output, context) => {
@@ -2523,7 +2523,7 @@ const deserializeAws_json1_1DescribeUserStackAssociationsCommandError = async (o
2523
2523
  $fault: "client",
2524
2524
  $metadata: deserializeMetadata(output),
2525
2525
  });
2526
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2526
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2527
2527
  }
2528
2528
  };
2529
2529
  const deserializeAws_json1_1DisableUserCommand = async (output, context) => {
@@ -2559,7 +2559,7 @@ const deserializeAws_json1_1DisableUserCommandError = async (output, context) =>
2559
2559
  $fault: "client",
2560
2560
  $metadata: deserializeMetadata(output),
2561
2561
  });
2562
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2562
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2563
2563
  }
2564
2564
  };
2565
2565
  const deserializeAws_json1_1DisassociateApplicationFleetCommand = async (output, context) => {
@@ -2601,7 +2601,7 @@ const deserializeAws_json1_1DisassociateApplicationFleetCommandError = async (ou
2601
2601
  $fault: "client",
2602
2602
  $metadata: deserializeMetadata(output),
2603
2603
  });
2604
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2604
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2605
2605
  }
2606
2606
  };
2607
2607
  const deserializeAws_json1_1DisassociateApplicationFromEntitlementCommand = async (output, context) => {
@@ -2643,7 +2643,7 @@ const deserializeAws_json1_1DisassociateApplicationFromEntitlementCommandError =
2643
2643
  $fault: "client",
2644
2644
  $metadata: deserializeMetadata(output),
2645
2645
  });
2646
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2646
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2647
2647
  }
2648
2648
  };
2649
2649
  const deserializeAws_json1_1DisassociateFleetCommand = async (output, context) => {
@@ -2688,7 +2688,7 @@ const deserializeAws_json1_1DisassociateFleetCommandError = async (output, conte
2688
2688
  $fault: "client",
2689
2689
  $metadata: deserializeMetadata(output),
2690
2690
  });
2691
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2691
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2692
2692
  }
2693
2693
  };
2694
2694
  const deserializeAws_json1_1EnableUserCommand = async (output, context) => {
@@ -2727,7 +2727,7 @@ const deserializeAws_json1_1EnableUserCommandError = async (output, context) =>
2727
2727
  $fault: "client",
2728
2728
  $metadata: deserializeMetadata(output),
2729
2729
  });
2730
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2730
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2731
2731
  }
2732
2732
  };
2733
2733
  const deserializeAws_json1_1ExpireSessionCommand = async (output, context) => {
@@ -2760,7 +2760,7 @@ const deserializeAws_json1_1ExpireSessionCommandError = async (output, context)
2760
2760
  $fault: "client",
2761
2761
  $metadata: deserializeMetadata(output),
2762
2762
  });
2763
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2763
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2764
2764
  }
2765
2765
  };
2766
2766
  const deserializeAws_json1_1ListAssociatedFleetsCommand = async (output, context) => {
@@ -2793,7 +2793,7 @@ const deserializeAws_json1_1ListAssociatedFleetsCommandError = async (output, co
2793
2793
  $fault: "client",
2794
2794
  $metadata: deserializeMetadata(output),
2795
2795
  });
2796
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2796
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2797
2797
  }
2798
2798
  };
2799
2799
  const deserializeAws_json1_1ListAssociatedStacksCommand = async (output, context) => {
@@ -2826,7 +2826,7 @@ const deserializeAws_json1_1ListAssociatedStacksCommandError = async (output, co
2826
2826
  $fault: "client",
2827
2827
  $metadata: deserializeMetadata(output),
2828
2828
  });
2829
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2829
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2830
2830
  }
2831
2831
  };
2832
2832
  const deserializeAws_json1_1ListEntitledApplicationsCommand = async (output, context) => {
@@ -2868,7 +2868,7 @@ const deserializeAws_json1_1ListEntitledApplicationsCommandError = async (output
2868
2868
  $fault: "client",
2869
2869
  $metadata: deserializeMetadata(output),
2870
2870
  });
2871
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2871
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2872
2872
  }
2873
2873
  };
2874
2874
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -2904,7 +2904,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
2904
2904
  $fault: "client",
2905
2905
  $metadata: deserializeMetadata(output),
2906
2906
  });
2907
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2907
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2908
2908
  }
2909
2909
  };
2910
2910
  const deserializeAws_json1_1StartFleetCommand = async (output, context) => {
@@ -2961,7 +2961,7 @@ const deserializeAws_json1_1StartFleetCommandError = async (output, context) =>
2961
2961
  $fault: "client",
2962
2962
  $metadata: deserializeMetadata(output),
2963
2963
  });
2964
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2964
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2965
2965
  }
2966
2966
  };
2967
2967
  const deserializeAws_json1_1StartImageBuilderCommand = async (output, context) => {
@@ -3009,7 +3009,7 @@ const deserializeAws_json1_1StartImageBuilderCommandError = async (output, conte
3009
3009
  $fault: "client",
3010
3010
  $metadata: deserializeMetadata(output),
3011
3011
  });
3012
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3012
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3013
3013
  }
3014
3014
  };
3015
3015
  const deserializeAws_json1_1StopFleetCommand = async (output, context) => {
@@ -3048,7 +3048,7 @@ const deserializeAws_json1_1StopFleetCommandError = async (output, context) => {
3048
3048
  $fault: "client",
3049
3049
  $metadata: deserializeMetadata(output),
3050
3050
  });
3051
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3051
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3052
3052
  }
3053
3053
  };
3054
3054
  const deserializeAws_json1_1StopImageBuilderCommand = async (output, context) => {
@@ -3090,7 +3090,7 @@ const deserializeAws_json1_1StopImageBuilderCommandError = async (output, contex
3090
3090
  $fault: "client",
3091
3091
  $metadata: deserializeMetadata(output),
3092
3092
  });
3093
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3093
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3094
3094
  }
3095
3095
  };
3096
3096
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -3132,7 +3132,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
3132
3132
  $fault: "client",
3133
3133
  $metadata: deserializeMetadata(output),
3134
3134
  });
3135
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3135
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3136
3136
  }
3137
3137
  };
3138
3138
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -3168,7 +3168,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
3168
3168
  $fault: "client",
3169
3169
  $metadata: deserializeMetadata(output),
3170
3170
  });
3171
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3171
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3172
3172
  }
3173
3173
  };
3174
3174
  const deserializeAws_json1_1UpdateApplicationCommand = async (output, context) => {
@@ -3210,7 +3210,7 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
3210
3210
  $fault: "client",
3211
3211
  $metadata: deserializeMetadata(output),
3212
3212
  });
3213
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3213
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3214
3214
  }
3215
3215
  };
3216
3216
  const deserializeAws_json1_1UpdateDirectoryConfigCommand = async (output, context) => {
@@ -3258,7 +3258,7 @@ const deserializeAws_json1_1UpdateDirectoryConfigCommandError = async (output, c
3258
3258
  $fault: "client",
3259
3259
  $metadata: deserializeMetadata(output),
3260
3260
  });
3261
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3261
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3262
3262
  }
3263
3263
  };
3264
3264
  const deserializeAws_json1_1UpdateEntitlementCommand = async (output, context) => {
@@ -3303,7 +3303,7 @@ const deserializeAws_json1_1UpdateEntitlementCommandError = async (output, conte
3303
3303
  $fault: "client",
3304
3304
  $metadata: deserializeMetadata(output),
3305
3305
  });
3306
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3306
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3307
3307
  }
3308
3308
  };
3309
3309
  const deserializeAws_json1_1UpdateFleetCommand = async (output, context) => {
@@ -3369,7 +3369,7 @@ const deserializeAws_json1_1UpdateFleetCommandError = async (output, context) =>
3369
3369
  $fault: "client",
3370
3370
  $metadata: deserializeMetadata(output),
3371
3371
  });
3372
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3372
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3373
3373
  }
3374
3374
  };
3375
3375
  const deserializeAws_json1_1UpdateImagePermissionsCommand = async (output, context) => {
@@ -3411,7 +3411,7 @@ const deserializeAws_json1_1UpdateImagePermissionsCommandError = async (output,
3411
3411
  $fault: "client",
3412
3412
  $metadata: deserializeMetadata(output),
3413
3413
  });
3414
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3414
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3415
3415
  }
3416
3416
  };
3417
3417
  const deserializeAws_json1_1UpdateStackCommand = async (output, context) => {
@@ -3471,7 +3471,7 @@ const deserializeAws_json1_1UpdateStackCommandError = async (output, context) =>
3471
3471
  $fault: "client",
3472
3472
  $metadata: deserializeMetadata(output),
3473
3473
  });
3474
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3474
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3475
3475
  }
3476
3476
  };
3477
3477
  const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
@@ -3481,7 +3481,7 @@ const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (par
3481
3481
  $metadata: deserializeMetadata(parsedOutput),
3482
3482
  ...deserialized,
3483
3483
  });
3484
- return smithy_client_1.decorateServiceException(exception, body);
3484
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3485
3485
  };
3486
3486
  const deserializeAws_json1_1EntitlementAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
3487
3487
  const body = parsedOutput.body;
@@ -3490,7 +3490,7 @@ const deserializeAws_json1_1EntitlementAlreadyExistsExceptionResponse = async (p
3490
3490
  $metadata: deserializeMetadata(parsedOutput),
3491
3491
  ...deserialized,
3492
3492
  });
3493
- return smithy_client_1.decorateServiceException(exception, body);
3493
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3494
3494
  };
3495
3495
  const deserializeAws_json1_1EntitlementNotFoundExceptionResponse = async (parsedOutput, context) => {
3496
3496
  const body = parsedOutput.body;
@@ -3499,7 +3499,7 @@ const deserializeAws_json1_1EntitlementNotFoundExceptionResponse = async (parsed
3499
3499
  $metadata: deserializeMetadata(parsedOutput),
3500
3500
  ...deserialized,
3501
3501
  });
3502
- return smithy_client_1.decorateServiceException(exception, body);
3502
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3503
3503
  };
3504
3504
  const deserializeAws_json1_1IncompatibleImageExceptionResponse = async (parsedOutput, context) => {
3505
3505
  const body = parsedOutput.body;
@@ -3508,7 +3508,7 @@ const deserializeAws_json1_1IncompatibleImageExceptionResponse = async (parsedOu
3508
3508
  $metadata: deserializeMetadata(parsedOutput),
3509
3509
  ...deserialized,
3510
3510
  });
3511
- return smithy_client_1.decorateServiceException(exception, body);
3511
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3512
3512
  };
3513
3513
  const deserializeAws_json1_1InvalidAccountStatusExceptionResponse = async (parsedOutput, context) => {
3514
3514
  const body = parsedOutput.body;
@@ -3517,7 +3517,7 @@ const deserializeAws_json1_1InvalidAccountStatusExceptionResponse = async (parse
3517
3517
  $metadata: deserializeMetadata(parsedOutput),
3518
3518
  ...deserialized,
3519
3519
  });
3520
- return smithy_client_1.decorateServiceException(exception, body);
3520
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3521
3521
  };
3522
3522
  const deserializeAws_json1_1InvalidParameterCombinationExceptionResponse = async (parsedOutput, context) => {
3523
3523
  const body = parsedOutput.body;
@@ -3526,7 +3526,7 @@ const deserializeAws_json1_1InvalidParameterCombinationExceptionResponse = async
3526
3526
  $metadata: deserializeMetadata(parsedOutput),
3527
3527
  ...deserialized,
3528
3528
  });
3529
- return smithy_client_1.decorateServiceException(exception, body);
3529
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3530
3530
  };
3531
3531
  const deserializeAws_json1_1InvalidRoleExceptionResponse = async (parsedOutput, context) => {
3532
3532
  const body = parsedOutput.body;
@@ -3535,7 +3535,7 @@ const deserializeAws_json1_1InvalidRoleExceptionResponse = async (parsedOutput,
3535
3535
  $metadata: deserializeMetadata(parsedOutput),
3536
3536
  ...deserialized,
3537
3537
  });
3538
- return smithy_client_1.decorateServiceException(exception, body);
3538
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3539
3539
  };
3540
3540
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
3541
3541
  const body = parsedOutput.body;
@@ -3544,7 +3544,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
3544
3544
  $metadata: deserializeMetadata(parsedOutput),
3545
3545
  ...deserialized,
3546
3546
  });
3547
- return smithy_client_1.decorateServiceException(exception, body);
3547
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3548
3548
  };
3549
3549
  const deserializeAws_json1_1OperationNotPermittedExceptionResponse = async (parsedOutput, context) => {
3550
3550
  const body = parsedOutput.body;
@@ -3553,7 +3553,7 @@ const deserializeAws_json1_1OperationNotPermittedExceptionResponse = async (pars
3553
3553
  $metadata: deserializeMetadata(parsedOutput),
3554
3554
  ...deserialized,
3555
3555
  });
3556
- return smithy_client_1.decorateServiceException(exception, body);
3556
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3557
3557
  };
3558
3558
  const deserializeAws_json1_1RequestLimitExceededExceptionResponse = async (parsedOutput, context) => {
3559
3559
  const body = parsedOutput.body;
@@ -3562,7 +3562,7 @@ const deserializeAws_json1_1RequestLimitExceededExceptionResponse = async (parse
3562
3562
  $metadata: deserializeMetadata(parsedOutput),
3563
3563
  ...deserialized,
3564
3564
  });
3565
- return smithy_client_1.decorateServiceException(exception, body);
3565
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3566
3566
  };
3567
3567
  const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
3568
3568
  const body = parsedOutput.body;
@@ -3571,7 +3571,7 @@ const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (pars
3571
3571
  $metadata: deserializeMetadata(parsedOutput),
3572
3572
  ...deserialized,
3573
3573
  });
3574
- return smithy_client_1.decorateServiceException(exception, body);
3574
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3575
3575
  };
3576
3576
  const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
3577
3577
  const body = parsedOutput.body;
@@ -3580,7 +3580,7 @@ const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput
3580
3580
  $metadata: deserializeMetadata(parsedOutput),
3581
3581
  ...deserialized,
3582
3582
  });
3583
- return smithy_client_1.decorateServiceException(exception, body);
3583
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3584
3584
  };
3585
3585
  const deserializeAws_json1_1ResourceNotAvailableExceptionResponse = async (parsedOutput, context) => {
3586
3586
  const body = parsedOutput.body;
@@ -3589,7 +3589,7 @@ const deserializeAws_json1_1ResourceNotAvailableExceptionResponse = async (parse
3589
3589
  $metadata: deserializeMetadata(parsedOutput),
3590
3590
  ...deserialized,
3591
3591
  });
3592
- return smithy_client_1.decorateServiceException(exception, body);
3592
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3593
3593
  };
3594
3594
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3595
3595
  const body = parsedOutput.body;
@@ -3598,7 +3598,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
3598
3598
  $metadata: deserializeMetadata(parsedOutput),
3599
3599
  ...deserialized,
3600
3600
  });
3601
- return smithy_client_1.decorateServiceException(exception, body);
3601
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3602
3602
  };
3603
3603
  const serializeAws_json1_1AccessEndpoint = (input, context) => {
3604
3604
  return {
@@ -4587,8 +4587,8 @@ const serializeAws_json1_1VpcConfig = (input, context) => {
4587
4587
  };
4588
4588
  const deserializeAws_json1_1AccessEndpoint = (output, context) => {
4589
4589
  return {
4590
- EndpointType: smithy_client_1.expectString(output.EndpointType),
4591
- VpceId: smithy_client_1.expectString(output.VpceId),
4590
+ EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
4591
+ VpceId: (0, smithy_client_1.expectString)(output.VpceId),
4592
4592
  };
4593
4593
  };
4594
4594
  const deserializeAws_json1_1AccessEndpointList = (output, context) => {
@@ -4604,13 +4604,13 @@ const deserializeAws_json1_1AccessEndpointList = (output, context) => {
4604
4604
  };
4605
4605
  const deserializeAws_json1_1AppBlock = (output, context) => {
4606
4606
  return {
4607
- Arn: smithy_client_1.expectString(output.Arn),
4607
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4608
4608
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4609
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
4609
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
4610
4610
  : undefined,
4611
- Description: smithy_client_1.expectString(output.Description),
4612
- DisplayName: smithy_client_1.expectString(output.DisplayName),
4613
- Name: smithy_client_1.expectString(output.Name),
4611
+ Description: (0, smithy_client_1.expectString)(output.Description),
4612
+ DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
4613
+ Name: (0, smithy_client_1.expectString)(output.Name),
4614
4614
  SetupScriptDetails: output.SetupScriptDetails !== undefined && output.SetupScriptDetails !== null
4615
4615
  ? deserializeAws_json1_1ScriptDetails(output.SetupScriptDetails, context)
4616
4616
  : undefined,
@@ -4632,37 +4632,37 @@ const deserializeAws_json1_1AppBlocks = (output, context) => {
4632
4632
  };
4633
4633
  const deserializeAws_json1_1Application = (output, context) => {
4634
4634
  return {
4635
- AppBlockArn: smithy_client_1.expectString(output.AppBlockArn),
4636
- Arn: smithy_client_1.expectString(output.Arn),
4635
+ AppBlockArn: (0, smithy_client_1.expectString)(output.AppBlockArn),
4636
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4637
4637
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4638
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
4638
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
4639
4639
  : undefined,
4640
- Description: smithy_client_1.expectString(output.Description),
4641
- DisplayName: smithy_client_1.expectString(output.DisplayName),
4642
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
4640
+ Description: (0, smithy_client_1.expectString)(output.Description),
4641
+ DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
4642
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
4643
4643
  IconS3Location: output.IconS3Location !== undefined && output.IconS3Location !== null
4644
4644
  ? deserializeAws_json1_1S3Location(output.IconS3Location, context)
4645
4645
  : undefined,
4646
- IconURL: smithy_client_1.expectString(output.IconURL),
4646
+ IconURL: (0, smithy_client_1.expectString)(output.IconURL),
4647
4647
  InstanceFamilies: output.InstanceFamilies !== undefined && output.InstanceFamilies !== null
4648
4648
  ? deserializeAws_json1_1StringList(output.InstanceFamilies, context)
4649
4649
  : undefined,
4650
- LaunchParameters: smithy_client_1.expectString(output.LaunchParameters),
4651
- LaunchPath: smithy_client_1.expectString(output.LaunchPath),
4650
+ LaunchParameters: (0, smithy_client_1.expectString)(output.LaunchParameters),
4651
+ LaunchPath: (0, smithy_client_1.expectString)(output.LaunchPath),
4652
4652
  Metadata: output.Metadata !== undefined && output.Metadata !== null
4653
4653
  ? deserializeAws_json1_1Metadata(output.Metadata, context)
4654
4654
  : undefined,
4655
- Name: smithy_client_1.expectString(output.Name),
4655
+ Name: (0, smithy_client_1.expectString)(output.Name),
4656
4656
  Platforms: output.Platforms !== undefined && output.Platforms !== null
4657
4657
  ? deserializeAws_json1_1Platforms(output.Platforms, context)
4658
4658
  : undefined,
4659
- WorkingDirectory: smithy_client_1.expectString(output.WorkingDirectory),
4659
+ WorkingDirectory: (0, smithy_client_1.expectString)(output.WorkingDirectory),
4660
4660
  };
4661
4661
  };
4662
4662
  const deserializeAws_json1_1ApplicationFleetAssociation = (output, context) => {
4663
4663
  return {
4664
- ApplicationArn: smithy_client_1.expectString(output.ApplicationArn),
4665
- FleetName: smithy_client_1.expectString(output.FleetName),
4664
+ ApplicationArn: (0, smithy_client_1.expectString)(output.ApplicationArn),
4665
+ FleetName: (0, smithy_client_1.expectString)(output.FleetName),
4666
4666
  };
4667
4667
  };
4668
4668
  const deserializeAws_json1_1ApplicationFleetAssociationList = (output, context) => {
@@ -4689,9 +4689,9 @@ const deserializeAws_json1_1Applications = (output, context) => {
4689
4689
  };
4690
4690
  const deserializeAws_json1_1ApplicationSettingsResponse = (output, context) => {
4691
4691
  return {
4692
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
4693
- S3BucketName: smithy_client_1.expectString(output.S3BucketName),
4694
- SettingsGroup: smithy_client_1.expectString(output.SettingsGroup),
4692
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
4693
+ S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
4694
+ SettingsGroup: (0, smithy_client_1.expectString)(output.SettingsGroup),
4695
4695
  };
4696
4696
  };
4697
4697
  const deserializeAws_json1_1AssociateApplicationFleetResult = (output, context) => {
@@ -4723,20 +4723,20 @@ const deserializeAws_json1_1BatchDisassociateUserStackResult = (output, context)
4723
4723
  };
4724
4724
  const deserializeAws_json1_1ComputeCapacityStatus = (output, context) => {
4725
4725
  return {
4726
- Available: smithy_client_1.expectInt32(output.Available),
4727
- Desired: smithy_client_1.expectInt32(output.Desired),
4728
- InUse: smithy_client_1.expectInt32(output.InUse),
4729
- Running: smithy_client_1.expectInt32(output.Running),
4726
+ Available: (0, smithy_client_1.expectInt32)(output.Available),
4727
+ Desired: (0, smithy_client_1.expectInt32)(output.Desired),
4728
+ InUse: (0, smithy_client_1.expectInt32)(output.InUse),
4729
+ Running: (0, smithy_client_1.expectInt32)(output.Running),
4730
4730
  };
4731
4731
  };
4732
4732
  const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
4733
4733
  return {
4734
- Message: smithy_client_1.expectString(output.Message),
4734
+ Message: (0, smithy_client_1.expectString)(output.Message),
4735
4735
  };
4736
4736
  };
4737
4737
  const deserializeAws_json1_1CopyImageResponse = (output, context) => {
4738
4738
  return {
4739
- DestinationImageName: smithy_client_1.expectString(output.DestinationImageName),
4739
+ DestinationImageName: (0, smithy_client_1.expectString)(output.DestinationImageName),
4740
4740
  };
4741
4741
  };
4742
4742
  const deserializeAws_json1_1CreateAppBlockResult = (output, context) => {
@@ -4784,9 +4784,9 @@ const deserializeAws_json1_1CreateImageBuilderResult = (output, context) => {
4784
4784
  const deserializeAws_json1_1CreateImageBuilderStreamingURLResult = (output, context) => {
4785
4785
  return {
4786
4786
  Expires: output.Expires !== undefined && output.Expires !== null
4787
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Expires)))
4787
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Expires)))
4788
4788
  : undefined,
4789
- StreamingURL: smithy_client_1.expectString(output.StreamingURL),
4789
+ StreamingURL: (0, smithy_client_1.expectString)(output.StreamingURL),
4790
4790
  };
4791
4791
  };
4792
4792
  const deserializeAws_json1_1CreateStackResult = (output, context) => {
@@ -4799,14 +4799,14 @@ const deserializeAws_json1_1CreateStackResult = (output, context) => {
4799
4799
  const deserializeAws_json1_1CreateStreamingURLResult = (output, context) => {
4800
4800
  return {
4801
4801
  Expires: output.Expires !== undefined && output.Expires !== null
4802
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Expires)))
4802
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Expires)))
4803
4803
  : undefined,
4804
- StreamingURL: smithy_client_1.expectString(output.StreamingURL),
4804
+ StreamingURL: (0, smithy_client_1.expectString)(output.StreamingURL),
4805
4805
  };
4806
4806
  };
4807
4807
  const deserializeAws_json1_1CreateUpdatedImageResult = (output, context) => {
4808
4808
  return {
4809
- canUpdateImage: smithy_client_1.expectBoolean(output.canUpdateImage),
4809
+ canUpdateImage: (0, smithy_client_1.expectBoolean)(output.canUpdateImage),
4810
4810
  image: output.image !== undefined && output.image !== null
4811
4811
  ? deserializeAws_json1_1Image(output.image, context)
4812
4812
  : undefined,
@@ -4814,8 +4814,8 @@ const deserializeAws_json1_1CreateUpdatedImageResult = (output, context) => {
4814
4814
  };
4815
4815
  const deserializeAws_json1_1CreateUsageReportSubscriptionResult = (output, context) => {
4816
4816
  return {
4817
- S3BucketName: smithy_client_1.expectString(output.S3BucketName),
4818
- Schedule: smithy_client_1.expectString(output.Schedule),
4817
+ S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
4818
+ Schedule: (0, smithy_client_1.expectString)(output.Schedule),
4819
4819
  };
4820
4820
  };
4821
4821
  const deserializeAws_json1_1CreateUserResult = (output, context) => {
@@ -4867,7 +4867,7 @@ const deserializeAws_json1_1DescribeAppBlocksResult = (output, context) => {
4867
4867
  AppBlocks: output.AppBlocks !== undefined && output.AppBlocks !== null
4868
4868
  ? deserializeAws_json1_1AppBlocks(output.AppBlocks, context)
4869
4869
  : undefined,
4870
- NextToken: smithy_client_1.expectString(output.NextToken),
4870
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4871
4871
  };
4872
4872
  };
4873
4873
  const deserializeAws_json1_1DescribeApplicationFleetAssociationsResult = (output, context) => {
@@ -4875,7 +4875,7 @@ const deserializeAws_json1_1DescribeApplicationFleetAssociationsResult = (output
4875
4875
  ApplicationFleetAssociations: output.ApplicationFleetAssociations !== undefined && output.ApplicationFleetAssociations !== null
4876
4876
  ? deserializeAws_json1_1ApplicationFleetAssociationList(output.ApplicationFleetAssociations, context)
4877
4877
  : undefined,
4878
- NextToken: smithy_client_1.expectString(output.NextToken),
4878
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4879
4879
  };
4880
4880
  };
4881
4881
  const deserializeAws_json1_1DescribeApplicationsResult = (output, context) => {
@@ -4883,7 +4883,7 @@ const deserializeAws_json1_1DescribeApplicationsResult = (output, context) => {
4883
4883
  Applications: output.Applications !== undefined && output.Applications !== null
4884
4884
  ? deserializeAws_json1_1Applications(output.Applications, context)
4885
4885
  : undefined,
4886
- NextToken: smithy_client_1.expectString(output.NextToken),
4886
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4887
4887
  };
4888
4888
  };
4889
4889
  const deserializeAws_json1_1DescribeDirectoryConfigsResult = (output, context) => {
@@ -4891,7 +4891,7 @@ const deserializeAws_json1_1DescribeDirectoryConfigsResult = (output, context) =
4891
4891
  DirectoryConfigs: output.DirectoryConfigs !== undefined && output.DirectoryConfigs !== null
4892
4892
  ? deserializeAws_json1_1DirectoryConfigList(output.DirectoryConfigs, context)
4893
4893
  : undefined,
4894
- NextToken: smithy_client_1.expectString(output.NextToken),
4894
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4895
4895
  };
4896
4896
  };
4897
4897
  const deserializeAws_json1_1DescribeEntitlementsResult = (output, context) => {
@@ -4899,7 +4899,7 @@ const deserializeAws_json1_1DescribeEntitlementsResult = (output, context) => {
4899
4899
  Entitlements: output.Entitlements !== undefined && output.Entitlements !== null
4900
4900
  ? deserializeAws_json1_1EntitlementList(output.Entitlements, context)
4901
4901
  : undefined,
4902
- NextToken: smithy_client_1.expectString(output.NextToken),
4902
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4903
4903
  };
4904
4904
  };
4905
4905
  const deserializeAws_json1_1DescribeFleetsResult = (output, context) => {
@@ -4907,7 +4907,7 @@ const deserializeAws_json1_1DescribeFleetsResult = (output, context) => {
4907
4907
  Fleets: output.Fleets !== undefined && output.Fleets !== null
4908
4908
  ? deserializeAws_json1_1FleetList(output.Fleets, context)
4909
4909
  : undefined,
4910
- NextToken: smithy_client_1.expectString(output.NextToken),
4910
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4911
4911
  };
4912
4912
  };
4913
4913
  const deserializeAws_json1_1DescribeImageBuildersResult = (output, context) => {
@@ -4915,13 +4915,13 @@ const deserializeAws_json1_1DescribeImageBuildersResult = (output, context) => {
4915
4915
  ImageBuilders: output.ImageBuilders !== undefined && output.ImageBuilders !== null
4916
4916
  ? deserializeAws_json1_1ImageBuilderList(output.ImageBuilders, context)
4917
4917
  : undefined,
4918
- NextToken: smithy_client_1.expectString(output.NextToken),
4918
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4919
4919
  };
4920
4920
  };
4921
4921
  const deserializeAws_json1_1DescribeImagePermissionsResult = (output, context) => {
4922
4922
  return {
4923
- Name: smithy_client_1.expectString(output.Name),
4924
- NextToken: smithy_client_1.expectString(output.NextToken),
4923
+ Name: (0, smithy_client_1.expectString)(output.Name),
4924
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4925
4925
  SharedImagePermissionsList: output.SharedImagePermissionsList !== undefined && output.SharedImagePermissionsList !== null
4926
4926
  ? deserializeAws_json1_1SharedImagePermissionsList(output.SharedImagePermissionsList, context)
4927
4927
  : undefined,
@@ -4932,12 +4932,12 @@ const deserializeAws_json1_1DescribeImagesResult = (output, context) => {
4932
4932
  Images: output.Images !== undefined && output.Images !== null
4933
4933
  ? deserializeAws_json1_1ImageList(output.Images, context)
4934
4934
  : undefined,
4935
- NextToken: smithy_client_1.expectString(output.NextToken),
4935
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4936
4936
  };
4937
4937
  };
4938
4938
  const deserializeAws_json1_1DescribeSessionsResult = (output, context) => {
4939
4939
  return {
4940
- NextToken: smithy_client_1.expectString(output.NextToken),
4940
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4941
4941
  Sessions: output.Sessions !== undefined && output.Sessions !== null
4942
4942
  ? deserializeAws_json1_1SessionList(output.Sessions, context)
4943
4943
  : undefined,
@@ -4945,7 +4945,7 @@ const deserializeAws_json1_1DescribeSessionsResult = (output, context) => {
4945
4945
  };
4946
4946
  const deserializeAws_json1_1DescribeStacksResult = (output, context) => {
4947
4947
  return {
4948
- NextToken: smithy_client_1.expectString(output.NextToken),
4948
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4949
4949
  Stacks: output.Stacks !== undefined && output.Stacks !== null
4950
4950
  ? deserializeAws_json1_1StackList(output.Stacks, context)
4951
4951
  : undefined,
@@ -4953,7 +4953,7 @@ const deserializeAws_json1_1DescribeStacksResult = (output, context) => {
4953
4953
  };
4954
4954
  const deserializeAws_json1_1DescribeUsageReportSubscriptionsResult = (output, context) => {
4955
4955
  return {
4956
- NextToken: smithy_client_1.expectString(output.NextToken),
4956
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4957
4957
  UsageReportSubscriptions: output.UsageReportSubscriptions !== undefined && output.UsageReportSubscriptions !== null
4958
4958
  ? deserializeAws_json1_1UsageReportSubscriptionList(output.UsageReportSubscriptions, context)
4959
4959
  : undefined,
@@ -4961,7 +4961,7 @@ const deserializeAws_json1_1DescribeUsageReportSubscriptionsResult = (output, co
4961
4961
  };
4962
4962
  const deserializeAws_json1_1DescribeUsersResult = (output, context) => {
4963
4963
  return {
4964
- NextToken: smithy_client_1.expectString(output.NextToken),
4964
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4965
4965
  Users: output.Users !== undefined && output.Users !== null
4966
4966
  ? deserializeAws_json1_1UserList(output.Users, context)
4967
4967
  : undefined,
@@ -4969,7 +4969,7 @@ const deserializeAws_json1_1DescribeUsersResult = (output, context) => {
4969
4969
  };
4970
4970
  const deserializeAws_json1_1DescribeUserStackAssociationsResult = (output, context) => {
4971
4971
  return {
4972
- NextToken: smithy_client_1.expectString(output.NextToken),
4972
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4973
4973
  UserStackAssociations: output.UserStackAssociations !== undefined && output.UserStackAssociations !== null
4974
4974
  ? deserializeAws_json1_1UserStackAssociationList(output.UserStackAssociations, context)
4975
4975
  : undefined,
@@ -4978,9 +4978,9 @@ const deserializeAws_json1_1DescribeUserStackAssociationsResult = (output, conte
4978
4978
  const deserializeAws_json1_1DirectoryConfig = (output, context) => {
4979
4979
  return {
4980
4980
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4981
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
4981
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
4982
4982
  : undefined,
4983
- DirectoryName: smithy_client_1.expectString(output.DirectoryName),
4983
+ DirectoryName: (0, smithy_client_1.expectString)(output.DirectoryName),
4984
4984
  OrganizationalUnitDistinguishedNames: output.OrganizationalUnitDistinguishedNames !== undefined && output.OrganizationalUnitDistinguishedNames !== null
4985
4985
  ? deserializeAws_json1_1OrganizationalUnitDistinguishedNamesList(output.OrganizationalUnitDistinguishedNames, context)
4986
4986
  : undefined,
@@ -5014,8 +5014,8 @@ const deserializeAws_json1_1DisassociateFleetResult = (output, context) => {
5014
5014
  };
5015
5015
  const deserializeAws_json1_1DomainJoinInfo = (output, context) => {
5016
5016
  return {
5017
- DirectoryName: smithy_client_1.expectString(output.DirectoryName),
5018
- OrganizationalUnitDistinguishedName: smithy_client_1.expectString(output.OrganizationalUnitDistinguishedName),
5017
+ DirectoryName: (0, smithy_client_1.expectString)(output.DirectoryName),
5018
+ OrganizationalUnitDistinguishedName: (0, smithy_client_1.expectString)(output.OrganizationalUnitDistinguishedName),
5019
5019
  };
5020
5020
  };
5021
5021
  const deserializeAws_json1_1DomainList = (output, context) => {
@@ -5025,7 +5025,7 @@ const deserializeAws_json1_1DomainList = (output, context) => {
5025
5025
  if (entry === null) {
5026
5026
  return null;
5027
5027
  }
5028
- return smithy_client_1.expectString(entry);
5028
+ return (0, smithy_client_1.expectString)(entry);
5029
5029
  });
5030
5030
  return retVal;
5031
5031
  };
@@ -5036,7 +5036,7 @@ const deserializeAws_json1_1EmbedHostDomains = (output, context) => {
5036
5036
  if (entry === null) {
5037
5037
  return null;
5038
5038
  }
5039
- return smithy_client_1.expectString(entry);
5039
+ return (0, smithy_client_1.expectString)(entry);
5040
5040
  });
5041
5041
  return retVal;
5042
5042
  };
@@ -5045,7 +5045,7 @@ const deserializeAws_json1_1EnableUserResult = (output, context) => {
5045
5045
  };
5046
5046
  const deserializeAws_json1_1EntitledApplication = (output, context) => {
5047
5047
  return {
5048
- ApplicationIdentifier: smithy_client_1.expectString(output.ApplicationIdentifier),
5048
+ ApplicationIdentifier: (0, smithy_client_1.expectString)(output.ApplicationIdentifier),
5049
5049
  };
5050
5050
  };
5051
5051
  const deserializeAws_json1_1EntitledApplicationList = (output, context) => {
@@ -5061,30 +5061,30 @@ const deserializeAws_json1_1EntitledApplicationList = (output, context) => {
5061
5061
  };
5062
5062
  const deserializeAws_json1_1Entitlement = (output, context) => {
5063
5063
  return {
5064
- AppVisibility: smithy_client_1.expectString(output.AppVisibility),
5064
+ AppVisibility: (0, smithy_client_1.expectString)(output.AppVisibility),
5065
5065
  Attributes: output.Attributes !== undefined && output.Attributes !== null
5066
5066
  ? deserializeAws_json1_1EntitlementAttributeList(output.Attributes, context)
5067
5067
  : undefined,
5068
5068
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5069
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
5069
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
5070
5070
  : undefined,
5071
- Description: smithy_client_1.expectString(output.Description),
5071
+ Description: (0, smithy_client_1.expectString)(output.Description),
5072
5072
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5073
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
5073
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
5074
5074
  : undefined,
5075
- Name: smithy_client_1.expectString(output.Name),
5076
- StackName: smithy_client_1.expectString(output.StackName),
5075
+ Name: (0, smithy_client_1.expectString)(output.Name),
5076
+ StackName: (0, smithy_client_1.expectString)(output.StackName),
5077
5077
  };
5078
5078
  };
5079
5079
  const deserializeAws_json1_1EntitlementAlreadyExistsException = (output, context) => {
5080
5080
  return {
5081
- Message: smithy_client_1.expectString(output.Message),
5081
+ Message: (0, smithy_client_1.expectString)(output.Message),
5082
5082
  };
5083
5083
  };
5084
5084
  const deserializeAws_json1_1EntitlementAttribute = (output, context) => {
5085
5085
  return {
5086
- Name: smithy_client_1.expectString(output.Name),
5087
- Value: smithy_client_1.expectString(output.Value),
5086
+ Name: (0, smithy_client_1.expectString)(output.Name),
5087
+ Value: (0, smithy_client_1.expectString)(output.Value),
5088
5088
  };
5089
5089
  };
5090
5090
  const deserializeAws_json1_1EntitlementAttributeList = (output, context) => {
@@ -5111,7 +5111,7 @@ const deserializeAws_json1_1EntitlementList = (output, context) => {
5111
5111
  };
5112
5112
  const deserializeAws_json1_1EntitlementNotFoundException = (output, context) => {
5113
5113
  return {
5114
- Message: smithy_client_1.expectString(output.Message),
5114
+ Message: (0, smithy_client_1.expectString)(output.Message),
5115
5115
  };
5116
5116
  };
5117
5117
  const deserializeAws_json1_1ExpireSessionResult = (output, context) => {
@@ -5119,35 +5119,35 @@ const deserializeAws_json1_1ExpireSessionResult = (output, context) => {
5119
5119
  };
5120
5120
  const deserializeAws_json1_1Fleet = (output, context) => {
5121
5121
  return {
5122
- Arn: smithy_client_1.expectString(output.Arn),
5122
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
5123
5123
  ComputeCapacityStatus: output.ComputeCapacityStatus !== undefined && output.ComputeCapacityStatus !== null
5124
5124
  ? deserializeAws_json1_1ComputeCapacityStatus(output.ComputeCapacityStatus, context)
5125
5125
  : undefined,
5126
5126
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5127
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
5127
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
5128
5128
  : undefined,
5129
- Description: smithy_client_1.expectString(output.Description),
5130
- DisconnectTimeoutInSeconds: smithy_client_1.expectInt32(output.DisconnectTimeoutInSeconds),
5131
- DisplayName: smithy_client_1.expectString(output.DisplayName),
5129
+ Description: (0, smithy_client_1.expectString)(output.Description),
5130
+ DisconnectTimeoutInSeconds: (0, smithy_client_1.expectInt32)(output.DisconnectTimeoutInSeconds),
5131
+ DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
5132
5132
  DomainJoinInfo: output.DomainJoinInfo !== undefined && output.DomainJoinInfo !== null
5133
5133
  ? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context)
5134
5134
  : undefined,
5135
- EnableDefaultInternetAccess: smithy_client_1.expectBoolean(output.EnableDefaultInternetAccess),
5135
+ EnableDefaultInternetAccess: (0, smithy_client_1.expectBoolean)(output.EnableDefaultInternetAccess),
5136
5136
  FleetErrors: output.FleetErrors !== undefined && output.FleetErrors !== null
5137
5137
  ? deserializeAws_json1_1FleetErrors(output.FleetErrors, context)
5138
5138
  : undefined,
5139
- FleetType: smithy_client_1.expectString(output.FleetType),
5140
- IamRoleArn: smithy_client_1.expectString(output.IamRoleArn),
5141
- IdleDisconnectTimeoutInSeconds: smithy_client_1.expectInt32(output.IdleDisconnectTimeoutInSeconds),
5142
- ImageArn: smithy_client_1.expectString(output.ImageArn),
5143
- ImageName: smithy_client_1.expectString(output.ImageName),
5144
- InstanceType: smithy_client_1.expectString(output.InstanceType),
5145
- MaxConcurrentSessions: smithy_client_1.expectInt32(output.MaxConcurrentSessions),
5146
- MaxUserDurationInSeconds: smithy_client_1.expectInt32(output.MaxUserDurationInSeconds),
5147
- Name: smithy_client_1.expectString(output.Name),
5148
- Platform: smithy_client_1.expectString(output.Platform),
5149
- State: smithy_client_1.expectString(output.State),
5150
- StreamView: smithy_client_1.expectString(output.StreamView),
5139
+ FleetType: (0, smithy_client_1.expectString)(output.FleetType),
5140
+ IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
5141
+ IdleDisconnectTimeoutInSeconds: (0, smithy_client_1.expectInt32)(output.IdleDisconnectTimeoutInSeconds),
5142
+ ImageArn: (0, smithy_client_1.expectString)(output.ImageArn),
5143
+ ImageName: (0, smithy_client_1.expectString)(output.ImageName),
5144
+ InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
5145
+ MaxConcurrentSessions: (0, smithy_client_1.expectInt32)(output.MaxConcurrentSessions),
5146
+ MaxUserDurationInSeconds: (0, smithy_client_1.expectInt32)(output.MaxUserDurationInSeconds),
5147
+ Name: (0, smithy_client_1.expectString)(output.Name),
5148
+ Platform: (0, smithy_client_1.expectString)(output.Platform),
5149
+ State: (0, smithy_client_1.expectString)(output.State),
5150
+ StreamView: (0, smithy_client_1.expectString)(output.StreamView),
5151
5151
  UsbDeviceFilterStrings: output.UsbDeviceFilterStrings !== undefined && output.UsbDeviceFilterStrings !== null
5152
5152
  ? deserializeAws_json1_1UsbDeviceFilterStrings(output.UsbDeviceFilterStrings, context)
5153
5153
  : undefined,
@@ -5158,8 +5158,8 @@ const deserializeAws_json1_1Fleet = (output, context) => {
5158
5158
  };
5159
5159
  const deserializeAws_json1_1FleetError = (output, context) => {
5160
5160
  return {
5161
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
5162
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5161
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
5162
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
5163
5163
  };
5164
5164
  };
5165
5165
  const deserializeAws_json1_1FleetErrors = (output, context) => {
@@ -5189,32 +5189,32 @@ const deserializeAws_json1_1Image = (output, context) => {
5189
5189
  Applications: output.Applications !== undefined && output.Applications !== null
5190
5190
  ? deserializeAws_json1_1Applications(output.Applications, context)
5191
5191
  : undefined,
5192
- AppstreamAgentVersion: smithy_client_1.expectString(output.AppstreamAgentVersion),
5193
- Arn: smithy_client_1.expectString(output.Arn),
5194
- BaseImageArn: smithy_client_1.expectString(output.BaseImageArn),
5192
+ AppstreamAgentVersion: (0, smithy_client_1.expectString)(output.AppstreamAgentVersion),
5193
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
5194
+ BaseImageArn: (0, smithy_client_1.expectString)(output.BaseImageArn),
5195
5195
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5196
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
5196
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
5197
5197
  : undefined,
5198
- Description: smithy_client_1.expectString(output.Description),
5199
- DisplayName: smithy_client_1.expectString(output.DisplayName),
5200
- ImageBuilderName: smithy_client_1.expectString(output.ImageBuilderName),
5201
- ImageBuilderSupported: smithy_client_1.expectBoolean(output.ImageBuilderSupported),
5198
+ Description: (0, smithy_client_1.expectString)(output.Description),
5199
+ DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
5200
+ ImageBuilderName: (0, smithy_client_1.expectString)(output.ImageBuilderName),
5201
+ ImageBuilderSupported: (0, smithy_client_1.expectBoolean)(output.ImageBuilderSupported),
5202
5202
  ImageErrors: output.ImageErrors !== undefined && output.ImageErrors !== null
5203
5203
  ? deserializeAws_json1_1ResourceErrors(output.ImageErrors, context)
5204
5204
  : undefined,
5205
5205
  ImagePermissions: output.ImagePermissions !== undefined && output.ImagePermissions !== null
5206
5206
  ? deserializeAws_json1_1ImagePermissions(output.ImagePermissions, context)
5207
5207
  : undefined,
5208
- Name: smithy_client_1.expectString(output.Name),
5209
- Platform: smithy_client_1.expectString(output.Platform),
5208
+ Name: (0, smithy_client_1.expectString)(output.Name),
5209
+ Platform: (0, smithy_client_1.expectString)(output.Platform),
5210
5210
  PublicBaseImageReleasedDate: output.PublicBaseImageReleasedDate !== undefined && output.PublicBaseImageReleasedDate !== null
5211
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PublicBaseImageReleasedDate)))
5211
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.PublicBaseImageReleasedDate)))
5212
5212
  : undefined,
5213
- State: smithy_client_1.expectString(output.State),
5213
+ State: (0, smithy_client_1.expectString)(output.State),
5214
5214
  StateChangeReason: output.StateChangeReason !== undefined && output.StateChangeReason !== null
5215
5215
  ? deserializeAws_json1_1ImageStateChangeReason(output.StateChangeReason, context)
5216
5216
  : undefined,
5217
- Visibility: smithy_client_1.expectString(output.Visibility),
5217
+ Visibility: (0, smithy_client_1.expectString)(output.Visibility),
5218
5218
  };
5219
5219
  };
5220
5220
  const deserializeAws_json1_1ImageBuilder = (output, context) => {
@@ -5222,29 +5222,29 @@ const deserializeAws_json1_1ImageBuilder = (output, context) => {
5222
5222
  AccessEndpoints: output.AccessEndpoints !== undefined && output.AccessEndpoints !== null
5223
5223
  ? deserializeAws_json1_1AccessEndpointList(output.AccessEndpoints, context)
5224
5224
  : undefined,
5225
- AppstreamAgentVersion: smithy_client_1.expectString(output.AppstreamAgentVersion),
5226
- Arn: smithy_client_1.expectString(output.Arn),
5225
+ AppstreamAgentVersion: (0, smithy_client_1.expectString)(output.AppstreamAgentVersion),
5226
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
5227
5227
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5228
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
5228
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
5229
5229
  : undefined,
5230
- Description: smithy_client_1.expectString(output.Description),
5231
- DisplayName: smithy_client_1.expectString(output.DisplayName),
5230
+ Description: (0, smithy_client_1.expectString)(output.Description),
5231
+ DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
5232
5232
  DomainJoinInfo: output.DomainJoinInfo !== undefined && output.DomainJoinInfo !== null
5233
5233
  ? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context)
5234
5234
  : undefined,
5235
- EnableDefaultInternetAccess: smithy_client_1.expectBoolean(output.EnableDefaultInternetAccess),
5236
- IamRoleArn: smithy_client_1.expectString(output.IamRoleArn),
5237
- ImageArn: smithy_client_1.expectString(output.ImageArn),
5235
+ EnableDefaultInternetAccess: (0, smithy_client_1.expectBoolean)(output.EnableDefaultInternetAccess),
5236
+ IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
5237
+ ImageArn: (0, smithy_client_1.expectString)(output.ImageArn),
5238
5238
  ImageBuilderErrors: output.ImageBuilderErrors !== undefined && output.ImageBuilderErrors !== null
5239
5239
  ? deserializeAws_json1_1ResourceErrors(output.ImageBuilderErrors, context)
5240
5240
  : undefined,
5241
- InstanceType: smithy_client_1.expectString(output.InstanceType),
5242
- Name: smithy_client_1.expectString(output.Name),
5241
+ InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
5242
+ Name: (0, smithy_client_1.expectString)(output.Name),
5243
5243
  NetworkAccessConfiguration: output.NetworkAccessConfiguration !== undefined && output.NetworkAccessConfiguration !== null
5244
5244
  ? deserializeAws_json1_1NetworkAccessConfiguration(output.NetworkAccessConfiguration, context)
5245
5245
  : undefined,
5246
- Platform: smithy_client_1.expectString(output.Platform),
5247
- State: smithy_client_1.expectString(output.State),
5246
+ Platform: (0, smithy_client_1.expectString)(output.Platform),
5247
+ State: (0, smithy_client_1.expectString)(output.State),
5248
5248
  StateChangeReason: output.StateChangeReason !== undefined && output.StateChangeReason !== null
5249
5249
  ? deserializeAws_json1_1ImageBuilderStateChangeReason(output.StateChangeReason, context)
5250
5250
  : undefined,
@@ -5266,8 +5266,8 @@ const deserializeAws_json1_1ImageBuilderList = (output, context) => {
5266
5266
  };
5267
5267
  const deserializeAws_json1_1ImageBuilderStateChangeReason = (output, context) => {
5268
5268
  return {
5269
- Code: smithy_client_1.expectString(output.Code),
5270
- Message: smithy_client_1.expectString(output.Message),
5269
+ Code: (0, smithy_client_1.expectString)(output.Code),
5270
+ Message: (0, smithy_client_1.expectString)(output.Message),
5271
5271
  };
5272
5272
  };
5273
5273
  const deserializeAws_json1_1ImageList = (output, context) => {
@@ -5283,40 +5283,40 @@ const deserializeAws_json1_1ImageList = (output, context) => {
5283
5283
  };
5284
5284
  const deserializeAws_json1_1ImagePermissions = (output, context) => {
5285
5285
  return {
5286
- allowFleet: smithy_client_1.expectBoolean(output.allowFleet),
5287
- allowImageBuilder: smithy_client_1.expectBoolean(output.allowImageBuilder),
5286
+ allowFleet: (0, smithy_client_1.expectBoolean)(output.allowFleet),
5287
+ allowImageBuilder: (0, smithy_client_1.expectBoolean)(output.allowImageBuilder),
5288
5288
  };
5289
5289
  };
5290
5290
  const deserializeAws_json1_1ImageStateChangeReason = (output, context) => {
5291
5291
  return {
5292
- Code: smithy_client_1.expectString(output.Code),
5293
- Message: smithy_client_1.expectString(output.Message),
5292
+ Code: (0, smithy_client_1.expectString)(output.Code),
5293
+ Message: (0, smithy_client_1.expectString)(output.Message),
5294
5294
  };
5295
5295
  };
5296
5296
  const deserializeAws_json1_1IncompatibleImageException = (output, context) => {
5297
5297
  return {
5298
- Message: smithy_client_1.expectString(output.Message),
5298
+ Message: (0, smithy_client_1.expectString)(output.Message),
5299
5299
  };
5300
5300
  };
5301
5301
  const deserializeAws_json1_1InvalidAccountStatusException = (output, context) => {
5302
5302
  return {
5303
- Message: smithy_client_1.expectString(output.Message),
5303
+ Message: (0, smithy_client_1.expectString)(output.Message),
5304
5304
  };
5305
5305
  };
5306
5306
  const deserializeAws_json1_1InvalidParameterCombinationException = (output, context) => {
5307
5307
  return {
5308
- Message: smithy_client_1.expectString(output.Message),
5308
+ Message: (0, smithy_client_1.expectString)(output.Message),
5309
5309
  };
5310
5310
  };
5311
5311
  const deserializeAws_json1_1InvalidRoleException = (output, context) => {
5312
5312
  return {
5313
- Message: smithy_client_1.expectString(output.Message),
5313
+ Message: (0, smithy_client_1.expectString)(output.Message),
5314
5314
  };
5315
5315
  };
5316
5316
  const deserializeAws_json1_1LastReportGenerationExecutionError = (output, context) => {
5317
5317
  return {
5318
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
5319
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5318
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
5319
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
5320
5320
  };
5321
5321
  };
5322
5322
  const deserializeAws_json1_1LastReportGenerationExecutionErrors = (output, context) => {
@@ -5332,7 +5332,7 @@ const deserializeAws_json1_1LastReportGenerationExecutionErrors = (output, conte
5332
5332
  };
5333
5333
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
5334
5334
  return {
5335
- Message: smithy_client_1.expectString(output.Message),
5335
+ Message: (0, smithy_client_1.expectString)(output.Message),
5336
5336
  };
5337
5337
  };
5338
5338
  const deserializeAws_json1_1ListAssociatedFleetsResult = (output, context) => {
@@ -5340,7 +5340,7 @@ const deserializeAws_json1_1ListAssociatedFleetsResult = (output, context) => {
5340
5340
  Names: output.Names !== undefined && output.Names !== null
5341
5341
  ? deserializeAws_json1_1StringList(output.Names, context)
5342
5342
  : undefined,
5343
- NextToken: smithy_client_1.expectString(output.NextToken),
5343
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5344
5344
  };
5345
5345
  };
5346
5346
  const deserializeAws_json1_1ListAssociatedStacksResult = (output, context) => {
@@ -5348,7 +5348,7 @@ const deserializeAws_json1_1ListAssociatedStacksResult = (output, context) => {
5348
5348
  Names: output.Names !== undefined && output.Names !== null
5349
5349
  ? deserializeAws_json1_1StringList(output.Names, context)
5350
5350
  : undefined,
5351
- NextToken: smithy_client_1.expectString(output.NextToken),
5351
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5352
5352
  };
5353
5353
  };
5354
5354
  const deserializeAws_json1_1ListEntitledApplicationsResult = (output, context) => {
@@ -5356,7 +5356,7 @@ const deserializeAws_json1_1ListEntitledApplicationsResult = (output, context) =
5356
5356
  EntitledApplications: output.EntitledApplications !== undefined && output.EntitledApplications !== null
5357
5357
  ? deserializeAws_json1_1EntitledApplicationList(output.EntitledApplications, context)
5358
5358
  : undefined,
5359
- NextToken: smithy_client_1.expectString(output.NextToken),
5359
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5360
5360
  };
5361
5361
  };
5362
5362
  const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
@@ -5371,19 +5371,19 @@ const deserializeAws_json1_1Metadata = (output, context) => {
5371
5371
  }
5372
5372
  return {
5373
5373
  ...acc,
5374
- [key]: smithy_client_1.expectString(value),
5374
+ [key]: (0, smithy_client_1.expectString)(value),
5375
5375
  };
5376
5376
  }, {});
5377
5377
  };
5378
5378
  const deserializeAws_json1_1NetworkAccessConfiguration = (output, context) => {
5379
5379
  return {
5380
- EniId: smithy_client_1.expectString(output.EniId),
5381
- EniPrivateIpAddress: smithy_client_1.expectString(output.EniPrivateIpAddress),
5380
+ EniId: (0, smithy_client_1.expectString)(output.EniId),
5381
+ EniPrivateIpAddress: (0, smithy_client_1.expectString)(output.EniPrivateIpAddress),
5382
5382
  };
5383
5383
  };
5384
5384
  const deserializeAws_json1_1OperationNotPermittedException = (output, context) => {
5385
5385
  return {
5386
- Message: smithy_client_1.expectString(output.Message),
5386
+ Message: (0, smithy_client_1.expectString)(output.Message),
5387
5387
  };
5388
5388
  };
5389
5389
  const deserializeAws_json1_1OrganizationalUnitDistinguishedNamesList = (output, context) => {
@@ -5393,7 +5393,7 @@ const deserializeAws_json1_1OrganizationalUnitDistinguishedNamesList = (output,
5393
5393
  if (entry === null) {
5394
5394
  return null;
5395
5395
  }
5396
- return smithy_client_1.expectString(entry);
5396
+ return (0, smithy_client_1.expectString)(entry);
5397
5397
  });
5398
5398
  return retVal;
5399
5399
  };
@@ -5404,26 +5404,26 @@ const deserializeAws_json1_1Platforms = (output, context) => {
5404
5404
  if (entry === null) {
5405
5405
  return null;
5406
5406
  }
5407
- return smithy_client_1.expectString(entry);
5407
+ return (0, smithy_client_1.expectString)(entry);
5408
5408
  });
5409
5409
  return retVal;
5410
5410
  };
5411
5411
  const deserializeAws_json1_1RequestLimitExceededException = (output, context) => {
5412
5412
  return {
5413
- Message: smithy_client_1.expectString(output.Message),
5413
+ Message: (0, smithy_client_1.expectString)(output.Message),
5414
5414
  };
5415
5415
  };
5416
5416
  const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
5417
5417
  return {
5418
- Message: smithy_client_1.expectString(output.Message),
5418
+ Message: (0, smithy_client_1.expectString)(output.Message),
5419
5419
  };
5420
5420
  };
5421
5421
  const deserializeAws_json1_1ResourceError = (output, context) => {
5422
5422
  return {
5423
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
5424
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5423
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
5424
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
5425
5425
  ErrorTimestamp: output.ErrorTimestamp !== undefined && output.ErrorTimestamp !== null
5426
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ErrorTimestamp)))
5426
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ErrorTimestamp)))
5427
5427
  : undefined,
5428
5428
  };
5429
5429
  };
@@ -5440,33 +5440,33 @@ const deserializeAws_json1_1ResourceErrors = (output, context) => {
5440
5440
  };
5441
5441
  const deserializeAws_json1_1ResourceInUseException = (output, context) => {
5442
5442
  return {
5443
- Message: smithy_client_1.expectString(output.Message),
5443
+ Message: (0, smithy_client_1.expectString)(output.Message),
5444
5444
  };
5445
5445
  };
5446
5446
  const deserializeAws_json1_1ResourceNotAvailableException = (output, context) => {
5447
5447
  return {
5448
- Message: smithy_client_1.expectString(output.Message),
5448
+ Message: (0, smithy_client_1.expectString)(output.Message),
5449
5449
  };
5450
5450
  };
5451
5451
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
5452
5452
  return {
5453
- Message: smithy_client_1.expectString(output.Message),
5453
+ Message: (0, smithy_client_1.expectString)(output.Message),
5454
5454
  };
5455
5455
  };
5456
5456
  const deserializeAws_json1_1S3Location = (output, context) => {
5457
5457
  return {
5458
- S3Bucket: smithy_client_1.expectString(output.S3Bucket),
5459
- S3Key: smithy_client_1.expectString(output.S3Key),
5458
+ S3Bucket: (0, smithy_client_1.expectString)(output.S3Bucket),
5459
+ S3Key: (0, smithy_client_1.expectString)(output.S3Key),
5460
5460
  };
5461
5461
  };
5462
5462
  const deserializeAws_json1_1ScriptDetails = (output, context) => {
5463
5463
  return {
5464
- ExecutableParameters: smithy_client_1.expectString(output.ExecutableParameters),
5465
- ExecutablePath: smithy_client_1.expectString(output.ExecutablePath),
5464
+ ExecutableParameters: (0, smithy_client_1.expectString)(output.ExecutableParameters),
5465
+ ExecutablePath: (0, smithy_client_1.expectString)(output.ExecutablePath),
5466
5466
  ScriptS3Location: output.ScriptS3Location !== undefined && output.ScriptS3Location !== null
5467
5467
  ? deserializeAws_json1_1S3Location(output.ScriptS3Location, context)
5468
5468
  : undefined,
5469
- TimeoutInSeconds: smithy_client_1.expectInt32(output.TimeoutInSeconds),
5469
+ TimeoutInSeconds: (0, smithy_client_1.expectInt32)(output.TimeoutInSeconds),
5470
5470
  };
5471
5471
  };
5472
5472
  const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
@@ -5476,34 +5476,34 @@ const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
5476
5476
  if (entry === null) {
5477
5477
  return null;
5478
5478
  }
5479
- return smithy_client_1.expectString(entry);
5479
+ return (0, smithy_client_1.expectString)(entry);
5480
5480
  });
5481
5481
  return retVal;
5482
5482
  };
5483
5483
  const deserializeAws_json1_1ServiceAccountCredentials = (output, context) => {
5484
5484
  return {
5485
- AccountName: smithy_client_1.expectString(output.AccountName),
5486
- AccountPassword: smithy_client_1.expectString(output.AccountPassword),
5485
+ AccountName: (0, smithy_client_1.expectString)(output.AccountName),
5486
+ AccountPassword: (0, smithy_client_1.expectString)(output.AccountPassword),
5487
5487
  };
5488
5488
  };
5489
5489
  const deserializeAws_json1_1Session = (output, context) => {
5490
5490
  return {
5491
- AuthenticationType: smithy_client_1.expectString(output.AuthenticationType),
5492
- ConnectionState: smithy_client_1.expectString(output.ConnectionState),
5493
- FleetName: smithy_client_1.expectString(output.FleetName),
5494
- Id: smithy_client_1.expectString(output.Id),
5491
+ AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
5492
+ ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
5493
+ FleetName: (0, smithy_client_1.expectString)(output.FleetName),
5494
+ Id: (0, smithy_client_1.expectString)(output.Id),
5495
5495
  MaxExpirationTime: output.MaxExpirationTime !== undefined && output.MaxExpirationTime !== null
5496
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.MaxExpirationTime)))
5496
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.MaxExpirationTime)))
5497
5497
  : undefined,
5498
5498
  NetworkAccessConfiguration: output.NetworkAccessConfiguration !== undefined && output.NetworkAccessConfiguration !== null
5499
5499
  ? deserializeAws_json1_1NetworkAccessConfiguration(output.NetworkAccessConfiguration, context)
5500
5500
  : undefined,
5501
- StackName: smithy_client_1.expectString(output.StackName),
5501
+ StackName: (0, smithy_client_1.expectString)(output.StackName),
5502
5502
  StartTime: output.StartTime !== undefined && output.StartTime !== null
5503
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
5503
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
5504
5504
  : undefined,
5505
- State: smithy_client_1.expectString(output.State),
5506
- UserId: smithy_client_1.expectString(output.UserId),
5505
+ State: (0, smithy_client_1.expectString)(output.State),
5506
+ UserId: (0, smithy_client_1.expectString)(output.UserId),
5507
5507
  };
5508
5508
  };
5509
5509
  const deserializeAws_json1_1SessionList = (output, context) => {
@@ -5522,7 +5522,7 @@ const deserializeAws_json1_1SharedImagePermissions = (output, context) => {
5522
5522
  imagePermissions: output.imagePermissions !== undefined && output.imagePermissions !== null
5523
5523
  ? deserializeAws_json1_1ImagePermissions(output.imagePermissions, context)
5524
5524
  : undefined,
5525
- sharedAccountId: smithy_client_1.expectString(output.sharedAccountId),
5525
+ sharedAccountId: (0, smithy_client_1.expectString)(output.sharedAccountId),
5526
5526
  };
5527
5527
  };
5528
5528
  const deserializeAws_json1_1SharedImagePermissionsList = (output, context) => {
@@ -5544,18 +5544,18 @@ const deserializeAws_json1_1Stack = (output, context) => {
5544
5544
  ApplicationSettings: output.ApplicationSettings !== undefined && output.ApplicationSettings !== null
5545
5545
  ? deserializeAws_json1_1ApplicationSettingsResponse(output.ApplicationSettings, context)
5546
5546
  : undefined,
5547
- Arn: smithy_client_1.expectString(output.Arn),
5547
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
5548
5548
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5549
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
5549
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
5550
5550
  : undefined,
5551
- Description: smithy_client_1.expectString(output.Description),
5552
- DisplayName: smithy_client_1.expectString(output.DisplayName),
5551
+ Description: (0, smithy_client_1.expectString)(output.Description),
5552
+ DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
5553
5553
  EmbedHostDomains: output.EmbedHostDomains !== undefined && output.EmbedHostDomains !== null
5554
5554
  ? deserializeAws_json1_1EmbedHostDomains(output.EmbedHostDomains, context)
5555
5555
  : undefined,
5556
- FeedbackURL: smithy_client_1.expectString(output.FeedbackURL),
5557
- Name: smithy_client_1.expectString(output.Name),
5558
- RedirectURL: smithy_client_1.expectString(output.RedirectURL),
5556
+ FeedbackURL: (0, smithy_client_1.expectString)(output.FeedbackURL),
5557
+ Name: (0, smithy_client_1.expectString)(output.Name),
5558
+ RedirectURL: (0, smithy_client_1.expectString)(output.RedirectURL),
5559
5559
  StackErrors: output.StackErrors !== undefined && output.StackErrors !== null
5560
5560
  ? deserializeAws_json1_1StackErrors(output.StackErrors, context)
5561
5561
  : undefined,
@@ -5569,8 +5569,8 @@ const deserializeAws_json1_1Stack = (output, context) => {
5569
5569
  };
5570
5570
  const deserializeAws_json1_1StackError = (output, context) => {
5571
5571
  return {
5572
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
5573
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5572
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
5573
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
5574
5574
  };
5575
5575
  };
5576
5576
  const deserializeAws_json1_1StackErrors = (output, context) => {
@@ -5617,11 +5617,11 @@ const deserializeAws_json1_1StopImageBuilderResult = (output, context) => {
5617
5617
  };
5618
5618
  const deserializeAws_json1_1StorageConnector = (output, context) => {
5619
5619
  return {
5620
- ConnectorType: smithy_client_1.expectString(output.ConnectorType),
5620
+ ConnectorType: (0, smithy_client_1.expectString)(output.ConnectorType),
5621
5621
  Domains: output.Domains !== undefined && output.Domains !== null
5622
5622
  ? deserializeAws_json1_1DomainList(output.Domains, context)
5623
5623
  : undefined,
5624
- ResourceIdentifier: smithy_client_1.expectString(output.ResourceIdentifier),
5624
+ ResourceIdentifier: (0, smithy_client_1.expectString)(output.ResourceIdentifier),
5625
5625
  };
5626
5626
  };
5627
5627
  const deserializeAws_json1_1StorageConnectorList = (output, context) => {
@@ -5642,7 +5642,7 @@ const deserializeAws_json1_1StringList = (output, context) => {
5642
5642
  if (entry === null) {
5643
5643
  return null;
5644
5644
  }
5645
- return smithy_client_1.expectString(entry);
5645
+ return (0, smithy_client_1.expectString)(entry);
5646
5646
  });
5647
5647
  return retVal;
5648
5648
  };
@@ -5653,7 +5653,7 @@ const deserializeAws_json1_1SubnetIdList = (output, context) => {
5653
5653
  if (entry === null) {
5654
5654
  return null;
5655
5655
  }
5656
- return smithy_client_1.expectString(entry);
5656
+ return (0, smithy_client_1.expectString)(entry);
5657
5657
  });
5658
5658
  return retVal;
5659
5659
  };
@@ -5667,7 +5667,7 @@ const deserializeAws_json1_1Tags = (output, context) => {
5667
5667
  }
5668
5668
  return {
5669
5669
  ...acc,
5670
- [key]: smithy_client_1.expectString(value),
5670
+ [key]: (0, smithy_client_1.expectString)(value),
5671
5671
  };
5672
5672
  }, {});
5673
5673
  };
@@ -5715,10 +5715,10 @@ const deserializeAws_json1_1UpdateStackResult = (output, context) => {
5715
5715
  const deserializeAws_json1_1UsageReportSubscription = (output, context) => {
5716
5716
  return {
5717
5717
  LastGeneratedReportDate: output.LastGeneratedReportDate !== undefined && output.LastGeneratedReportDate !== null
5718
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastGeneratedReportDate)))
5718
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastGeneratedReportDate)))
5719
5719
  : undefined,
5720
- S3BucketName: smithy_client_1.expectString(output.S3BucketName),
5721
- Schedule: smithy_client_1.expectString(output.Schedule),
5720
+ S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
5721
+ Schedule: (0, smithy_client_1.expectString)(output.Schedule),
5722
5722
  SubscriptionErrors: output.SubscriptionErrors !== undefined && output.SubscriptionErrors !== null
5723
5723
  ? deserializeAws_json1_1LastReportGenerationExecutionErrors(output.SubscriptionErrors, context)
5724
5724
  : undefined,
@@ -5742,22 +5742,22 @@ const deserializeAws_json1_1UsbDeviceFilterStrings = (output, context) => {
5742
5742
  if (entry === null) {
5743
5743
  return null;
5744
5744
  }
5745
- return smithy_client_1.expectString(entry);
5745
+ return (0, smithy_client_1.expectString)(entry);
5746
5746
  });
5747
5747
  return retVal;
5748
5748
  };
5749
5749
  const deserializeAws_json1_1User = (output, context) => {
5750
5750
  return {
5751
- Arn: smithy_client_1.expectString(output.Arn),
5752
- AuthenticationType: smithy_client_1.expectString(output.AuthenticationType),
5751
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
5752
+ AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
5753
5753
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5754
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
5754
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
5755
5755
  : undefined,
5756
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
5757
- FirstName: smithy_client_1.expectString(output.FirstName),
5758
- LastName: smithy_client_1.expectString(output.LastName),
5759
- Status: smithy_client_1.expectString(output.Status),
5760
- UserName: smithy_client_1.expectString(output.UserName),
5756
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
5757
+ FirstName: (0, smithy_client_1.expectString)(output.FirstName),
5758
+ LastName: (0, smithy_client_1.expectString)(output.LastName),
5759
+ Status: (0, smithy_client_1.expectString)(output.Status),
5760
+ UserName: (0, smithy_client_1.expectString)(output.UserName),
5761
5761
  };
5762
5762
  };
5763
5763
  const deserializeAws_json1_1UserList = (output, context) => {
@@ -5773,8 +5773,8 @@ const deserializeAws_json1_1UserList = (output, context) => {
5773
5773
  };
5774
5774
  const deserializeAws_json1_1UserSetting = (output, context) => {
5775
5775
  return {
5776
- Action: smithy_client_1.expectString(output.Action),
5777
- Permission: smithy_client_1.expectString(output.Permission),
5776
+ Action: (0, smithy_client_1.expectString)(output.Action),
5777
+ Permission: (0, smithy_client_1.expectString)(output.Permission),
5778
5778
  };
5779
5779
  };
5780
5780
  const deserializeAws_json1_1UserSettingList = (output, context) => {
@@ -5790,16 +5790,16 @@ const deserializeAws_json1_1UserSettingList = (output, context) => {
5790
5790
  };
5791
5791
  const deserializeAws_json1_1UserStackAssociation = (output, context) => {
5792
5792
  return {
5793
- AuthenticationType: smithy_client_1.expectString(output.AuthenticationType),
5794
- SendEmailNotification: smithy_client_1.expectBoolean(output.SendEmailNotification),
5795
- StackName: smithy_client_1.expectString(output.StackName),
5796
- UserName: smithy_client_1.expectString(output.UserName),
5793
+ AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
5794
+ SendEmailNotification: (0, smithy_client_1.expectBoolean)(output.SendEmailNotification),
5795
+ StackName: (0, smithy_client_1.expectString)(output.StackName),
5796
+ UserName: (0, smithy_client_1.expectString)(output.UserName),
5797
5797
  };
5798
5798
  };
5799
5799
  const deserializeAws_json1_1UserStackAssociationError = (output, context) => {
5800
5800
  return {
5801
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
5802
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5801
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
5802
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
5803
5803
  UserStackAssociation: output.UserStackAssociation !== undefined && output.UserStackAssociation !== null
5804
5804
  ? deserializeAws_json1_1UserStackAssociation(output.UserStackAssociation, context)
5805
5805
  : undefined,