@aws-sdk/client-workspaces 3.54.0 → 3.56.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 (72) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/WorkSpacesClient.js +13 -13
  3. package/dist-cjs/commands/AssociateConnectionAliasCommand.js +3 -3
  4. package/dist-cjs/commands/AssociateIpGroupsCommand.js +3 -3
  5. package/dist-cjs/commands/AuthorizeIpRulesCommand.js +3 -3
  6. package/dist-cjs/commands/CopyWorkspaceImageCommand.js +3 -3
  7. package/dist-cjs/commands/CreateConnectClientAddInCommand.js +3 -3
  8. package/dist-cjs/commands/CreateConnectionAliasCommand.js +3 -3
  9. package/dist-cjs/commands/CreateIpGroupCommand.js +3 -3
  10. package/dist-cjs/commands/CreateTagsCommand.js +3 -3
  11. package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js +3 -3
  12. package/dist-cjs/commands/CreateWorkspaceBundleCommand.js +3 -3
  13. package/dist-cjs/commands/CreateWorkspacesCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteConnectClientAddInCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteConnectionAliasCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteIpGroupCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteTagsCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteWorkspaceImageCommand.js +3 -3
  20. package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeAccountCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeAccountModificationsCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeClientPropertiesCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeConnectClientAddInsCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeConnectionAliasesCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeIpGroupsCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js +3 -3
  30. package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js +3 -3
  31. package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +3 -3
  32. package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js +3 -3
  33. package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js +3 -3
  34. package/dist-cjs/commands/DescribeWorkspacesCommand.js +3 -3
  35. package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +3 -3
  36. package/dist-cjs/commands/DisassociateConnectionAliasCommand.js +3 -3
  37. package/dist-cjs/commands/DisassociateIpGroupsCommand.js +3 -3
  38. package/dist-cjs/commands/ImportWorkspaceImageCommand.js +3 -3
  39. package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js +3 -3
  40. package/dist-cjs/commands/MigrateWorkspaceCommand.js +3 -3
  41. package/dist-cjs/commands/ModifyAccountCommand.js +3 -3
  42. package/dist-cjs/commands/ModifyClientPropertiesCommand.js +3 -3
  43. package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js +3 -3
  44. package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +3 -3
  45. package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +3 -3
  46. package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js +3 -3
  47. package/dist-cjs/commands/ModifyWorkspaceStateCommand.js +3 -3
  48. package/dist-cjs/commands/RebootWorkspacesCommand.js +3 -3
  49. package/dist-cjs/commands/RebuildWorkspacesCommand.js +3 -3
  50. package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js +3 -3
  51. package/dist-cjs/commands/RestoreWorkspaceCommand.js +3 -3
  52. package/dist-cjs/commands/RevokeIpRulesCommand.js +3 -3
  53. package/dist-cjs/commands/StartWorkspacesCommand.js +3 -3
  54. package/dist-cjs/commands/StopWorkspacesCommand.js +3 -3
  55. package/dist-cjs/commands/TerminateWorkspacesCommand.js +3 -3
  56. package/dist-cjs/commands/UpdateConnectClientAddInCommand.js +3 -3
  57. package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js +3 -3
  58. package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js +3 -3
  59. package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js +3 -3
  60. package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js +3 -3
  61. package/dist-cjs/endpoints.js +1 -1
  62. package/dist-cjs/protocols/Aws_json1_1.js +234 -234
  63. package/dist-cjs/runtimeConfig.browser.js +4 -4
  64. package/dist-cjs/runtimeConfig.js +9 -9
  65. package/dist-cjs/runtimeConfig.native.js +1 -1
  66. package/dist-es/WorkSpaces.js +58 -58
  67. package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js +4 -4
  68. package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js +4 -4
  69. package/dist-es/pagination/DescribeWorkspacesPaginator.js +4 -4
  70. package/dist-types/runtimeConfig.native.d.ts +2 -2
  71. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  72. package/package.json +34 -34
@@ -635,7 +635,7 @@ const deserializeAws_json1_1AssociateConnectionAliasCommandError = async (output
635
635
  $fault: "client",
636
636
  $metadata: deserializeMetadata(output),
637
637
  });
638
- throw smithy_client_1.decorateServiceException(response, parsedBody);
638
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
639
639
  }
640
640
  };
641
641
  const deserializeAws_json1_1AssociateIpGroupsCommand = async (output, context) => {
@@ -686,7 +686,7 @@ const deserializeAws_json1_1AssociateIpGroupsCommandError = async (output, conte
686
686
  $fault: "client",
687
687
  $metadata: deserializeMetadata(output),
688
688
  });
689
- throw smithy_client_1.decorateServiceException(response, parsedBody);
689
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
690
690
  }
691
691
  };
692
692
  const deserializeAws_json1_1AuthorizeIpRulesCommand = async (output, context) => {
@@ -734,7 +734,7 @@ const deserializeAws_json1_1AuthorizeIpRulesCommandError = async (output, contex
734
734
  $fault: "client",
735
735
  $metadata: deserializeMetadata(output),
736
736
  });
737
- throw smithy_client_1.decorateServiceException(response, parsedBody);
737
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
738
738
  }
739
739
  };
740
740
  const deserializeAws_json1_1CopyWorkspaceImageCommand = async (output, context) => {
@@ -788,7 +788,7 @@ const deserializeAws_json1_1CopyWorkspaceImageCommandError = async (output, cont
788
788
  $fault: "client",
789
789
  $metadata: deserializeMetadata(output),
790
790
  });
791
- throw smithy_client_1.decorateServiceException(response, parsedBody);
791
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
792
792
  }
793
793
  };
794
794
  const deserializeAws_json1_1CreateConnectClientAddInCommand = async (output, context) => {
@@ -836,7 +836,7 @@ const deserializeAws_json1_1CreateConnectClientAddInCommandError = async (output
836
836
  $fault: "client",
837
837
  $metadata: deserializeMetadata(output),
838
838
  });
839
- throw smithy_client_1.decorateServiceException(response, parsedBody);
839
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
840
840
  }
841
841
  };
842
842
  const deserializeAws_json1_1CreateConnectionAliasCommand = async (output, context) => {
@@ -887,7 +887,7 @@ const deserializeAws_json1_1CreateConnectionAliasCommandError = async (output, c
887
887
  $fault: "client",
888
888
  $metadata: deserializeMetadata(output),
889
889
  });
890
- throw smithy_client_1.decorateServiceException(response, parsedBody);
890
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
891
891
  }
892
892
  };
893
893
  const deserializeAws_json1_1CreateIpGroupCommand = async (output, context) => {
@@ -935,7 +935,7 @@ const deserializeAws_json1_1CreateIpGroupCommandError = async (output, context)
935
935
  $fault: "client",
936
936
  $metadata: deserializeMetadata(output),
937
937
  });
938
- throw smithy_client_1.decorateServiceException(response, parsedBody);
938
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
939
939
  }
940
940
  };
941
941
  const deserializeAws_json1_1CreateTagsCommand = async (output, context) => {
@@ -977,7 +977,7 @@ const deserializeAws_json1_1CreateTagsCommandError = async (output, context) =>
977
977
  $fault: "client",
978
978
  $metadata: deserializeMetadata(output),
979
979
  });
980
- throw smithy_client_1.decorateServiceException(response, parsedBody);
980
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
981
981
  }
982
982
  };
983
983
  const deserializeAws_json1_1CreateUpdatedWorkspaceImageCommand = async (output, context) => {
@@ -1031,7 +1031,7 @@ const deserializeAws_json1_1CreateUpdatedWorkspaceImageCommandError = async (out
1031
1031
  $fault: "client",
1032
1032
  $metadata: deserializeMetadata(output),
1033
1033
  });
1034
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1034
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1035
1035
  }
1036
1036
  };
1037
1037
  const deserializeAws_json1_1CreateWorkspaceBundleCommand = async (output, context) => {
@@ -1082,7 +1082,7 @@ const deserializeAws_json1_1CreateWorkspaceBundleCommandError = async (output, c
1082
1082
  $fault: "client",
1083
1083
  $metadata: deserializeMetadata(output),
1084
1084
  });
1085
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1085
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1086
1086
  }
1087
1087
  };
1088
1088
  const deserializeAws_json1_1CreateWorkspacesCommand = async (output, context) => {
@@ -1121,7 +1121,7 @@ const deserializeAws_json1_1CreateWorkspacesCommandError = async (output, contex
1121
1121
  $fault: "client",
1122
1122
  $metadata: deserializeMetadata(output),
1123
1123
  });
1124
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1124
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1125
1125
  }
1126
1126
  };
1127
1127
  const deserializeAws_json1_1DeleteConnectClientAddInCommand = async (output, context) => {
@@ -1163,7 +1163,7 @@ const deserializeAws_json1_1DeleteConnectClientAddInCommandError = async (output
1163
1163
  $fault: "client",
1164
1164
  $metadata: deserializeMetadata(output),
1165
1165
  });
1166
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1166
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1167
1167
  }
1168
1168
  };
1169
1169
  const deserializeAws_json1_1DeleteConnectionAliasCommand = async (output, context) => {
@@ -1214,7 +1214,7 @@ const deserializeAws_json1_1DeleteConnectionAliasCommandError = async (output, c
1214
1214
  $fault: "client",
1215
1215
  $metadata: deserializeMetadata(output),
1216
1216
  });
1217
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1217
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1218
1218
  }
1219
1219
  };
1220
1220
  const deserializeAws_json1_1DeleteIpGroupCommand = async (output, context) => {
@@ -1259,7 +1259,7 @@ const deserializeAws_json1_1DeleteIpGroupCommandError = async (output, context)
1259
1259
  $fault: "client",
1260
1260
  $metadata: deserializeMetadata(output),
1261
1261
  });
1262
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1262
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1263
1263
  }
1264
1264
  };
1265
1265
  const deserializeAws_json1_1DeleteTagsCommand = async (output, context) => {
@@ -1298,7 +1298,7 @@ const deserializeAws_json1_1DeleteTagsCommandError = async (output, context) =>
1298
1298
  $fault: "client",
1299
1299
  $metadata: deserializeMetadata(output),
1300
1300
  });
1301
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1301
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1302
1302
  }
1303
1303
  };
1304
1304
  const deserializeAws_json1_1DeleteWorkspaceBundleCommand = async (output, context) => {
@@ -1343,7 +1343,7 @@ const deserializeAws_json1_1DeleteWorkspaceBundleCommandError = async (output, c
1343
1343
  $fault: "client",
1344
1344
  $metadata: deserializeMetadata(output),
1345
1345
  });
