@aws-sdk/client-directory-service 3.54.1 → 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 (75) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/DirectoryServiceClient.js +13 -13
  3. package/dist-cjs/commands/AcceptSharedDirectoryCommand.js +3 -3
  4. package/dist-cjs/commands/AddIpRoutesCommand.js +3 -3
  5. package/dist-cjs/commands/AddRegionCommand.js +3 -3
  6. package/dist-cjs/commands/AddTagsToResourceCommand.js +3 -3
  7. package/dist-cjs/commands/CancelSchemaExtensionCommand.js +3 -3
  8. package/dist-cjs/commands/ConnectDirectoryCommand.js +3 -3
  9. package/dist-cjs/commands/CreateAliasCommand.js +3 -3
  10. package/dist-cjs/commands/CreateComputerCommand.js +3 -3
  11. package/dist-cjs/commands/CreateConditionalForwarderCommand.js +3 -3
  12. package/dist-cjs/commands/CreateDirectoryCommand.js +3 -3
  13. package/dist-cjs/commands/CreateLogSubscriptionCommand.js +3 -3
  14. package/dist-cjs/commands/CreateMicrosoftADCommand.js +3 -3
  15. package/dist-cjs/commands/CreateSnapshotCommand.js +3 -3
  16. package/dist-cjs/commands/CreateTrustCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteConditionalForwarderCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteDirectoryCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteLogSubscriptionCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteSnapshotCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteTrustCommand.js +3 -3
  22. package/dist-cjs/commands/DeregisterCertificateCommand.js +3 -3
  23. package/dist-cjs/commands/DeregisterEventTopicCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeCertificateCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeClientAuthenticationSettingsCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeConditionalForwardersCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeDirectoriesCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeDomainControllersCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeEventTopicsCommand.js +3 -3
  30. package/dist-cjs/commands/DescribeLDAPSSettingsCommand.js +3 -3
  31. package/dist-cjs/commands/DescribeRegionsCommand.js +3 -3
  32. package/dist-cjs/commands/DescribeSharedDirectoriesCommand.js +3 -3
  33. package/dist-cjs/commands/DescribeSnapshotsCommand.js +3 -3
  34. package/dist-cjs/commands/DescribeTrustsCommand.js +3 -3
  35. package/dist-cjs/commands/DisableClientAuthenticationCommand.js +3 -3
  36. package/dist-cjs/commands/DisableLDAPSCommand.js +3 -3
  37. package/dist-cjs/commands/DisableRadiusCommand.js +3 -3
  38. package/dist-cjs/commands/DisableSsoCommand.js +3 -3
  39. package/dist-cjs/commands/EnableClientAuthenticationCommand.js +3 -3
  40. package/dist-cjs/commands/EnableLDAPSCommand.js +3 -3
  41. package/dist-cjs/commands/EnableRadiusCommand.js +3 -3
  42. package/dist-cjs/commands/EnableSsoCommand.js +3 -3
  43. package/dist-cjs/commands/GetDirectoryLimitsCommand.js +3 -3
  44. package/dist-cjs/commands/GetSnapshotLimitsCommand.js +3 -3
  45. package/dist-cjs/commands/ListCertificatesCommand.js +3 -3
  46. package/dist-cjs/commands/ListIpRoutesCommand.js +3 -3
  47. package/dist-cjs/commands/ListLogSubscriptionsCommand.js +3 -3
  48. package/dist-cjs/commands/ListSchemaExtensionsCommand.js +3 -3
  49. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  50. package/dist-cjs/commands/RegisterCertificateCommand.js +3 -3
  51. package/dist-cjs/commands/RegisterEventTopicCommand.js +3 -3
  52. package/dist-cjs/commands/RejectSharedDirectoryCommand.js +3 -3
  53. package/dist-cjs/commands/RemoveIpRoutesCommand.js +3 -3
  54. package/dist-cjs/commands/RemoveRegionCommand.js +3 -3
  55. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +3 -3
  56. package/dist-cjs/commands/ResetUserPasswordCommand.js +3 -3
  57. package/dist-cjs/commands/RestoreFromSnapshotCommand.js +3 -3
  58. package/dist-cjs/commands/ShareDirectoryCommand.js +3 -3
  59. package/dist-cjs/commands/StartSchemaExtensionCommand.js +3 -3
  60. package/dist-cjs/commands/UnshareDirectoryCommand.js +3 -3
  61. package/dist-cjs/commands/UpdateConditionalForwarderCommand.js +3 -3
  62. package/dist-cjs/commands/UpdateNumberOfDomainControllersCommand.js +3 -3
  63. package/dist-cjs/commands/UpdateRadiusCommand.js +3 -3
  64. package/dist-cjs/commands/UpdateTrustCommand.js +3 -3
  65. package/dist-cjs/commands/VerifyTrustCommand.js +3 -3
  66. package/dist-cjs/endpoints.js +1 -1
  67. package/dist-cjs/protocols/Aws_json1_1.js +342 -342
  68. package/dist-cjs/runtimeConfig.browser.js +4 -4
  69. package/dist-cjs/runtimeConfig.js +9 -9
  70. package/dist-cjs/runtimeConfig.native.js +1 -1
  71. package/dist-es/DirectoryService.js +63 -63
  72. package/dist-es/pagination/DescribeDomainControllersPaginator.js +4 -4
  73. package/dist-types/runtimeConfig.native.d.ts +2 -2
  74. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  75. package/package.json +34 -34
@@ -682,7 +682,7 @@ const deserializeAws_json1_1AcceptSharedDirectoryCommandError = async (output, c
682
682
  $fault: "client",
683
683
  $metadata: deserializeMetadata(output),
684
684
  });
685
- throw smithy_client_1.decorateServiceException(response, parsedBody);
685
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
686
686
  }
687
687
  };
688
688
  const deserializeAws_json1_1AddIpRoutesCommand = async (output, context) => {
@@ -736,7 +736,7 @@ const deserializeAws_json1_1AddIpRoutesCommandError = async (output, context) =>
736
736
  $fault: "client",
737
737
  $metadata: deserializeMetadata(output),
738
738
  });
739
- throw smithy_client_1.decorateServiceException(response, parsedBody);
739
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
740
740
  }
741
741
  };
742
742
  const deserializeAws_json1_1AddRegionCommand = async (output, context) => {
@@ -799,7 +799,7 @@ const deserializeAws_json1_1AddRegionCommandError = async (output, context) => {
799
799
  $fault: "client",
800
800
  $metadata: deserializeMetadata(output),
801
801
  });
802
- throw smithy_client_1.decorateServiceException(response, parsedBody);
802
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
803
803
  }
804
804
  };
805
805
  const deserializeAws_json1_1AddTagsToResourceCommand = async (output, context) => {
@@ -847,7 +847,7 @@ const deserializeAws_json1_1AddTagsToResourceCommandError = async (output, conte
847
847
  $fault: "client",
848
848
  $metadata: deserializeMetadata(output),
849
849
  });
850
- throw smithy_client_1.decorateServiceException(response, parsedBody);
850
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
851
851
  }
852
852
  };
853
853
  const deserializeAws_json1_1CancelSchemaExtensionCommand = async (output, context) => {
@@ -889,7 +889,7 @@ const deserializeAws_json1_1CancelSchemaExtensionCommandError = async (output, c
889
889
  $fault: "client",
890
890
  $metadata: deserializeMetadata(output),
891
891
  });
892
- throw smithy_client_1.decorateServiceException(response, parsedBody);
892
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
893
893
  }
894
894
  };
895
895
  const deserializeAws_json1_1ConnectDirectoryCommand = async (output, context) => {
@@ -934,7 +934,7 @@ const deserializeAws_json1_1ConnectDirectoryCommandError = async (output, contex
934
934
  $fault: "client",
935
935
  $metadata: deserializeMetadata(output),
936
936
  });
937
- throw smithy_client_1.decorateServiceException(response, parsedBody);
937
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
938
938
  }
939
939
  };
940
940
  const deserializeAws_json1_1CreateAliasCommand = async (output, context) => {
@@ -982,7 +982,7 @@ const deserializeAws_json1_1CreateAliasCommandError = async (output, context) =>
982
982
  $fault: "client",
983
983
  $metadata: deserializeMetadata(output),
984
984
  });
985
- throw smithy_client_1.decorateServiceException(response, parsedBody);
985
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
986
986
  }
987
987
  };
988
988
  const deserializeAws_json1_1CreateComputerCommand = async (output, context) => {
@@ -1039,7 +1039,7 @@ const deserializeAws_json1_1CreateComputerCommandError = async (output, context)
1039
1039
  $fault: "client",
1040
1040
  $metadata: deserializeMetadata(output),
1041
1041
  });
1042
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1042
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1043
1043
  }
1044
1044
  };
1045
1045
  const deserializeAws_json1_1CreateConditionalForwarderCommand = async (output, context) => {
@@ -1093,7 +1093,7 @@ const deserializeAws_json1_1CreateConditionalForwarderCommandError = async (outp
1093
1093
  $fault: "client",
1094
1094
  $metadata: deserializeMetadata(output),
1095
1095
  });
1096
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1096
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1097
1097
  }
1098
1098
  };
1099
1099
  const deserializeAws_json1_1CreateDirectoryCommand = async (output, context) => {
@@ -1138,7 +1138,7 @@ const deserializeAws_json1_1CreateDirectoryCommandError = async (output, context
1138
1138
  $fault: "client",
1139
1139
  $metadata: deserializeMetadata(output),
1140
1140
  });
1141
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1141
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1142
1142
  }
1143
1143
  };
1144
1144
  const deserializeAws_json1_1CreateLogSubscriptionCommand = async (output, context) => {
@@ -1189,7 +1189,7 @@ const deserializeAws_json1_1CreateLogSubscriptionCommandError = async (output, c
1189
1189
  $fault: "client",
1190
1190
  $metadata: deserializeMetadata(output),
1191
1191
  });
1192
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1192
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1193
1193
  }
1194
1194
  };
1195
1195
  const deserializeAws_json1_1CreateMicrosoftADCommand = async (output, context) => {
@@ -1237,7 +1237,7 @@ const deserializeAws_json1_1CreateMicrosoftADCommandError = async (output, conte
1237
1237
  $fault: "client",
1238
1238
  $metadata: deserializeMetadata(output),
1239
1239
  });
1240
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1240
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1241
1241
  }
1242
1242
  };
1243
1243
  const deserializeAws_json1_1CreateSnapshotCommand = async (output, context) => {
@@ -1285,7 +1285,7 @@ const deserializeAws_json1_1CreateSnapshotCommandError = async (output, context)
1285
1285
  $fault: "client",
1286
1286
  $metadata: deserializeMetadata(output),
1287
1287
  });
1288
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1288
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1289
1289
  }
1290
1290
  };
1291
1291
  const deserializeAws_json1_1CreateTrustCommand = async (output, context) => {
@@ -1336,7 +1336,7 @@ const deserializeAws_json1_1CreateTrustCommandError = async (output, context) =>
1336
1336
  $fault: "client",
1337
1337
  $metadata: deserializeMetadata(output),
1338
1338
  });
1339
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1339
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1340
1340
  }
1341
1341
  };
1342
1342
  const deserializeAws_json1_1DeleteConditionalForwarderCommand = async (output, context) => {
@@ -1387,7 +1387,7 @@ const deserializeAws_json1_1DeleteConditionalForwarderCommandError = async (outp
1387
1387
  $fault: "client",
1388
1388
  $metadata: deserializeMetadata(output),
1389
1389
  });
1390
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1390
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1391
1391
  }
1392
1392
  };
1393
1393
  const deserializeAws_json1_1DeleteDirectoryCommand = async (output, context) => {
@@ -1429,7 +1429,7 @@ const deserializeAws_json1_1DeleteDirectoryCommandError = async (output, context
1429
1429
  $fault: "client",
1430
1430
  $metadata: deserializeMetadata(output),
1431
1431
  });
1432
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1432
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1433
1433
  }
1434
1434
  };
1435
1435
  const deserializeAws_json1_1DeleteLogSubscriptionCommand = async (output, context) => {
@@ -1474,7 +1474,7 @@ const deserializeAws_json1_1DeleteLogSubscriptionCommandError = async (output, c
1474
1474
  $fault: "client",
1475
1475
  $metadata: deserializeMetadata(output),
1476
1476
  });
1477
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1477
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1478
1478
  }
1479
1479
  };
1480
1480
  const deserializeAws_json1_1DeleteSnapshotCommand = async (output, context) => {
@@ -1519,7 +1519,7 @@ const deserializeAws_json1_1DeleteSnapshotCommandError = async (output, context)
1519
1519
  $fault: "client",
1520
1520
  $metadata: deserializeMetadata(output),
1521
1521
  });
1522
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1522
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1523
1523
  }
1524
1524
  };
1525
1525
  const deserializeAws_json1_1DeleteTrustCommand = async (output, context) => {
@@ -1567,7 +1567,7 @@ const deserializeAws_json1_1DeleteTrustCommandError = async (output, context) =>
1567
1567
  $fault: "client",
1568
1568
  $metadata: deserializeMetadata(output),
1569
1569
  });
1570
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1570
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1571
1571
  }
1572
1572
  };
1573
1573
  const deserializeAws_json1_1DeregisterCertificateCommand = async (output, context) => {
@@ -1624,7 +1624,7 @@ const deserializeAws_json1_1DeregisterCertificateCommandError = async (output, c
1624
1624
  $fault: "client",
1625
1625
  $metadata: deserializeMetadata(output),
1626
1626
  });
1627
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1627
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1628
1628
  }
1629
1629
  };
1630
1630
  const deserializeAws_json1_1DeregisterEventTopicCommand = async (output, context) => {
@@ -1669,7 +1669,7 @@ const deserializeAws_json1_1DeregisterEventTopicCommandError = async (output, co
1669
1669
  $fault: "client",
1670
1670
  $metadata: deserializeMetadata(output),
1671
1671
  });
1672
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1672
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1673
1673
  }
1674
1674
  };
1675
1675
  const deserializeAws_json1_1DescribeCertificateCommand = async (output, context) => {
@@ -1720,7 +1720,7 @@ const deserializeAws_json1_1DescribeCertificateCommandError = async (output, con
1720
1720
  $fault: "client",
1721
1721
  $metadata: deserializeMetadata(output),
1722
1722
  });
1723
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1723
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1724
1724
  }
1725
1725
  };
1726
1726
  const deserializeAws_json1_1DescribeClientAuthenticationSettingsCommand = async (output, context) => {
@@ -1771,7 +1771,7 @@ const deserializeAws_json1_1DescribeClientAuthenticationSettingsCommandError = a
1771
1771
  $fault: "client",
1772
1772
  $metadata: deserializeMetadata(output),
1773
1773
  });
1774
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1774
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1775
1775
  }
1776
1776
  };
1777
1777
  const deserializeAws_json1_1DescribeConditionalForwardersCommand = async (output, context) => {
@@ -1822,7 +1822,7 @@ const deserializeAws_json1_1DescribeConditionalForwardersCommandError = async (o
1822
1822
  $fault: "client",
1823
1823
  $metadata: deserializeMetadata(output),
1824
1824
  });
1825
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1825
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1826
1826
  }
1827
1827
  };
1828
1828
  const deserializeAws_json1_1DescribeDirectoriesCommand = async (output, context) => {
@@ -1870,7 +1870,7 @@ const deserializeAws_json1_1DescribeDirectoriesCommandError = async (output, con
1870
1870
  $fault: "client",
1871
1871
  $metadata: deserializeMetadata(output),
1872
1872
  });
1873
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1873
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1874
1874
  }
1875
1875
  };
1876
1876
  const deserializeAws_json1_1DescribeDomainControllersCommand = async (output, context) => {
@@ -1921,7 +1921,7 @@ const deserializeAws_json1_1DescribeDomainControllersCommandError = async (outpu
1921
1921
  $fault: "client",
1922
1922
  $metadata: deserializeMetadata(output),
1923
1923
  });
1924
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1924
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1925
1925
  }
1926
1926
  };
1927
1927
  const deserializeAws_json1_1DescribeEventTopicsCommand = async (output, context) => {
@@ -1966,7 +1966,7 @@ const deserializeAws_json1_1DescribeEventTopicsCommandError = async (output, con
1966
1966
  $fault: "client",
1967
1967
  $metadata: deserializeMetadata(output),
1968
1968
  });
1969
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1969
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1970
1970
  }
1971
1971
  };
1972
1972
  const deserializeAws_json1_1DescribeLDAPSSettingsCommand = async (output, context) => {
@@ -2017,7 +2017,7 @@ const deserializeAws_json1_1DescribeLDAPSSettingsCommandError = async (output, c
2017
2017
  $fault: "client",
2018
2018
  $metadata: deserializeMetadata(output),
2019
2019
  });
2020
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2020
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2021
2021
  }
2022
2022
  };
2023
2023
  const deserializeAws_json1_1DescribeRegionsCommand = async (output, context) => {
@@ -2071,7 +2071,7 @@ const deserializeAws_json1_1DescribeRegionsCommandError = async (output, context
2071
2071
  $fault: "client",
2072
2072
  $metadata: deserializeMetadata(output),
2073
2073
  });
2074
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2074
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2075
2075
  }
2076
2076
  };
2077
2077
  const deserializeAws_json1_1DescribeSharedDirectoriesCommand = async (output, context) => {
@@ -2122,7 +2122,7 @@ const deserializeAws_json1_1DescribeSharedDirectoriesCommandError = async (outpu
2122
2122
  $fault: "client",
2123
2123
  $metadata: deserializeMetadata(output),
2124
2124
  });
2125
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2125
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2126
2126
  }
2127
2127
  };
2128
2128
  const deserializeAws_json1_1DescribeSnapshotsCommand = async (output, context) => {
@@ -2170,7 +2170,7 @@ const deserializeAws_json1_1DescribeSnapshotsCommandError = async (output, conte
2170
2170
  $fault: "client",
2171
2171
  $metadata: deserializeMetadata(output),
2172
2172
  });
2173
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2173
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2174
2174
  }
2175
2175
  };
2176
2176
  const deserializeAws_json1_1DescribeTrustsCommand = async (output, context) => {
@@ -2221,7 +2221,7 @@ const deserializeAws_json1_1DescribeTrustsCommandError = async (output, context)
2221
2221
  $fault: "client",
2222
2222
  $metadata: deserializeMetadata(output),
2223
2223
  });
2224
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2224
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2225
2225
  }
2226
2226
  };
2227
2227
  const deserializeAws_json1_1DisableClientAuthenticationCommand = async (output, context) => {
@@ -2272,7 +2272,7 @@ const deserializeAws_json1_1DisableClientAuthenticationCommandError = async (out
2272
2272
  $fault: "client",
2273
2273
  $metadata: deserializeMetadata(output),
2274
2274
  });
2275
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2275
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2276
2276
  }
2277
2277
  };
2278
2278
  const deserializeAws_json1_1DisableLDAPSCommand = async (output, context) => {
@@ -2326,7 +2326,7 @@ const deserializeAws_json1_1DisableLDAPSCommandError = async (output, context) =
2326
2326
  $fault: "client",
2327
2327
  $metadata: deserializeMetadata(output),
2328
2328
  });
2329
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2329
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2330
2330
  }
2331
2331
  };
2332
2332
  const deserializeAws_json1_1DisableRadiusCommand = async (output, context) => {
@@ -2368,7 +2368,7 @@ const deserializeAws_json1_1DisableRadiusCommandError = async (output, context)
2368
2368
  $fault: "client",
2369
2369
  $metadata: deserializeMetadata(output),
2370
2370
  });
2371
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2371
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2372
2372
  }
2373
2373
  };
2374
2374
  const deserializeAws_json1_1DisableSsoCommand = async (output, context) => {
@@ -2416,7 +2416,7 @@ const deserializeAws_json1_1DisableSsoCommandError = async (output, context) =>
2416
2416
  $fault: "client",
2417
2417
  $metadata: deserializeMetadata(output),
2418
2418
  });
2419
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2419
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2420
2420
  }
2421
2421
  };
2422
2422
  const deserializeAws_json1_1EnableClientAuthenticationCommand = async (output, context) => {
@@ -2470,7 +2470,7 @@ const deserializeAws_json1_1EnableClientAuthenticationCommandError = async (outp
2470
2470
  $fault: "client",
2471
2471
  $metadata: deserializeMetadata(output),
2472
2472
  });
2473
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2473
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2474
2474
  }
2475
2475
  };
2476
2476
  const deserializeAws_json1_1EnableLDAPSCommand = async (output, context) => {
@@ -2527,7 +2527,7 @@ const deserializeAws_json1_1EnableLDAPSCommandError = async (output, context) =>
2527
2527
  $fault: "client",
2528
2528
  $metadata: deserializeMetadata(output),
2529
2529
  });
2530
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2530
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2531
2531
  }
2532
2532
  };
2533
2533
  const deserializeAws_json1_1EnableRadiusCommand = async (output, context) => {
@@ -2575,7 +2575,7 @@ const deserializeAws_json1_1EnableRadiusCommandError = async (output, context) =
2575
2575
  $fault: "client",
2576
2576
  $metadata: deserializeMetadata(output),
2577
2577
  });
2578
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2578
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2579
2579
  }
2580
2580
  };
2581
2581
  const deserializeAws_json1_1EnableSsoCommand = async (output, context) => {
@@ -2623,7 +2623,7 @@ const deserializeAws_json1_1EnableSsoCommandError = async (output, context) => {
2623
2623
  $fault: "client",
2624
2624
  $metadata: deserializeMetadata(output),
2625
2625
  });
2626
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2626
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2627
2627
  }
2628
2628
  };
2629
2629
  const deserializeAws_json1_1GetDirectoryLimitsCommand = async (output, context) => {
@@ -2665,7 +2665,7 @@ const deserializeAws_json1_1GetDirectoryLimitsCommandError = async (output, cont
2665
2665
  $fault: "client",
2666
2666
  $metadata: deserializeMetadata(output),
2667
2667
  });
2668
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2668
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2669
2669
  }
2670
2670
  };
2671
2671
  const deserializeAws_json1_1GetSnapshotLimitsCommand = async (output, context) => {
@@ -2707,7 +2707,7 @@ const deserializeAws_json1_1GetSnapshotLimitsCommandError = async (output, conte
2707
2707
  $fault: "client",
2708
2708
  $metadata: deserializeMetadata(output),
2709
2709
  });
2710
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2710
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2711
2711
  }
2712
2712
  };
2713
2713
  const deserializeAws_json1_1ListCertificatesCommand = async (output, context) => {
@@ -2758,7 +2758,7 @@ const deserializeAws_json1_1ListCertificatesCommandError = async (output, contex
2758
2758
  $fault: "client",
2759
2759
  $metadata: deserializeMetadata(output),
2760
2760
  });
2761
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2761
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2762
2762
  }
2763
2763
  };
2764
2764
  const deserializeAws_json1_1ListIpRoutesCommand = async (output, context) => {
@@ -2806,7 +2806,7 @@ const deserializeAws_json1_1ListIpRoutesCommandError = async (output, context) =
2806
2806
  $fault: "client",
2807
2807
  $metadata: deserializeMetadata(output),
2808
2808
  });
2809
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2809
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2810
2810
  }
2811
2811
  };
2812
2812
  const deserializeAws_json1_1ListLogSubscriptionsCommand = async (output, context) => {
@@ -2851,7 +2851,7 @@ const deserializeAws_json1_1ListLogSubscriptionsCommandError = async (output, co
2851
2851
  $fault: "client",
2852
2852
  $metadata: deserializeMetadata(output),
2853
2853
  });
2854
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2854
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2855
2855
  }
2856
2856
  };
2857
2857
  const deserializeAws_json1_1ListSchemaExtensionsCommand = async (output, context) => {
@@ -2896,7 +2896,7 @@ const deserializeAws_json1_1ListSchemaExtensionsCommandError = async (output, co
2896
2896
  $fault: "client",
2897
2897
  $metadata: deserializeMetadata(output),
2898
2898
  });
2899
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2899
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2900
2900
  }
2901
2901
  };
2902
2902
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -2944,7 +2944,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
2944
2944
  $fault: "client",
2945
2945
  $metadata: deserializeMetadata(output),
2946
2946
  });
2947
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2947
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2948
2948
  }
2949
2949
  };
2950
2950
  const deserializeAws_json1_1RegisterCertificateCommand = async (output, context) => {
@@ -3004,7 +3004,7 @@ const deserializeAws_json1_1RegisterCertificateCommandError = async (output, con
3004
3004
  $fault: "client",
3005
3005
  $metadata: deserializeMetadata(output),
3006
3006
  });
3007
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3007
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3008
3008
  }
3009
3009
  };
3010
3010
  const deserializeAws_json1_1RegisterEventTopicCommand = async (output, context) => {
@@ -3049,7 +3049,7 @@ const deserializeAws_json1_1RegisterEventTopicCommandError = async (output, cont
3049
3049
  $fault: "client",
3050
3050
  $metadata: deserializeMetadata(output),
3051
3051
  });
3052
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3052
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3053
3053
  }
3054
3054
  };
3055
3055
  const deserializeAws_json1_1RejectSharedDirectoryCommand = async (output, context) => {
@@ -3097,7 +3097,7 @@ const deserializeAws_json1_1RejectSharedDirectoryCommandError = async (output, c
3097
3097
  $fault: "client",
3098
3098
  $metadata: deserializeMetadata(output),
3099
3099
  });
3100
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3100
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3101
3101
  }
3102
3102
  };
3103
3103
  const deserializeAws_json1_1RemoveIpRoutesCommand = async (output, context) => {
@@ -3145,7 +3145,7 @@ const deserializeAws_json1_1RemoveIpRoutesCommandError = async (output, context)
3145
3145
  $fault: "client",
3146
3146
  $metadata: deserializeMetadata(output),
3147
3147
  });
3148
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3148
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3149
3149
  }
3150
3150
  };
3151
3151
  const deserializeAws_json1_1RemoveRegionCommand = async (output, context) => {
@@ -3196,7 +3196,7 @@ const deserializeAws_json1_1RemoveRegionCommandError = async (output, context) =
3196
3196
  $fault: "client",
3197
3197
  $metadata: deserializeMetadata(output),
3198
3198
  });
3199
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3199
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3200
3200
  }
3201
3201
  };
3202
3202
  const deserializeAws_json1_1RemoveTagsFromResourceCommand = async (output, context) => {
@@ -3241,7 +3241,7 @@ const deserializeAws_json1_1RemoveTagsFromResourceCommandError = async (output,
3241
3241
  $fault: "client",
3242
3242
  $metadata: deserializeMetadata(output),
3243
3243
  });
3244
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3244
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3245
3245
  }
3246
3246
  };
3247
3247
  const deserializeAws_json1_1ResetUserPasswordCommand = async (output, context) => {
@@ -3295,7 +3295,7 @@ const deserializeAws_json1_1ResetUserPasswordCommandError = async (output, conte
3295
3295
  $fault: "client",
3296
3296
  $metadata: deserializeMetadata(output),
3297
3297
  });
3298
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3298
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3299
3299
  }
3300
3300
  };
3301
3301
  const deserializeAws_json1_1RestoreFromSnapshotCommand = async (output, context) => {
@@ -3340,7 +3340,7 @@ const deserializeAws_json1_1RestoreFromSnapshotCommandError = async (output, con
3340
3340
  $fault: "client",
3341
3341
  $metadata: deserializeMetadata(output),
3342
3342
  });
3343
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3343
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3344
3344
  }
3345
3345
  };
3346
3346
  const deserializeAws_json1_1ShareDirectoryCommand = async (output, context) => {
@@ -3403,7 +3403,7 @@ const deserializeAws_json1_1ShareDirectoryCommandError = async (output, context)
3403
3403
  $fault: "client",
3404
3404
  $metadata: deserializeMetadata(output),
3405
3405
  });
3406
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3406
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3407
3407
  }
3408
3408
  };
3409
3409
  const deserializeAws_json1_1StartSchemaExtensionCommand = async (output, context) => {
@@ -3454,7 +3454,7 @@ const deserializeAws_json1_1StartSchemaExtensionCommandError = async (output, co
3454
3454
  $fault: "client",
3455
3455
  $metadata: deserializeMetadata(output),
3456
3456
  });
3457
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3457
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3458
3458
  }
3459
3459
  };
3460
3460
  const deserializeAws_json1_1UnshareDirectoryCommand = async (output, context) => {
@@ -3502,7 +3502,7 @@ const deserializeAws_json1_1UnshareDirectoryCommandError = async (output, contex
3502
3502
  $fault: "client",
3503
3503
  $metadata: deserializeMetadata(output),
3504
3504
  });