1346
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1346
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1347
1347
  }
1348
1348
  };
1349
1349
  const deserializeAws_json1_1DeleteWorkspaceImageCommand = async (output, context) => {
@@ -1385,7 +1385,7 @@ const deserializeAws_json1_1DeleteWorkspaceImageCommandError = async (output, co
1385
1385
  $fault: "client",
1386
1386
  $metadata: deserializeMetadata(output),
1387
1387
  });
1388
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1388
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1389
1389
  }
1390
1390
  };
1391
1391
  const deserializeAws_json1_1DeregisterWorkspaceDirectoryCommand = async (output, context) => {
@@ -1433,7 +1433,7 @@ const deserializeAws_json1_1DeregisterWorkspaceDirectoryCommandError = async (ou
1433
1433
  $fault: "client",
1434
1434
  $metadata: deserializeMetadata(output),
1435
1435
  });
1436
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1436
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1437
1437
  }
1438
1438
  };
1439
1439
  const deserializeAws_json1_1DescribeAccountCommand = async (output, context) => {
@@ -1469,7 +1469,7 @@ const deserializeAws_json1_1DescribeAccountCommandError = async (output, context
1469
1469
  $fault: "client",
1470
1470
  $metadata: deserializeMetadata(output),
1471
1471
  });
1472
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1472
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1473
1473
  }
1474
1474
  };
1475
1475
  const deserializeAws_json1_1DescribeAccountModificationsCommand = async (output, context) => {
@@ -1505,7 +1505,7 @@ const deserializeAws_json1_1DescribeAccountModificationsCommandError = async (ou
1505
1505
  $fault: "client",
1506
1506
  $metadata: deserializeMetadata(output),
1507
1507
  });
1508
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1508
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1509
1509
  }
1510
1510
  };
1511
1511
  const deserializeAws_json1_1DescribeClientPropertiesCommand = async (output, context) => {
@@ -1547,7 +1547,7 @@ const deserializeAws_json1_1DescribeClientPropertiesCommandError = async (output
1547
1547
  $fault: "client",
1548
1548
  $metadata: deserializeMetadata(output),
1549
1549
  });
1550
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1550
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1551
1551
  }
1552
1552
  };
1553
1553
  const deserializeAws_json1_1DescribeConnectClientAddInsCommand = async (output, context) => {
@@ -1589,7 +1589,7 @@ const deserializeAws_json1_1DescribeConnectClientAddInsCommandError = async (out
1589
1589
  $fault: "client",
1590
1590
  $metadata: deserializeMetadata(output),
1591
1591
  });
1592
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1592
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1593
1593
  }
1594
1594
  };
1595
1595
  const deserializeAws_json1_1DescribeConnectionAliasesCommand = async (output, context) => {
@@ -1631,7 +1631,7 @@ const deserializeAws_json1_1DescribeConnectionAliasesCommandError = async (outpu
1631
1631
  $fault: "client",
1632
1632
  $metadata: deserializeMetadata(output),
1633
1633
  });
1634
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1634
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1635
1635
  }
1636
1636
  };
1637
1637
  const deserializeAws_json1_1DescribeConnectionAliasPermissionsCommand = async (output, context) => {
@@ -1676,7 +1676,7 @@ const deserializeAws_json1_1DescribeConnectionAliasPermissionsCommandError = asy
1676
1676
  $fault: "client",
1677
1677
  $metadata: deserializeMetadata(output),
1678
1678
  });
1679
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1679
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1680
1680
  }
1681
1681
  };
1682
1682
  const deserializeAws_json1_1DescribeIpGroupsCommand = async (output, context) => {
@@ -1715,7 +1715,7 @@ const deserializeAws_json1_1DescribeIpGroupsCommandError = async (output, contex
1715
1715
  $fault: "client",
1716
1716
  $metadata: deserializeMetadata(output),
1717
1717
  });
1718
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1718
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1719
1719
  }
1720
1720
  };
1721
1721
  const deserializeAws_json1_1DescribeTagsCommand = async (output, context) => {
@@ -1751,7 +1751,7 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (output, context) =
1751
1751
  $fault: "client",
1752
1752
  $metadata: deserializeMetadata(output),
1753
1753
  });
1754
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1754
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1755
1755
  }
1756
1756
  };
1757
1757
  const deserializeAws_json1_1DescribeWorkspaceBundlesCommand = async (output, context) => {
@@ -1787,7 +1787,7 @@ const deserializeAws_json1_1DescribeWorkspaceBundlesCommandError = async (output
1787
1787
  $fault: "client",
1788
1788
  $metadata: deserializeMetadata(output),
1789
1789
  });
1790
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1790
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1791
1791
  }
1792
1792
  };
1793
1793
  const deserializeAws_json1_1DescribeWorkspaceDirectoriesCommand = async (output, context) => {
@@ -1823,7 +1823,7 @@ const deserializeAws_json1_1DescribeWorkspaceDirectoriesCommandError = async (ou
1823
1823
  $fault: "client",
1824
1824
  $metadata: deserializeMetadata(output),
1825
1825
  });
1826
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1826
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1827
1827
  }
1828
1828
  };
1829
1829
  const deserializeAws_json1_1DescribeWorkspaceImagePermissionsCommand = async (output, context) => {
@@ -1865,7 +1865,7 @@ const deserializeAws_json1_1DescribeWorkspaceImagePermissionsCommandError = asyn
1865
1865
  $fault: "client",
1866
1866
  $metadata: deserializeMetadata(output),
1867
1867
  });
1868
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1868
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1869
1869
  }
1870
1870
  };
1871
1871
  const deserializeAws_json1_1DescribeWorkspaceImagesCommand = async (output, context) => {
@@ -1901,7 +1901,7 @@ const deserializeAws_json1_1DescribeWorkspaceImagesCommandError = async (output,
1901
1901
  $fault: "client",
1902
1902
  $metadata: deserializeMetadata(output),
1903
1903
  });
1904
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1904
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1905
1905
  }
1906
1906
  };
1907
1907
  const deserializeAws_json1_1DescribeWorkspacesCommand = async (output, context) => {
@@ -1940,7 +1940,7 @@ const deserializeAws_json1_1DescribeWorkspacesCommandError = async (output, cont
1940
1940
  $fault: "client",
1941
1941
  $metadata: deserializeMetadata(output),
1942
1942
  });
1943
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1943
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1944
1944
  }
1945
1945
  };
1946
1946
  const deserializeAws_json1_1DescribeWorkspacesConnectionStatusCommand = async (output, context) => {
@@ -1976,7 +1976,7 @@ const deserializeAws_json1_1DescribeWorkspacesConnectionStatusCommandError = asy
1976
1976
  $fault: "client",
1977
1977
  $metadata: deserializeMetadata(output),
1978
1978
  });
1979
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1979
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1980
1980
  }
1981
1981
  };
1982
1982
  const deserializeAws_json1_1DescribeWorkspaceSnapshotsCommand = async (output, context) => {
@@ -2018,7 +2018,7 @@ const deserializeAws_json1_1DescribeWorkspaceSnapshotsCommandError = async (outp
2018
2018
  $fault: "client",
2019
2019
  $metadata: deserializeMetadata(output),
2020
2020
  });
2021
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2021
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2022
2022
  }
2023
2023
  };
2024
2024
  const deserializeAws_json1_1DisassociateConnectionAliasCommand = async (output, context) => {
@@ -2066,7 +2066,7 @@ const deserializeAws_json1_1DisassociateConnectionAliasCommandError = async (out
2066
2066
  $fault: "client",
2067
2067
  $metadata: deserializeMetadata(output),
2068
2068
  });
2069
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2069
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2070
2070
  }
2071
2071
  };
2072
2072
  const deserializeAws_json1_1DisassociateIpGroupsCommand = async (output, context) => {
@@ -2111,7 +2111,7 @@ const deserializeAws_json1_1DisassociateIpGroupsCommandError = async (output, co
2111
2111
  $fault: "client",
2112
2112
  $metadata: deserializeMetadata(output),
2113
2113
  });
2114
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2114
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2115
2115
  }
2116
2116
  };
2117
2117
  const deserializeAws_json1_1ImportWorkspaceImageCommand = async (output, context) => {
@@ -2162,7 +2162,7 @@ const deserializeAws_json1_1ImportWorkspaceImageCommandError = async (output, co
2162
2162
  $fault: "client",
2163
2163
  $metadata: deserializeMetadata(output),
2164
2164
  });
2165
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2165
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2166
2166
  }
2167
2167
  };
2168
2168
  const deserializeAws_json1_1ListAvailableManagementCidrRangesCommand = async (output, context) => {
@@ -2201,7 +2201,7 @@ const deserializeAws_json1_1ListAvailableManagementCidrRangesCommandError = asyn
2201
2201
  $fault: "client",
2202
2202
  $metadata: deserializeMetadata(output),
2203
2203
  });
2204
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2204
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2205
2205
  }
2206
2206
  };
2207
2207
  const deserializeAws_json1_1MigrateWorkspaceCommand = async (output, context) => {
@@ -2252,7 +2252,7 @@ const deserializeAws_json1_1MigrateWorkspaceCommandError = async (output, contex
2252
2252
  $fault: "client",
2253
2253
  $metadata: deserializeMetadata(output),
2254
2254
  });
2255
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2255
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2256
2256
  }
2257
2257
  };
2258
2258
  const deserializeAws_json1_1ModifyAccountCommand = async (output, context) => {
@@ -2300,7 +2300,7 @@ const deserializeAws_json1_1ModifyAccountCommandError = async (output, context)
2300
2300
  $fault: "client",
2301
2301
  $metadata: deserializeMetadata(output),
2302
2302
  });
2303
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2303
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2304
2304
  }
2305
2305
  };
2306
2306
  const deserializeAws_json1_1ModifyClientPropertiesCommand = async (output, context) => {
@@ -2342,7 +2342,7 @@ const deserializeAws_json1_1ModifyClientPropertiesCommandError = async (output,
2342
2342
  $fault: "client",
2343
2343
  $metadata: deserializeMetadata(output),
2344
2344
  });
2345
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2345
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2346
2346
  }
2347
2347
  };