3505
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3505
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3506
3506
  }
3507
3507
  };
3508
3508
  const deserializeAws_json1_1UpdateConditionalForwarderCommand = async (output, context) => {
@@ -3553,7 +3553,7 @@ const deserializeAws_json1_1UpdateConditionalForwarderCommandError = async (outp
3553
3553
  $fault: "client",
3554
3554
  $metadata: deserializeMetadata(output),
3555
3555
  });
3556
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3556
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3557
3557
  }
3558
3558
  };
3559
3559
  const deserializeAws_json1_1UpdateNumberOfDomainControllersCommand = async (output, context) => {
@@ -3607,7 +3607,7 @@ const deserializeAws_json1_1UpdateNumberOfDomainControllersCommandError = async
3607
3607
  $fault: "client",
3608
3608
  $metadata: deserializeMetadata(output),
3609
3609
  });
3610
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3610
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3611
3611
  }
3612
3612
  };
3613
3613
  const deserializeAws_json1_1UpdateRadiusCommand = async (output, context) => {
@@ -3652,7 +3652,7 @@ const deserializeAws_json1_1UpdateRadiusCommandError = async (output, context) =
3652
3652
  $fault: "client",
3653
3653
  $metadata: deserializeMetadata(output),
3654
3654
  });
3655
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3655
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3656
3656
  }
3657
3657
  };
3658
3658
  const deserializeAws_json1_1UpdateTrustCommand = async (output, context) => {
@@ -3697,7 +3697,7 @@ const deserializeAws_json1_1UpdateTrustCommandError = async (output, context) =>
3697
3697
  $fault: "client",
3698
3698
  $metadata: deserializeMetadata(output),
3699
3699
  });
3700
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3700
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3701
3701
  }
3702
3702
  };
3703
3703
  const deserializeAws_json1_1VerifyTrustCommand = async (output, context) => {
@@ -3745,7 +3745,7 @@ const deserializeAws_json1_1VerifyTrustCommandError = async (output, context) =>
3745
3745
  $fault: "client",
3746
3746
  $metadata: deserializeMetadata(output),
3747
3747
  });
3748
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3748
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3749
3749
  }
3750
3750
  };
3751
3751
  const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
@@ -3755,7 +3755,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
3755
3755
  $metadata: deserializeMetadata(parsedOutput),
3756
3756
  ...deserialized,
3757
3757
  });
3758
- return smithy_client_1.decorateServiceException(exception, body);
3758
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3759
3759
  };
3760
3760
  const deserializeAws_json1_1AuthenticationFailedExceptionResponse = async (parsedOutput, context) => {
3761
3761
  const body = parsedOutput.body;
@@ -3764,7 +3764,7 @@ const deserializeAws_json1_1AuthenticationFailedExceptionResponse = async (parse
3764
3764
  $metadata: deserializeMetadata(parsedOutput),
3765
3765
  ...deserialized,
3766
3766
  });
3767
- return smithy_client_1.decorateServiceException(exception, body);
3767
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3768
3768
  };
3769
3769
  const deserializeAws_json1_1CertificateAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
3770
3770
  const body = parsedOutput.body;
@@ -3773,7 +3773,7 @@ const deserializeAws_json1_1CertificateAlreadyExistsExceptionResponse = async (p
3773
3773
  $metadata: deserializeMetadata(parsedOutput),
3774
3774
  ...deserialized,
3775
3775
  });
3776
- return smithy_client_1.decorateServiceException(exception, body);
3776
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3777
3777
  };
3778
3778
  const deserializeAws_json1_1CertificateDoesNotExistExceptionResponse = async (parsedOutput, context) => {
3779
3779
  const body = parsedOutput.body;
@@ -3782,7 +3782,7 @@ const deserializeAws_json1_1CertificateDoesNotExistExceptionResponse = async (pa
3782
3782
  $metadata: deserializeMetadata(parsedOutput),
3783
3783
  ...deserialized,
3784
3784
  });
3785
- return smithy_client_1.decorateServiceException(exception, body);
3785
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3786
3786
  };
3787
3787
  const deserializeAws_json1_1CertificateInUseExceptionResponse = async (parsedOutput, context) => {
3788
3788
  const body = parsedOutput.body;
@@ -3791,7 +3791,7 @@ const deserializeAws_json1_1CertificateInUseExceptionResponse = async (parsedOut
3791
3791
  $metadata: deserializeMetadata(parsedOutput),
3792
3792
  ...deserialized,
3793
3793
  });
3794
- return smithy_client_1.decorateServiceException(exception, body);
3794
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3795
3795
  };
3796
3796
  const deserializeAws_json1_1CertificateLimitExceededExceptionResponse = async (parsedOutput, context) => {
3797
3797
  const body = parsedOutput.body;
@@ -3800,7 +3800,7 @@ const deserializeAws_json1_1CertificateLimitExceededExceptionResponse = async (p
3800
3800
  $metadata: deserializeMetadata(parsedOutput),
3801
3801
  ...deserialized,
3802
3802
  });
3803
- return smithy_client_1.decorateServiceException(exception, body);
3803
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3804
3804
  };
3805
3805
  const deserializeAws_json1_1ClientExceptionResponse = async (parsedOutput, context) => {
3806
3806
  const body = parsedOutput.body;
@@ -3809,7 +3809,7 @@ const deserializeAws_json1_1ClientExceptionResponse = async (parsedOutput, conte
3809
3809
  $metadata: deserializeMetadata(parsedOutput),
3810
3810
  ...deserialized,
3811
3811
  });
3812
- return smithy_client_1.decorateServiceException(exception, body);
3812
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3813
3813
  };
3814
3814
  const deserializeAws_json1_1DirectoryAlreadyInRegionExceptionResponse = async (parsedOutput, context) => {
3815
3815
  const body = parsedOutput.body;
@@ -3818,7 +3818,7 @@ const deserializeAws_json1_1DirectoryAlreadyInRegionExceptionResponse = async (p
3818
3818
  $metadata: deserializeMetadata(parsedOutput),
3819
3819
  ...deserialized,
3820
3820
  });
3821
- return smithy_client_1.decorateServiceException(exception, body);
3821
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3822
3822
  };
3823
3823
  const deserializeAws_json1_1DirectoryAlreadySharedExceptionResponse = async (parsedOutput, context) => {
3824
3824
  const body = parsedOutput.body;
@@ -3827,7 +3827,7 @@ const deserializeAws_json1_1DirectoryAlreadySharedExceptionResponse = async (par
3827
3827
  $metadata: deserializeMetadata(parsedOutput),
3828
3828
  ...deserialized,
3829
3829
  });
3830
- return smithy_client_1.decorateServiceException(exception, body);
3830
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3831
3831
  };
3832
3832
  const deserializeAws_json1_1DirectoryDoesNotExistExceptionResponse = async (parsedOutput, context) => {
3833
3833
  const body = parsedOutput.body;
@@ -3836,7 +3836,7 @@ const deserializeAws_json1_1DirectoryDoesNotExistExceptionResponse = async (pars
3836
3836
  $metadata: deserializeMetadata(parsedOutput),
3837
3837
  ...deserialized,
3838
3838
  });
3839
- return smithy_client_1.decorateServiceException(exception, body);
3839
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3840
3840
  };
3841
3841
  const deserializeAws_json1_1DirectoryLimitExceededExceptionResponse = async (parsedOutput, context) => {
3842
3842
  const body = parsedOutput.body;
@@ -3845,7 +3845,7 @@ const deserializeAws_json1_1DirectoryLimitExceededExceptionResponse = async (par
3845
3845
  $metadata: deserializeMetadata(parsedOutput),
3846
3846
  ...deserialized,
3847
3847
  });
3848
- return smithy_client_1.decorateServiceException(exception, body);
3848
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3849
3849
  };
3850
3850
  const deserializeAws_json1_1DirectoryNotSharedExceptionResponse = async (parsedOutput, context) => {
3851
3851
  const body = parsedOutput.body;
@@ -3854,7 +3854,7 @@ const deserializeAws_json1_1DirectoryNotSharedExceptionResponse = async (parsedO
3854
3854
  $metadata: deserializeMetadata(parsedOutput),
3855
3855
  ...deserialized,
3856
3856
  });
3857
- return smithy_client_1.decorateServiceException(exception, body);
3857
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3858
3858
  };
3859
3859
  const deserializeAws_json1_1DirectoryUnavailableExceptionResponse = async (parsedOutput, context) => {
3860
3860
  const body = parsedOutput.body;
@@ -3863,7 +3863,7 @@ const deserializeAws_json1_1DirectoryUnavailableExceptionResponse = async (parse
3863
3863
  $metadata: deserializeMetadata(parsedOutput),
3864
3864
  ...deserialized,
3865
3865
  });
3866
- return smithy_client_1.decorateServiceException(exception, body);
3866
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3867
3867
  };
3868
3868
  const deserializeAws_json1_1DomainControllerLimitExceededExceptionResponse = async (parsedOutput, context) => {
3869
3869
  const body = parsedOutput.body;
@@ -3872,7 +3872,7 @@ const deserializeAws_json1_1DomainControllerLimitExceededExceptionResponse = asy
3872
3872
  $metadata: deserializeMetadata(parsedOutput),
3873
3873
  ...deserialized,
3874
3874
  });
3875
- return smithy_client_1.decorateServiceException(exception, body);
3875
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3876
3876
  };
3877
3877
  const deserializeAws_json1_1EntityAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
3878
3878
  const body = parsedOutput.body;
@@ -3881,7 +3881,7 @@ const deserializeAws_json1_1EntityAlreadyExistsExceptionResponse = async (parsed
3881
3881
  $metadata: deserializeMetadata(parsedOutput),
3882
3882
  ...deserialized,
3883
3883
  });
3884
- return smithy_client_1.decorateServiceException(exception, body);
3884
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3885
3885
  };
3886
3886
  const deserializeAws_json1_1EntityDoesNotExistExceptionResponse = async (parsedOutput, context) => {
3887
3887
  const body = parsedOutput.body;
@@ -3890,7 +3890,7 @@ const deserializeAws_json1_1EntityDoesNotExistExceptionResponse = async (parsedO
3890
3890
  $metadata: deserializeMetadata(parsedOutput),
3891
3891
  ...deserialized,
3892
3892
  });
3893
- return smithy_client_1.decorateServiceException(exception, body);
3893
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3894
3894
  };
3895
3895
  const deserializeAws_json1_1InsufficientPermissionsExceptionResponse = async (parsedOutput, context) => {
3896
3896
  const body = parsedOutput.body;
@@ -3899,7 +3899,7 @@ const deserializeAws_json1_1InsufficientPermissionsExceptionResponse = async (pa
3899
3899
  $metadata: deserializeMetadata(parsedOutput),
3900
3900
  ...deserialized,
3901
3901
  });
3902
- return smithy_client_1.decorateServiceException(exception, body);
3902
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3903
3903
  };
3904
3904
  const deserializeAws_json1_1InvalidCertificateExceptionResponse = async (parsedOutput, context) => {
3905
3905
  const body = parsedOutput.body;
@@ -3908,7 +3908,7 @@ const deserializeAws_json1_1InvalidCertificateExceptionResponse = async (parsedO
3908
3908
  $metadata: deserializeMetadata(parsedOutput),
3909
3909
  ...deserialized,
3910
3910
  });
3911
- return smithy_client_1.decorateServiceException(exception, body);
3911
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3912
3912
  };
3913
3913
  const deserializeAws_json1_1InvalidClientAuthStatusExceptionResponse = async (parsedOutput, context) => {
3914
3914
  const body = parsedOutput.body;
@@ -3917,7 +3917,7 @@ const deserializeAws_json1_1InvalidClientAuthStatusExceptionResponse = async (pa
3917
3917
  $metadata: deserializeMetadata(parsedOutput),
3918
3918
  ...deserialized,
3919
3919
  });
3920
- return smithy_client_1.decorateServiceException(exception, body);
3920
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3921
3921
  };
3922
3922
  const deserializeAws_json1_1InvalidLDAPSStatusExceptionResponse = async (parsedOutput, context) => {
3923
3923
  const body = parsedOutput.body;
@@ -3926,7 +3926,7 @@ const deserializeAws_json1_1InvalidLDAPSStatusExceptionResponse = async (parsedO
3926
3926
  $metadata: deserializeMetadata(parsedOutput),
3927
3927
  ...deserialized,
3928
3928
  });
3929
- return smithy_client_1.decorateServiceException(exception, body);
3929
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3930
3930
  };
3931
3931
  const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
3932
3932
  const body = parsedOutput.body;
@@ -3935,7 +3935,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOut
3935
3935
  $metadata: deserializeMetadata(parsedOutput),
3936
3936
  ...deserialized,
3937
3937
  });
3938
- return smithy_client_1.decorateServiceException(exception, body);
3938
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3939
3939
  };
3940
3940
  const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
3941
3941
  const body = parsedOutput.body;
@@ -3944,7 +3944,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
3944
3944
  $metadata: deserializeMetadata(parsedOutput),
3945
3945
  ...deserialized,
3946
3946
  });
3947
- return smithy_client_1.decorateServiceException(exception, body);
3947
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3948
3948
  };
3949
3949
  const deserializeAws_json1_1InvalidPasswordExceptionResponse = async (parsedOutput, context) => {
3950
3950
  const body = parsedOutput.body;
@@ -3953,7 +3953,7 @@ const deserializeAws_json1_1InvalidPasswordExceptionResponse = async (parsedOutp
3953
3953
  $metadata: deserializeMetadata(parsedOutput),
3954
3954
  ...deserialized,
3955
3955
  });
3956
- return smithy_client_1.decorateServiceException(exception, body);
3956
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3957
3957
  };
3958
3958
  const deserializeAws_json1_1InvalidTargetExceptionResponse = async (parsedOutput, context) => {
3959
3959
  const body = parsedOutput.body;
@@ -3962,7 +3962,7 @@ const deserializeAws_json1_1InvalidTargetExceptionResponse = async (parsedOutput
3962
3962
  $metadata: deserializeMetadata(parsedOutput),
3963
3963
  ...deserialized,
3964
3964
  });
3965
- return smithy_client_1.decorateServiceException(exception, body);
3965
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3966
3966
  };