2348
2348
  const deserializeAws_json1_1ModifySelfservicePermissionsCommand = async (output, context) => {
@@ -2384,7 +2384,7 @@ const deserializeAws_json1_1ModifySelfservicePermissionsCommandError = async (ou
2384
2384
  $fault: "client",
2385
2385
  $metadata: deserializeMetadata(output),
2386
2386
  });
2387
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2387
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2388
2388
  }
2389
2389
  };
2390
2390
  const deserializeAws_json1_1ModifyWorkspaceAccessPropertiesCommand = async (output, context) => {
@@ -2423,7 +2423,7 @@ const deserializeAws_json1_1ModifyWorkspaceAccessPropertiesCommandError = async
2423
2423
  $fault: "client",
2424
2424
  $metadata: deserializeMetadata(output),
2425
2425
  });
2426
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2426
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2427
2427
  }
2428
2428
  };
2429
2429
  const deserializeAws_json1_1ModifyWorkspaceCreationPropertiesCommand = async (output, context) => {
@@ -2468,7 +2468,7 @@ const deserializeAws_json1_1ModifyWorkspaceCreationPropertiesCommandError = asyn
2468
2468
  $fault: "client",
2469
2469
  $metadata: deserializeMetadata(output),
2470
2470
  });
2471
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2471
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2472
2472
  }
2473
2473
  };
2474
2474
  const deserializeAws_json1_1ModifyWorkspacePropertiesCommand = async (output, context) => {
@@ -2522,7 +2522,7 @@ const deserializeAws_json1_1ModifyWorkspacePropertiesCommandError = async (outpu
2522
2522
  $fault: "client",
2523
2523
  $metadata: deserializeMetadata(output),
2524
2524
  });
2525
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2525
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2526
2526
  }
2527
2527
  };
2528
2528
  const deserializeAws_json1_1ModifyWorkspaceStateCommand = async (output, context) => {
@@ -2564,7 +2564,7 @@ const deserializeAws_json1_1ModifyWorkspaceStateCommandError = async (output, co
2564
2564
  $fault: "client",
2565
2565
  $metadata: deserializeMetadata(output),
2566
2566
  });
2567
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2567
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2568
2568
  }
2569
2569
  };
2570
2570
  const deserializeAws_json1_1RebootWorkspacesCommand = async (output, context) => {
@@ -2597,7 +2597,7 @@ const deserializeAws_json1_1RebootWorkspacesCommandError = async (output, contex
2597
2597
  $fault: "client",
2598
2598
  $metadata: deserializeMetadata(output),
2599
2599
  });
2600
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2600
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2601
2601
  }
2602
2602
  };
2603
2603
  const deserializeAws_json1_1RebuildWorkspacesCommand = async (output, context) => {
@@ -2630,7 +2630,7 @@ const deserializeAws_json1_1RebuildWorkspacesCommandError = async (output, conte
2630
2630
  $fault: "client",
2631
2631
  $metadata: deserializeMetadata(output),
2632
2632
  });
2633
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2633
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2634
2634
  }
2635
2635
  };
2636
2636
  const deserializeAws_json1_1RegisterWorkspaceDirectoryCommand = async (output, context) => {
@@ -2687,7 +2687,7 @@ const deserializeAws_json1_1RegisterWorkspaceDirectoryCommandError = async (outp
2687
2687
  $fault: "client",
2688
2688
  $metadata: deserializeMetadata(output),
2689
2689
  });
2690
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2690
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2691
2691
  }
2692
2692
  };
2693
2693
  const deserializeAws_json1_1RestoreWorkspaceCommand = async (output, context) => {
@@ -2729,7 +2729,7 @@ const deserializeAws_json1_1RestoreWorkspaceCommandError = async (output, contex
2729
2729
  $fault: "client",
2730
2730
  $metadata: deserializeMetadata(output),
2731
2731
  });
2732
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2732
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2733
2733
  }
2734
2734
  };
2735
2735
  const deserializeAws_json1_1RevokeIpRulesCommand = async (output, context) => {
@@ -2774,7 +2774,7 @@ const deserializeAws_json1_1RevokeIpRulesCommandError = async (output, context)
2774
2774
  $fault: "client",
2775
2775
  $metadata: deserializeMetadata(output),
2776
2776
  });
2777
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2777
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2778
2778
  }
2779
2779
  };
2780
2780
  const deserializeAws_json1_1StartWorkspacesCommand = async (output, context) => {
@@ -2807,7 +2807,7 @@ const deserializeAws_json1_1StartWorkspacesCommandError = async (output, context
2807
2807
  $fault: "client",
2808
2808
  $metadata: deserializeMetadata(output),
2809
2809
  });
2810
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2810
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2811
2811
  }
2812
2812
  };
2813
2813
  const deserializeAws_json1_1StopWorkspacesCommand = async (output, context) => {
@@ -2840,7 +2840,7 @@ const deserializeAws_json1_1StopWorkspacesCommandError = async (output, context)
2840
2840
  $fault: "client",
2841
2841
  $metadata: deserializeMetadata(output),
2842
2842
  });
2843
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2843
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2844
2844
  }
2845
2845
  };
2846
2846
  const deserializeAws_json1_1TerminateWorkspacesCommand = async (output, context) => {
@@ -2873,7 +2873,7 @@ const deserializeAws_json1_1TerminateWorkspacesCommandError = async (output, con
2873
2873
  $fault: "client",
2874
2874
  $metadata: deserializeMetadata(output),
2875
2875
  });
2876
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2876
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2877
2877
  }
2878
2878
  };
2879
2879
  const deserializeAws_json1_1UpdateConnectClientAddInCommand = async (output, context) => {
@@ -2915,7 +2915,7 @@ const deserializeAws_json1_1UpdateConnectClientAddInCommandError = async (output
2915
2915
  $fault: "client",
2916
2916
  $metadata: deserializeMetadata(output),
2917
2917
  });
2918
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2918
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2919
2919
  }
2920
2920
  };
2921
2921
  const deserializeAws_json1_1UpdateConnectionAliasPermissionCommand = async (output, context) => {
@@ -2969,7 +2969,7 @@ const deserializeAws_json1_1UpdateConnectionAliasPermissionCommandError = async
2969
2969
  $fault: "client",
2970
2970
  $metadata: deserializeMetadata(output),
2971
2971
  });
2972
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2972
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2973
2973
  }
2974
2974
  };
2975
2975
  const deserializeAws_json1_1UpdateRulesOfIpGroupCommand = async (output, context) => {
@@ -3017,7 +3017,7 @@ const deserializeAws_json1_1UpdateRulesOfIpGroupCommandError = async (output, co
3017
3017
  $fault: "client",
3018
3018
  $metadata: deserializeMetadata(output),
3019
3019
  });
3020
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3020
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3021
3021
  }
3022
3022
  };
3023
3023
  const deserializeAws_json1_1UpdateWorkspaceBundleCommand = async (output, context) => {
@@ -3062,7 +3062,7 @@ const deserializeAws_json1_1UpdateWorkspaceBundleCommandError = async (output, c
3062
3062
  $fault: "client",
3063
3063
  $metadata: deserializeMetadata(output),
3064
3064
  });
3065
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3065
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3066
3066
  }
3067
3067
  };
3068
3068
  const deserializeAws_json1_1UpdateWorkspaceImagePermissionCommand = async (output, context) => {
@@ -3110,7 +3110,7 @@ const deserializeAws_json1_1UpdateWorkspaceImagePermissionCommandError = async (
3110
3110
  $fault: "client",
3111
3111
  $metadata: deserializeMetadata(output),
3112
3112
  });
3113
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3113
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3114
3114
  }
3115
3115
  };
3116
3116
  const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
@@ -3120,7 +3120,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
3120
3120
  $metadata: deserializeMetadata(parsedOutput),
3121
3121
  ...deserialized,
3122
3122
  });
3123
- return smithy_client_1.decorateServiceException(exception, body);
3123
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3124
3124
  };
3125
3125
  const deserializeAws_json1_1InvalidParameterValuesExceptionResponse = async (parsedOutput, context) => {
3126
3126
  const body = parsedOutput.body;
@@ -3129,7 +3129,7 @@ const deserializeAws_json1_1InvalidParameterValuesExceptionResponse = async (par
3129
3129
  $metadata: deserializeMetadata(parsedOutput),
3130
3130
  ...deserialized,
3131
3131
  });
3132
- return smithy_client_1.decorateServiceException(exception, body);
3132
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3133
3133
  };
3134
3134
  const deserializeAws_json1_1InvalidResourceStateExceptionResponse = async (parsedOutput, context) => {
3135
3135
  const body = parsedOutput.body;
@@ -3138,7 +3138,7 @@ const deserializeAws_json1_1InvalidResourceStateExceptionResponse = async (parse
3138
3138
  $metadata: deserializeMetadata(parsedOutput),
3139
3139
  ...deserialized,
3140
3140
  });
3141
- return smithy_client_1.decorateServiceException(exception, body);
3141
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3142
3142
  };
3143
3143
  const deserializeAws_json1_1OperationInProgressExceptionResponse = async (parsedOutput, context) => {
3144
3144
  const body = parsedOutput.body;
@@ -3147,7 +3147,7 @@ const deserializeAws_json1_1OperationInProgressExceptionResponse = async (parsed
3147
3147
  $metadata: deserializeMetadata(parsedOutput),
3148
3148
  ...deserialized,
3149
3149
  });
3150
- return smithy_client_1.decorateServiceException(exception, body);
3150
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3151
3151
  };
3152
3152
  const deserializeAws_json1_1OperationNotSupportedExceptionResponse = async (parsedOutput, context) => {
3153
3153
  const body = parsedOutput.body;
@@ -3156,7 +3156,7 @@ const deserializeAws_json1_1OperationNotSupportedExceptionResponse = async (pars
3156
3156
  $metadata: deserializeMetadata(parsedOutput),
3157
3157
  ...deserialized,
3158
3158
  });
3159
- return smithy_client_1.decorateServiceException(exception, body);
3159
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3160
3160
  };
3161
3161
  const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
3162
3162
  const body = parsedOutput.body;
@@ -3165,7 +3165,7 @@ const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (pars
3165
3165
  $metadata: deserializeMetadata(parsedOutput),
3166
3166
  ...deserialized,
3167
3167
  });
3168
- return smithy_client_1.decorateServiceException(exception, body);
3168
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3169
3169
  };
3170
3170
  const deserializeAws_json1_1ResourceAssociatedExceptionResponse = async (parsedOutput, context) => {
3171
3171
  const body = parsedOutput.body;
@@ -3174,7 +3174,7 @@ const deserializeAws_json1_1ResourceAssociatedExceptionResponse = async (parsedO
3174
3174
  $metadata: deserializeMetadata(parsedOutput),
3175
3175
  ...deserialized,
3176
3176
  });
3177
- return smithy_client_1.decorateServiceException(exception, body);
3177
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3178
3178
  };
3179
3179
  const deserializeAws_json1_1ResourceCreationFailedExceptionResponse = async (parsedOutput, context) => {
3180
3180
  const body = parsedOutput.body;
@@ -3183,7 +3183,7 @@ const deserializeAws_json1_1ResourceCreationFailedExceptionResponse = async (par
3183
3183
  $metadata: deserializeMetadata(parsedOutput),
3184
3184
  ...deserialized,
3185
3185
  });
3186
- return smithy_client_1.decorateServiceException(exception, body);
3186
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3187
3187
  };
3188
3188
  const deserializeAws_json1_1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {
3189
3189
  const body = parsedOutput.body;
@@ -3192,7 +3192,7 @@ const deserializeAws_json1_1ResourceLimitExceededExceptionResponse = async (pars
3192
3192
  $metadata: deserializeMetadata(parsedOutput),
3193
3193
  ...deserialized,
3194
3194
  });
3195
- return smithy_client_1.decorateServiceException(exception, body);
3195
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3196
3196
  };
3197
3197
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3198
3198
  const body = parsedOutput.body;
@@ -3201,7 +3201,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
3201
3201
  $metadata: deserializeMetadata(parsedOutput),
3202
3202
  ...deserialized,
3203
3203
  });
3204
- return smithy_client_1.decorateServiceException(exception, body);
3204
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3205
3205
  };
3206
3206
  const deserializeAws_json1_1ResourceUnavailableExceptionResponse = async (parsedOutput, context) => {
3207
3207
  const body = parsedOutput.body;
@@ -3210,7 +3210,7 @@ const deserializeAws_json1_1ResourceUnavailableExceptionResponse = async (parsed
3210
3210
  $metadata: deserializeMetadata(parsedOutput),
3211
3211
  ...deserialized,
3212
3212
  });
3213
- return smithy_client_1.decorateServiceException(exception, body);
3213
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3214
3214
  };
3215
3215
  const deserializeAws_json1_1UnsupportedNetworkConfigurationExceptionResponse = async (parsedOutput, context) => {
3216
3216
  const body = parsedOutput.body;
@@ -3219,7 +3219,7 @@ const deserializeAws_json1_1UnsupportedNetworkConfigurationExceptionResponse = a
3219
3219
  $metadata: deserializeMetadata(parsedOutput),
3220
3220
  ...deserialized,
3221
3221
  });
3222
- return smithy_client_1.decorateServiceException(exception, body);
3222
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3223
3223
  };
3224
3224
  const deserializeAws_json1_1UnsupportedWorkspaceConfigurationExceptionResponse = async (parsedOutput, context) => {
3225
3225
  const body = parsedOutput.body;
@@ -3228,7 +3228,7 @@ const deserializeAws_json1_1UnsupportedWorkspaceConfigurationExceptionResponse =
3228
3228
  $metadata: deserializeMetadata(parsedOutput),
3229
3229
  ...deserialized,
3230
3230
  });
3231
- return smithy_client_1.decorateServiceException(exception, body);
3231
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3232
3232
  };
3233
3233
  const deserializeAws_json1_1WorkspacesDefaultRoleNotFoundExceptionResponse = async (parsedOutput, context) => {
3234
3234
  const body = parsedOutput.body;
@@ -3237,7 +3237,7 @@ const deserializeAws_json1_1WorkspacesDefaultRoleNotFoundExceptionResponse = asy
3237
3237
  $metadata: deserializeMetadata(parsedOutput),
3238
3238
  ...deserialized,
3239
3239
  });
3240
- return smithy_client_1.decorateServiceException(exception, body);
3240
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3241
3241
  };
3242
3242
  const serializeAws_json1_1ApplicationList = (input, context) => {
3243
3243
  return input
@@ -4024,18 +4024,18 @@ const serializeAws_json1_1WorkspaceRequestList = (input, context) => {
4024
4024
  };
4025
4025
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
4026
4026
  return {
4027
- message: smithy_client_1.expectString(output.message),
4027
+ message: (0, smithy_client_1.expectString)(output.message),
4028
4028
  };
4029
4029
  };
4030
4030
  const deserializeAws_json1_1AccountModification = (output, context) => {
4031
4031
  return {
4032
- DedicatedTenancyManagementCidrRange: smithy_client_1.expectString(output.DedicatedTenancyManagementCidrRange),
4033
- DedicatedTenancySupport: smithy_client_1.expectString(output.DedicatedTenancySupport),
4034
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
4035
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4036
- ModificationState: smithy_client_1.expectString(output.ModificationState),
4032
+ DedicatedTenancyManagementCidrRange: (0, smithy_client_1.expectString)(output.DedicatedTenancyManagementCidrRange),
4033
+ DedicatedTenancySupport: (0, smithy_client_1.expectString)(output.DedicatedTenancySupport),
4034
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4035
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4036
+ ModificationState: (0, smithy_client_1.expectString)(output.ModificationState),
4037
4037
  StartTime: output.StartTime !== undefined && output.StartTime !== null
4038
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
4038
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
4039
4039
  : undefined,
4040
4040
  };
4041
4041
  };
@@ -4052,7 +4052,7 @@ const deserializeAws_json1_1AccountModificationList = (output, context) => {
4052
4052
  };
4053
4053
  const deserializeAws_json1_1AssociateConnectionAliasResult = (output, context) => {
4054
4054
  return {
4055
- ConnectionIdentifier: smithy_client_1.expectString(output.ConnectionIdentifier),
4055
+ ConnectionIdentifier: (0, smithy_client_1.expectString)(output.ConnectionIdentifier),
4056
4056
  };
4057
4057
  };