3967
3967
  const deserializeAws_json1_1IpRouteLimitExceededExceptionResponse = async (parsedOutput, context) => {
3968
3968
  const body = parsedOutput.body;
@@ -3971,7 +3971,7 @@ const deserializeAws_json1_1IpRouteLimitExceededExceptionResponse = async (parse
3971
3971
  $metadata: deserializeMetadata(parsedOutput),
3972
3972
  ...deserialized,
3973
3973
  });
3974
- return smithy_client_1.decorateServiceException(exception, body);
3974
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3975
3975
  };
3976
3976
  const deserializeAws_json1_1NoAvailableCertificateExceptionResponse = async (parsedOutput, context) => {
3977
3977
  const body = parsedOutput.body;
@@ -3980,7 +3980,7 @@ const deserializeAws_json1_1NoAvailableCertificateExceptionResponse = async (par
3980
3980
  $metadata: deserializeMetadata(parsedOutput),
3981
3981
  ...deserialized,
3982
3982
  });
3983
- return smithy_client_1.decorateServiceException(exception, body);
3983
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3984
3984
  };
3985
3985
  const deserializeAws_json1_1OrganizationsExceptionResponse = async (parsedOutput, context) => {
3986
3986
  const body = parsedOutput.body;
@@ -3989,7 +3989,7 @@ const deserializeAws_json1_1OrganizationsExceptionResponse = async (parsedOutput
3989
3989
  $metadata: deserializeMetadata(parsedOutput),
3990
3990
  ...deserialized,
3991
3991
  });
3992
- return smithy_client_1.decorateServiceException(exception, body);
3992
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3993
3993
  };
3994
3994
  const deserializeAws_json1_1RegionLimitExceededExceptionResponse = async (parsedOutput, context) => {
3995
3995
  const body = parsedOutput.body;
@@ -3998,7 +3998,7 @@ const deserializeAws_json1_1RegionLimitExceededExceptionResponse = async (parsed
3998
3998
  $metadata: deserializeMetadata(parsedOutput),
3999
3999
  ...deserialized,
4000
4000
  });
4001
- return smithy_client_1.decorateServiceException(exception, body);
4001
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4002
4002
  };
4003
4003
  const deserializeAws_json1_1ServiceExceptionResponse = async (parsedOutput, context) => {
4004
4004
  const body = parsedOutput.body;
@@ -4007,7 +4007,7 @@ const deserializeAws_json1_1ServiceExceptionResponse = async (parsedOutput, cont
4007
4007
  $metadata: deserializeMetadata(parsedOutput),
4008
4008
  ...deserialized,
4009
4009
  });
4010
- return smithy_client_1.decorateServiceException(exception, body);
4010
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4011
4011
  };
4012
4012
  const deserializeAws_json1_1ShareLimitExceededExceptionResponse = async (parsedOutput, context) => {
4013
4013
  const body = parsedOutput.body;
@@ -4016,7 +4016,7 @@ const deserializeAws_json1_1ShareLimitExceededExceptionResponse = async (parsedO
4016
4016
  $metadata: deserializeMetadata(parsedOutput),
4017
4017
  ...deserialized,
4018
4018
  });
4019
- return smithy_client_1.decorateServiceException(exception, body);
4019
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4020
4020
  };
4021
4021
  const deserializeAws_json1_1SnapshotLimitExceededExceptionResponse = async (parsedOutput, context) => {
4022
4022
  const body = parsedOutput.body;
@@ -4025,7 +4025,7 @@ const deserializeAws_json1_1SnapshotLimitExceededExceptionResponse = async (pars
4025
4025
  $metadata: deserializeMetadata(parsedOutput),
4026
4026
  ...deserialized,
4027
4027
  });
4028
- return smithy_client_1.decorateServiceException(exception, body);
4028
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4029
4029
  };
4030
4030
  const deserializeAws_json1_1TagLimitExceededExceptionResponse = async (parsedOutput, context) => {
4031
4031
  const body = parsedOutput.body;
@@ -4034,7 +4034,7 @@ const deserializeAws_json1_1TagLimitExceededExceptionResponse = async (parsedOut
4034
4034
  $metadata: deserializeMetadata(parsedOutput),
4035
4035
  ...deserialized,
4036
4036
  });
4037
- return smithy_client_1.decorateServiceException(exception, body);
4037
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4038
4038
  };
4039
4039
  const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parsedOutput, context) => {
4040
4040
  const body = parsedOutput.body;
@@ -4043,7 +4043,7 @@ const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parse
4043
4043
  $metadata: deserializeMetadata(parsedOutput),
4044
4044
  ...deserialized,
4045
4045
  });
4046
- return smithy_client_1.decorateServiceException(exception, body);
4046
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4047
4047
  };
4048
4048
  const deserializeAws_json1_1UserDoesNotExistExceptionResponse = async (parsedOutput, context) => {
4049
4049
  const body = parsedOutput.body;
@@ -4052,7 +4052,7 @@ const deserializeAws_json1_1UserDoesNotExistExceptionResponse = async (parsedOut
4052
4052
  $metadata: deserializeMetadata(parsedOutput),
4053
4053
  ...deserialized,
4054
4054
  });
4055
- return smithy_client_1.decorateServiceException(exception, body);
4055
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4056
4056
  };
4057
4057
  const serializeAws_json1_1AcceptSharedDirectoryRequest = (input, context) => {
4058
4058
  return {
@@ -4764,8 +4764,8 @@ const deserializeAws_json1_1AcceptSharedDirectoryResult = (output, context) => {
4764
4764
  };
4765
4765
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
4766
4766
  return {
4767
- Message: smithy_client_1.expectString(output.Message),
4768
- RequestId: smithy_client_1.expectString(output.RequestId),
4767
+ Message: (0, smithy_client_1.expectString)(output.Message),
4768
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
4769
4769
  };
4770
4770
  };
4771
4771
  const deserializeAws_json1_1AddIpRoutesResult = (output, context) => {
@@ -4778,7 +4778,7 @@ const deserializeAws_json1_1AdditionalRegions = (output, context) => {
4778
4778
  if (entry === null) {
4779
4779
  return null;
4780
4780
  }
4781
- return smithy_client_1.expectString(entry);
4781
+ return (0, smithy_client_1.expectString)(entry);
4782
4782
  });
4783
4783
  return retVal;
4784
4784
  };
@@ -4790,8 +4790,8 @@ const deserializeAws_json1_1AddTagsToResourceResult = (output, context) => {
4790
4790
  };
4791
4791
  const deserializeAws_json1_1Attribute = (output, context) => {
4792
4792
  return {
4793
- Name: smithy_client_1.expectString(output.Name),
4794
- Value: smithy_client_1.expectString(output.Value),
4793
+ Name: (0, smithy_client_1.expectString)(output.Name),
4794
+ Value: (0, smithy_client_1.expectString)(output.Value),
4795
4795
  };
4796
4796
  };
4797
4797
  const deserializeAws_json1_1Attributes = (output, context) => {
@@ -4807,8 +4807,8 @@ const deserializeAws_json1_1Attributes = (output, context) => {
4807
4807
  };
4808
4808
  const deserializeAws_json1_1AuthenticationFailedException = (output, context) => {
4809
4809
  return {
4810
- Message: smithy_client_1.expectString(output.Message),
4811
- RequestId: smithy_client_1.expectString(output.RequestId),
4810
+ Message: (0, smithy_client_1.expectString)(output.Message),
4811
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
4812
4812
  };
4813
4813
  };
4814
4814
  const deserializeAws_json1_1AvailabilityZones = (output, context) => {
@@ -4818,7 +4818,7 @@ const deserializeAws_json1_1AvailabilityZones = (output, context) => {
4818
4818
  if (entry === null) {
4819
4819
  return null;
4820
4820
  }
4821
- return smithy_client_1.expectString(entry);
4821
+ return (0, smithy_client_1.expectString)(entry);
4822
4822
  });
4823
4823
  return retVal;
4824
4824
  };
@@ -4827,55 +4827,55 @@ const deserializeAws_json1_1CancelSchemaExtensionResult = (output, context) => {
4827
4827
  };
4828
4828
  const deserializeAws_json1_1Certificate = (output, context) => {
4829
4829
  return {
4830
- CertificateId: smithy_client_1.expectString(output.CertificateId),
4830
+ CertificateId: (0, smithy_client_1.expectString)(output.CertificateId),
4831
4831
  ClientCertAuthSettings: output.ClientCertAuthSettings !== undefined && output.ClientCertAuthSettings !== null
4832
4832
  ? deserializeAws_json1_1ClientCertAuthSettings(output.ClientCertAuthSettings, context)
4833
4833
  : undefined,
4834
- CommonName: smithy_client_1.expectString(output.CommonName),
4834
+ CommonName: (0, smithy_client_1.expectString)(output.CommonName),
4835
4835
  ExpiryDateTime: output.ExpiryDateTime !== undefined && output.ExpiryDateTime !== null
4836
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpiryDateTime)))
4836
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpiryDateTime)))
4837
4837
  : undefined,
4838
4838
  RegisteredDateTime: output.RegisteredDateTime !== undefined && output.RegisteredDateTime !== null
4839
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RegisteredDateTime)))
4839
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RegisteredDateTime)))
4840
4840
  : undefined,
4841
- State: smithy_client_1.expectString(output.State),
4842
- StateReason: smithy_client_1.expectString(output.StateReason),
4843
- Type: smithy_client_1.expectString(output.Type),
4841
+ State: (0, smithy_client_1.expectString)(output.State),
4842
+ StateReason: (0, smithy_client_1.expectString)(output.StateReason),
4843
+ Type: (0, smithy_client_1.expectString)(output.Type),
4844
4844
  };
4845
4845
  };
4846
4846
  const deserializeAws_json1_1CertificateAlreadyExistsException = (output, context) => {
4847
4847
  return {
4848
- Message: smithy_client_1.expectString(output.Message),
4849
- RequestId: smithy_client_1.expectString(output.RequestId),
4848
+ Message: (0, smithy_client_1.expectString)(output.Message),
4849
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
4850
4850
  };
4851
4851
  };
4852
4852
  const deserializeAws_json1_1CertificateDoesNotExistException = (output, context) => {
4853
4853
  return {
4854
- Message: smithy_client_1.expectString(output.Message),
4855
- RequestId: smithy_client_1.expectString(output.RequestId),
4854
+ Message: (0, smithy_client_1.expectString)(output.Message),
4855
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
4856
4856
  };
4857
4857
  };
4858
4858
  const deserializeAws_json1_1CertificateInfo = (output, context) => {
4859
4859
  return {
4860
- CertificateId: smithy_client_1.expectString(output.CertificateId),
4861
- CommonName: smithy_client_1.expectString(output.CommonName),
4860
+ CertificateId: (0, smithy_client_1.expectString)(output.CertificateId),
4861
+ CommonName: (0, smithy_client_1.expectString)(output.CommonName),
4862
4862
  ExpiryDateTime: output.ExpiryDateTime !== undefined && output.ExpiryDateTime !== null
4863
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpiryDateTime)))
4863
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpiryDateTime)))
4864
4864
  : undefined,
4865
- State: smithy_client_1.expectString(output.State),
4866
- Type: smithy_client_1.expectString(output.Type),
4865
+ State: (0, smithy_client_1.expectString)(output.State),
4866
+ Type: (0, smithy_client_1.expectString)(output.Type),
4867
4867
  };
4868
4868
  };
4869
4869
  const deserializeAws_json1_1CertificateInUseException = (output, context) => {
4870
4870
  return {
4871
- Message: smithy_client_1.expectString(output.Message),
4872
- RequestId: smithy_client_1.expectString(output.RequestId),
4871
+ Message: (0, smithy_client_1.expectString)(output.Message),
4872
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
4873
4873
  };
4874
4874
  };
4875
4875
  const deserializeAws_json1_1CertificateLimitExceededException = (output, context) => {
4876
4876
  return {
4877
- Message: smithy_client_1.expectString(output.Message),
4878
- RequestId: smithy_client_1.expectString(output.RequestId),
4877
+ Message: (0, smithy_client_1.expectString)(output.Message),
4878
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
4879
4879
  };
4880
4880
  };
4881
4881
  const deserializeAws_json1_1CertificatesInfo = (output, context) => {
@@ -4892,10 +4892,10 @@ const deserializeAws_json1_1CertificatesInfo = (output, context) => {
4892
4892
  const deserializeAws_json1_1ClientAuthenticationSettingInfo = (output, context) => {
4893
4893
  return {
4894
4894
  LastUpdatedDateTime: output.LastUpdatedDateTime !== undefined && output.LastUpdatedDateTime !== null
4895
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedDateTime)))
4895
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedDateTime)))
4896
4896
  : undefined,
4897
- Status: smithy_client_1.expectString(output.Status),
4898
- Type: smithy_client_1.expectString(output.Type),
4897
+ Status: (0, smithy_client_1.expectString)(output.Status),
4898
+ Type: (0, smithy_client_1.expectString)(output.Type),
4899
4899
  };
4900
4900
  };
4901
4901
  const deserializeAws_json1_1ClientAuthenticationSettingsInfo = (output, context) => {
@@ -4911,13 +4911,13 @@ const deserializeAws_json1_1ClientAuthenticationSettingsInfo = (output, context)
4911
4911
  };
4912
4912
  const deserializeAws_json1_1ClientCertAuthSettings = (output, context) => {
4913
4913
  return {
4914
- OCSPUrl: smithy_client_1.expectString(output.OCSPUrl),
4914
+ OCSPUrl: (0, smithy_client_1.expectString)(output.OCSPUrl),
4915
4915
  };
4916
4916
  };
4917
4917
  const deserializeAws_json1_1ClientException = (output, context) => {
4918
4918
  return {
4919
- Message: smithy_client_1.expectString(output.Message),
4920
- RequestId: smithy_client_1.expectString(output.RequestId),
4919
+ Message: (0, smithy_client_1.expectString)(output.Message),
4920
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
4921
4921
  };
4922
4922
  };
4923
4923
  const deserializeAws_json1_1Computer = (output, context) => {
@@ -4925,8 +4925,8 @@ const deserializeAws_json1_1Computer = (output, context) => {
4925
4925
  ComputerAttributes: output.ComputerAttributes !== undefined && output.ComputerAttributes !== null
4926
4926
  ? deserializeAws_json1_1Attributes(output.ComputerAttributes, context)
4927
4927
  : undefined,
4928
- ComputerId: smithy_client_1.expectString(output.ComputerId),
4929
- ComputerName: smithy_client_1.expectString(output.ComputerName),
4928
+ ComputerId: (0, smithy_client_1.expectString)(output.ComputerId),
4929
+ ComputerName: (0, smithy_client_1.expectString)(output.ComputerName),
4930
4930
  };
4931
4931
  };