4058
4058
  const deserializeAws_json1_1AssociateIpGroupsResult = (output, context) => {
@@ -4074,7 +4074,7 @@ const deserializeAws_json1_1BundleList = (output, context) => {
4074
4074
  };
4075
4075
  const deserializeAws_json1_1ClientProperties = (output, context) => {
4076
4076
  return {
4077
- ReconnectEnabled: smithy_client_1.expectString(output.ReconnectEnabled),
4077
+ ReconnectEnabled: (0, smithy_client_1.expectString)(output.ReconnectEnabled),
4078
4078
  };
4079
4079
  };
4080
4080
  const deserializeAws_json1_1ClientPropertiesList = (output, context) => {
@@ -4093,20 +4093,20 @@ const deserializeAws_json1_1ClientPropertiesResult = (output, context) => {
4093
4093
  ClientProperties: output.ClientProperties !== undefined && output.ClientProperties !== null
4094
4094
  ? deserializeAws_json1_1ClientProperties(output.ClientProperties, context)
4095
4095
  : undefined,
4096
- ResourceId: smithy_client_1.expectString(output.ResourceId),
4096
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
4097
4097
  };
4098
4098
  };
4099
4099
  const deserializeAws_json1_1ComputeType = (output, context) => {
4100
4100
  return {
4101
- Name: smithy_client_1.expectString(output.Name),
4101
+ Name: (0, smithy_client_1.expectString)(output.Name),
4102
4102
  };
4103
4103
  };
4104
4104
  const deserializeAws_json1_1ConnectClientAddIn = (output, context) => {
4105
4105
  return {
4106
- AddInId: smithy_client_1.expectString(output.AddInId),
4107
- Name: smithy_client_1.expectString(output.Name),
4108
- ResourceId: smithy_client_1.expectString(output.ResourceId),
4109
- URL: smithy_client_1.expectString(output.URL),
4106
+ AddInId: (0, smithy_client_1.expectString)(output.AddInId),
4107
+ Name: (0, smithy_client_1.expectString)(output.Name),
4108
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
4109
+ URL: (0, smithy_client_1.expectString)(output.URL),
4110
4110
  };
4111
4111
  };
4112
4112
  const deserializeAws_json1_1ConnectClientAddInList = (output, context) => {
@@ -4122,21 +4122,21 @@ const deserializeAws_json1_1ConnectClientAddInList = (output, context) => {
4122
4122
  };
4123
4123
  const deserializeAws_json1_1ConnectionAlias = (output, context) => {
4124
4124
  return {
4125
- AliasId: smithy_client_1.expectString(output.AliasId),
4125
+ AliasId: (0, smithy_client_1.expectString)(output.AliasId),
4126
4126
  Associations: output.Associations !== undefined && output.Associations !== null
4127
4127
  ? deserializeAws_json1_1ConnectionAliasAssociationList(output.Associations, context)
4128
4128
  : undefined,
4129
- ConnectionString: smithy_client_1.expectString(output.ConnectionString),
4130
- OwnerAccountId: smithy_client_1.expectString(output.OwnerAccountId),
4131
- State: smithy_client_1.expectString(output.State),
4129
+ ConnectionString: (0, smithy_client_1.expectString)(output.ConnectionString),
4130
+ OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
4131
+ State: (0, smithy_client_1.expectString)(output.State),
4132
4132
  };
4133
4133
  };
4134
4134
  const deserializeAws_json1_1ConnectionAliasAssociation = (output, context) => {
4135
4135
  return {
4136
- AssociatedAccountId: smithy_client_1.expectString(output.AssociatedAccountId),
4137
- AssociationStatus: smithy_client_1.expectString(output.AssociationStatus),
4138
- ConnectionIdentifier: smithy_client_1.expectString(output.ConnectionIdentifier),
4139
- ResourceId: smithy_client_1.expectString(output.ResourceId),
4136
+ AssociatedAccountId: (0, smithy_client_1.expectString)(output.AssociatedAccountId),
4137
+ AssociationStatus: (0, smithy_client_1.expectString)(output.AssociationStatus),
4138
+ ConnectionIdentifier: (0, smithy_client_1.expectString)(output.ConnectionIdentifier),
4139
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
4140
4140
  };
4141
4141
  };
4142
4142
  const deserializeAws_json1_1ConnectionAliasAssociationList = (output, context) => {
@@ -4163,8 +4163,8 @@ const deserializeAws_json1_1ConnectionAliasList = (output, context) => {
4163
4163
  };
4164
4164
  const deserializeAws_json1_1ConnectionAliasPermission = (output, context) => {
4165
4165
  return {
4166
- AllowAssociation: smithy_client_1.expectBoolean(output.AllowAssociation),
4167
- SharedAccountId: smithy_client_1.expectString(output.SharedAccountId),
4166
+ AllowAssociation: (0, smithy_client_1.expectBoolean)(output.AllowAssociation),
4167
+ SharedAccountId: (0, smithy_client_1.expectString)(output.SharedAccountId),
4168
4168
  };
4169
4169
  };
4170
4170
  const deserializeAws_json1_1ConnectionAliasPermissions = (output, context) => {
@@ -4180,22 +4180,22 @@ const deserializeAws_json1_1ConnectionAliasPermissions = (output, context) => {
4180
4180
  };
4181
4181
  const deserializeAws_json1_1CopyWorkspaceImageResult = (output, context) => {
4182
4182
  return {
4183
- ImageId: smithy_client_1.expectString(output.ImageId),
4183
+ ImageId: (0, smithy_client_1.expectString)(output.ImageId),
4184
4184
  };
4185
4185
  };
4186
4186
  const deserializeAws_json1_1CreateConnectClientAddInResult = (output, context) => {
4187
4187
  return {
4188
- AddInId: smithy_client_1.expectString(output.AddInId),
4188
+ AddInId: (0, smithy_client_1.expectString)(output.AddInId),
4189
4189
  };
4190
4190
  };
4191
4191
  const deserializeAws_json1_1CreateConnectionAliasResult = (output, context) => {
4192
4192
  return {
4193
- AliasId: smithy_client_1.expectString(output.AliasId),
4193
+ AliasId: (0, smithy_client_1.expectString)(output.AliasId),
4194
4194
  };
4195
4195
  };
4196
4196
  const deserializeAws_json1_1CreateIpGroupResult = (output, context) => {
4197
4197
  return {
4198
- GroupId: smithy_client_1.expectString(output.GroupId),
4198
+ GroupId: (0, smithy_client_1.expectString)(output.GroupId),
4199
4199
  };
4200
4200
  };
4201
4201
  const deserializeAws_json1_1CreateTagsResult = (output, context) => {
@@ -4203,7 +4203,7 @@ const deserializeAws_json1_1CreateTagsResult = (output, context) => {
4203
4203
  };
4204
4204
  const deserializeAws_json1_1CreateUpdatedWorkspaceImageResult = (output, context) => {
4205
4205
  return {
4206
- ImageId: smithy_client_1.expectString(output.ImageId),
4206
+ ImageId: (0, smithy_client_1.expectString)(output.ImageId),
4207
4207
  };
4208
4208
  };
4209
4209
  const deserializeAws_json1_1CreateWorkspaceBundleResult = (output, context) => {
@@ -4230,18 +4230,18 @@ const deserializeAws_json1_1DedicatedTenancyCidrRangeList = (output, context) =>
4230
4230
  if (entry === null) {
4231
4231
  return null;
4232
4232
  }
4233
- return smithy_client_1.expectString(entry);
4233
+ return (0, smithy_client_1.expectString)(entry);
4234
4234
  });
4235
4235
  return retVal;
4236
4236
  };
4237
4237
  const deserializeAws_json1_1DefaultWorkspaceCreationProperties = (output, context) => {
4238
4238
  return {
4239
- CustomSecurityGroupId: smithy_client_1.expectString(output.CustomSecurityGroupId),
4240
- DefaultOu: smithy_client_1.expectString(output.DefaultOu),
4241
- EnableInternetAccess: smithy_client_1.expectBoolean(output.EnableInternetAccess),
4242
- EnableMaintenanceMode: smithy_client_1.expectBoolean(output.EnableMaintenanceMode),
4243
- EnableWorkDocs: smithy_client_1.expectBoolean(output.EnableWorkDocs),
4244
- UserEnabledAsLocalAdministrator: smithy_client_1.expectBoolean(output.UserEnabledAsLocalAdministrator),
4239
+ CustomSecurityGroupId: (0, smithy_client_1.expectString)(output.CustomSecurityGroupId),
4240
+ DefaultOu: (0, smithy_client_1.expectString)(output.DefaultOu),
4241
+ EnableInternetAccess: (0, smithy_client_1.expectBoolean)(output.EnableInternetAccess),
4242
+ EnableMaintenanceMode: (0, smithy_client_1.expectBoolean)(output.EnableMaintenanceMode),
4243
+ EnableWorkDocs: (0, smithy_client_1.expectBoolean)(output.EnableWorkDocs),
4244
+ UserEnabledAsLocalAdministrator: (0, smithy_client_1.expectBoolean)(output.UserEnabledAsLocalAdministrator),
4245
4245
  };
4246
4246
  };
4247
4247
  const deserializeAws_json1_1DeleteConnectClientAddInResult = (output, context) => {
@@ -4270,13 +4270,13 @@ const deserializeAws_json1_1DescribeAccountModificationsResult = (output, contex
4270
4270
  AccountModifications: output.AccountModifications !== undefined && output.AccountModifications !== null
4271
4271
  ? deserializeAws_json1_1AccountModificationList(output.AccountModifications, context)
4272
4272
  : undefined,
4273
- NextToken: smithy_client_1.expectString(output.NextToken),
4273
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4274
4274
  };
4275
4275
  };
4276
4276
  const deserializeAws_json1_1DescribeAccountResult = (output, context) => {
4277
4277
  return {
4278
- DedicatedTenancyManagementCidrRange: smithy_client_1.expectString(output.DedicatedTenancyManagementCidrRange),
4279
- DedicatedTenancySupport: smithy_client_1.expectString(output.DedicatedTenancySupport),
4278
+ DedicatedTenancyManagementCidrRange: (0, smithy_client_1.expectString)(output.DedicatedTenancyManagementCidrRange),
4279
+ DedicatedTenancySupport: (0, smithy_client_1.expectString)(output.DedicatedTenancySupport),
4280
4280
  };
4281
4281
  };
4282
4282
  const deserializeAws_json1_1DescribeClientPropertiesResult = (output, context) => {
@@ -4291,7 +4291,7 @@ const deserializeAws_json1_1DescribeConnectClientAddInsResult = (output, context
4291
4291
  AddIns: output.AddIns !== undefined && output.AddIns !== null
4292
4292
  ? deserializeAws_json1_1ConnectClientAddInList(output.AddIns, context)
4293
4293
  : undefined,
4294
- NextToken: smithy_client_1.expectString(output.NextToken),
4294
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4295
4295
  };
4296
4296
  };
4297
4297
  const deserializeAws_json1_1DescribeConnectionAliasesResult = (output, context) => {
@@ -4299,21 +4299,21 @@ const deserializeAws_json1_1DescribeConnectionAliasesResult = (output, context)
4299
4299
  ConnectionAliases: output.ConnectionAliases !== undefined && output.ConnectionAliases !== null
4300
4300
  ? deserializeAws_json1_1ConnectionAliasList(output.ConnectionAliases, context)
4301
4301
  : undefined,
4302
- NextToken: smithy_client_1.expectString(output.NextToken),
4302
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4303
4303
  };
4304
4304
  };
4305
4305
  const deserializeAws_json1_1DescribeConnectionAliasPermissionsResult = (output, context) => {
4306
4306
  return {
4307
- AliasId: smithy_client_1.expectString(output.AliasId),
4307
+ AliasId: (0, smithy_client_1.expectString)(output.AliasId),
4308
4308
  ConnectionAliasPermissions: output.ConnectionAliasPermissions !== undefined && output.ConnectionAliasPermissions !== null
4309
4309
  ? deserializeAws_json1_1ConnectionAliasPermissions(output.ConnectionAliasPermissions, context)
4310
4310
  : undefined,
4311
- NextToken: smithy_client_1.expectString(output.NextToken),
4311
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4312
4312
  };
4313
4313
  };
4314
4314
  const deserializeAws_json1_1DescribeIpGroupsResult = (output, context) => {
4315
4315
  return {
4316
- NextToken: smithy_client_1.expectString(output.NextToken),
4316
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4317
4317
  Result: output.Result !== undefined && output.Result !== null
4318
4318
  ? deserializeAws_json1_1WorkspacesIpGroupsList(output.Result, context)
4319
4319
  : undefined,
@@ -4331,7 +4331,7 @@ const deserializeAws_json1_1DescribeWorkspaceBundlesResult = (output, context) =
4331
4331
  Bundles: output.Bundles !== undefined && output.Bundles !== null
4332
4332
  ? deserializeAws_json1_1BundleList(output.Bundles, context)
4333
4333
  : undefined,
4334
- NextToken: smithy_client_1.expectString(output.NextToken),
4334
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4335
4335
  };
4336
4336
  };
4337
4337
  const deserializeAws_json1_1DescribeWorkspaceDirectoriesResult = (output, context) => {
@@ -4339,16 +4339,16 @@ const deserializeAws_json1_1DescribeWorkspaceDirectoriesResult = (output, contex
4339
4339
  Directories: output.Directories !== undefined && output.Directories !== null
4340
4340
  ? deserializeAws_json1_1DirectoryList(output.Directories, context)
4341
4341
  : undefined,
4342
- NextToken: smithy_client_1.expectString(output.NextToken),
4342
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4343
4343
  };
4344
4344
  };
4345
4345
  const deserializeAws_json1_1DescribeWorkspaceImagePermissionsResult = (output, context) => {
4346
4346
  return {
4347
- ImageId: smithy_client_1.expectString(output.ImageId),
4347
+ ImageId: (0, smithy_client_1.expectString)(output.ImageId),
4348
4348
  ImagePermissions: output.ImagePermissions !== undefined && output.ImagePermissions !== null
4349
4349
  ? deserializeAws_json1_1ImagePermissions(output.ImagePermissions, context)
4350
4350
  : undefined,
4351
- NextToken: smithy_client_1.expectString(output.NextToken),
4351
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4352
4352
  };
4353
4353
  };
4354
4354
  const deserializeAws_json1_1DescribeWorkspaceImagesResult = (output, context) => {
@@ -4356,12 +4356,12 @@ const deserializeAws_json1_1DescribeWorkspaceImagesResult = (output, context) =>
4356
4356
  Images: output.Images !== undefined && output.Images !== null
4357
4357
  ? deserializeAws_json1_1WorkspaceImageList(output.Images, context)
4358
4358
  : undefined,
4359
- NextToken: smithy_client_1.expectString(output.NextToken),
4359
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4360
4360
  };
4361
4361
  };
4362
4362
  const deserializeAws_json1_1DescribeWorkspacesConnectionStatusResult = (output, context) => {
4363
4363
  return {
4364
- NextToken: smithy_client_1.expectString(output.NextToken),
4364
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4365
4365
  WorkspacesConnectionStatus: output.WorkspacesConnectionStatus !== undefined && output.WorkspacesConnectionStatus !== null
4366
4366
  ? deserializeAws_json1_1WorkspaceConnectionStatusList(output.WorkspacesConnectionStatus, context)
4367
4367
  : undefined,
@@ -4379,7 +4379,7 @@ const deserializeAws_json1_1DescribeWorkspaceSnapshotsResult = (output, context)
4379
4379
  };
4380
4380
  const deserializeAws_json1_1DescribeWorkspacesResult = (output, context) => {
4381
4381
  return {
4382
- NextToken: smithy_client_1.expectString(output.NextToken),
4382
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4383
4383
  Workspaces: output.Workspaces !== undefined && output.Workspaces !== null
4384
4384
  ? deserializeAws_json1_1WorkspaceList(output.Workspaces, context)
4385
4385
  : undefined,
@@ -4409,14 +4409,14 @@ const deserializeAws_json1_1DnsIpAddresses = (output, context) => {
4409
4409
  if (entry === null) {
4410
4410
  return null;
4411
4411
  }
4412
- return smithy_client_1.expectString(entry);
4412
+ return (0, smithy_client_1.expectString)(entry);
4413
4413
  });
4414
4414
  return retVal;
4415
4415
  };
4416
4416
  const deserializeAws_json1_1FailedCreateWorkspaceRequest = (output, context) => {
4417
4417
  return {
4418
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
4419
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4418
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4419
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4420
4420
  WorkspaceRequest: output.WorkspaceRequest !== undefined && output.WorkspaceRequest !== null
4421
4421
  ? deserializeAws_json1_1WorkspaceRequest(output.WorkspaceRequest, context)
4422
4422
  : undefined,
@@ -4490,14 +4490,14 @@ const deserializeAws_json1_1FailedTerminateWorkspaceRequests = (output, context)
4490
4490
  };
4491
4491
  const deserializeAws_json1_1FailedWorkspaceChangeRequest = (output, context) => {
4492
4492
  return {
4493
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
4494
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4495
- WorkspaceId: smithy_client_1.expectString(output.WorkspaceId),
4493
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4494
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4495
+ WorkspaceId: (0, smithy_client_1.expectString)(output.WorkspaceId),
4496
4496
  };
4497
4497
  };
4498
4498
  const deserializeAws_json1_1ImagePermission = (output, context) => {
4499
4499
  return {
4500
- SharedAccountId: smithy_client_1.expectString(output.SharedAccountId),
4500
+ SharedAccountId: (0, smithy_client_1.expectString)(output.SharedAccountId),
4501
4501
  };
4502
4502
  };
4503
4503
  const deserializeAws_json1_1ImagePermissions = (output, context) => {
@@ -4513,17 +4513,17 @@ const deserializeAws_json1_1ImagePermissions = (output, context) => {
4513
4513
  };
4514
4514
  const deserializeAws_json1_1ImportWorkspaceImageResult = (output, context) => {
4515
4515
  return {
4516
- ImageId: smithy_client_1.expectString(output.ImageId),
4516
+ ImageId: (0, smithy_client_1.expectString)(output.ImageId),
4517
4517
  };
4518
4518
  };
4519
4519
  const deserializeAws_json1_1InvalidParameterValuesException = (output, context) => {
4520
4520
  return {
4521
- message: smithy_client_1.expectString(output.message),
4521
+ message: (0, smithy_client_1.expectString)(output.message),
4522
4522
  };
4523
4523
  };
4524
4524
  const deserializeAws_json1_1InvalidResourceStateException = (output, context) => {
4525
4525
  return {
4526
- message: smithy_client_1.expectString(output.message),
4526
+ message: (0, smithy_client_1.expectString)(output.message),
4527
4527
  };
4528
4528
  };
4529
4529
  const deserializeAws_json1_1IpGroupIdList = (output, context) => {
@@ -4533,14 +4533,14 @@ const deserializeAws_json1_1IpGroupIdList = (output, context) => {
4533
4533
  if (entry === null) {
4534
4534
  return null;
4535
4535
  }
4536
- return smithy_client_1.expectString(entry);
4536
+ return (0, smithy_client_1.expectString)(entry);
4537
4537
  });
4538
4538
  return retVal;
4539
4539
  };
4540
4540
  const deserializeAws_json1_1IpRuleItem = (output, context) => {
4541
4541
  return {
4542
- ipRule: smithy_client_1.expectString(output.ipRule),
4543
- ruleDesc: smithy_client_1.expectString(output.ruleDesc),
4542
+ ipRule: (0, smithy_client_1.expectString)(output.ipRule),
4543
+ ruleDesc: (0, smithy_client_1.expectString)(output.ruleDesc),
4544
4544
  };
4545
4545
  };
4546
4546
  const deserializeAws_json1_1IpRuleList = (output, context) => {
@@ -4559,19 +4559,19 @@ const deserializeAws_json1_1ListAvailableManagementCidrRangesResult = (output, c
4559
4559
  ManagementCidrRanges: output.ManagementCidrRanges !== undefined && output.ManagementCidrRanges !== null
4560
4560
  ? deserializeAws_json1_1DedicatedTenancyCidrRangeList(output.ManagementCidrRanges, context)
4561
4561
  : undefined,
4562
- NextToken: smithy_client_1.expectString(output.NextToken),
4562
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4563
4563
  };
4564
4564
  };
4565
4565
  const deserializeAws_json1_1MigrateWorkspaceResult = (output, context) => {
4566
4566
  return {
4567
- SourceWorkspaceId: smithy_client_1.expectString(output.SourceWorkspaceId),
4568
- TargetWorkspaceId: smithy_client_1.expectString(output.TargetWorkspaceId),
4567
+ SourceWorkspaceId: (0, smithy_client_1.expectString)(output.SourceWorkspaceId),
4568
+ TargetWorkspaceId: (0, smithy_client_1.expectString)(output.TargetWorkspaceId),
4569
4569
  };
4570
4570
  };
4571
4571
  const deserializeAws_json1_1ModificationState = (output, context) => {
4572
4572
  return {
4573
- Resource: smithy_client_1.expectString(output.Resource),
4574
- State: smithy_client_1.expectString(output.State),
4573
+ Resource: (0, smithy_client_1.expectString)(output.Resource),
4574
+ State: (0, smithy_client_1.expectString)(output.State),
4575
4575
  };
4576
4576
  };
4577
4577
  const deserializeAws_json1_1ModificationStateList = (output, context) => {
@@ -4608,17 +4608,17 @@ const deserializeAws_json1_1ModifyWorkspaceStateResult = (output, context) => {
4608
4608
  };
4609
4609
  const deserializeAws_json1_1OperatingSystem = (output, context) => {
4610
4610
  return {
4611
- Type: smithy_client_1.expectString(output.Type),
4611
+ Type: (0, smithy_client_1.expectString)(output.Type),
4612
4612
  };
4613
4613
  };
4614
4614
  const deserializeAws_json1_1OperationInProgressException = (output, context) => {
4615
4615
  return {
4616
- message: smithy_client_1.expectString(output.message),
4616
+ message: (0, smithy_client_1.expectString)(output.message),
4617
4617
  };
4618
4618
  };
4619
4619
  const deserializeAws_json1_1OperationNotSupportedException = (output, context) => {
4620
4620
  return {
4621
- message: smithy_client_1.expectString(output.message),
4621
+ message: (0, smithy_client_1.expectString)(output.message),
4622
4622
  };
4623
4623
  };
4624
4624
  const deserializeAws_json1_1RebootWorkspacesResult = (output, context) => {
@@ -4640,34 +4640,34 @@ const deserializeAws_json1_1RegisterWorkspaceDirectoryResult = (output, context)
4640
4640
  };
4641
4641
  const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
4642
4642
  return {
4643
- message: smithy_client_1.expectString(output.message),
4643
+ message: (0, smithy_client_1.expectString)(output.message),
4644
4644
  };
4645
4645
  };
4646
4646
  const deserializeAws_json1_1ResourceAssociatedException = (output, context) => {
4647
4647
  return {
4648
- message: smithy_client_1.expectString(output.message),
4648
+ message: (0, smithy_client_1.expectString)(output.message),
4649
4649
  };
4650
4650
  };
4651
4651
  const deserializeAws_json1_1ResourceCreationFailedException = (output, context) => {
4652
4652
  return {
4653
- message: smithy_client_1.expectString(output.message),
4653
+ message: (0, smithy_client_1.expectString)(output.message),
4654
4654
  };
4655
4655
  };
4656
4656
  const deserializeAws_json1_1ResourceLimitExceededException = (output, context) => {
4657
4657
  return {
4658
- message: smithy_client_1.expectString(output.message),
4658
+ message: (0, smithy_client_1.expectString)(output.message),
4659
4659
  };
4660
4660
  };
4661
4661
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
4662
4662
  return {
4663
- ResourceId: smithy_client_1.expectString(output.ResourceId),
4664
- message: smithy_client_1.expectString(output.message),
4663
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
4664
+ message: (0, smithy_client_1.expectString)(output.message),
4665
4665
  };
4666
4666
  };
4667
4667
  const deserializeAws_json1_1ResourceUnavailableException = (output, context) => {
4668
4668
  return {
4669
- ResourceId: smithy_client_1.expectString(output.ResourceId),
4670
- message: smithy_client_1.expectString(output.message),
4669
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
4670
+ message: (0, smithy_client_1.expectString)(output.message),
4671
4671
  };
4672
4672
  };
4673
4673
  const deserializeAws_json1_1RestoreWorkspaceResult = (output, context) => {
@@ -4678,22 +4678,22 @@ const deserializeAws_json1_1RevokeIpRulesResult = (output, context) => {
4678
4678
  };
4679
4679
  const deserializeAws_json1_1RootStorage = (output, context) => {
4680
4680
  return {
4681
- Capacity: smithy_client_1.expectString(output.Capacity),
4681
+ Capacity: (0, smithy_client_1.expectString)(output.Capacity),
4682
4682
  };
4683
4683
  };
4684
4684
  const deserializeAws_json1_1SelfservicePermissions = (output, context) => {
4685
4685
  return {
4686
- ChangeComputeType: smithy_client_1.expectString(output.ChangeComputeType),
4687
- IncreaseVolumeSize: smithy_client_1.expectString(output.IncreaseVolumeSize),
4688
- RebuildWorkspace: smithy_client_1.expectString(output.RebuildWorkspace),
4689
- RestartWorkspace: smithy_client_1.expectString(output.RestartWorkspace),
4690
- SwitchRunningMode: smithy_client_1.expectString(output.SwitchRunningMode),
4686
+ ChangeComputeType: (0, smithy_client_1.expectString)(output.ChangeComputeType),
4687
+ IncreaseVolumeSize: (0, smithy_client_1.expectString)(output.IncreaseVolumeSize),
4688
+ RebuildWorkspace: (0, smithy_client_1.expectString)(output.RebuildWorkspace),
4689
+ RestartWorkspace: (0, smithy_client_1.expectString)(output.RestartWorkspace),
4690
+ SwitchRunningMode: (0, smithy_client_1.expectString)(output.SwitchRunningMode),
4691
4691
  };
4692
4692
  };
4693
4693
  const deserializeAws_json1_1Snapshot = (output, context) => {
4694
4694
  return {
4695
4695
  SnapshotTime: output.SnapshotTime !== undefined && output.SnapshotTime !== null
4696
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SnapshotTime)))
4696
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SnapshotTime)))
4697
4697
  : undefined,
4698
4698
  };
4699
4699
  };
@@ -4729,14 +4729,14 @@ const deserializeAws_json1_1SubnetIds = (output, context) => {
4729
4729
  if (entry === null) {
4730
4730
  return null;
4731
4731
  }
4732
- return smithy_client_1.expectString(entry);
4732
+ return (0, smithy_client_1.expectString)(entry);
4733
4733
  });
4734
4734
  return retVal;
4735
4735
  };
4736
4736
  const deserializeAws_json1_1Tag = (output, context) => {
4737
4737
  return {
4738
- Key: smithy_client_1.expectString(output.Key),
4739
- Value: smithy_client_1.expectString(output.Value),
4738
+ Key: (0, smithy_client_1.expectString)(output.Key),
4739
+ Value: (0, smithy_client_1.expectString)(output.Value),
4740
4740
  };
4741
4741
  };
4742
4742
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -4759,12 +4759,12 @@ const deserializeAws_json1_1TerminateWorkspacesResult = (output, context) => {
4759
4759
  };
4760
4760
  const deserializeAws_json1_1UnsupportedNetworkConfigurationException = (output, context) => {
4761
4761
  return {
4762
- message: smithy_client_1.expectString(output.message),
4762
+ message: (0, smithy_client_1.expectString)(output.message),
4763
4763
  };
4764
4764
  };