4932
4932
  const deserializeAws_json1_1ConditionalForwarder = (output, context) => {
@@ -4934,8 +4934,8 @@ const deserializeAws_json1_1ConditionalForwarder = (output, context) => {
4934
4934
  DnsIpAddrs: output.DnsIpAddrs !== undefined && output.DnsIpAddrs !== null
4935
4935
  ? deserializeAws_json1_1DnsIpAddrs(output.DnsIpAddrs, context)
4936
4936
  : undefined,
4937
- RemoteDomainName: smithy_client_1.expectString(output.RemoteDomainName),
4938
- ReplicationScope: smithy_client_1.expectString(output.ReplicationScope),
4937
+ RemoteDomainName: (0, smithy_client_1.expectString)(output.RemoteDomainName),
4938
+ ReplicationScope: (0, smithy_client_1.expectString)(output.ReplicationScope),
4939
4939
  };
4940
4940
  };
4941
4941
  const deserializeAws_json1_1ConditionalForwarders = (output, context) => {
@@ -4951,13 +4951,13 @@ const deserializeAws_json1_1ConditionalForwarders = (output, context) => {
4951
4951
  };
4952
4952
  const deserializeAws_json1_1ConnectDirectoryResult = (output, context) => {
4953
4953
  return {
4954
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
4954
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
4955
4955
  };
4956
4956
  };
4957
4957
  const deserializeAws_json1_1CreateAliasResult = (output, context) => {
4958
4958
  return {
4959
- Alias: smithy_client_1.expectString(output.Alias),
4960
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
4959
+ Alias: (0, smithy_client_1.expectString)(output.Alias),
4960
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
4961
4961
  };
4962
4962
  };
4963
4963
  const deserializeAws_json1_1CreateComputerResult = (output, context) => {
@@ -4972,7 +4972,7 @@ const deserializeAws_json1_1CreateConditionalForwarderResult = (output, context)
4972
4972
  };
4973
4973
  const deserializeAws_json1_1CreateDirectoryResult = (output, context) => {
4974
4974
  return {
4975
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
4975
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
4976
4976
  };
4977
4977
  };
4978
4978
  const deserializeAws_json1_1CreateLogSubscriptionResult = (output, context) => {
@@ -4980,17 +4980,17 @@ const deserializeAws_json1_1CreateLogSubscriptionResult = (output, context) => {
4980
4980
  };
4981
4981
  const deserializeAws_json1_1CreateMicrosoftADResult = (output, context) => {
4982
4982
  return {
4983
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
4983
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
4984
4984
  };
4985
4985
  };
4986
4986
  const deserializeAws_json1_1CreateSnapshotResult = (output, context) => {
4987
4987
  return {
4988
- SnapshotId: smithy_client_1.expectString(output.SnapshotId),
4988
+ SnapshotId: (0, smithy_client_1.expectString)(output.SnapshotId),
4989
4989
  };
4990
4990
  };
4991
4991
  const deserializeAws_json1_1CreateTrustResult = (output, context) => {
4992
4992
  return {
4993
- TrustId: smithy_client_1.expectString(output.TrustId),
4993
+ TrustId: (0, smithy_client_1.expectString)(output.TrustId),
4994
4994
  };
4995
4995
  };
4996
4996
  const deserializeAws_json1_1DeleteConditionalForwarderResult = (output, context) => {
@@ -4998,7 +4998,7 @@ const deserializeAws_json1_1DeleteConditionalForwarderResult = (output, context)
4998
4998
  };
4999
4999
  const deserializeAws_json1_1DeleteDirectoryResult = (output, context) => {
5000
5000
  return {
5001
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5001
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5002
5002
  };
5003
5003
  };
5004
5004
  const deserializeAws_json1_1DeleteLogSubscriptionResult = (output, context) => {
@@ -5006,12 +5006,12 @@ const deserializeAws_json1_1DeleteLogSubscriptionResult = (output, context) => {
5006
5006
  };
5007
5007
  const deserializeAws_json1_1DeleteSnapshotResult = (output, context) => {
5008
5008
  return {
5009
- SnapshotId: smithy_client_1.expectString(output.SnapshotId),
5009
+ SnapshotId: (0, smithy_client_1.expectString)(output.SnapshotId),
5010
5010
  };
5011
5011
  };
5012
5012
  const deserializeAws_json1_1DeleteTrustResult = (output, context) => {
5013
5013
  return {
5014
- TrustId: smithy_client_1.expectString(output.TrustId),
5014
+ TrustId: (0, smithy_client_1.expectString)(output.TrustId),
5015
5015
  };
5016
5016
  };
5017
5017
  const deserializeAws_json1_1DeregisterCertificateResult = (output, context) => {
@@ -5032,7 +5032,7 @@ const deserializeAws_json1_1DescribeClientAuthenticationSettingsResult = (output
5032
5032
  ClientAuthenticationSettingsInfo: output.ClientAuthenticationSettingsInfo !== undefined && output.ClientAuthenticationSettingsInfo !== null
5033
5033
  ? deserializeAws_json1_1ClientAuthenticationSettingsInfo(output.ClientAuthenticationSettingsInfo, context)
5034
5034
  : undefined,
5035
- NextToken: smithy_client_1.expectString(output.NextToken),
5035
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5036
5036
  };
5037
5037
  };
5038
5038
  const deserializeAws_json1_1DescribeConditionalForwardersResult = (output, context) => {
@@ -5047,7 +5047,7 @@ const deserializeAws_json1_1DescribeDirectoriesResult = (output, context) => {
5047
5047
  DirectoryDescriptions: output.DirectoryDescriptions !== undefined && output.DirectoryDescriptions !== null
5048
5048
  ? deserializeAws_json1_1DirectoryDescriptions(output.DirectoryDescriptions, context)
5049
5049
  : undefined,
5050
- NextToken: smithy_client_1.expectString(output.NextToken),
5050
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5051
5051
  };
5052
5052
  };
5053
5053
  const deserializeAws_json1_1DescribeDomainControllersResult = (output, context) => {
@@ -5055,7 +5055,7 @@ const deserializeAws_json1_1DescribeDomainControllersResult = (output, context)
5055
5055
  DomainControllers: output.DomainControllers !== undefined && output.DomainControllers !== null
5056
5056
  ? deserializeAws_json1_1DomainControllers(output.DomainControllers, context)
5057
5057
  : undefined,
5058
- NextToken: smithy_client_1.expectString(output.NextToken),
5058
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5059
5059
  };
5060
5060
  };
5061
5061
  const deserializeAws_json1_1DescribeEventTopicsResult = (output, context) => {
@@ -5070,12 +5070,12 @@ const deserializeAws_json1_1DescribeLDAPSSettingsResult = (output, context) => {
5070
5070
  LDAPSSettingsInfo: output.LDAPSSettingsInfo !== undefined && output.LDAPSSettingsInfo !== null
5071
5071
  ? deserializeAws_json1_1LDAPSSettingsInfo(output.LDAPSSettingsInfo, context)
5072
5072
  : undefined,
5073
- NextToken: smithy_client_1.expectString(output.NextToken),
5073
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5074
5074
  };
5075
5075
  };
5076
5076
  const deserializeAws_json1_1DescribeRegionsResult = (output, context) => {
5077
5077
  return {
5078
- NextToken: smithy_client_1.expectString(output.NextToken),
5078
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5079
5079
  RegionsDescription: output.RegionsDescription !== undefined && output.RegionsDescription !== null
5080
5080
  ? deserializeAws_json1_1RegionsDescription(output.RegionsDescription, context)
5081
5081
  : undefined,
@@ -5083,7 +5083,7 @@ const deserializeAws_json1_1DescribeRegionsResult = (output, context) => {
5083
5083
  };
5084
5084
  const deserializeAws_json1_1DescribeSharedDirectoriesResult = (output, context) => {
5085
5085
  return {
5086
- NextToken: smithy_client_1.expectString(output.NextToken),
5086
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5087
5087
  SharedDirectories: output.SharedDirectories !== undefined && output.SharedDirectories !== null
5088
5088
  ? deserializeAws_json1_1SharedDirectories(output.SharedDirectories, context)
5089
5089
  : undefined,
@@ -5091,7 +5091,7 @@ const deserializeAws_json1_1DescribeSharedDirectoriesResult = (output, context)
5091
5091
  };
5092
5092
  const deserializeAws_json1_1DescribeSnapshotsResult = (output, context) => {
5093
5093
  return {
5094
- NextToken: smithy_client_1.expectString(output.NextToken),
5094
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5095
5095
  Snapshots: output.Snapshots !== undefined && output.Snapshots !== null
5096
5096
  ? deserializeAws_json1_1Snapshots(output.Snapshots, context)
5097
5097
  : undefined,
@@ -5099,7 +5099,7 @@ const deserializeAws_json1_1DescribeSnapshotsResult = (output, context) => {
5099
5099
  };
5100
5100
  const deserializeAws_json1_1DescribeTrustsResult = (output, context) => {
5101
5101
  return {
5102
- NextToken: smithy_client_1.expectString(output.NextToken),
5102
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5103
5103
  Trusts: output.Trusts !== undefined && output.Trusts !== null
5104
5104
  ? deserializeAws_json1_1Trusts(output.Trusts, context)
5105
5105
  : undefined,
@@ -5107,14 +5107,14 @@ const deserializeAws_json1_1DescribeTrustsResult = (output, context) => {
5107
5107
  };
5108
5108
  const deserializeAws_json1_1DirectoryAlreadyInRegionException = (output, context) => {
5109
5109
  return {
5110
- Message: smithy_client_1.expectString(output.Message),
5111
- RequestId: smithy_client_1.expectString(output.RequestId),
5110
+ Message: (0, smithy_client_1.expectString)(output.Message),
5111
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5112
5112
  };
5113
5113
  };
5114
5114
  const deserializeAws_json1_1DirectoryAlreadySharedException = (output, context) => {
5115
5115
  return {
5116
- Message: smithy_client_1.expectString(output.Message),
5117
- RequestId: smithy_client_1.expectString(output.RequestId),
5116
+ Message: (0, smithy_client_1.expectString)(output.Message),
5117
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5118
5118
  };
5119
5119
  };
5120
5120
  const deserializeAws_json1_1DirectoryConnectSettingsDescription = (output, context) => {
@@ -5125,54 +5125,54 @@ const deserializeAws_json1_1DirectoryConnectSettingsDescription = (output, conte
5125
5125
  ConnectIps: output.ConnectIps !== undefined && output.ConnectIps !== null
5126
5126
  ? deserializeAws_json1_1IpAddrs(output.ConnectIps, context)
5127
5127
  : undefined,
5128
- CustomerUserName: smithy_client_1.expectString(output.CustomerUserName),
5129
- SecurityGroupId: smithy_client_1.expectString(output.SecurityGroupId),
5128
+ CustomerUserName: (0, smithy_client_1.expectString)(output.CustomerUserName),
5129
+ SecurityGroupId: (0, smithy_client_1.expectString)(output.SecurityGroupId),
5130
5130
  SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
5131
5131
  ? deserializeAws_json1_1SubnetIds(output.SubnetIds, context)
5132
5132
  : undefined,
5133
- VpcId: smithy_client_1.expectString(output.VpcId),
5133
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
5134
5134
  };
5135
5135
  };
5136
5136
  const deserializeAws_json1_1DirectoryDescription = (output, context) => {
5137
5137
  return {
5138
- AccessUrl: smithy_client_1.expectString(output.AccessUrl),
5139
- Alias: smithy_client_1.expectString(output.Alias),
5138
+ AccessUrl: (0, smithy_client_1.expectString)(output.AccessUrl),
5139
+ Alias: (0, smithy_client_1.expectString)(output.Alias),
5140
5140
  ConnectSettings: output.ConnectSettings !== undefined && output.ConnectSettings !== null
5141
5141
  ? deserializeAws_json1_1DirectoryConnectSettingsDescription(output.ConnectSettings, context)
5142
5142
  : undefined,
5143
- Description: smithy_client_1.expectString(output.Description),
5144
- DesiredNumberOfDomainControllers: smithy_client_1.expectInt32(output.DesiredNumberOfDomainControllers),
5145
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5143
+ Description: (0, smithy_client_1.expectString)(output.Description),
5144
+ DesiredNumberOfDomainControllers: (0, smithy_client_1.expectInt32)(output.DesiredNumberOfDomainControllers),
5145
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5146
5146
  DnsIpAddrs: output.DnsIpAddrs !== undefined && output.DnsIpAddrs !== null
5147
5147
  ? deserializeAws_json1_1DnsIpAddrs(output.DnsIpAddrs, context)
5148
5148
  : undefined,
5149
- Edition: smithy_client_1.expectString(output.Edition),
5149
+ Edition: (0, smithy_client_1.expectString)(output.Edition),
5150
5150
  LaunchTime: output.LaunchTime !== undefined && output.LaunchTime !== null
5151
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LaunchTime)))
5151
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LaunchTime)))
5152
5152
  : undefined,
5153
- Name: smithy_client_1.expectString(output.Name),
5153
+ Name: (0, smithy_client_1.expectString)(output.Name),
5154
5154
  OwnerDirectoryDescription: output.OwnerDirectoryDescription !== undefined && output.OwnerDirectoryDescription !== null
5155
5155
  ? deserializeAws_json1_1OwnerDirectoryDescription(output.OwnerDirectoryDescription, context)
5156
5156
  : undefined,
5157
5157
  RadiusSettings: output.RadiusSettings !== undefined && output.RadiusSettings !== null
5158
5158
  ? deserializeAws_json1_1RadiusSettings(output.RadiusSettings, context)
5159
5159
  : undefined,
5160
- RadiusStatus: smithy_client_1.expectString(output.RadiusStatus),
5160
+ RadiusStatus: (0, smithy_client_1.expectString)(output.RadiusStatus),
5161
5161
  RegionsInfo: output.RegionsInfo !== undefined && output.RegionsInfo !== null
5162
5162
  ? deserializeAws_json1_1RegionsInfo(output.RegionsInfo, context)
5163
5163
  : undefined,
5164
- ShareMethod: smithy_client_1.expectString(output.ShareMethod),
5165
- ShareNotes: smithy_client_1.expectString(output.ShareNotes),
5166
- ShareStatus: smithy_client_1.expectString(output.ShareStatus),
5167
- ShortName: smithy_client_1.expectString(output.ShortName),
5168
- Size: smithy_client_1.expectString(output.Size),
5169
- SsoEnabled: smithy_client_1.expectBoolean(output.SsoEnabled),
5170
- Stage: smithy_client_1.expectString(output.Stage),
5164
+ ShareMethod: (0, smithy_client_1.expectString)(output.ShareMethod),
5165
+ ShareNotes: (0, smithy_client_1.expectString)(output.ShareNotes),
5166
+ ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
5167
+ ShortName: (0, smithy_client_1.expectString)(output.ShortName),
5168
+ Size: (0, smithy_client_1.expectString)(output.Size),
5169
+ SsoEnabled: (0, smithy_client_1.expectBoolean)(output.SsoEnabled),
5170
+ Stage: (0, smithy_client_1.expectString)(output.Stage),
5171
5171
  StageLastUpdatedDateTime: output.StageLastUpdatedDateTime !== undefined && output.StageLastUpdatedDateTime !== null
5172
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StageLastUpdatedDateTime)))
5172
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StageLastUpdatedDateTime)))
5173
5173
  : undefined,