4765
4765
  const deserializeAws_json1_1UnsupportedWorkspaceConfigurationException = (output, context) => {
4766
4766
  return {
4767
- message: smithy_client_1.expectString(output.message),
4767
+ message: (0, smithy_client_1.expectString)(output.message),
4768
4768
  };
4769
4769
  };
4770
4770
  const deserializeAws_json1_1UpdateConnectClientAddInResult = (output, context) => {
@@ -4775,8 +4775,8 @@ const deserializeAws_json1_1UpdateConnectionAliasPermissionResult = (output, con
4775
4775
  };
4776
4776
  const deserializeAws_json1_1UpdateResult = (output, context) => {
4777
4777
  return {
4778
- Description: smithy_client_1.expectString(output.Description),
4779
- UpdateAvailable: smithy_client_1.expectBoolean(output.UpdateAvailable),
4778
+ Description: (0, smithy_client_1.expectString)(output.Description),
4779
+ UpdateAvailable: (0, smithy_client_1.expectBoolean)(output.UpdateAvailable),
4780
4780
  };
4781
4781
  };
4782
4782
  const deserializeAws_json1_1UpdateRulesOfIpGroupResult = (output, context) => {
@@ -4790,27 +4790,27 @@ const deserializeAws_json1_1UpdateWorkspaceImagePermissionResult = (output, cont
4790
4790
  };
4791
4791
  const deserializeAws_json1_1UserStorage = (output, context) => {
4792
4792
  return {
4793
- Capacity: smithy_client_1.expectString(output.Capacity),
4793
+ Capacity: (0, smithy_client_1.expectString)(output.Capacity),
4794
4794
  };
4795
4795
  };
4796
4796
  const deserializeAws_json1_1Workspace = (output, context) => {
4797
4797
  return {
4798
- BundleId: smithy_client_1.expectString(output.BundleId),
4799
- ComputerName: smithy_client_1.expectString(output.ComputerName),
4800
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
4801
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
4802
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4803
- IpAddress: smithy_client_1.expectString(output.IpAddress),
4798
+ BundleId: (0, smithy_client_1.expectString)(output.BundleId),
4799
+ ComputerName: (0, smithy_client_1.expectString)(output.ComputerName),
4800
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
4801
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4802
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4803
+ IpAddress: (0, smithy_client_1.expectString)(output.IpAddress),
4804
4804
  ModificationStates: output.ModificationStates !== undefined && output.ModificationStates !== null
4805
4805
  ? deserializeAws_json1_1ModificationStateList(output.ModificationStates, context)
4806
4806
  : undefined,
4807
- RootVolumeEncryptionEnabled: smithy_client_1.expectBoolean(output.RootVolumeEncryptionEnabled),
4808
- State: smithy_client_1.expectString(output.State),
4809
- SubnetId: smithy_client_1.expectString(output.SubnetId),
4810
- UserName: smithy_client_1.expectString(output.UserName),
4811
- UserVolumeEncryptionEnabled: smithy_client_1.expectBoolean(output.UserVolumeEncryptionEnabled),
4812
- VolumeEncryptionKey: smithy_client_1.expectString(output.VolumeEncryptionKey),
4813
- WorkspaceId: smithy_client_1.expectString(output.WorkspaceId),
4807
+ RootVolumeEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.RootVolumeEncryptionEnabled),
4808
+ State: (0, smithy_client_1.expectString)(output.State),
4809
+ SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
4810
+ UserName: (0, smithy_client_1.expectString)(output.UserName),
4811
+ UserVolumeEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.UserVolumeEncryptionEnabled),
4812
+ VolumeEncryptionKey: (0, smithy_client_1.expectString)(output.VolumeEncryptionKey),
4813
+ WorkspaceId: (0, smithy_client_1.expectString)(output.WorkspaceId),
4814
4814
  WorkspaceProperties: output.WorkspaceProperties !== undefined && output.WorkspaceProperties !== null
4815
4815
  ? deserializeAws_json1_1WorkspaceProperties(output.WorkspaceProperties, context)
4816
4816
  : undefined,
@@ -4818,32 +4818,32 @@ const deserializeAws_json1_1Workspace = (output, context) => {
4818
4818
  };
4819
4819
  const deserializeAws_json1_1WorkspaceAccessProperties = (output, context) => {
4820
4820
  return {
4821
- DeviceTypeAndroid: smithy_client_1.expectString(output.DeviceTypeAndroid),
4822
- DeviceTypeChromeOs: smithy_client_1.expectString(output.DeviceTypeChromeOs),
4823
- DeviceTypeIos: smithy_client_1.expectString(output.DeviceTypeIos),
4824
- DeviceTypeLinux: smithy_client_1.expectString(output.DeviceTypeLinux),
4825
- DeviceTypeOsx: smithy_client_1.expectString(output.DeviceTypeOsx),
4826
- DeviceTypeWeb: smithy_client_1.expectString(output.DeviceTypeWeb),
4827
- DeviceTypeWindows: smithy_client_1.expectString(output.DeviceTypeWindows),
4828
- DeviceTypeZeroClient: smithy_client_1.expectString(output.DeviceTypeZeroClient),
4821
+ DeviceTypeAndroid: (0, smithy_client_1.expectString)(output.DeviceTypeAndroid),
4822
+ DeviceTypeChromeOs: (0, smithy_client_1.expectString)(output.DeviceTypeChromeOs),
4823
+ DeviceTypeIos: (0, smithy_client_1.expectString)(output.DeviceTypeIos),
4824
+ DeviceTypeLinux: (0, smithy_client_1.expectString)(output.DeviceTypeLinux),
4825
+ DeviceTypeOsx: (0, smithy_client_1.expectString)(output.DeviceTypeOsx),
4826
+ DeviceTypeWeb: (0, smithy_client_1.expectString)(output.DeviceTypeWeb),
4827
+ DeviceTypeWindows: (0, smithy_client_1.expectString)(output.DeviceTypeWindows),
4828
+ DeviceTypeZeroClient: (0, smithy_client_1.expectString)(output.DeviceTypeZeroClient),
4829
4829
  };
4830
4830
  };
4831
4831
  const deserializeAws_json1_1WorkspaceBundle = (output, context) => {
4832
4832
  return {
4833
- BundleId: smithy_client_1.expectString(output.BundleId),
4833
+ BundleId: (0, smithy_client_1.expectString)(output.BundleId),
4834
4834
  ComputeType: output.ComputeType !== undefined && output.ComputeType !== null
4835
4835
  ? deserializeAws_json1_1ComputeType(output.ComputeType, context)
4836
4836
  : undefined,
4837
4837
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4838
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4838
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
4839
4839
  : undefined,
4840
- Description: smithy_client_1.expectString(output.Description),
4841
- ImageId: smithy_client_1.expectString(output.ImageId),
4840
+ Description: (0, smithy_client_1.expectString)(output.Description),
4841
+ ImageId: (0, smithy_client_1.expectString)(output.ImageId),
4842
4842
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
4843
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
4843
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
4844
4844
  : undefined,
4845
- Name: smithy_client_1.expectString(output.Name),
4846
- Owner: smithy_client_1.expectString(output.Owner),
4845
+ Name: (0, smithy_client_1.expectString)(output.Name),
4846
+ Owner: (0, smithy_client_1.expectString)(output.Owner),
4847
4847
  RootStorage: output.RootStorage !== undefined && output.RootStorage !== null
4848
4848
  ? deserializeAws_json1_1RootStorage(output.RootStorage, context)
4849
4849
  : undefined,
@@ -4854,14 +4854,14 @@ const deserializeAws_json1_1WorkspaceBundle = (output, context) => {
4854
4854
  };
4855
4855
  const deserializeAws_json1_1WorkspaceConnectionStatus = (output, context) => {
4856
4856
  return {
4857
- ConnectionState: smithy_client_1.expectString(output.ConnectionState),
4857
+ ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
4858
4858
  ConnectionStateCheckTimestamp: output.ConnectionStateCheckTimestamp !== undefined && output.ConnectionStateCheckTimestamp !== null
4859
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ConnectionStateCheckTimestamp)))
4859
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ConnectionStateCheckTimestamp)))
4860
4860
  : undefined,