5174
- StageReason: smithy_client_1.expectString(output.StageReason),
5175
- Type: smithy_client_1.expectString(output.Type),
5174
+ StageReason: (0, smithy_client_1.expectString)(output.StageReason),
5175
+ Type: (0, smithy_client_1.expectString)(output.Type),
5176
5176
  VpcSettings: output.VpcSettings !== undefined && output.VpcSettings !== null
5177
5177
  ? deserializeAws_json1_1DirectoryVpcSettingsDescription(output.VpcSettings, context)
5178
5178
  : undefined,
@@ -5191,39 +5191,39 @@ const deserializeAws_json1_1DirectoryDescriptions = (output, context) => {
5191
5191
  };
5192
5192
  const deserializeAws_json1_1DirectoryDoesNotExistException = (output, context) => {
5193
5193
  return {
5194
- Message: smithy_client_1.expectString(output.Message),
5195
- RequestId: smithy_client_1.expectString(output.RequestId),
5194
+ Message: (0, smithy_client_1.expectString)(output.Message),
5195
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5196
5196
  };
5197
5197
  };
5198
5198
  const deserializeAws_json1_1DirectoryLimitExceededException = (output, context) => {
5199
5199
  return {
5200
- Message: smithy_client_1.expectString(output.Message),
5201
- RequestId: smithy_client_1.expectString(output.RequestId),
5200
+ Message: (0, smithy_client_1.expectString)(output.Message),
5201
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5202
5202
  };
5203
5203
  };
5204
5204
  const deserializeAws_json1_1DirectoryLimits = (output, context) => {
5205
5205
  return {
5206
- CloudOnlyDirectoriesCurrentCount: smithy_client_1.expectInt32(output.CloudOnlyDirectoriesCurrentCount),
5207
- CloudOnlyDirectoriesLimit: smithy_client_1.expectInt32(output.CloudOnlyDirectoriesLimit),
5208
- CloudOnlyDirectoriesLimitReached: smithy_client_1.expectBoolean(output.CloudOnlyDirectoriesLimitReached),
5209
- CloudOnlyMicrosoftADCurrentCount: smithy_client_1.expectInt32(output.CloudOnlyMicrosoftADCurrentCount),
5210
- CloudOnlyMicrosoftADLimit: smithy_client_1.expectInt32(output.CloudOnlyMicrosoftADLimit),
5211
- CloudOnlyMicrosoftADLimitReached: smithy_client_1.expectBoolean(output.CloudOnlyMicrosoftADLimitReached),
5212
- ConnectedDirectoriesCurrentCount: smithy_client_1.expectInt32(output.ConnectedDirectoriesCurrentCount),
5213
- ConnectedDirectoriesLimit: smithy_client_1.expectInt32(output.ConnectedDirectoriesLimit),
5214
- ConnectedDirectoriesLimitReached: smithy_client_1.expectBoolean(output.ConnectedDirectoriesLimitReached),
5206
+ CloudOnlyDirectoriesCurrentCount: (0, smithy_client_1.expectInt32)(output.CloudOnlyDirectoriesCurrentCount),
5207
+ CloudOnlyDirectoriesLimit: (0, smithy_client_1.expectInt32)(output.CloudOnlyDirectoriesLimit),
5208
+ CloudOnlyDirectoriesLimitReached: (0, smithy_client_1.expectBoolean)(output.CloudOnlyDirectoriesLimitReached),
5209
+ CloudOnlyMicrosoftADCurrentCount: (0, smithy_client_1.expectInt32)(output.CloudOnlyMicrosoftADCurrentCount),
5210
+ CloudOnlyMicrosoftADLimit: (0, smithy_client_1.expectInt32)(output.CloudOnlyMicrosoftADLimit),
5211
+ CloudOnlyMicrosoftADLimitReached: (0, smithy_client_1.expectBoolean)(output.CloudOnlyMicrosoftADLimitReached),
5212
+ ConnectedDirectoriesCurrentCount: (0, smithy_client_1.expectInt32)(output.ConnectedDirectoriesCurrentCount),
5213
+ ConnectedDirectoriesLimit: (0, smithy_client_1.expectInt32)(output.ConnectedDirectoriesLimit),
5214
+ ConnectedDirectoriesLimitReached: (0, smithy_client_1.expectBoolean)(output.ConnectedDirectoriesLimitReached),
5215
5215
  };
5216
5216
  };
5217
5217
  const deserializeAws_json1_1DirectoryNotSharedException = (output, context) => {
5218
5218
  return {
5219
- Message: smithy_client_1.expectString(output.Message),
5220
- RequestId: smithy_client_1.expectString(output.RequestId),
5219
+ Message: (0, smithy_client_1.expectString)(output.Message),
5220
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5221
5221
  };
5222
5222
  };
5223
5223
  const deserializeAws_json1_1DirectoryUnavailableException = (output, context) => {
5224
5224
  return {
5225
- Message: smithy_client_1.expectString(output.Message),
5226
- RequestId: smithy_client_1.expectString(output.RequestId),
5225
+ Message: (0, smithy_client_1.expectString)(output.Message),
5226
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5227
5227
  };
5228
5228
  };
5229
5229
  const deserializeAws_json1_1DirectoryVpcSettings = (output, context) => {
@@ -5231,7 +5231,7 @@ const deserializeAws_json1_1DirectoryVpcSettings = (output, context) => {
5231
5231
  SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
5232
5232
  ? deserializeAws_json1_1SubnetIds(output.SubnetIds, context)
5233
5233
  : undefined,
5234
- VpcId: smithy_client_1.expectString(output.VpcId),
5234
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
5235
5235
  };
5236
5236
  };
5237
5237
  const deserializeAws_json1_1DirectoryVpcSettingsDescription = (output, context) => {
@@ -5239,11 +5239,11 @@ const deserializeAws_json1_1DirectoryVpcSettingsDescription = (output, context)
5239
5239
  AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
5240
5240
  ? deserializeAws_json1_1AvailabilityZones(output.AvailabilityZones, context)
5241
5241
  : undefined,
5242
- SecurityGroupId: smithy_client_1.expectString(output.SecurityGroupId),
5242
+ SecurityGroupId: (0, smithy_client_1.expectString)(output.SecurityGroupId),
5243
5243
  SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
5244
5244
  ? deserializeAws_json1_1SubnetIds(output.SubnetIds, context)
5245
5245
  : undefined,
5246
- VpcId: smithy_client_1.expectString(output.VpcId),
5246
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
5247
5247
  };
5248
5248
  };
5249
5249
  const deserializeAws_json1_1DisableClientAuthenticationResult = (output, context) => {
@@ -5265,32 +5265,32 @@ const deserializeAws_json1_1DnsIpAddrs = (output, context) => {
5265
5265
  if (entry === null) {
5266
5266
  return null;
5267
5267
  }
5268
- return smithy_client_1.expectString(entry);
5268
+ return (0, smithy_client_1.expectString)(entry);
5269
5269
  });
5270
5270
  return retVal;
5271
5271
  };
5272
5272
  const deserializeAws_json1_1DomainController = (output, context) => {
5273
5273
  return {
5274
- AvailabilityZone: smithy_client_1.expectString(output.AvailabilityZone),
5275
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5276
- DnsIpAddr: smithy_client_1.expectString(output.DnsIpAddr),
5277
- DomainControllerId: smithy_client_1.expectString(output.DomainControllerId),
5274
+ AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
5275
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5276
+ DnsIpAddr: (0, smithy_client_1.expectString)(output.DnsIpAddr),
5277
+ DomainControllerId: (0, smithy_client_1.expectString)(output.DomainControllerId),
5278
5278
  LaunchTime: output.LaunchTime !== undefined && output.LaunchTime !== null
5279
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LaunchTime)))
5279
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LaunchTime)))
5280
5280
  : undefined,
5281
- Status: smithy_client_1.expectString(output.Status),
5281
+ Status: (0, smithy_client_1.expectString)(output.Status),
5282
5282
  StatusLastUpdatedDateTime: output.StatusLastUpdatedDateTime !== undefined && output.StatusLastUpdatedDateTime !== null
5283
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StatusLastUpdatedDateTime)))
5283
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StatusLastUpdatedDateTime)))
5284
5284
  : undefined,
5285
- StatusReason: smithy_client_1.expectString(output.StatusReason),
5286
- SubnetId: smithy_client_1.expectString(output.SubnetId),
5287
- VpcId: smithy_client_1.expectString(output.VpcId),
5285
+ StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
5286
+ SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
5287
+ VpcId: (0, smithy_client_1.expectString)(output.VpcId),
5288
5288
  };
5289
5289
  };
5290
5290
  const deserializeAws_json1_1DomainControllerLimitExceededException = (output, context) => {
5291
5291
  return {
5292
- Message: smithy_client_1.expectString(output.Message),
5293
- RequestId: smithy_client_1.expectString(output.RequestId),
5292
+ Message: (0, smithy_client_1.expectString)(output.Message),
5293
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5294
5294
  };
5295
5295
  };
5296
5296
  const deserializeAws_json1_1DomainControllers = (output, context) => {
@@ -5318,25 +5318,25 @@ const deserializeAws_json1_1EnableSsoResult = (output, context) => {
5318
5318
  };
5319
5319
  const deserializeAws_json1_1EntityAlreadyExistsException = (output, context) => {
5320
5320
  return {
5321
- Message: smithy_client_1.expectString(output.Message),
5322
- RequestId: smithy_client_1.expectString(output.RequestId),
5321
+ Message: (0, smithy_client_1.expectString)(output.Message),
5322
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5323
5323
  };
5324
5324
  };
5325
5325
  const deserializeAws_json1_1EntityDoesNotExistException = (output, context) => {
5326
5326
  return {
5327
- Message: smithy_client_1.expectString(output.Message),
5328
- RequestId: smithy_client_1.expectString(output.RequestId),
5327
+ Message: (0, smithy_client_1.expectString)(output.Message),
5328
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5329
5329
  };
5330
5330
  };
5331
5331
  const deserializeAws_json1_1EventTopic = (output, context) => {
5332
5332
  return {
5333
5333
  CreatedDateTime: output.CreatedDateTime !== undefined && output.CreatedDateTime !== null
5334
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDateTime)))
5334
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDateTime)))
5335
5335
  : undefined,
5336
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5337
- Status: smithy_client_1.expectString(output.Status),
5338
- TopicArn: smithy_client_1.expectString(output.TopicArn),
5339
- TopicName: smithy_client_1.expectString(output.TopicName),
5336
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5337
+ Status: (0, smithy_client_1.expectString)(output.Status),
5338
+ TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
5339
+ TopicName: (0, smithy_client_1.expectString)(output.TopicName),
5340
5340
  };
5341
5341
  };
5342
5342
  const deserializeAws_json1_1EventTopics = (output, context) => {
@@ -5366,50 +5366,50 @@ const deserializeAws_json1_1GetSnapshotLimitsResult = (output, context) => {
5366
5366
  };
5367
5367
  const deserializeAws_json1_1InsufficientPermissionsException = (output, context) => {
5368
5368
  return {
5369
- Message: smithy_client_1.expectString(output.Message),
5370
- RequestId: smithy_client_1.expectString(output.RequestId),
5369
+ Message: (0, smithy_client_1.expectString)(output.Message),
5370
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5371
5371
  };
5372
5372
  };
5373
5373
  const deserializeAws_json1_1InvalidCertificateException = (output, context) => {
5374
5374
  return {
5375
- Message: smithy_client_1.expectString(output.Message),
5376
- RequestId: smithy_client_1.expectString(output.RequestId),
5375
+ Message: (0, smithy_client_1.expectString)(output.Message),
5376
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5377
5377
  };
5378
5378
  };
5379
5379
  const deserializeAws_json1_1InvalidClientAuthStatusException = (output, context) => {
5380
5380
  return {
5381
- Message: smithy_client_1.expectString(output.Message),
5382
- RequestId: smithy_client_1.expectString(output.RequestId),
5381
+ Message: (0, smithy_client_1.expectString)(output.Message),
5382
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5383
5383
  };
5384
5384
  };
5385
5385
  const deserializeAws_json1_1InvalidLDAPSStatusException = (output, context) => {
5386
5386
  return {
5387
- Message: smithy_client_1.expectString(output.Message),
5388
- RequestId: smithy_client_1.expectString(output.RequestId),
5387
+ Message: (0, smithy_client_1.expectString)(output.Message),
5388
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5389
5389
  };
5390
5390
  };
5391
5391
  const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
5392
5392
  return {
5393
- Message: smithy_client_1.expectString(output.Message),
5394
- RequestId: smithy_client_1.expectString(output.RequestId),
5393
+ Message: (0, smithy_client_1.expectString)(output.Message),
5394
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5395
5395
  };
5396
5396
  };
5397
5397
  const deserializeAws_json1_1InvalidParameterException = (output, context) => {
5398
5398
  return {
5399
- Message: smithy_client_1.expectString(output.Message),
5400
- RequestId: smithy_client_1.expectString(output.RequestId),
5399
+ Message: (0, smithy_client_1.expectString)(output.Message),
5400
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5401
5401
  };
5402
5402
  };