4861
4861
  LastKnownUserConnectionTimestamp: output.LastKnownUserConnectionTimestamp !== undefined && output.LastKnownUserConnectionTimestamp !== null
4862
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastKnownUserConnectionTimestamp)))
4862
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastKnownUserConnectionTimestamp)))
4863
4863
  : undefined,
4864
- WorkspaceId: smithy_client_1.expectString(output.WorkspaceId),
4864
+ WorkspaceId: (0, smithy_client_1.expectString)(output.WorkspaceId),
4865
4865
  };
4866
4866
  };
4867
4867
  const deserializeAws_json1_1WorkspaceConnectionStatusList = (output, context) => {
@@ -4877,31 +4877,31 @@ const deserializeAws_json1_1WorkspaceConnectionStatusList = (output, context) =>
4877
4877
  };
4878
4878
  const deserializeAws_json1_1WorkspaceDirectory = (output, context) => {
4879
4879
  return {
4880
- Alias: smithy_client_1.expectString(output.Alias),
4881
- CustomerUserName: smithy_client_1.expectString(output.CustomerUserName),
4882
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
4883
- DirectoryName: smithy_client_1.expectString(output.DirectoryName),
4884
- DirectoryType: smithy_client_1.expectString(output.DirectoryType),
4880
+ Alias: (0, smithy_client_1.expectString)(output.Alias),
4881
+ CustomerUserName: (0, smithy_client_1.expectString)(output.CustomerUserName),
4882
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
4883
+ DirectoryName: (0, smithy_client_1.expectString)(output.DirectoryName),
4884
+ DirectoryType: (0, smithy_client_1.expectString)(output.DirectoryType),
4885
4885
  DnsIpAddresses: output.DnsIpAddresses !== undefined && output.DnsIpAddresses !== null
4886
4886
  ? deserializeAws_json1_1DnsIpAddresses(output.DnsIpAddresses, context)
4887
4887
  : undefined,
4888
- IamRoleId: smithy_client_1.expectString(output.IamRoleId),
4889
- RegistrationCode: smithy_client_1.expectString(output.RegistrationCode),
4888
+ IamRoleId: (0, smithy_client_1.expectString)(output.IamRoleId),
4889
+ RegistrationCode: (0, smithy_client_1.expectString)(output.RegistrationCode),
4890
4890
  SelfservicePermissions: output.SelfservicePermissions !== undefined && output.SelfservicePermissions !== null
4891
4891
  ? deserializeAws_json1_1SelfservicePermissions(output.SelfservicePermissions, context)
4892
4892
  : undefined,
4893
- State: smithy_client_1.expectString(output.State),
4893
+ State: (0, smithy_client_1.expectString)(output.State),
4894
4894
  SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
4895
4895
  ? deserializeAws_json1_1SubnetIds(output.SubnetIds, context)
4896
4896
  : undefined,
4897
- Tenancy: smithy_client_1.expectString(output.Tenancy),
4897
+ Tenancy: (0, smithy_client_1.expectString)(output.Tenancy),
4898
4898
  WorkspaceAccessProperties: output.WorkspaceAccessProperties !== undefined && output.WorkspaceAccessProperties !== null
4899
4899
  ? deserializeAws_json1_1WorkspaceAccessProperties(output.WorkspaceAccessProperties, context)
4900
4900
  : undefined,
4901
4901
  WorkspaceCreationProperties: output.WorkspaceCreationProperties !== undefined && output.WorkspaceCreationProperties !== null
4902
4902
  ? deserializeAws_json1_1DefaultWorkspaceCreationProperties(output.WorkspaceCreationProperties, context)
4903
4903
  : undefined,
4904
- WorkspaceSecurityGroupId: smithy_client_1.expectString(output.WorkspaceSecurityGroupId),
4904
+ WorkspaceSecurityGroupId: (0, smithy_client_1.expectString)(output.WorkspaceSecurityGroupId),
4905
4905
  ipGroupIds: output.ipGroupIds !== undefined && output.ipGroupIds !== null
4906
4906
  ? deserializeAws_json1_1IpGroupIdList(output.ipGroupIds, context)
4907
4907
  : undefined,
@@ -4910,19 +4910,19 @@ const deserializeAws_json1_1WorkspaceDirectory = (output, context) => {
4910
4910
  const deserializeAws_json1_1WorkspaceImage = (output, context) => {
4911
4911
  return {
4912
4912
  Created: output.Created !== undefined && output.Created !== null
4913
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Created)))
4913
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Created)))
4914
4914
  : undefined,
4915
- Description: smithy_client_1.expectString(output.Description),
4916
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
4917
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4918
- ImageId: smithy_client_1.expectString(output.ImageId),
4919
- Name: smithy_client_1.expectString(output.Name),
4915
+ Description: (0, smithy_client_1.expectString)(output.Description),
4916
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4917
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4918
+ ImageId: (0, smithy_client_1.expectString)(output.ImageId),
4919
+ Name: (0, smithy_client_1.expectString)(output.Name),
4920
4920
  OperatingSystem: output.OperatingSystem !== undefined && output.OperatingSystem !== null
4921
4921
  ? deserializeAws_json1_1OperatingSystem(output.OperatingSystem, context)
4922
4922
  : undefined,
4923
- OwnerAccountId: smithy_client_1.expectString(output.OwnerAccountId),
4924
- RequiredTenancy: smithy_client_1.expectString(output.RequiredTenancy),
4925
- State: smithy_client_1.expectString(output.State),
4923
+ OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
4924
+ RequiredTenancy: (0, smithy_client_1.expectString)(output.RequiredTenancy),
4925
+ State: (0, smithy_client_1.expectString)(output.State),
4926
4926
  Updates: output.Updates !== undefined && output.Updates !== null
4927
4927
  ? deserializeAws_json1_1UpdateResult(output.Updates, context)
4928
4928
  : undefined,
@@ -4952,24 +4952,24 @@ const deserializeAws_json1_1WorkspaceList = (output, context) => {
4952
4952
  };
4953
4953
  const deserializeAws_json1_1WorkspaceProperties = (output, context) => {
4954
4954
  return {
4955
- ComputeTypeName: smithy_client_1.expectString(output.ComputeTypeName),
4956
- RootVolumeSizeGib: smithy_client_1.expectInt32(output.RootVolumeSizeGib),
4957
- RunningMode: smithy_client_1.expectString(output.RunningMode),
4958
- RunningModeAutoStopTimeoutInMinutes: smithy_client_1.expectInt32(output.RunningModeAutoStopTimeoutInMinutes),
4959
- UserVolumeSizeGib: smithy_client_1.expectInt32(output.UserVolumeSizeGib),
4955
+ ComputeTypeName: (0, smithy_client_1.expectString)(output.ComputeTypeName),
4956
+ RootVolumeSizeGib: (0, smithy_client_1.expectInt32)(output.RootVolumeSizeGib),
4957
+ RunningMode: (0, smithy_client_1.expectString)(output.RunningMode),
4958
+ RunningModeAutoStopTimeoutInMinutes: (0, smithy_client_1.expectInt32)(output.RunningModeAutoStopTimeoutInMinutes),
4959
+ UserVolumeSizeGib: (0, smithy_client_1.expectInt32)(output.UserVolumeSizeGib),
4960
4960
  };
4961
4961
  };
4962
4962
  const deserializeAws_json1_1WorkspaceRequest = (output, context) => {
4963
4963
  return {
4964
- BundleId: smithy_client_1.expectString(output.BundleId),
4965
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
4966
- RootVolumeEncryptionEnabled: smithy_client_1.expectBoolean(output.RootVolumeEncryptionEnabled),
4964
+ BundleId: (0, smithy_client_1.expectString)(output.BundleId),
4965
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
4966
+ RootVolumeEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.RootVolumeEncryptionEnabled),
4967
4967
  Tags: output.Tags !== undefined && output.Tags !== null
4968
4968
  ? deserializeAws_json1_1TagList(output.Tags, context)
4969
4969
  : undefined,
4970
- UserName: smithy_client_1.expectString(output.UserName),
4971
- UserVolumeEncryptionEnabled: smithy_client_1.expectBoolean(output.UserVolumeEncryptionEnabled),
4972
- VolumeEncryptionKey: smithy_client_1.expectString(output.VolumeEncryptionKey),
4970
+ UserName: (0, smithy_client_1.expectString)(output.UserName),
4971
+ UserVolumeEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.UserVolumeEncryptionEnabled),
4972
+ VolumeEncryptionKey: (0, smithy_client_1.expectString)(output.VolumeEncryptionKey),
4973
4973
  WorkspaceProperties: output.WorkspaceProperties !== undefined && output.WorkspaceProperties !== null
4974
4974
  ? deserializeAws_json1_1WorkspaceProperties(output.WorkspaceProperties, context)
4975
4975
  : undefined,
@@ -4977,14 +4977,14 @@ const deserializeAws_json1_1WorkspaceRequest = (output, context) => {
4977
4977
  };
4978
4978
  const deserializeAws_json1_1WorkspacesDefaultRoleNotFoundException = (output, context) => {
4979
4979
  return {
4980
- message: smithy_client_1.expectString(output.message),
4980
+ message: (0, smithy_client_1.expectString)(output.message),
4981
4981
  };
4982
4982
  };
4983
4983
  const deserializeAws_json1_1WorkspacesIpGroup = (output, context) => {
4984
4984
  return {
4985
- groupDesc: smithy_client_1.expectString(output.groupDesc),
4986
- groupId: smithy_client_1.expectString(output.groupId),
4987
- groupName: smithy_client_1.expectString(output.groupName),
4985
+ groupDesc: (0, smithy_client_1.expectString)(output.groupDesc),
4986
+ groupId: (0, smithy_client_1.expectString)(output.groupId),
4987
+ groupName: (0, smithy_client_1.expectString)(output.groupName),
4988
4988
  userRules: output.userRules !== undefined && output.userRules !== null
4989
4989
  ? deserializeAws_json1_1IpRuleList(output.userRules, context)
4990
4990
  : undefined,