5403
5403
  const deserializeAws_json1_1InvalidPasswordException = (output, context) => {
5404
5404
  return {
5405
- Message: smithy_client_1.expectString(output.Message),
5406
- RequestId: smithy_client_1.expectString(output.RequestId),
5405
+ Message: (0, smithy_client_1.expectString)(output.Message),
5406
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5407
5407
  };
5408
5408
  };
5409
5409
  const deserializeAws_json1_1InvalidTargetException = (output, context) => {
5410
5410
  return {
5411
- Message: smithy_client_1.expectString(output.Message),
5412
- RequestId: smithy_client_1.expectString(output.RequestId),
5411
+ Message: (0, smithy_client_1.expectString)(output.Message),
5412
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5413
5413
  };
5414
5414
  };
5415
5415
  const deserializeAws_json1_1IpAddrs = (output, context) => {
@@ -5419,26 +5419,26 @@ const deserializeAws_json1_1IpAddrs = (output, context) => {
5419
5419
  if (entry === null) {
5420
5420
  return null;
5421
5421
  }
5422
- return smithy_client_1.expectString(entry);
5422
+ return (0, smithy_client_1.expectString)(entry);
5423
5423
  });
5424
5424
  return retVal;
5425
5425
  };
5426
5426
  const deserializeAws_json1_1IpRouteInfo = (output, context) => {
5427
5427
  return {
5428
5428
  AddedDateTime: output.AddedDateTime !== undefined && output.AddedDateTime !== null
5429
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AddedDateTime)))
5429
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AddedDateTime)))
5430
5430
  : undefined,
5431
- CidrIp: smithy_client_1.expectString(output.CidrIp),
5432
- Description: smithy_client_1.expectString(output.Description),
5433
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5434
- IpRouteStatusMsg: smithy_client_1.expectString(output.IpRouteStatusMsg),
5435
- IpRouteStatusReason: smithy_client_1.expectString(output.IpRouteStatusReason),
5431
+ CidrIp: (0, smithy_client_1.expectString)(output.CidrIp),
5432
+ Description: (0, smithy_client_1.expectString)(output.Description),
5433
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5434
+ IpRouteStatusMsg: (0, smithy_client_1.expectString)(output.IpRouteStatusMsg),
5435
+ IpRouteStatusReason: (0, smithy_client_1.expectString)(output.IpRouteStatusReason),
5436
5436
  };
5437
5437
  };
5438
5438
  const deserializeAws_json1_1IpRouteLimitExceededException = (output, context) => {
5439
5439
  return {
5440
- Message: smithy_client_1.expectString(output.Message),
5441
- RequestId: smithy_client_1.expectString(output.RequestId),
5440
+ Message: (0, smithy_client_1.expectString)(output.Message),
5441
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5442
5442
  };
5443
5443
  };
5444
5444
  const deserializeAws_json1_1IpRoutesInfo = (output, context) => {
@@ -5454,10 +5454,10 @@ const deserializeAws_json1_1IpRoutesInfo = (output, context) => {
5454
5454
  };
5455
5455
  const deserializeAws_json1_1LDAPSSettingInfo = (output, context) => {
5456
5456
  return {
5457
- LDAPSStatus: smithy_client_1.expectString(output.LDAPSStatus),
5458
- LDAPSStatusReason: smithy_client_1.expectString(output.LDAPSStatusReason),
5457
+ LDAPSStatus: (0, smithy_client_1.expectString)(output.LDAPSStatus),
5458
+ LDAPSStatusReason: (0, smithy_client_1.expectString)(output.LDAPSStatusReason),
5459
5459
  LastUpdatedDateTime: output.LastUpdatedDateTime !== undefined && output.LastUpdatedDateTime !== null
5460
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedDateTime)))
5460
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedDateTime)))
5461
5461
  : undefined,
5462
5462
  };
5463
5463
  };
@@ -5477,7 +5477,7 @@ const deserializeAws_json1_1ListCertificatesResult = (output, context) => {
5477
5477
  CertificatesInfo: output.CertificatesInfo !== undefined && output.CertificatesInfo !== null
5478
5478
  ? deserializeAws_json1_1CertificatesInfo(output.CertificatesInfo, context)
5479
5479
  : undefined,
5480
- NextToken: smithy_client_1.expectString(output.NextToken),
5480
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5481
5481
  };
5482
5482
  };
5483
5483
  const deserializeAws_json1_1ListIpRoutesResult = (output, context) => {
@@ -5485,7 +5485,7 @@ const deserializeAws_json1_1ListIpRoutesResult = (output, context) => {
5485
5485
  IpRoutesInfo: output.IpRoutesInfo !== undefined && output.IpRoutesInfo !== null
5486
5486
  ? deserializeAws_json1_1IpRoutesInfo(output.IpRoutesInfo, context)
5487
5487
  : undefined,
5488
- NextToken: smithy_client_1.expectString(output.NextToken),
5488
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5489
5489
  };
5490
5490
  };
5491
5491
  const deserializeAws_json1_1ListLogSubscriptionsResult = (output, context) => {
@@ -5493,12 +5493,12 @@ const deserializeAws_json1_1ListLogSubscriptionsResult = (output, context) => {
5493
5493
  LogSubscriptions: output.LogSubscriptions !== undefined && output.LogSubscriptions !== null
5494
5494
  ? deserializeAws_json1_1LogSubscriptions(output.LogSubscriptions, context)
5495
5495
  : undefined,
5496
- NextToken: smithy_client_1.expectString(output.NextToken),
5496
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5497
5497
  };
5498
5498
  };
5499
5499
  const deserializeAws_json1_1ListSchemaExtensionsResult = (output, context) => {
5500
5500
  return {
5501
- NextToken: smithy_client_1.expectString(output.NextToken),
5501
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5502
5502
  SchemaExtensionsInfo: output.SchemaExtensionsInfo !== undefined && output.SchemaExtensionsInfo !== null
5503
5503
  ? deserializeAws_json1_1SchemaExtensionsInfo(output.SchemaExtensionsInfo, context)
5504
5504
  : undefined,
@@ -5506,16 +5506,16 @@ const deserializeAws_json1_1ListSchemaExtensionsResult = (output, context) => {
5506
5506
  };
5507
5507
  const deserializeAws_json1_1ListTagsForResourceResult = (output, context) => {
5508
5508
  return {
5509
- NextToken: smithy_client_1.expectString(output.NextToken),
5509
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5510
5510
  Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
5511
5511
  };
5512
5512
  };
5513
5513
  const deserializeAws_json1_1LogSubscription = (output, context) => {
5514
5514
  return {
5515
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5516
- LogGroupName: smithy_client_1.expectString(output.LogGroupName),
5515
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5516
+ LogGroupName: (0, smithy_client_1.expectString)(output.LogGroupName),
5517
5517
  SubscriptionCreatedDateTime: output.SubscriptionCreatedDateTime !== undefined && output.SubscriptionCreatedDateTime !== null
5518
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubscriptionCreatedDateTime)))
5518
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubscriptionCreatedDateTime)))
5519
5519
  : undefined,
5520
5520
  };
5521
5521
  };
@@ -5532,27 +5532,27 @@ const deserializeAws_json1_1LogSubscriptions = (output, context) => {
5532
5532
  };
5533
5533
  const deserializeAws_json1_1NoAvailableCertificateException = (output, context) => {
5534
5534
  return {
5535
- Message: smithy_client_1.expectString(output.Message),
5536
- RequestId: smithy_client_1.expectString(output.RequestId),
5535
+ Message: (0, smithy_client_1.expectString)(output.Message),
5536
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5537
5537
  };
5538
5538
  };
5539
5539
  const deserializeAws_json1_1OrganizationsException = (output, context) => {
5540
5540
  return {
5541
- Message: smithy_client_1.expectString(output.Message),
5542
- RequestId: smithy_client_1.expectString(output.RequestId),
5541
+ Message: (0, smithy_client_1.expectString)(output.Message),
5542
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5543
5543
  };
5544
5544
  };
5545
5545
  const deserializeAws_json1_1OwnerDirectoryDescription = (output, context) => {
5546
5546
  return {
5547
- AccountId: smithy_client_1.expectString(output.AccountId),
5548
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5547
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
5548
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5549
5549
  DnsIpAddrs: output.DnsIpAddrs !== undefined && output.DnsIpAddrs !== null
5550
5550
  ? deserializeAws_json1_1DnsIpAddrs(output.DnsIpAddrs, context)
5551
5551
  : undefined,
5552
5552
  RadiusSettings: output.RadiusSettings !== undefined && output.RadiusSettings !== null
5553
5553
  ? deserializeAws_json1_1RadiusSettings(output.RadiusSettings, context)
5554
5554
  : undefined,
5555
- RadiusStatus: smithy_client_1.expectString(output.RadiusStatus),
5555
+ RadiusStatus: (0, smithy_client_1.expectString)(output.RadiusStatus),
5556
5556
  VpcSettings: output.VpcSettings !== undefined && output.VpcSettings !== null
5557
5557
  ? deserializeAws_json1_1DirectoryVpcSettingsDescription(output.VpcSettings, context)
5558
5558
  : undefined,
@@ -5560,33 +5560,33 @@ const deserializeAws_json1_1OwnerDirectoryDescription = (output, context) => {
5560
5560
  };
5561
5561
  const deserializeAws_json1_1RadiusSettings = (output, context) => {
5562
5562
  return {
5563
- AuthenticationProtocol: smithy_client_1.expectString(output.AuthenticationProtocol),
5564
- DisplayLabel: smithy_client_1.expectString(output.DisplayLabel),
5565
- RadiusPort: smithy_client_1.expectInt32(output.RadiusPort),
5566
- RadiusRetries: smithy_client_1.expectInt32(output.RadiusRetries),
5563
+ AuthenticationProtocol: (0, smithy_client_1.expectString)(output.AuthenticationProtocol),
5564
+ DisplayLabel: (0, smithy_client_1.expectString)(output.DisplayLabel),
5565
+ RadiusPort: (0, smithy_client_1.expectInt32)(output.RadiusPort),
5566
+ RadiusRetries: (0, smithy_client_1.expectInt32)(output.RadiusRetries),
5567
5567
  RadiusServers: output.RadiusServers !== undefined && output.RadiusServers !== null
5568
5568
  ? deserializeAws_json1_1Servers(output.RadiusServers, context)
5569
5569
  : undefined,
5570
- RadiusTimeout: smithy_client_1.expectInt32(output.RadiusTimeout),
5571
- SharedSecret: smithy_client_1.expectString(output.SharedSecret),
5572
- UseSameUsername: smithy_client_1.expectBoolean(output.UseSameUsername),
5570
+ RadiusTimeout: (0, smithy_client_1.expectInt32)(output.RadiusTimeout),
5571
+ SharedSecret: (0, smithy_client_1.expectString)(output.SharedSecret),
5572
+ UseSameUsername: (0, smithy_client_1.expectBoolean)(output.UseSameUsername),
5573
5573
  };
5574
5574
  };
5575
5575
  const deserializeAws_json1_1RegionDescription = (output, context) => {
5576
5576
  return {
5577
- DesiredNumberOfDomainControllers: smithy_client_1.expectInt32(output.DesiredNumberOfDomainControllers),
5578
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5577
+ DesiredNumberOfDomainControllers: (0, smithy_client_1.expectInt32)(output.DesiredNumberOfDomainControllers),
5578
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5579
5579
  LastUpdatedDateTime: output.LastUpdatedDateTime !== undefined && output.LastUpdatedDateTime !== null
5580
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedDateTime)))
5580
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedDateTime)))
5581
5581
  : undefined,
5582
5582
  LaunchTime: output.LaunchTime !== undefined && output.LaunchTime !== null
5583
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LaunchTime)))
5583
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LaunchTime)))
5584
5584
  : undefined,
5585
- RegionName: smithy_client_1.expectString(output.RegionName),
5586
- RegionType: smithy_client_1.expectString(output.RegionType),
5587
- Status: smithy_client_1.expectString(output.Status),
5585
+ RegionName: (0, smithy_client_1.expectString)(output.RegionName),
5586
+ RegionType: (0, smithy_client_1.expectString)(output.RegionType),
5587
+ Status: (0, smithy_client_1.expectString)(output.Status),
5588
5588
  StatusLastUpdatedDateTime: output.StatusLastUpdatedDateTime !== undefined && output.StatusLastUpdatedDateTime !== null
5589
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StatusLastUpdatedDateTime)))
5589
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StatusLastUpdatedDateTime)))
5590
5590
  : undefined,
5591
5591
  VpcSettings: output.VpcSettings !== undefined && output.VpcSettings !== null
5592
5592
  ? deserializeAws_json1_1DirectoryVpcSettings(output.VpcSettings, context)
@@ -5595,8 +5595,8 @@ const deserializeAws_json1_1RegionDescription = (output, context) => {
5595
5595
  };
5596
5596
  const deserializeAws_json1_1RegionLimitExceededException = (output, context) => {
5597
5597
  return {
5598
- Message: smithy_client_1.expectString(output.Message),
5599
- RequestId: smithy_client_1.expectString(output.RequestId),
5598
+ Message: (0, smithy_client_1.expectString)(output.Message),
5599
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5600
5600
  };
5601
5601
  };
5602
5602
  const deserializeAws_json1_1RegionsDescription = (output, context) => {
@@ -5615,12 +5615,12 @@ const deserializeAws_json1_1RegionsInfo = (output, context) => {
5615
5615
  AdditionalRegions: output.AdditionalRegions !== undefined && output.AdditionalRegions !== null
5616
5616
  ? deserializeAws_json1_1AdditionalRegions(output.AdditionalRegions, context)
5617
5617
  : undefined,
5618
- PrimaryRegion: smithy_client_1.expectString(output.PrimaryRegion),
5618
+ PrimaryRegion: (0, smithy_client_1.expectString)(output.PrimaryRegion),
5619
5619
  };
5620
5620
  };
5621
5621
  const deserializeAws_json1_1RegisterCertificateResult = (output, context) => {
5622
5622
  return {
5623
- CertificateId: smithy_client_1.expectString(output.CertificateId),
5623
+ CertificateId: (0, smithy_client_1.expectString)(output.CertificateId),
5624
5624
  };
5625
5625
  };
5626
5626
  const deserializeAws_json1_1RegisterEventTopicResult = (output, context) => {
@@ -5628,7 +5628,7 @@ const deserializeAws_json1_1RegisterEventTopicResult = (output, context) => {
5628
5628
  };
5629
5629
  const deserializeAws_json1_1RejectSharedDirectoryResult = (output, context) => {
5630
5630
  return {
5631
- SharedDirectoryId: smithy_client_1.expectString(output.SharedDirectoryId),
5631
+ SharedDirectoryId: (0, smithy_client_1.expectString)(output.SharedDirectoryId),
5632
5632
  };
5633
5633
  };
5634
5634
  const deserializeAws_json1_1RemoveIpRoutesResult = (output, context) => {
@@ -5648,16 +5648,16 @@ const deserializeAws_json1_1RestoreFromSnapshotResult = (output, context) => {
5648
5648
  };
5649
5649
  const deserializeAws_json1_1SchemaExtensionInfo = (output, context) => {
5650
5650
  return {
5651
- Description: smithy_client_1.expectString(output.Description),
5652
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5651
+ Description: (0, smithy_client_1.expectString)(output.Description),
5652
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5653
5653
  EndDateTime: output.EndDateTime !== undefined && output.EndDateTime !== null
5654
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndDateTime)))
5654
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndDateTime)))
5655
5655
  : undefined,
5656
- SchemaExtensionId: smithy_client_1.expectString(output.SchemaExtensionId),
5657
- SchemaExtensionStatus: smithy_client_1.expectString(output.SchemaExtensionStatus),
5658
- SchemaExtensionStatusReason: smithy_client_1.expectString(output.SchemaExtensionStatusReason),
5656
+ SchemaExtensionId: (0, smithy_client_1.expectString)(output.SchemaExtensionId),
5657
+ SchemaExtensionStatus: (0, smithy_client_1.expectString)(output.SchemaExtensionStatus),
5658
+ SchemaExtensionStatusReason: (0, smithy_client_1.expectString)(output.SchemaExtensionStatusReason),
5659
5659
  StartDateTime: output.StartDateTime !== undefined && output.StartDateTime !== null
5660
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartDateTime)))
5660
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartDateTime)))
5661
5661
  : undefined,
5662
5662
  };
5663
5663
  };
@@ -5679,14 +5679,14 @@ const deserializeAws_json1_1Servers = (output, context) => {
5679
5679
  if (entry === null) {
5680
5680
  return null;
5681
5681
  }
5682
- return smithy_client_1.expectString(entry);
5682
+ return (0, smithy_client_1.expectString)(entry);
5683
5683
  });
5684
5684
  return retVal;
5685
5685
  };
5686
5686
  const deserializeAws_json1_1ServiceException = (output, context) => {
5687
5687
  return {
5688
- Message: smithy_client_1.expectString(output.Message),
5689
- RequestId: smithy_client_1.expectString(output.RequestId),
5688
+ Message: (0, smithy_client_1.expectString)(output.Message),
5689
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5690
5690
  };
5691
5691
  };
5692
5692
  const deserializeAws_json1_1SharedDirectories = (output, context) => {
@@ -5703,54 +5703,54 @@ const deserializeAws_json1_1SharedDirectories = (output, context) => {
5703
5703
  const deserializeAws_json1_1SharedDirectory = (output, context) => {
5704
5704
  return {
5705
5705
  CreatedDateTime: output.CreatedDateTime !== undefined && output.CreatedDateTime !== null
5706
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDateTime)))
5706
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDateTime)))
5707
5707
  : undefined,
5708
5708
  LastUpdatedDateTime: output.LastUpdatedDateTime !== undefined && output.LastUpdatedDateTime !== null
5709
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedDateTime)))
5709
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedDateTime)))
5710
5710
  : undefined,
5711
- OwnerAccountId: smithy_client_1.expectString(output.OwnerAccountId),
5712
- OwnerDirectoryId: smithy_client_1.expectString(output.OwnerDirectoryId),
5713
- ShareMethod: smithy_client_1.expectString(output.ShareMethod),
5714
- ShareNotes: smithy_client_1.expectString(output.ShareNotes),
5715
- ShareStatus: smithy_client_1.expectString(output.ShareStatus),
5716
- SharedAccountId: smithy_client_1.expectString(output.SharedAccountId),
5717
- SharedDirectoryId: smithy_client_1.expectString(output.SharedDirectoryId),
5711
+ OwnerAccountId: (0, smithy_client_1.expectString)(output.OwnerAccountId),
5712
+ OwnerDirectoryId: (0, smithy_client_1.expectString)(output.OwnerDirectoryId),
5713
+ ShareMethod: (0, smithy_client_1.expectString)(output.ShareMethod),
5714
+ ShareNotes: (0, smithy_client_1.expectString)(output.ShareNotes),
5715
+ ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
5716
+ SharedAccountId: (0, smithy_client_1.expectString)(output.SharedAccountId),
5717
+ SharedDirectoryId: (0, smithy_client_1.expectString)(output.SharedDirectoryId),
5718
5718
  };
5719
5719
  };
5720
5720
  const deserializeAws_json1_1ShareDirectoryResult = (output, context) => {
5721
5721
  return {
5722
- SharedDirectoryId: smithy_client_1.expectString(output.SharedDirectoryId),
5722
+ SharedDirectoryId: (0, smithy_client_1.expectString)(output.SharedDirectoryId),
5723
5723
  };
5724
5724
  };
5725
5725
  const deserializeAws_json1_1ShareLimitExceededException = (output, context) => {
5726
5726
  return {
5727
- Message: smithy_client_1.expectString(output.Message),
5728
- RequestId: smithy_client_1.expectString(output.RequestId),
5727
+ Message: (0, smithy_client_1.expectString)(output.Message),
5728
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5729
5729
  };
5730
5730
  };
5731
5731
  const deserializeAws_json1_1Snapshot = (output, context) => {
5732
5732
  return {
5733
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5734
- Name: smithy_client_1.expectString(output.Name),
5735
- SnapshotId: smithy_client_1.expectString(output.SnapshotId),
5733
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5734
+ Name: (0, smithy_client_1.expectString)(output.Name),
5735
+ SnapshotId: (0, smithy_client_1.expectString)(output.SnapshotId),
5736
5736
  StartTime: output.StartTime !== undefined && output.StartTime !== null
5737
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
5737
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
5738
5738
  : undefined,
5739
- Status: smithy_client_1.expectString(output.Status),
5740
- Type: smithy_client_1.expectString(output.Type),
5739
+ Status: (0, smithy_client_1.expectString)(output.Status),
5740
+ Type: (0, smithy_client_1.expectString)(output.Type),
5741
5741
  };
5742
5742
  };
5743
5743
  const deserializeAws_json1_1SnapshotLimitExceededException = (output, context) => {
5744
5744
  return {
5745
- Message: smithy_client_1.expectString(output.Message),
5746
- RequestId: smithy_client_1.expectString(output.RequestId),
5745
+ Message: (0, smithy_client_1.expectString)(output.Message),
5746
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5747
5747
  };
5748
5748
  };
5749
5749
  const deserializeAws_json1_1SnapshotLimits = (output, context) => {
5750
5750
  return {
5751
- ManualSnapshotsCurrentCount: smithy_client_1.expectInt32(output.ManualSnapshotsCurrentCount),
5752
- ManualSnapshotsLimit: smithy_client_1.expectInt32(output.ManualSnapshotsLimit),
5753
- ManualSnapshotsLimitReached: smithy_client_1.expectBoolean(output.ManualSnapshotsLimitReached),
5751
+ ManualSnapshotsCurrentCount: (0, smithy_client_1.expectInt32)(output.ManualSnapshotsCurrentCount),
5752
+ ManualSnapshotsLimit: (0, smithy_client_1.expectInt32)(output.ManualSnapshotsLimit),
5753
+ ManualSnapshotsLimitReached: (0, smithy_client_1.expectBoolean)(output.ManualSnapshotsLimitReached),
5754
5754
  };
5755
5755
  };
5756
5756
  const deserializeAws_json1_1Snapshots = (output, context) => {
@@ -5766,7 +5766,7 @@ const deserializeAws_json1_1Snapshots = (output, context) => {
5766
5766
  };
5767
5767
  const deserializeAws_json1_1StartSchemaExtensionResult = (output, context) => {
5768
5768
  return {
5769
- SchemaExtensionId: smithy_client_1.expectString(output.SchemaExtensionId),
5769
+ SchemaExtensionId: (0, smithy_client_1.expectString)(output.SchemaExtensionId),
5770
5770
  };
5771
5771
  };
5772
5772
  const deserializeAws_json1_1SubnetIds = (output, context) => {
@@ -5776,20 +5776,20 @@ const deserializeAws_json1_1SubnetIds = (output, context) => {
5776
5776
  if (entry === null) {
5777
5777
  return null;
5778
5778
  }
5779
- return smithy_client_1.expectString(entry);
5779
+ return (0, smithy_client_1.expectString)(entry);
5780
5780
  });
5781
5781
  return retVal;
5782
5782
  };
5783
5783
  const deserializeAws_json1_1Tag = (output, context) => {
5784
5784
  return {
5785
- Key: smithy_client_1.expectString(output.Key),
5786
- Value: smithy_client_1.expectString(output.Value),
5785
+ Key: (0, smithy_client_1.expectString)(output.Key),
5786
+ Value: (0, smithy_client_1.expectString)(output.Value),
5787
5787
  };
5788
5788
  };
5789
5789
  const deserializeAws_json1_1TagLimitExceededException = (output, context) => {
5790
5790
  return {
5791
- Message: smithy_client_1.expectString(output.Message),
5792
- RequestId: smithy_client_1.expectString(output.RequestId),
5791
+ Message: (0, smithy_client_1.expectString)(output.Message),
5792
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5793
5793
  };
5794
5794
  };
5795
5795
  const deserializeAws_json1_1Tags = (output, context) => {
@@ -5806,22 +5806,22 @@ const deserializeAws_json1_1Tags = (output, context) => {
5806
5806
  const deserializeAws_json1_1Trust = (output, context) => {
5807
5807
  return {
5808
5808
  CreatedDateTime: output.CreatedDateTime !== undefined && output.CreatedDateTime !== null
5809
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDateTime)))
5809
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDateTime)))
5810
5810
  : undefined,
5811
- DirectoryId: smithy_client_1.expectString(output.DirectoryId),
5811
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5812
5812
  LastUpdatedDateTime: output.LastUpdatedDateTime !== undefined && output.LastUpdatedDateTime !== null
5813
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedDateTime)))
5813
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedDateTime)))
5814
5814
  : undefined,
5815
- RemoteDomainName: smithy_client_1.expectString(output.RemoteDomainName),
5816
- SelectiveAuth: smithy_client_1.expectString(output.SelectiveAuth),
5815
+ RemoteDomainName: (0, smithy_client_1.expectString)(output.RemoteDomainName),
5816
+ SelectiveAuth: (0, smithy_client_1.expectString)(output.SelectiveAuth),
5817
5817
  StateLastUpdatedDateTime: output.StateLastUpdatedDateTime !== undefined && output.StateLastUpdatedDateTime !== null
5818
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StateLastUpdatedDateTime)))
5818
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StateLastUpdatedDateTime)))
5819
5819
  : undefined,
5820
- TrustDirection: smithy_client_1.expectString(output.TrustDirection),
5821
- TrustId: smithy_client_1.expectString(output.TrustId),
5822
- TrustState: smithy_client_1.expectString(output.TrustState),
5823
- TrustStateReason: smithy_client_1.expectString(output.TrustStateReason),
5824
- TrustType: smithy_client_1.expectString(output.TrustType),
5820
+ TrustDirection: (0, smithy_client_1.expectString)(output.TrustDirection),
5821
+ TrustId: (0, smithy_client_1.expectString)(output.TrustId),
5822
+ TrustState: (0, smithy_client_1.expectString)(output.TrustState),
5823
+ TrustStateReason: (0, smithy_client_1.expectString)(output.TrustStateReason),
5824
+ TrustType: (0, smithy_client_1.expectString)(output.TrustType),
5825
5825
  };
5826
5826
  };
5827
5827
  const deserializeAws_json1_1Trusts = (output, context) => {
@@ -5837,13 +5837,13 @@ const deserializeAws_json1_1Trusts = (output, context) => {
5837
5837
  };
5838
5838
  const deserializeAws_json1_1UnshareDirectoryResult = (output, context) => {
5839
5839
  return {
5840
- SharedDirectoryId: smithy_client_1.expectString(output.SharedDirectoryId),
5840
+ SharedDirectoryId: (0, smithy_client_1.expectString)(output.SharedDirectoryId),
5841
5841
  };
5842
5842
  };
5843
5843
  const deserializeAws_json1_1UnsupportedOperationException = (output, context) => {
5844
5844
  return {
5845
- Message: smithy_client_1.expectString(output.Message),
5846
- RequestId: smithy_client_1.expectString(output.RequestId),
5845
+ Message: (0, smithy_client_1.expectString)(output.Message),
5846
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5847
5847
  };
5848
5848
  };
5849
5849
  const deserializeAws_json1_1UpdateConditionalForwarderResult = (output, context) => {
@@ -5857,19 +5857,19 @@ const deserializeAws_json1_1UpdateRadiusResult = (output, context) => {
5857
5857
  };
5858
5858
  const deserializeAws_json1_1UpdateTrustResult = (output, context) => {
5859
5859
  return {
5860
- RequestId: smithy_client_1.expectString(output.RequestId),
5861
- TrustId: smithy_client_1.expectString(output.TrustId),
5860
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5861
+ TrustId: (0, smithy_client_1.expectString)(output.TrustId),
5862
5862
  };
5863
5863
  };
5864
5864
  const deserializeAws_json1_1UserDoesNotExistException = (output, context) => {
5865
5865
  return {
5866
- Message: smithy_client_1.expectString(output.Message),
5867
- RequestId: smithy_client_1.expectString(output.RequestId),
5866
+ Message: (0, smithy_client_1.expectString)(output.Message),
5867
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5868
5868
  };
5869
5869
  };
5870
5870
  const deserializeAws_json1_1VerifyTrustResult = (output, context) => {
5871
5871
  return {
5872
- TrustId: smithy_client_1.expectString(output.TrustId),
5872
+ TrustId: (0, smithy_client_1.expectString)(output.TrustId),
5873
5873
  };
5874
5874
  };
5875
5875
  const deserializeMetadata = (output) => {