@aws-sdk/client-organizations 3.53.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/OrganizationsClient.js +13 -13
  3. package/dist-cjs/commands/AcceptHandshakeCommand.js +3 -3
  4. package/dist-cjs/commands/AttachPolicyCommand.js +3 -3
  5. package/dist-cjs/commands/CancelHandshakeCommand.js +3 -3
  6. package/dist-cjs/commands/CreateAccountCommand.js +3 -3
  7. package/dist-cjs/commands/CreateGovCloudAccountCommand.js +3 -3
  8. package/dist-cjs/commands/CreateOrganizationCommand.js +3 -3
  9. package/dist-cjs/commands/CreateOrganizationalUnitCommand.js +3 -3
  10. package/dist-cjs/commands/CreatePolicyCommand.js +3 -3
  11. package/dist-cjs/commands/DeclineHandshakeCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteOrganizationCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteOrganizationalUnitCommand.js +3 -3
  14. package/dist-cjs/commands/DeletePolicyCommand.js +3 -3
  15. package/dist-cjs/commands/DeregisterDelegatedAdministratorCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeAccountCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeCreateAccountStatusCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeEffectivePolicyCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeHandshakeCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeOrganizationCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeOrganizationalUnitCommand.js +3 -3
  22. package/dist-cjs/commands/DescribePolicyCommand.js +3 -3
  23. package/dist-cjs/commands/DetachPolicyCommand.js +3 -3
  24. package/dist-cjs/commands/DisableAWSServiceAccessCommand.js +3 -3
  25. package/dist-cjs/commands/DisablePolicyTypeCommand.js +3 -3
  26. package/dist-cjs/commands/EnableAWSServiceAccessCommand.js +3 -3
  27. package/dist-cjs/commands/EnableAllFeaturesCommand.js +3 -3
  28. package/dist-cjs/commands/EnablePolicyTypeCommand.js +3 -3
  29. package/dist-cjs/commands/InviteAccountToOrganizationCommand.js +3 -3
  30. package/dist-cjs/commands/LeaveOrganizationCommand.js +3 -3
  31. package/dist-cjs/commands/ListAWSServiceAccessForOrganizationCommand.js +3 -3
  32. package/dist-cjs/commands/ListAccountsCommand.js +3 -3
  33. package/dist-cjs/commands/ListAccountsForParentCommand.js +3 -3
  34. package/dist-cjs/commands/ListChildrenCommand.js +3 -3
  35. package/dist-cjs/commands/ListCreateAccountStatusCommand.js +3 -3
  36. package/dist-cjs/commands/ListDelegatedAdministratorsCommand.js +3 -3
  37. package/dist-cjs/commands/ListDelegatedServicesForAccountCommand.js +3 -3
  38. package/dist-cjs/commands/ListHandshakesForAccountCommand.js +3 -3
  39. package/dist-cjs/commands/ListHandshakesForOrganizationCommand.js +3 -3
  40. package/dist-cjs/commands/ListOrganizationalUnitsForParentCommand.js +3 -3
  41. package/dist-cjs/commands/ListParentsCommand.js +3 -3
  42. package/dist-cjs/commands/ListPoliciesCommand.js +3 -3
  43. package/dist-cjs/commands/ListPoliciesForTargetCommand.js +3 -3
  44. package/dist-cjs/commands/ListRootsCommand.js +3 -3
  45. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  46. package/dist-cjs/commands/ListTargetsForPolicyCommand.js +3 -3
  47. package/dist-cjs/commands/MoveAccountCommand.js +3 -3
  48. package/dist-cjs/commands/RegisterDelegatedAdministratorCommand.js +3 -3
  49. package/dist-cjs/commands/RemoveAccountFromOrganizationCommand.js +3 -3
  50. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  51. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateOrganizationalUnitCommand.js +3 -3
  53. package/dist-cjs/commands/UpdatePolicyCommand.js +3 -3
  54. package/dist-cjs/endpoints.js +1 -1
  55. package/dist-cjs/protocols/Aws_json1_1.js +232 -232
  56. package/dist-cjs/runtimeConfig.browser.js +4 -4
  57. package/dist-cjs/runtimeConfig.js +9 -9
  58. package/dist-cjs/runtimeConfig.native.js +1 -1
  59. package/dist-es/Organizations.js +51 -51
  60. package/dist-es/pagination/ListAWSServiceAccessForOrganizationPaginator.js +4 -4
  61. package/dist-es/pagination/ListAccountsForParentPaginator.js +4 -4
  62. package/dist-es/pagination/ListAccountsPaginator.js +4 -4
  63. package/dist-es/pagination/ListChildrenPaginator.js +4 -4
  64. package/dist-es/pagination/ListCreateAccountStatusPaginator.js +4 -4
  65. package/dist-es/pagination/ListDelegatedAdministratorsPaginator.js +4 -4
  66. package/dist-es/pagination/ListDelegatedServicesForAccountPaginator.js +4 -4
  67. package/dist-es/pagination/ListHandshakesForAccountPaginator.js +4 -4
  68. package/dist-es/pagination/ListHandshakesForOrganizationPaginator.js +4 -4
  69. package/dist-es/pagination/ListOrganizationalUnitsForParentPaginator.js +4 -4
  70. package/dist-es/pagination/ListParentsPaginator.js +4 -4
  71. package/dist-es/pagination/ListPoliciesForTargetPaginator.js +4 -4
  72. package/dist-es/pagination/ListPoliciesPaginator.js +4 -4
  73. package/dist-es/pagination/ListRootsPaginator.js +4 -4
  74. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  75. package/dist-es/pagination/ListTargetsForPolicyPaginator.js +4 -4
  76. package/dist-types/OrganizationsClient.d.ts +2 -2
  77. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  78. package/dist-types/runtimeConfig.d.ts +1 -1
  79. package/dist-types/runtimeConfig.native.d.ts +3 -3
  80. package/dist-types/ts3.4/OrganizationsClient.d.ts +2 -2
  81. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  82. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  83. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  84. package/package.json +34 -34
@@ -577,7 +577,7 @@ const deserializeAws_json1_1AcceptHandshakeCommandError = async (output, context
577
577
  $fault: "client",
578
578
  $metadata: deserializeMetadata(output),
579
579
  });
580
- throw smithy_client_1.decorateServiceException(response, parsedBody);
580
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
581
581
  }
582
582
  };
583
583
  const deserializeAws_json1_1AttachPolicyCommand = async (output, context) => {
@@ -646,7 +646,7 @@ const deserializeAws_json1_1AttachPolicyCommandError = async (output, context) =
646
646
  $fault: "client",
647
647
  $metadata: deserializeMetadata(output),
648
648
  });
649
- throw smithy_client_1.decorateServiceException(response, parsedBody);
649
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
650
650
  }
651
651
  };
652
652
  const deserializeAws_json1_1CancelHandshakeCommand = async (output, context) => {
@@ -703,7 +703,7 @@ const deserializeAws_json1_1CancelHandshakeCommandError = async (output, context
703
703
  $fault: "client",
704
704
  $metadata: deserializeMetadata(output),
705
705
  });
706
- throw smithy_client_1.decorateServiceException(response, parsedBody);
706
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
707
707
  }
708
708
  };
709
709
  const deserializeAws_json1_1CreateAccountCommand = async (output, context) => {
@@ -763,7 +763,7 @@ const deserializeAws_json1_1CreateAccountCommandError = async (output, context)
763
763
  $fault: "client",
764
764
  $metadata: deserializeMetadata(output),
765
765
  });
766
- throw smithy_client_1.decorateServiceException(response, parsedBody);
766
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
767
767
  }
768
768
  };
769
769
  const deserializeAws_json1_1CreateGovCloudAccountCommand = async (output, context) => {
@@ -823,7 +823,7 @@ const deserializeAws_json1_1CreateGovCloudAccountCommandError = async (output, c
823
823
  $fault: "client",
824
824
  $metadata: deserializeMetadata(output),
825
825
  });
826
- throw smithy_client_1.decorateServiceException(response, parsedBody);
826
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
827
827
  }
828
828
  };
829
829
  const deserializeAws_json1_1CreateOrganizationCommand = async (output, context) => {
@@ -880,7 +880,7 @@ const deserializeAws_json1_1CreateOrganizationCommandError = async (output, cont
880
880
  $fault: "client",
881
881
  $metadata: deserializeMetadata(output),
882
882
  });
883
- throw smithy_client_1.decorateServiceException(response, parsedBody);
883
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
884
884
  }
885
885
  };
886
886
  const deserializeAws_json1_1CreateOrganizationalUnitCommand = async (output, context) => {
@@ -940,7 +940,7 @@ const deserializeAws_json1_1CreateOrganizationalUnitCommandError = async (output
940
940
  $fault: "client",
941
941
  $metadata: deserializeMetadata(output),
942
942
  });
943
- throw smithy_client_1.decorateServiceException(response, parsedBody);
943
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
944
944
  }
945
945
  };
946
946
  const deserializeAws_json1_1CreatePolicyCommand = async (output, context) => {
@@ -1006,7 +1006,7 @@ const deserializeAws_json1_1CreatePolicyCommandError = async (output, context) =
1006
1006
  $fault: "client",
1007
1007
  $metadata: deserializeMetadata(output),
1008
1008
  });
1009
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1009
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1010
1010
  }
1011
1011
  };
1012
1012
  const deserializeAws_json1_1DeclineHandshakeCommand = async (output, context) => {
@@ -1063,7 +1063,7 @@ const deserializeAws_json1_1DeclineHandshakeCommandError = async (output, contex
1063
1063
  $fault: "client",
1064
1064
  $metadata: deserializeMetadata(output),
1065
1065
  });
1066
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1066
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1067
1067
  }
1068
1068
  };
1069
1069
  const deserializeAws_json1_1DeleteOrganizationCommand = async (output, context) => {
@@ -1114,7 +1114,7 @@ const deserializeAws_json1_1DeleteOrganizationCommandError = async (output, cont
1114
1114
  $fault: "client",
1115
1115
  $metadata: deserializeMetadata(output),
1116
1116
  });
1117
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1117
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1118
1118
  }
1119
1119
  };
1120
1120
  const deserializeAws_json1_1DeleteOrganizationalUnitCommand = async (output, context) => {
@@ -1168,7 +1168,7 @@ const deserializeAws_json1_1DeleteOrganizationalUnitCommandError = async (output
1168
1168
  $fault: "client",
1169
1169
  $metadata: deserializeMetadata(output),
1170
1170
  });
1171
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1171
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1172
1172
  }
1173
1173
  };
1174
1174
  const deserializeAws_json1_1DeletePolicyCommand = async (output, context) => {
@@ -1225,7 +1225,7 @@ const deserializeAws_json1_1DeletePolicyCommandError = async (output, context) =
1225
1225
  $fault: "client",
1226
1226
  $metadata: deserializeMetadata(output),
1227
1227
  });
1228
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1228
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1229
1229
  }
1230
1230
  };
1231
1231
  const deserializeAws_json1_1DeregisterDelegatedAdministratorCommand = async (output, context) => {
@@ -1285,7 +1285,7 @@ const deserializeAws_json1_1DeregisterDelegatedAdministratorCommandError = async
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_1DescribeAccountCommand = async (output, context) => {
@@ -1336,7 +1336,7 @@ const deserializeAws_json1_1DescribeAccountCommandError = 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_1DescribeCreateAccountStatusCommand = async (output, context) => {
@@ -1390,7 +1390,7 @@ const deserializeAws_json1_1DescribeCreateAccountStatusCommandError = async (out
1390
1390
  $fault: "client",
1391
1391
  $metadata: deserializeMetadata(output),
1392
1392
  });
1393
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1393
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1394
1394
  }
1395
1395
  };
1396
1396
  const deserializeAws_json1_1DescribeEffectivePolicyCommand = async (output, context) => {
@@ -1450,7 +1450,7 @@ const deserializeAws_json1_1DescribeEffectivePolicyCommandError = async (output,
1450
1450
  $fault: "client",
1451
1451
  $metadata: deserializeMetadata(output),
1452
1452
  });
1453
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1453
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1454
1454
  }
1455
1455
  };
1456
1456
  const deserializeAws_json1_1DescribeHandshakeCommand = async (output, context) => {
@@ -1501,7 +1501,7 @@ const deserializeAws_json1_1DescribeHandshakeCommandError = async (output, conte
1501
1501
  $fault: "client",
1502
1502
  $metadata: deserializeMetadata(output),
1503
1503
  });
1504
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1504
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1505
1505
  }
1506
1506
  };
1507
1507
  const deserializeAws_json1_1DescribeOrganizationCommand = async (output, context) => {
@@ -1549,7 +1549,7 @@ const deserializeAws_json1_1DescribeOrganizationCommandError = async (output, co
1549
1549
  $fault: "client",
1550
1550
  $metadata: deserializeMetadata(output),
1551
1551
  });
1552
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1552
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1553
1553
  }
1554
1554
  };
1555
1555
  const deserializeAws_json1_1DescribeOrganizationalUnitCommand = async (output, context) => {
@@ -1600,7 +1600,7 @@ const deserializeAws_json1_1DescribeOrganizationalUnitCommandError = async (outp
1600
1600
  $fault: "client",
1601
1601
  $metadata: deserializeMetadata(output),
1602
1602
  });
1603
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1603
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1604
1604
  }
1605
1605
  };
1606
1606
  const deserializeAws_json1_1DescribePolicyCommand = async (output, context) => {
@@ -1654,7 +1654,7 @@ const deserializeAws_json1_1DescribePolicyCommandError = async (output, context)
1654
1654
  $fault: "client",
1655
1655
  $metadata: deserializeMetadata(output),
1656
1656
  });
1657
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1657
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1658
1658
  }
1659
1659
  };
1660
1660
  const deserializeAws_json1_1DetachPolicyCommand = async (output, context) => {
@@ -1720,7 +1720,7 @@ const deserializeAws_json1_1DetachPolicyCommandError = async (output, context) =
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_1DisableAWSServiceAccessCommand = async (output, context) => {
@@ -1774,7 +1774,7 @@ const deserializeAws_json1_1DisableAWSServiceAccessCommandError = async (output,
1774
1774
  $fault: "client",
1775
1775
  $metadata: deserializeMetadata(output),
1776
1776
  });
1777
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1777
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1778
1778
  }
1779
1779
  };
1780
1780
  const deserializeAws_json1_1DisablePolicyTypeCommand = async (output, context) => {
@@ -1840,7 +1840,7 @@ const deserializeAws_json1_1DisablePolicyTypeCommandError = async (output, conte
1840
1840
  $fault: "client",
1841
1841
  $metadata: deserializeMetadata(output),
1842
1842
  });
1843
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1843
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1844
1844
  }
1845
1845
  };
1846
1846
  const deserializeAws_json1_1EnableAllFeaturesCommand = async (output, context) => {
@@ -1894,7 +1894,7 @@ const deserializeAws_json1_1EnableAllFeaturesCommandError = async (output, conte
1894
1894
  $fault: "client",
1895
1895
  $metadata: deserializeMetadata(output),
1896
1896
  });
1897
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1897
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1898
1898
  }
1899
1899
  };
1900
1900
  const deserializeAws_json1_1EnableAWSServiceAccessCommand = async (output, context) => {
@@ -1948,7 +1948,7 @@ const deserializeAws_json1_1EnableAWSServiceAccessCommandError = async (output,
1948
1948
  $fault: "client",
1949
1949
  $metadata: deserializeMetadata(output),
1950
1950
  });
1951
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1951
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1952
1952
  }
1953
1953
  };
1954
1954
  const deserializeAws_json1_1EnablePolicyTypeCommand = async (output, context) => {
@@ -2017,7 +2017,7 @@ const deserializeAws_json1_1EnablePolicyTypeCommandError = async (output, contex
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_1InviteAccountToOrganizationCommand = async (output, context) => {
@@ -2083,7 +2083,7 @@ const deserializeAws_json1_1InviteAccountToOrganizationCommandError = async (out
2083
2083
  $fault: "client",
2084
2084
  $metadata: deserializeMetadata(output),
2085
2085
  });
2086
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2086
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2087
2087
  }
2088
2088
  };
2089
2089
  const deserializeAws_json1_1LeaveOrganizationCommand = async (output, context) => {
@@ -2140,7 +2140,7 @@ const deserializeAws_json1_1LeaveOrganizationCommandError = async (output, conte
2140
2140
  $fault: "client",
2141
2141
  $metadata: deserializeMetadata(output),
2142
2142
  });
2143
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2143
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2144
2144
  }
2145
2145
  };
2146
2146
  const deserializeAws_json1_1ListAccountsCommand = async (output, context) => {
@@ -2188,7 +2188,7 @@ const deserializeAws_json1_1ListAccountsCommandError = async (output, context) =
2188
2188
  $fault: "client",
2189
2189
  $metadata: deserializeMetadata(output),
2190
2190
  });
2191
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2191
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2192
2192
  }
2193
2193
  };
2194
2194
  const deserializeAws_json1_1ListAccountsForParentCommand = async (output, context) => {
@@ -2239,7 +2239,7 @@ const deserializeAws_json1_1ListAccountsForParentCommandError = async (output, c
2239
2239
  $fault: "client",
2240
2240
  $metadata: deserializeMetadata(output),
2241
2241
  });
2242
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2242
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2243
2243
  }
2244
2244
  };
2245
2245
  const deserializeAws_json1_1ListAWSServiceAccessForOrganizationCommand = async (output, context) => {
@@ -2293,7 +2293,7 @@ const deserializeAws_json1_1ListAWSServiceAccessForOrganizationCommandError = as
2293
2293
  $fault: "client",
2294
2294
  $metadata: deserializeMetadata(output),
2295
2295
  });
2296
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2296
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2297
2297
  }
2298
2298
  };
2299
2299
  const deserializeAws_json1_1ListChildrenCommand = async (output, context) => {
@@ -2344,7 +2344,7 @@ const deserializeAws_json1_1ListChildrenCommandError = async (output, context) =
2344
2344
  $fault: "client",
2345
2345
  $metadata: deserializeMetadata(output),
2346
2346
  });
2347
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2347
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2348
2348
  }
2349
2349
  };
2350
2350
  const deserializeAws_json1_1ListCreateAccountStatusCommand = async (output, context) => {
@@ -2395,7 +2395,7 @@ const deserializeAws_json1_1ListCreateAccountStatusCommandError = async (output,
2395
2395
  $fault: "client",
2396
2396
  $metadata: deserializeMetadata(output),
2397
2397
  });
2398
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2398
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2399
2399
  }
2400
2400
  };
2401
2401
  const deserializeAws_json1_1ListDelegatedAdministratorsCommand = async (output, context) => {
@@ -2449,7 +2449,7 @@ const deserializeAws_json1_1ListDelegatedAdministratorsCommandError = async (out
2449
2449
  $fault: "client",
2450
2450
  $metadata: deserializeMetadata(output),
2451
2451
  });
2452
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2452
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2453
2453
  }
2454
2454
  };
2455
2455
  const deserializeAws_json1_1ListDelegatedServicesForAccountCommand = async (output, context) => {
@@ -2509,7 +2509,7 @@ const deserializeAws_json1_1ListDelegatedServicesForAccountCommandError = async
2509
2509
  $fault: "client",
2510
2510
  $metadata: deserializeMetadata(output),
2511
2511
  });
2512
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2512
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2513
2513
  }
2514
2514
  };
2515
2515
  const deserializeAws_json1_1ListHandshakesForAccountCommand = async (output, context) => {
@@ -2557,7 +2557,7 @@ const deserializeAws_json1_1ListHandshakesForAccountCommandError = async (output
2557
2557
  $fault: "client",
2558
2558
  $metadata: deserializeMetadata(output),
2559
2559
  });
2560
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2560
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2561
2561
  }
2562
2562
  };
2563
2563
  const deserializeAws_json1_1ListHandshakesForOrganizationCommand = async (output, context) => {
@@ -2608,7 +2608,7 @@ const deserializeAws_json1_1ListHandshakesForOrganizationCommandError = async (o
2608
2608
  $fault: "client",
2609
2609
  $metadata: deserializeMetadata(output),
2610
2610
  });
2611
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2611
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2612
2612
  }
2613
2613
  };
2614
2614
  const deserializeAws_json1_1ListOrganizationalUnitsForParentCommand = async (output, context) => {
@@ -2659,7 +2659,7 @@ const deserializeAws_json1_1ListOrganizationalUnitsForParentCommandError = async
2659
2659
  $fault: "client",
2660
2660
  $metadata: deserializeMetadata(output),
2661
2661
  });
2662
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2662
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2663
2663
  }
2664
2664
  };
2665
2665
  const deserializeAws_json1_1ListParentsCommand = async (output, context) => {
@@ -2710,7 +2710,7 @@ const deserializeAws_json1_1ListParentsCommandError = async (output, context) =>
2710
2710
  $fault: "client",
2711
2711
  $metadata: deserializeMetadata(output),
2712
2712
  });
2713
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2713
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2714
2714
  }
2715
2715
  };
2716
2716
  const deserializeAws_json1_1ListPoliciesCommand = async (output, context) => {
@@ -2761,7 +2761,7 @@ const deserializeAws_json1_1ListPoliciesCommandError = async (output, context) =
2761
2761
  $fault: "client",
2762
2762
  $metadata: deserializeMetadata(output),
2763
2763
  });
2764
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2764
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2765
2765
  }
2766
2766
  };
2767
2767
  const deserializeAws_json1_1ListPoliciesForTargetCommand = async (output, context) => {
@@ -2815,7 +2815,7 @@ const deserializeAws_json1_1ListPoliciesForTargetCommandError = async (output, c
2815
2815
  $fault: "client",
2816
2816
  $metadata: deserializeMetadata(output),
2817
2817
  });
2818
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2818
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2819
2819
  }
2820
2820
  };
2821
2821
  const deserializeAws_json1_1ListRootsCommand = async (output, context) => {
@@ -2863,7 +2863,7 @@ const deserializeAws_json1_1ListRootsCommandError = async (output, context) => {
2863
2863
  $fault: "client",
2864
2864
  $metadata: deserializeMetadata(output),
2865
2865
  });
2866
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2866
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2867
2867
  }
2868
2868
  };
2869
2869
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -2914,7 +2914,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
2914
2914
  $fault: "client",
2915
2915
  $metadata: deserializeMetadata(output),
2916
2916
  });
2917
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2917
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2918
2918
  }
2919
2919
  };
2920
2920
  const deserializeAws_json1_1ListTargetsForPolicyCommand = async (output, context) => {
@@ -2968,7 +2968,7 @@ const deserializeAws_json1_1ListTargetsForPolicyCommandError = async (output, co
2968
2968
  $fault: "client",
2969
2969
  $metadata: deserializeMetadata(output),
2970
2970
  });
2971
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2971
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2972
2972
  }
2973
2973
  };
2974
2974
  const deserializeAws_json1_1MoveAccountCommand = async (output, context) => {
@@ -3028,7 +3028,7 @@ const deserializeAws_json1_1MoveAccountCommandError = async (output, context) =>
3028
3028
  $fault: "client",
3029
3029
  $metadata: deserializeMetadata(output),
3030
3030
  });
3031
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3031
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3032
3032
  }
3033
3033
  };
3034
3034
  const deserializeAws_json1_1RegisterDelegatedAdministratorCommand = async (output, context) => {
@@ -3088,7 +3088,7 @@ const deserializeAws_json1_1RegisterDelegatedAdministratorCommandError = async (
3088
3088
  $fault: "client",
3089
3089
  $metadata: deserializeMetadata(output),
3090
3090
  });
3091
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3091
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3092
3092
  }
3093
3093
  };
3094
3094
  const deserializeAws_json1_1RemoveAccountFromOrganizationCommand = async (output, context) => {
@@ -3145,7 +3145,7 @@ const deserializeAws_json1_1RemoveAccountFromOrganizationCommandError = async (o
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_1TagResourceCommand = async (output, context) => {
@@ -3199,7 +3199,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
3199
3199
  $fault: "client",
3200
3200
  $metadata: deserializeMetadata(output),
3201
3201
  });
3202
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3202
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3203
3203
  }
3204
3204
  };
3205
3205
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -3253,7 +3253,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
3253
3253
  $fault: "client",
3254
3254
  $metadata: deserializeMetadata(output),
3255
3255
  });
3256
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3256
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3257
3257
  }
3258
3258
  };
3259
3259
  const deserializeAws_json1_1UpdateOrganizationalUnitCommand = async (output, context) => {
@@ -3310,7 +3310,7 @@ const deserializeAws_json1_1UpdateOrganizationalUnitCommandError = async (output
3310
3310
  $fault: "client",
3311
3311
  $metadata: deserializeMetadata(output),
3312
3312
  });
3313
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3313
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3314
3314
  }
3315
3315
  };
3316
3316
  const deserializeAws_json1_1UpdatePolicyCommand = async (output, context) => {
@@ -3379,7 +3379,7 @@ const deserializeAws_json1_1UpdatePolicyCommandError = async (output, context) =
3379
3379
  $fault: "client",
3380
3380
  $metadata: deserializeMetadata(output),
3381
3381
  });
3382
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3382
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3383
3383
  }
3384
3384
  };
3385
3385
  const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
@@ -3389,7 +3389,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
3389
3389
  $metadata: deserializeMetadata(parsedOutput),
3390
3390
  ...deserialized,
3391
3391
  });
3392
- return smithy_client_1.decorateServiceException(exception, body);
3392
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3393
3393
  };
3394
3394
  const deserializeAws_json1_1AccessDeniedForDependencyExceptionResponse = async (parsedOutput, context) => {
3395
3395
  const body = parsedOutput.body;
@@ -3398,7 +3398,7 @@ const deserializeAws_json1_1AccessDeniedForDependencyExceptionResponse = async (
3398
3398
  $metadata: deserializeMetadata(parsedOutput),
3399
3399
  ...deserialized,
3400
3400
  });
3401
- return smithy_client_1.decorateServiceException(exception, body);
3401
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3402
3402
  };
3403
3403
  const deserializeAws_json1_1AccountAlreadyRegisteredExceptionResponse = async (parsedOutput, context) => {
3404
3404
  const body = parsedOutput.body;
@@ -3407,7 +3407,7 @@ const deserializeAws_json1_1AccountAlreadyRegisteredExceptionResponse = async (p
3407
3407
  $metadata: deserializeMetadata(parsedOutput),
3408
3408
  ...deserialized,
3409
3409
  });
3410
- return smithy_client_1.decorateServiceException(exception, body);
3410
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3411
3411
  };
3412
3412
  const deserializeAws_json1_1AccountNotFoundExceptionResponse = async (parsedOutput, context) => {
3413
3413
  const body = parsedOutput.body;
@@ -3416,7 +3416,7 @@ const deserializeAws_json1_1AccountNotFoundExceptionResponse = async (parsedOutp
3416
3416
  $metadata: deserializeMetadata(parsedOutput),
3417
3417
  ...deserialized,
3418
3418
  });
3419
- return smithy_client_1.decorateServiceException(exception, body);
3419
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3420
3420
  };
3421
3421
  const deserializeAws_json1_1AccountNotRegisteredExceptionResponse = async (parsedOutput, context) => {
3422
3422
  const body = parsedOutput.body;
@@ -3425,7 +3425,7 @@ const deserializeAws_json1_1AccountNotRegisteredExceptionResponse = async (parse
3425
3425
  $metadata: deserializeMetadata(parsedOutput),
3426
3426
  ...deserialized,
3427
3427
  });
3428
- return smithy_client_1.decorateServiceException(exception, body);
3428
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3429
3429
  };
3430
3430
  const deserializeAws_json1_1AccountOwnerNotVerifiedExceptionResponse = async (parsedOutput, context) => {
3431
3431
  const body = parsedOutput.body;
@@ -3434,7 +3434,7 @@ const deserializeAws_json1_1AccountOwnerNotVerifiedExceptionResponse = async (pa
3434
3434
  $metadata: deserializeMetadata(parsedOutput),
3435
3435
  ...deserialized,
3436
3436
  });
3437
- return smithy_client_1.decorateServiceException(exception, body);
3437
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3438
3438
  };
3439
3439
  const deserializeAws_json1_1AlreadyInOrganizationExceptionResponse = async (parsedOutput, context) => {
3440
3440
  const body = parsedOutput.body;
@@ -3443,7 +3443,7 @@ const deserializeAws_json1_1AlreadyInOrganizationExceptionResponse = async (pars
3443
3443
  $metadata: deserializeMetadata(parsedOutput),
3444
3444
  ...deserialized,
3445
3445
  });
3446
- return smithy_client_1.decorateServiceException(exception, body);
3446
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3447
3447
  };
3448
3448
  const deserializeAws_json1_1AWSOrganizationsNotInUseExceptionResponse = async (parsedOutput, context) => {
3449
3449
  const body = parsedOutput.body;
@@ -3452,7 +3452,7 @@ const deserializeAws_json1_1AWSOrganizationsNotInUseExceptionResponse = async (p
3452
3452
  $metadata: deserializeMetadata(parsedOutput),
3453
3453
  ...deserialized,
3454
3454
  });
3455
- return smithy_client_1.decorateServiceException(exception, body);
3455
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3456
3456
  };
3457
3457
  const deserializeAws_json1_1ChildNotFoundExceptionResponse = async (parsedOutput, context) => {
3458
3458
  const body = parsedOutput.body;
@@ -3461,7 +3461,7 @@ const deserializeAws_json1_1ChildNotFoundExceptionResponse = async (parsedOutput
3461
3461
  $metadata: deserializeMetadata(parsedOutput),
3462
3462
  ...deserialized,
3463
3463
  });
3464
- return smithy_client_1.decorateServiceException(exception, body);
3464
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3465
3465
  };
3466
3466
  const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
3467
3467
  const body = parsedOutput.body;
@@ -3470,7 +3470,7 @@ const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (par
3470
3470
  $metadata: deserializeMetadata(parsedOutput),
3471
3471
  ...deserialized,
3472
3472
  });
3473
- return smithy_client_1.decorateServiceException(exception, body);
3473
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3474
3474
  };
3475
3475
  const deserializeAws_json1_1ConstraintViolationExceptionResponse = async (parsedOutput, context) => {
3476
3476
  const body = parsedOutput.body;
@@ -3479,7 +3479,7 @@ const deserializeAws_json1_1ConstraintViolationExceptionResponse = async (parsed
3479
3479
  $metadata: deserializeMetadata(parsedOutput),
3480
3480
  ...deserialized,
3481
3481
  });
3482
- return smithy_client_1.decorateServiceException(exception, body);
3482
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3483
3483
  };
3484
3484
  const deserializeAws_json1_1CreateAccountStatusNotFoundExceptionResponse = async (parsedOutput, context) => {
3485
3485
  const body = parsedOutput.body;
@@ -3488,7 +3488,7 @@ const deserializeAws_json1_1CreateAccountStatusNotFoundExceptionResponse = async
3488
3488
  $metadata: deserializeMetadata(parsedOutput),
3489
3489
  ...deserialized,
3490
3490
  });
3491
- return smithy_client_1.decorateServiceException(exception, body);
3491
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3492
3492
  };
3493
3493
  const deserializeAws_json1_1DestinationParentNotFoundExceptionResponse = async (parsedOutput, context) => {
3494
3494
  const body = parsedOutput.body;
@@ -3497,7 +3497,7 @@ const deserializeAws_json1_1DestinationParentNotFoundExceptionResponse = async (
3497
3497
  $metadata: deserializeMetadata(parsedOutput),
3498
3498
  ...deserialized,
3499
3499
  });
3500
- return smithy_client_1.decorateServiceException(exception, body);
3500
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3501
3501
  };
3502
3502
  const deserializeAws_json1_1DuplicateAccountExceptionResponse = async (parsedOutput, context) => {
3503
3503
  const body = parsedOutput.body;
@@ -3506,7 +3506,7 @@ const deserializeAws_json1_1DuplicateAccountExceptionResponse = async (parsedOut
3506
3506
  $metadata: deserializeMetadata(parsedOutput),
3507
3507
  ...deserialized,
3508
3508
  });
3509
- return smithy_client_1.decorateServiceException(exception, body);
3509
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3510
3510
  };
3511
3511
  const deserializeAws_json1_1DuplicateHandshakeExceptionResponse = async (parsedOutput, context) => {
3512
3512
  const body = parsedOutput.body;
@@ -3515,7 +3515,7 @@ const deserializeAws_json1_1DuplicateHandshakeExceptionResponse = async (parsedO
3515
3515
  $metadata: deserializeMetadata(parsedOutput),
3516
3516
  ...deserialized,
3517
3517
  });
3518
- return smithy_client_1.decorateServiceException(exception, body);
3518
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3519
3519
  };
3520
3520
  const deserializeAws_json1_1DuplicateOrganizationalUnitExceptionResponse = async (parsedOutput, context) => {
3521
3521
  const body = parsedOutput.body;
@@ -3524,7 +3524,7 @@ const deserializeAws_json1_1DuplicateOrganizationalUnitExceptionResponse = async
3524
3524
  $metadata: deserializeMetadata(parsedOutput),
3525
3525
  ...deserialized,
3526
3526
  });
3527
- return smithy_client_1.decorateServiceException(exception, body);
3527
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3528
3528
  };
3529
3529
  const deserializeAws_json1_1DuplicatePolicyAttachmentExceptionResponse = async (parsedOutput, context) => {
3530
3530
  const body = parsedOutput.body;
@@ -3533,7 +3533,7 @@ const deserializeAws_json1_1DuplicatePolicyAttachmentExceptionResponse = async (
3533
3533
  $metadata: deserializeMetadata(parsedOutput),
3534
3534
  ...deserialized,
3535
3535
  });
3536
- return smithy_client_1.decorateServiceException(exception, body);
3536
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3537
3537
  };
3538
3538
  const deserializeAws_json1_1DuplicatePolicyExceptionResponse = async (parsedOutput, context) => {
3539
3539
  const body = parsedOutput.body;
@@ -3542,7 +3542,7 @@ const deserializeAws_json1_1DuplicatePolicyExceptionResponse = async (parsedOutp
3542
3542
  $metadata: deserializeMetadata(parsedOutput),
3543
3543
  ...deserialized,
3544
3544
  });
3545
- return smithy_client_1.decorateServiceException(exception, body);
3545
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3546
3546
  };
3547
3547
  const deserializeAws_json1_1EffectivePolicyNotFoundExceptionResponse = async (parsedOutput, context) => {
3548
3548
  const body = parsedOutput.body;
@@ -3551,7 +3551,7 @@ const deserializeAws_json1_1EffectivePolicyNotFoundExceptionResponse = async (pa
3551
3551
  $metadata: deserializeMetadata(parsedOutput),
3552
3552
  ...deserialized,
3553
3553
  });
3554
- return smithy_client_1.decorateServiceException(exception, body);
3554
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3555
3555
  };
3556
3556
  const deserializeAws_json1_1FinalizingOrganizationExceptionResponse = async (parsedOutput, context) => {
3557
3557
  const body = parsedOutput.body;
@@ -3560,7 +3560,7 @@ const deserializeAws_json1_1FinalizingOrganizationExceptionResponse = async (par
3560
3560
  $metadata: deserializeMetadata(parsedOutput),
3561
3561
  ...deserialized,
3562
3562
  });
3563
- return smithy_client_1.decorateServiceException(exception, body);
3563
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3564
3564
  };
3565
3565
  const deserializeAws_json1_1HandshakeAlreadyInStateExceptionResponse = async (parsedOutput, context) => {
3566
3566
  const body = parsedOutput.body;
@@ -3569,7 +3569,7 @@ const deserializeAws_json1_1HandshakeAlreadyInStateExceptionResponse = async (pa
3569
3569
  $metadata: deserializeMetadata(parsedOutput),
3570
3570
  ...deserialized,
3571
3571
  });
3572
- return smithy_client_1.decorateServiceException(exception, body);
3572
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3573
3573
  };
3574
3574
  const deserializeAws_json1_1HandshakeConstraintViolationExceptionResponse = async (parsedOutput, context) => {
3575
3575
  const body = parsedOutput.body;
@@ -3578,7 +3578,7 @@ const deserializeAws_json1_1HandshakeConstraintViolationExceptionResponse = asyn
3578
3578
  $metadata: deserializeMetadata(parsedOutput),
3579
3579
  ...deserialized,
3580
3580
  });
3581
- return smithy_client_1.decorateServiceException(exception, body);
3581
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3582
3582
  };
3583
3583
  const deserializeAws_json1_1HandshakeNotFoundExceptionResponse = async (parsedOutput, context) => {
3584
3584
  const body = parsedOutput.body;
@@ -3587,7 +3587,7 @@ const deserializeAws_json1_1HandshakeNotFoundExceptionResponse = async (parsedOu
3587
3587
  $metadata: deserializeMetadata(parsedOutput),
3588
3588
  ...deserialized,
3589
3589
  });
3590
- return smithy_client_1.decorateServiceException(exception, body);
3590
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3591
3591
  };
3592
3592
  const deserializeAws_json1_1InvalidHandshakeTransitionExceptionResponse = async (parsedOutput, context) => {
3593
3593
  const body = parsedOutput.body;
@@ -3596,7 +3596,7 @@ const deserializeAws_json1_1InvalidHandshakeTransitionExceptionResponse = async
3596
3596
  $metadata: deserializeMetadata(parsedOutput),
3597
3597
  ...deserialized,
3598
3598
  });
3599
- return smithy_client_1.decorateServiceException(exception, body);
3599
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3600
3600
  };
3601
3601
  const deserializeAws_json1_1InvalidInputExceptionResponse = async (parsedOutput, context) => {
3602
3602
  const body = parsedOutput.body;
@@ -3605,7 +3605,7 @@ const deserializeAws_json1_1InvalidInputExceptionResponse = async (parsedOutput,
3605
3605
  $metadata: deserializeMetadata(parsedOutput),
3606
3606
  ...deserialized,
3607
3607
  });
3608
- return smithy_client_1.decorateServiceException(exception, body);
3608
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3609
3609
  };
3610
3610
  const deserializeAws_json1_1MalformedPolicyDocumentExceptionResponse = async (parsedOutput, context) => {
3611
3611
  const body = parsedOutput.body;
@@ -3614,7 +3614,7 @@ const deserializeAws_json1_1MalformedPolicyDocumentExceptionResponse = async (pa
3614
3614
  $metadata: deserializeMetadata(parsedOutput),
3615
3615
  ...deserialized,
3616
3616
  });
3617
- return smithy_client_1.decorateServiceException(exception, body);
3617
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3618
3618
  };
3619
3619
  const deserializeAws_json1_1MasterCannotLeaveOrganizationExceptionResponse = async (parsedOutput, context) => {
3620
3620
  const body = parsedOutput.body;
@@ -3623,7 +3623,7 @@ const deserializeAws_json1_1MasterCannotLeaveOrganizationExceptionResponse = asy
3623
3623
  $metadata: deserializeMetadata(parsedOutput),
3624
3624
  ...deserialized,
3625
3625
  });
3626
- return smithy_client_1.decorateServiceException(exception, body);
3626
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3627
3627
  };
3628
3628
  const deserializeAws_json1_1OrganizationalUnitNotEmptyExceptionResponse = async (parsedOutput, context) => {
3629
3629
  const body = parsedOutput.body;
@@ -3632,7 +3632,7 @@ const deserializeAws_json1_1OrganizationalUnitNotEmptyExceptionResponse = async
3632
3632
  $metadata: deserializeMetadata(parsedOutput),
3633
3633
  ...deserialized,
3634
3634
  });
3635
- return smithy_client_1.decorateServiceException(exception, body);
3635
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3636
3636
  };
3637
3637
  const deserializeAws_json1_1OrganizationalUnitNotFoundExceptionResponse = async (parsedOutput, context) => {
3638
3638
  const body = parsedOutput.body;
@@ -3641,7 +3641,7 @@ const deserializeAws_json1_1OrganizationalUnitNotFoundExceptionResponse = async
3641
3641
  $metadata: deserializeMetadata(parsedOutput),
3642
3642
  ...deserialized,
3643
3643
  });
3644
- return smithy_client_1.decorateServiceException(exception, body);
3644
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3645
3645
  };
3646
3646
  const deserializeAws_json1_1OrganizationNotEmptyExceptionResponse = async (parsedOutput, context) => {
3647
3647
  const body = parsedOutput.body;
@@ -3650,7 +3650,7 @@ const deserializeAws_json1_1OrganizationNotEmptyExceptionResponse = async (parse
3650
3650
  $metadata: deserializeMetadata(parsedOutput),
3651
3651
  ...deserialized,
3652
3652
  });
3653
- return smithy_client_1.decorateServiceException(exception, body);
3653
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3654
3654
  };
3655
3655
  const deserializeAws_json1_1ParentNotFoundExceptionResponse = async (parsedOutput, context) => {
3656
3656
  const body = parsedOutput.body;
@@ -3659,7 +3659,7 @@ const deserializeAws_json1_1ParentNotFoundExceptionResponse = async (parsedOutpu
3659
3659
  $metadata: deserializeMetadata(parsedOutput),
3660
3660
  ...deserialized,
3661
3661
  });
3662
- return smithy_client_1.decorateServiceException(exception, body);
3662
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3663
3663
  };
3664
3664
  const deserializeAws_json1_1PolicyChangesInProgressExceptionResponse = async (parsedOutput, context) => {
3665
3665
  const body = parsedOutput.body;
@@ -3668,7 +3668,7 @@ const deserializeAws_json1_1PolicyChangesInProgressExceptionResponse = async (pa
3668
3668
  $metadata: deserializeMetadata(parsedOutput),
3669
3669
  ...deserialized,
3670
3670
  });
3671
- return smithy_client_1.decorateServiceException(exception, body);
3671
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3672
3672
  };
3673
3673
  const deserializeAws_json1_1PolicyInUseExceptionResponse = async (parsedOutput, context) => {
3674
3674
  const body = parsedOutput.body;
@@ -3677,7 +3677,7 @@ const deserializeAws_json1_1PolicyInUseExceptionResponse = async (parsedOutput,
3677
3677
  $metadata: deserializeMetadata(parsedOutput),
3678
3678
  ...deserialized,
3679
3679
  });
3680
- return smithy_client_1.decorateServiceException(exception, body);
3680
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3681
3681
  };
3682
3682
  const deserializeAws_json1_1PolicyNotAttachedExceptionResponse = async (parsedOutput, context) => {
3683
3683
  const body = parsedOutput.body;
@@ -3686,7 +3686,7 @@ const deserializeAws_json1_1PolicyNotAttachedExceptionResponse = async (parsedOu
3686
3686
  $metadata: deserializeMetadata(parsedOutput),
3687
3687
  ...deserialized,
3688
3688
  });
3689
- return smithy_client_1.decorateServiceException(exception, body);
3689
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3690
3690
  };
3691
3691
  const deserializeAws_json1_1PolicyNotFoundExceptionResponse = async (parsedOutput, context) => {
3692
3692
  const body = parsedOutput.body;
@@ -3695,7 +3695,7 @@ const deserializeAws_json1_1PolicyNotFoundExceptionResponse = async (parsedOutpu
3695
3695
  $metadata: deserializeMetadata(parsedOutput),
3696
3696
  ...deserialized,
3697
3697
  });
3698
- return smithy_client_1.decorateServiceException(exception, body);
3698
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3699
3699
  };
3700
3700
  const deserializeAws_json1_1PolicyTypeAlreadyEnabledExceptionResponse = async (parsedOutput, context) => {
3701
3701
  const body = parsedOutput.body;
@@ -3704,7 +3704,7 @@ const deserializeAws_json1_1PolicyTypeAlreadyEnabledExceptionResponse = async (p
3704
3704
  $metadata: deserializeMetadata(parsedOutput),
3705
3705
  ...deserialized,
3706
3706
  });
3707
- return smithy_client_1.decorateServiceException(exception, body);
3707
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3708
3708
  };
3709
3709
  const deserializeAws_json1_1PolicyTypeNotAvailableForOrganizationExceptionResponse = async (parsedOutput, context) => {
3710
3710
  const body = parsedOutput.body;
@@ -3713,7 +3713,7 @@ const deserializeAws_json1_1PolicyTypeNotAvailableForOrganizationExceptionRespon
3713
3713
  $metadata: deserializeMetadata(parsedOutput),
3714
3714
  ...deserialized,
3715
3715
  });
3716
- return smithy_client_1.decorateServiceException(exception, body);
3716
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3717
3717
  };
3718
3718
  const deserializeAws_json1_1PolicyTypeNotEnabledExceptionResponse = async (parsedOutput, context) => {
3719
3719
  const body = parsedOutput.body;
@@ -3722,7 +3722,7 @@ const deserializeAws_json1_1PolicyTypeNotEnabledExceptionResponse = async (parse
3722
3722
  $metadata: deserializeMetadata(parsedOutput),
3723
3723
  ...deserialized,
3724
3724
  });
3725
- return smithy_client_1.decorateServiceException(exception, body);
3725
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3726
3726
  };
3727
3727
  const deserializeAws_json1_1RootNotFoundExceptionResponse = async (parsedOutput, context) => {
3728
3728
  const body = parsedOutput.body;
@@ -3731,7 +3731,7 @@ const deserializeAws_json1_1RootNotFoundExceptionResponse = async (parsedOutput,
3731
3731
  $metadata: deserializeMetadata(parsedOutput),
3732
3732
  ...deserialized,
3733
3733
  });
3734
- return smithy_client_1.decorateServiceException(exception, body);
3734
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3735
3735
  };
3736
3736
  const deserializeAws_json1_1ServiceExceptionResponse = async (parsedOutput, context) => {
3737
3737
  const body = parsedOutput.body;
@@ -3740,7 +3740,7 @@ const deserializeAws_json1_1ServiceExceptionResponse = async (parsedOutput, cont
3740
3740
  $metadata: deserializeMetadata(parsedOutput),
3741
3741
  ...deserialized,
3742
3742
  });
3743
- return smithy_client_1.decorateServiceException(exception, body);
3743
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3744
3744
  };
3745
3745
  const deserializeAws_json1_1SourceParentNotFoundExceptionResponse = async (parsedOutput, context) => {
3746
3746
  const body = parsedOutput.body;
@@ -3749,7 +3749,7 @@ const deserializeAws_json1_1SourceParentNotFoundExceptionResponse = async (parse
3749
3749
  $metadata: deserializeMetadata(parsedOutput),
3750
3750
  ...deserialized,
3751
3751
  });
3752
- return smithy_client_1.decorateServiceException(exception, body);
3752
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3753
3753
  };
3754
3754
  const deserializeAws_json1_1TargetNotFoundExceptionResponse = async (parsedOutput, context) => {
3755
3755
  const body = parsedOutput.body;
@@ -3758,7 +3758,7 @@ const deserializeAws_json1_1TargetNotFoundExceptionResponse = async (parsedOutpu
3758
3758
  $metadata: deserializeMetadata(parsedOutput),
3759
3759
  ...deserialized,
3760
3760
  });
3761
- return smithy_client_1.decorateServiceException(exception, body);
3761
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3762
3762
  };
3763
3763
  const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
3764
3764
  const body = parsedOutput.body;
@@ -3767,7 +3767,7 @@ const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutp
3767
3767
  $metadata: deserializeMetadata(parsedOutput),
3768
3768
  ...deserialized,
3769
3769
  });
3770
- return smithy_client_1.decorateServiceException(exception, body);
3770
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3771
3771
  };
3772
3772
  const deserializeAws_json1_1UnsupportedAPIEndpointExceptionResponse = async (parsedOutput, context) => {
3773
3773
  const body = parsedOutput.body;
@@ -3776,7 +3776,7 @@ const deserializeAws_json1_1UnsupportedAPIEndpointExceptionResponse = async (par
3776
3776
  $metadata: deserializeMetadata(parsedOutput),
3777
3777
  ...deserialized,
3778
3778
  });
3779
- return smithy_client_1.decorateServiceException(exception, body);
3779
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3780
3780
  };
3781
3781
  const serializeAws_json1_1AcceptHandshakeRequest = (input, context) => {
3782
3782
  return {
@@ -4153,46 +4153,46 @@ const deserializeAws_json1_1AcceptHandshakeResponse = (output, context) => {
4153
4153
  };
4154
4154
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
4155
4155
  return {
4156
- Message: smithy_client_1.expectString(output.Message),
4156
+ Message: (0, smithy_client_1.expectString)(output.Message),
4157
4157
  };
4158
4158
  };
4159
4159
  const deserializeAws_json1_1AccessDeniedForDependencyException = (output, context) => {
4160
4160
  return {
4161
- Message: smithy_client_1.expectString(output.Message),
4162
- Reason: smithy_client_1.expectString(output.Reason),
4161
+ Message: (0, smithy_client_1.expectString)(output.Message),
4162
+ Reason: (0, smithy_client_1.expectString)(output.Reason),
4163
4163
  };
4164
4164
  };
4165
4165
  const deserializeAws_json1_1Account = (output, context) => {
4166
4166
  return {
4167
- Arn: smithy_client_1.expectString(output.Arn),
4168
- Email: smithy_client_1.expectString(output.Email),
4169
- Id: smithy_client_1.expectString(output.Id),
4170
- JoinedMethod: smithy_client_1.expectString(output.JoinedMethod),
4167
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4168
+ Email: (0, smithy_client_1.expectString)(output.Email),
4169
+ Id: (0, smithy_client_1.expectString)(output.Id),
4170
+ JoinedMethod: (0, smithy_client_1.expectString)(output.JoinedMethod),
4171
4171
  JoinedTimestamp: output.JoinedTimestamp !== undefined && output.JoinedTimestamp !== null
4172
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.JoinedTimestamp)))
4172
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.JoinedTimestamp)))
4173
4173
  : undefined,
4174
- Name: smithy_client_1.expectString(output.Name),
4175
- Status: smithy_client_1.expectString(output.Status),
4174
+ Name: (0, smithy_client_1.expectString)(output.Name),
4175
+ Status: (0, smithy_client_1.expectString)(output.Status),
4176
4176
  };
4177
4177
  };
4178
4178
  const deserializeAws_json1_1AccountAlreadyRegisteredException = (output, context) => {
4179
4179
  return {
4180
- Message: smithy_client_1.expectString(output.Message),
4180
+ Message: (0, smithy_client_1.expectString)(output.Message),
4181
4181
  };
4182
4182
  };
4183
4183
  const deserializeAws_json1_1AccountNotFoundException = (output, context) => {
4184
4184
  return {
4185
- Message: smithy_client_1.expectString(output.Message),
4185
+ Message: (0, smithy_client_1.expectString)(output.Message),
4186
4186
  };
4187
4187
  };
4188
4188
  const deserializeAws_json1_1AccountNotRegisteredException = (output, context) => {
4189
4189
  return {
4190
- Message: smithy_client_1.expectString(output.Message),
4190
+ Message: (0, smithy_client_1.expectString)(output.Message),
4191
4191
  };
4192
4192
  };
4193
4193
  const deserializeAws_json1_1AccountOwnerNotVerifiedException = (output, context) => {
4194
4194
  return {
4195
- Message: smithy_client_1.expectString(output.Message),
4195
+ Message: (0, smithy_client_1.expectString)(output.Message),
4196
4196
  };
4197
4197
  };
4198
4198
  const deserializeAws_json1_1Accounts = (output, context) => {
@@ -4208,12 +4208,12 @@ const deserializeAws_json1_1Accounts = (output, context) => {
4208
4208
  };
4209
4209
  const deserializeAws_json1_1AlreadyInOrganizationException = (output, context) => {
4210
4210
  return {
4211
- Message: smithy_client_1.expectString(output.Message),
4211
+ Message: (0, smithy_client_1.expectString)(output.Message),
4212
4212
  };
4213
4213
  };
4214
4214
  const deserializeAws_json1_1AWSOrganizationsNotInUseException = (output, context) => {
4215
4215
  return {
4216
- Message: smithy_client_1.expectString(output.Message),
4216
+ Message: (0, smithy_client_1.expectString)(output.Message),
4217
4217
  };
4218
4218
  };
4219
4219
  const deserializeAws_json1_1CancelHandshakeResponse = (output, context) => {
@@ -4225,13 +4225,13 @@ const deserializeAws_json1_1CancelHandshakeResponse = (output, context) => {
4225
4225
  };
4226
4226
  const deserializeAws_json1_1Child = (output, context) => {
4227
4227
  return {
4228
- Id: smithy_client_1.expectString(output.Id),
4229
- Type: smithy_client_1.expectString(output.Type),
4228
+ Id: (0, smithy_client_1.expectString)(output.Id),
4229
+ Type: (0, smithy_client_1.expectString)(output.Type),
4230
4230
  };
4231
4231
  };
4232
4232
  const deserializeAws_json1_1ChildNotFoundException = (output, context) => {
4233
4233
  return {
4234
- Message: smithy_client_1.expectString(output.Message),
4234
+ Message: (0, smithy_client_1.expectString)(output.Message),
4235
4235
  };
4236
4236
  };
4237
4237
  const deserializeAws_json1_1Children = (output, context) => {
@@ -4247,13 +4247,13 @@ const deserializeAws_json1_1Children = (output, context) => {
4247
4247
  };
4248
4248
  const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
4249
4249
  return {
4250
- Message: smithy_client_1.expectString(output.Message),
4250
+ Message: (0, smithy_client_1.expectString)(output.Message),
4251
4251
  };
4252
4252
  };
4253
4253
  const deserializeAws_json1_1ConstraintViolationException = (output, context) => {
4254
4254
  return {
4255
- Message: smithy_client_1.expectString(output.Message),
4256
- Reason: smithy_client_1.expectString(output.Reason),
4255
+ Message: (0, smithy_client_1.expectString)(output.Message),
4256
+ Reason: (0, smithy_client_1.expectString)(output.Reason),
4257
4257
  };
4258
4258
  };
4259
4259
  const deserializeAws_json1_1CreateAccountResponse = (output, context) => {
@@ -4265,18 +4265,18 @@ const deserializeAws_json1_1CreateAccountResponse = (output, context) => {
4265
4265
  };
4266
4266
  const deserializeAws_json1_1CreateAccountStatus = (output, context) => {
4267
4267
  return {
4268
- AccountId: smithy_client_1.expectString(output.AccountId),
4269
- AccountName: smithy_client_1.expectString(output.AccountName),
4268
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
4269
+ AccountName: (0, smithy_client_1.expectString)(output.AccountName),
4270
4270
  CompletedTimestamp: output.CompletedTimestamp !== undefined && output.CompletedTimestamp !== null
4271
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletedTimestamp)))
4271
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletedTimestamp)))
4272
4272
  : undefined,
4273
- FailureReason: smithy_client_1.expectString(output.FailureReason),
4274
- GovCloudAccountId: smithy_client_1.expectString(output.GovCloudAccountId),
4275
- Id: smithy_client_1.expectString(output.Id),
4273
+ FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
4274
+ GovCloudAccountId: (0, smithy_client_1.expectString)(output.GovCloudAccountId),
4275
+ Id: (0, smithy_client_1.expectString)(output.Id),
4276
4276
  RequestedTimestamp: output.RequestedTimestamp !== undefined && output.RequestedTimestamp !== null
4277
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RequestedTimestamp)))
4277
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RequestedTimestamp)))
4278
4278
  : undefined,
4279
- State: smithy_client_1.expectString(output.State),
4279
+ State: (0, smithy_client_1.expectString)(output.State),
4280
4280
  };
4281
4281
  };
4282
4282
  const deserializeAws_json1_1CreateAccountStatuses = (output, context) => {
@@ -4292,7 +4292,7 @@ const deserializeAws_json1_1CreateAccountStatuses = (output, context) => {
4292
4292
  };
4293
4293
  const deserializeAws_json1_1CreateAccountStatusNotFoundException = (output, context) => {
4294
4294
  return {
4295
- Message: smithy_client_1.expectString(output.Message),
4295
+ Message: (0, smithy_client_1.expectString)(output.Message),
4296
4296
  };
4297
4297
  };
4298
4298
  const deserializeAws_json1_1CreateGovCloudAccountResponse = (output, context) => {
@@ -4332,18 +4332,18 @@ const deserializeAws_json1_1DeclineHandshakeResponse = (output, context) => {
4332
4332
  };
4333
4333
  const deserializeAws_json1_1DelegatedAdministrator = (output, context) => {
4334
4334
  return {
4335
- Arn: smithy_client_1.expectString(output.Arn),
4335
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4336
4336
  DelegationEnabledDate: output.DelegationEnabledDate !== undefined && output.DelegationEnabledDate !== null
4337
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DelegationEnabledDate)))
4337
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DelegationEnabledDate)))
4338
4338
  : undefined,
4339
- Email: smithy_client_1.expectString(output.Email),
4340
- Id: smithy_client_1.expectString(output.Id),
4341
- JoinedMethod: smithy_client_1.expectString(output.JoinedMethod),
4339
+ Email: (0, smithy_client_1.expectString)(output.Email),
4340
+ Id: (0, smithy_client_1.expectString)(output.Id),
4341
+ JoinedMethod: (0, smithy_client_1.expectString)(output.JoinedMethod),
4342
4342
  JoinedTimestamp: output.JoinedTimestamp !== undefined && output.JoinedTimestamp !== null
4343
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.JoinedTimestamp)))
4343
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.JoinedTimestamp)))
4344
4344
  : undefined,
4345
- Name: smithy_client_1.expectString(output.Name),
4346
- Status: smithy_client_1.expectString(output.Status),
4345
+ Name: (0, smithy_client_1.expectString)(output.Name),
4346
+ Status: (0, smithy_client_1.expectString)(output.Status),
4347
4347
  };
4348
4348
  };
4349
4349
  const deserializeAws_json1_1DelegatedAdministrators = (output, context) => {
@@ -4360,9 +4360,9 @@ const deserializeAws_json1_1DelegatedAdministrators = (output, context) => {
4360
4360
  const deserializeAws_json1_1DelegatedService = (output, context) => {
4361
4361
  return {
4362
4362
  DelegationEnabledDate: output.DelegationEnabledDate !== undefined && output.DelegationEnabledDate !== null
4363
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DelegationEnabledDate)))
4363
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DelegationEnabledDate)))
4364
4364
  : undefined,
4365
- ServicePrincipal: smithy_client_1.expectString(output.ServicePrincipal),
4365
+ ServicePrincipal: (0, smithy_client_1.expectString)(output.ServicePrincipal),
4366
4366
  };
4367
4367
  };
4368
4368
  const deserializeAws_json1_1DelegatedServices = (output, context) => {
@@ -4427,7 +4427,7 @@ const deserializeAws_json1_1DescribePolicyResponse = (output, context) => {
4427
4427
  };
4428
4428
  const deserializeAws_json1_1DestinationParentNotFoundException = (output, context) => {
4429
4429
  return {
4430
- Message: smithy_client_1.expectString(output.Message),
4430
+ Message: (0, smithy_client_1.expectString)(output.Message),
4431
4431
  };
4432
4432
  };
4433
4433
  const deserializeAws_json1_1DisablePolicyTypeResponse = (output, context) => {
@@ -4437,42 +4437,42 @@ const deserializeAws_json1_1DisablePolicyTypeResponse = (output, context) => {
4437
4437
  };
4438
4438
  const deserializeAws_json1_1DuplicateAccountException = (output, context) => {
4439
4439
  return {
4440
- Message: smithy_client_1.expectString(output.Message),
4440
+ Message: (0, smithy_client_1.expectString)(output.Message),
4441
4441
  };
4442
4442
  };
4443
4443
  const deserializeAws_json1_1DuplicateHandshakeException = (output, context) => {
4444
4444
  return {
4445
- Message: smithy_client_1.expectString(output.Message),
4445
+ Message: (0, smithy_client_1.expectString)(output.Message),
4446
4446
  };
4447
4447
  };
4448
4448
  const deserializeAws_json1_1DuplicateOrganizationalUnitException = (output, context) => {
4449
4449
  return {
4450
- Message: smithy_client_1.expectString(output.Message),
4450
+ Message: (0, smithy_client_1.expectString)(output.Message),
4451
4451
  };
4452
4452
  };
4453
4453
  const deserializeAws_json1_1DuplicatePolicyAttachmentException = (output, context) => {
4454
4454
  return {
4455
- Message: smithy_client_1.expectString(output.Message),
4455
+ Message: (0, smithy_client_1.expectString)(output.Message),
4456
4456
  };
4457
4457
  };
4458
4458
  const deserializeAws_json1_1DuplicatePolicyException = (output, context) => {
4459
4459
  return {
4460
- Message: smithy_client_1.expectString(output.Message),
4460
+ Message: (0, smithy_client_1.expectString)(output.Message),
4461
4461
  };
4462
4462
  };
4463
4463
  const deserializeAws_json1_1EffectivePolicy = (output, context) => {
4464
4464
  return {
4465
4465
  LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
4466
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
4466
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTimestamp)))
4467
4467
  : undefined,
4468
- PolicyContent: smithy_client_1.expectString(output.PolicyContent),
4469
- PolicyType: smithy_client_1.expectString(output.PolicyType),
4470
- TargetId: smithy_client_1.expectString(output.TargetId),
4468
+ PolicyContent: (0, smithy_client_1.expectString)(output.PolicyContent),
4469
+ PolicyType: (0, smithy_client_1.expectString)(output.PolicyType),
4470
+ TargetId: (0, smithy_client_1.expectString)(output.TargetId),
4471
4471
  };
4472
4472
  };
4473
4473
  const deserializeAws_json1_1EffectivePolicyNotFoundException = (output, context) => {
4474
4474
  return {
4475
- Message: smithy_client_1.expectString(output.Message),
4475
+ Message: (0, smithy_client_1.expectString)(output.Message),
4476
4476
  };
4477
4477
  };
4478
4478
  const deserializeAws_json1_1EnableAllFeaturesResponse = (output, context) => {
@@ -4485,9 +4485,9 @@ const deserializeAws_json1_1EnableAllFeaturesResponse = (output, context) => {
4485
4485
  const deserializeAws_json1_1EnabledServicePrincipal = (output, context) => {
4486
4486
  return {
4487
4487
  DateEnabled: output.DateEnabled !== undefined && output.DateEnabled !== null
4488
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateEnabled)))
4488
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DateEnabled)))
4489
4489
  : undefined,
4490
- ServicePrincipal: smithy_client_1.expectString(output.ServicePrincipal),
4490
+ ServicePrincipal: (0, smithy_client_1.expectString)(output.ServicePrincipal),
4491
4491
  };
4492
4492
  };
4493
4493
  const deserializeAws_json1_1EnabledServicePrincipals = (output, context) => {
@@ -4508,43 +4508,43 @@ const deserializeAws_json1_1EnablePolicyTypeResponse = (output, context) => {
4508
4508
  };
4509
4509
  const deserializeAws_json1_1FinalizingOrganizationException = (output, context) => {
4510
4510
  return {
4511
- Message: smithy_client_1.expectString(output.Message),
4511
+ Message: (0, smithy_client_1.expectString)(output.Message),
4512
4512
  };
4513
4513
  };
4514
4514
  const deserializeAws_json1_1Handshake = (output, context) => {
4515
4515
  return {
4516
- Action: smithy_client_1.expectString(output.Action),
4517
- Arn: smithy_client_1.expectString(output.Arn),
4516
+ Action: (0, smithy_client_1.expectString)(output.Action),
4517
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4518
4518
  ExpirationTimestamp: output.ExpirationTimestamp !== undefined && output.ExpirationTimestamp !== null
4519
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationTimestamp)))
4519
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTimestamp)))
4520
4520
  : undefined,
4521
- Id: smithy_client_1.expectString(output.Id),
4521
+ Id: (0, smithy_client_1.expectString)(output.Id),
4522
4522
  Parties: output.Parties !== undefined && output.Parties !== null
4523
4523
  ? deserializeAws_json1_1HandshakeParties(output.Parties, context)
4524
4524
  : undefined,
4525
4525
  RequestedTimestamp: output.RequestedTimestamp !== undefined && output.RequestedTimestamp !== null
4526
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RequestedTimestamp)))
4526
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RequestedTimestamp)))
4527
4527
  : undefined,
4528
4528
  Resources: output.Resources !== undefined && output.Resources !== null
4529
4529
  ? deserializeAws_json1_1HandshakeResources(output.Resources, context)
4530
4530
  : undefined,
4531
- State: smithy_client_1.expectString(output.State),
4531
+ State: (0, smithy_client_1.expectString)(output.State),
4532
4532
  };
4533
4533
  };
4534
4534
  const deserializeAws_json1_1HandshakeAlreadyInStateException = (output, context) => {
4535
4535
  return {
4536
- Message: smithy_client_1.expectString(output.Message),
4536
+ Message: (0, smithy_client_1.expectString)(output.Message),
4537
4537
  };
4538
4538
  };
4539
4539
  const deserializeAws_json1_1HandshakeConstraintViolationException = (output, context) => {
4540
4540
  return {
4541
- Message: smithy_client_1.expectString(output.Message),
4542
- Reason: smithy_client_1.expectString(output.Reason),
4541
+ Message: (0, smithy_client_1.expectString)(output.Message),
4542
+ Reason: (0, smithy_client_1.expectString)(output.Reason),
4543
4543
  };
4544
4544
  };
4545
4545
  const deserializeAws_json1_1HandshakeNotFoundException = (output, context) => {
4546
4546
  return {
4547
- Message: smithy_client_1.expectString(output.Message),
4547
+ Message: (0, smithy_client_1.expectString)(output.Message),
4548
4548
  };
4549
4549
  };
4550
4550
  const deserializeAws_json1_1HandshakeParties = (output, context) => {
@@ -4560,8 +4560,8 @@ const deserializeAws_json1_1HandshakeParties = (output, context) => {
4560
4560
  };
4561
4561
  const deserializeAws_json1_1HandshakeParty = (output, context) => {
4562
4562
  return {
4563
- Id: smithy_client_1.expectString(output.Id),
4564
- Type: smithy_client_1.expectString(output.Type),
4563
+ Id: (0, smithy_client_1.expectString)(output.Id),
4564
+ Type: (0, smithy_client_1.expectString)(output.Type),
4565
4565
  };
4566
4566
  };
4567
4567
  const deserializeAws_json1_1HandshakeResource = (output, context) => {
@@ -4569,8 +4569,8 @@ const deserializeAws_json1_1HandshakeResource = (output, context) => {
4569
4569
  Resources: output.Resources !== undefined && output.Resources !== null
4570
4570
  ? deserializeAws_json1_1HandshakeResources(output.Resources, context)
4571
4571
  : undefined,
4572
- Type: smithy_client_1.expectString(output.Type),
4573
- Value: smithy_client_1.expectString(output.Value),
4572
+ Type: (0, smithy_client_1.expectString)(output.Type),
4573
+ Value: (0, smithy_client_1.expectString)(output.Value),
4574
4574
  };
4575
4575
  };
4576
4576
  const deserializeAws_json1_1HandshakeResources = (output, context) => {
@@ -4597,13 +4597,13 @@ const deserializeAws_json1_1Handshakes = (output, context) => {
4597
4597
  };
4598
4598
  const deserializeAws_json1_1InvalidHandshakeTransitionException = (output, context) => {
4599
4599
  return {
4600
- Message: smithy_client_1.expectString(output.Message),
4600
+ Message: (0, smithy_client_1.expectString)(output.Message),
4601
4601
  };
4602
4602
  };
4603
4603
  const deserializeAws_json1_1InvalidInputException = (output, context) => {
4604
4604
  return {
4605
- Message: smithy_client_1.expectString(output.Message),
4606
- Reason: smithy_client_1.expectString(output.Reason),
4605
+ Message: (0, smithy_client_1.expectString)(output.Message),
4606
+ Reason: (0, smithy_client_1.expectString)(output.Reason),
4607
4607
  };
4608
4608
  };
4609
4609
  const deserializeAws_json1_1InviteAccountToOrganizationResponse = (output, context) => {
@@ -4618,7 +4618,7 @@ const deserializeAws_json1_1ListAccountsForParentResponse = (output, context) =>
4618
4618
  Accounts: output.Accounts !== undefined && output.Accounts !== null
4619
4619
  ? deserializeAws_json1_1Accounts(output.Accounts, context)
4620
4620
  : undefined,
4621
- NextToken: smithy_client_1.expectString(output.NextToken),
4621
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4622
4622
  };
4623
4623
  };
4624
4624
  const deserializeAws_json1_1ListAccountsResponse = (output, context) => {
@@ -4626,7 +4626,7 @@ const deserializeAws_json1_1ListAccountsResponse = (output, context) => {
4626
4626
  Accounts: output.Accounts !== undefined && output.Accounts !== null
4627
4627
  ? deserializeAws_json1_1Accounts(output.Accounts, context)
4628
4628
  : undefined,
4629
- NextToken: smithy_client_1.expectString(output.NextToken),
4629
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4630
4630
  };
4631
4631
  };
4632
4632
  const deserializeAws_json1_1ListAWSServiceAccessForOrganizationResponse = (output, context) => {
@@ -4634,7 +4634,7 @@ const deserializeAws_json1_1ListAWSServiceAccessForOrganizationResponse = (outpu
4634
4634
  EnabledServicePrincipals: output.EnabledServicePrincipals !== undefined && output.EnabledServicePrincipals !== null
4635
4635
  ? deserializeAws_json1_1EnabledServicePrincipals(output.EnabledServicePrincipals, context)
4636
4636
  : undefined,
4637
- NextToken: smithy_client_1.expectString(output.NextToken),
4637
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4638
4638
  };
4639
4639
  };
4640
4640
  const deserializeAws_json1_1ListChildrenResponse = (output, context) => {
@@ -4642,7 +4642,7 @@ const deserializeAws_json1_1ListChildrenResponse = (output, context) => {
4642
4642
  Children: output.Children !== undefined && output.Children !== null
4643
4643
  ? deserializeAws_json1_1Children(output.Children, context)
4644
4644
  : undefined,
4645
- NextToken: smithy_client_1.expectString(output.NextToken),
4645
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4646
4646
  };
4647
4647
  };
4648
4648
  const deserializeAws_json1_1ListCreateAccountStatusResponse = (output, context) => {
@@ -4650,7 +4650,7 @@ const deserializeAws_json1_1ListCreateAccountStatusResponse = (output, context)
4650
4650
  CreateAccountStatuses: output.CreateAccountStatuses !== undefined && output.CreateAccountStatuses !== null
4651
4651
  ? deserializeAws_json1_1CreateAccountStatuses(output.CreateAccountStatuses, context)
4652
4652
  : undefined,
4653
- NextToken: smithy_client_1.expectString(output.NextToken),
4653
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4654
4654
  };
4655
4655
  };
4656
4656
  const deserializeAws_json1_1ListDelegatedAdministratorsResponse = (output, context) => {
@@ -4658,7 +4658,7 @@ const deserializeAws_json1_1ListDelegatedAdministratorsResponse = (output, conte
4658
4658
  DelegatedAdministrators: output.DelegatedAdministrators !== undefined && output.DelegatedAdministrators !== null
4659
4659
  ? deserializeAws_json1_1DelegatedAdministrators(output.DelegatedAdministrators, context)
4660
4660
  : undefined,
4661
- NextToken: smithy_client_1.expectString(output.NextToken),
4661
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4662
4662
  };
4663
4663
  };
4664
4664
  const deserializeAws_json1_1ListDelegatedServicesForAccountResponse = (output, context) => {
@@ -4666,7 +4666,7 @@ const deserializeAws_json1_1ListDelegatedServicesForAccountResponse = (output, c
4666
4666
  DelegatedServices: output.DelegatedServices !== undefined && output.DelegatedServices !== null
4667
4667
  ? deserializeAws_json1_1DelegatedServices(output.DelegatedServices, context)
4668
4668
  : undefined,
4669
- NextToken: smithy_client_1.expectString(output.NextToken),
4669
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4670
4670
  };
4671
4671
  };
4672
4672
  const deserializeAws_json1_1ListHandshakesForAccountResponse = (output, context) => {
@@ -4674,7 +4674,7 @@ const deserializeAws_json1_1ListHandshakesForAccountResponse = (output, context)
4674
4674
  Handshakes: output.Handshakes !== undefined && output.Handshakes !== null
4675
4675
  ? deserializeAws_json1_1Handshakes(output.Handshakes, context)
4676
4676
  : undefined,
4677
- NextToken: smithy_client_1.expectString(output.NextToken),
4677
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4678
4678
  };
4679
4679
  };
4680
4680
  const deserializeAws_json1_1ListHandshakesForOrganizationResponse = (output, context) => {
@@ -4682,12 +4682,12 @@ const deserializeAws_json1_1ListHandshakesForOrganizationResponse = (output, con
4682
4682
  Handshakes: output.Handshakes !== undefined && output.Handshakes !== null
4683
4683
  ? deserializeAws_json1_1Handshakes(output.Handshakes, context)
4684
4684
  : undefined,
4685
- NextToken: smithy_client_1.expectString(output.NextToken),
4685
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4686
4686
  };
4687
4687
  };
4688
4688
  const deserializeAws_json1_1ListOrganizationalUnitsForParentResponse = (output, context) => {
4689
4689
  return {
4690
- NextToken: smithy_client_1.expectString(output.NextToken),
4690
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4691
4691
  OrganizationalUnits: output.OrganizationalUnits !== undefined && output.OrganizationalUnits !== null
4692
4692
  ? deserializeAws_json1_1OrganizationalUnits(output.OrganizationalUnits, context)
4693
4693
  : undefined,
@@ -4695,7 +4695,7 @@ const deserializeAws_json1_1ListOrganizationalUnitsForParentResponse = (output,
4695
4695
  };
4696
4696
  const deserializeAws_json1_1ListParentsResponse = (output, context) => {
4697
4697
  return {
4698
- NextToken: smithy_client_1.expectString(output.NextToken),
4698
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4699
4699
  Parents: output.Parents !== undefined && output.Parents !== null
4700
4700
  ? deserializeAws_json1_1Parents(output.Parents, context)
4701
4701
  : undefined,
@@ -4703,7 +4703,7 @@ const deserializeAws_json1_1ListParentsResponse = (output, context) => {
4703
4703
  };
4704
4704
  const deserializeAws_json1_1ListPoliciesForTargetResponse = (output, context) => {
4705
4705
  return {
4706
- NextToken: smithy_client_1.expectString(output.NextToken),
4706
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4707
4707
  Policies: output.Policies !== undefined && output.Policies !== null
4708
4708
  ? deserializeAws_json1_1Policies(output.Policies, context)
4709
4709
  : undefined,
@@ -4711,7 +4711,7 @@ const deserializeAws_json1_1ListPoliciesForTargetResponse = (output, context) =>
4711
4711
  };
4712
4712
  const deserializeAws_json1_1ListPoliciesResponse = (output, context) => {
4713
4713
  return {
4714
- NextToken: smithy_client_1.expectString(output.NextToken),
4714
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4715
4715
  Policies: output.Policies !== undefined && output.Policies !== null
4716
4716
  ? deserializeAws_json1_1Policies(output.Policies, context)
4717
4717
  : undefined,
@@ -4719,7 +4719,7 @@ const deserializeAws_json1_1ListPoliciesResponse = (output, context) => {
4719
4719
  };
4720
4720
  const deserializeAws_json1_1ListRootsResponse = (output, context) => {
4721
4721
  return {
4722
- NextToken: smithy_client_1.expectString(output.NextToken),
4722
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4723
4723
  Roots: output.Roots !== undefined && output.Roots !== null
4724
4724
  ? deserializeAws_json1_1Roots(output.Roots, context)
4725
4725
  : undefined,
@@ -4727,13 +4727,13 @@ const deserializeAws_json1_1ListRootsResponse = (output, context) => {
4727
4727
  };
4728
4728
  const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
4729
4729
  return {
4730
- NextToken: smithy_client_1.expectString(output.NextToken),
4730
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4731
4731
  Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
4732
4732
  };
4733
4733
  };
4734
4734
  const deserializeAws_json1_1ListTargetsForPolicyResponse = (output, context) => {
4735
4735
  return {
4736
- NextToken: smithy_client_1.expectString(output.NextToken),
4736
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
4737
4737
  Targets: output.Targets !== undefined && output.Targets !== null
4738
4738
  ? deserializeAws_json1_1PolicyTargets(output.Targets, context)
4739
4739
  : undefined,
@@ -4741,42 +4741,42 @@ const deserializeAws_json1_1ListTargetsForPolicyResponse = (output, context) =>
4741
4741
  };
4742
4742
  const deserializeAws_json1_1MalformedPolicyDocumentException = (output, context) => {
4743
4743
  return {
4744
- Message: smithy_client_1.expectString(output.Message),
4744
+ Message: (0, smithy_client_1.expectString)(output.Message),
4745
4745
  };
4746
4746
  };
4747
4747
  const deserializeAws_json1_1MasterCannotLeaveOrganizationException = (output, context) => {
4748
4748
  return {
4749
- Message: smithy_client_1.expectString(output.Message),
4749
+ Message: (0, smithy_client_1.expectString)(output.Message),
4750
4750
  };
4751
4751
  };
4752
4752
  const deserializeAws_json1_1Organization = (output, context) => {
4753
4753
  return {
4754
- Arn: smithy_client_1.expectString(output.Arn),
4754
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4755
4755
  AvailablePolicyTypes: output.AvailablePolicyTypes !== undefined && output.AvailablePolicyTypes !== null
4756
4756
  ? deserializeAws_json1_1PolicyTypes(output.AvailablePolicyTypes, context)
4757
4757
  : undefined,
4758
- FeatureSet: smithy_client_1.expectString(output.FeatureSet),
4759
- Id: smithy_client_1.expectString(output.Id),
4760
- MasterAccountArn: smithy_client_1.expectString(output.MasterAccountArn),
4761
- MasterAccountEmail: smithy_client_1.expectString(output.MasterAccountEmail),
4762
- MasterAccountId: smithy_client_1.expectString(output.MasterAccountId),
4758
+ FeatureSet: (0, smithy_client_1.expectString)(output.FeatureSet),
4759
+ Id: (0, smithy_client_1.expectString)(output.Id),
4760
+ MasterAccountArn: (0, smithy_client_1.expectString)(output.MasterAccountArn),
4761
+ MasterAccountEmail: (0, smithy_client_1.expectString)(output.MasterAccountEmail),
4762
+ MasterAccountId: (0, smithy_client_1.expectString)(output.MasterAccountId),
4763
4763
  };
4764
4764
  };
4765
4765
  const deserializeAws_json1_1OrganizationalUnit = (output, context) => {
4766
4766
  return {
4767
- Arn: smithy_client_1.expectString(output.Arn),
4768
- Id: smithy_client_1.expectString(output.Id),
4769
- Name: smithy_client_1.expectString(output.Name),
4767
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4768
+ Id: (0, smithy_client_1.expectString)(output.Id),
4769
+ Name: (0, smithy_client_1.expectString)(output.Name),
4770
4770
  };
4771
4771
  };
4772
4772
  const deserializeAws_json1_1OrganizationalUnitNotEmptyException = (output, context) => {
4773
4773
  return {
4774
- Message: smithy_client_1.expectString(output.Message),
4774
+ Message: (0, smithy_client_1.expectString)(output.Message),
4775
4775
  };
4776
4776
  };
4777
4777
  const deserializeAws_json1_1OrganizationalUnitNotFoundException = (output, context) => {
4778
4778
  return {
4779
- Message: smithy_client_1.expectString(output.Message),
4779
+ Message: (0, smithy_client_1.expectString)(output.Message),
4780
4780
  };
4781
4781
  };
4782
4782
  const deserializeAws_json1_1OrganizationalUnits = (output, context) => {
@@ -4792,18 +4792,18 @@ const deserializeAws_json1_1OrganizationalUnits = (output, context) => {
4792
4792
  };
4793
4793
  const deserializeAws_json1_1OrganizationNotEmptyException = (output, context) => {
4794
4794
  return {
4795
- Message: smithy_client_1.expectString(output.Message),
4795
+ Message: (0, smithy_client_1.expectString)(output.Message),
4796
4796
  };
4797
4797
  };
4798
4798
  const deserializeAws_json1_1Parent = (output, context) => {
4799
4799
  return {
4800
- Id: smithy_client_1.expectString(output.Id),
4801
- Type: smithy_client_1.expectString(output.Type),
4800
+ Id: (0, smithy_client_1.expectString)(output.Id),
4801
+ Type: (0, smithy_client_1.expectString)(output.Type),
4802
4802
  };
4803
4803
  };
4804
4804
  const deserializeAws_json1_1ParentNotFoundException = (output, context) => {
4805
4805
  return {
4806
- Message: smithy_client_1.expectString(output.Message),
4806
+ Message: (0, smithy_client_1.expectString)(output.Message),
4807
4807
  };
4808
4808
  };
4809
4809
  const deserializeAws_json1_1Parents = (output, context) => {
@@ -4830,7 +4830,7 @@ const deserializeAws_json1_1Policies = (output, context) => {
4830
4830
  };
4831
4831
  const deserializeAws_json1_1Policy = (output, context) => {
4832
4832
  return {
4833
- Content: smithy_client_1.expectString(output.Content),
4833
+ Content: (0, smithy_client_1.expectString)(output.Content),
4834
4834
  PolicySummary: output.PolicySummary !== undefined && output.PolicySummary !== null
4835
4835
  ? deserializeAws_json1_1PolicySummary(output.PolicySummary, context)
4836
4836
  : undefined,
@@ -4838,32 +4838,32 @@ const deserializeAws_json1_1Policy = (output, context) => {
4838
4838
  };
4839
4839
  const deserializeAws_json1_1PolicyChangesInProgressException = (output, context) => {
4840
4840
  return {
4841
- Message: smithy_client_1.expectString(output.Message),
4841
+ Message: (0, smithy_client_1.expectString)(output.Message),
4842
4842
  };
4843
4843
  };
4844
4844
  const deserializeAws_json1_1PolicyInUseException = (output, context) => {
4845
4845
  return {
4846
- Message: smithy_client_1.expectString(output.Message),
4846
+ Message: (0, smithy_client_1.expectString)(output.Message),
4847
4847
  };
4848
4848
  };
4849
4849
  const deserializeAws_json1_1PolicyNotAttachedException = (output, context) => {
4850
4850
  return {
4851
- Message: smithy_client_1.expectString(output.Message),
4851
+ Message: (0, smithy_client_1.expectString)(output.Message),
4852
4852
  };
4853
4853
  };
4854
4854
  const deserializeAws_json1_1PolicyNotFoundException = (output, context) => {
4855
4855
  return {
4856
- Message: smithy_client_1.expectString(output.Message),
4856
+ Message: (0, smithy_client_1.expectString)(output.Message),
4857
4857
  };
4858
4858
  };
4859
4859
  const deserializeAws_json1_1PolicySummary = (output, context) => {
4860
4860
  return {
4861
- Arn: smithy_client_1.expectString(output.Arn),
4862
- AwsManaged: smithy_client_1.expectBoolean(output.AwsManaged),
4863
- Description: smithy_client_1.expectString(output.Description),
4864
- Id: smithy_client_1.expectString(output.Id),
4865
- Name: smithy_client_1.expectString(output.Name),
4866
- Type: smithy_client_1.expectString(output.Type),
4861
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4862
+ AwsManaged: (0, smithy_client_1.expectBoolean)(output.AwsManaged),
4863
+ Description: (0, smithy_client_1.expectString)(output.Description),
4864
+ Id: (0, smithy_client_1.expectString)(output.Id),
4865
+ Name: (0, smithy_client_1.expectString)(output.Name),
4866
+ Type: (0, smithy_client_1.expectString)(output.Type),
4867
4867
  };
4868
4868
  };
4869
4869
  const deserializeAws_json1_1PolicyTargets = (output, context) => {
@@ -4879,25 +4879,25 @@ const deserializeAws_json1_1PolicyTargets = (output, context) => {
4879
4879
  };
4880
4880
  const deserializeAws_json1_1PolicyTargetSummary = (output, context) => {
4881
4881
  return {
4882
- Arn: smithy_client_1.expectString(output.Arn),
4883
- Name: smithy_client_1.expectString(output.Name),
4884
- TargetId: smithy_client_1.expectString(output.TargetId),
4885
- Type: smithy_client_1.expectString(output.Type),
4882
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4883
+ Name: (0, smithy_client_1.expectString)(output.Name),
4884
+ TargetId: (0, smithy_client_1.expectString)(output.TargetId),
4885
+ Type: (0, smithy_client_1.expectString)(output.Type),
4886
4886
  };
4887
4887
  };
4888
4888
  const deserializeAws_json1_1PolicyTypeAlreadyEnabledException = (output, context) => {
4889
4889
  return {
4890
- Message: smithy_client_1.expectString(output.Message),
4890
+ Message: (0, smithy_client_1.expectString)(output.Message),
4891
4891
  };
4892
4892
  };
4893
4893
  const deserializeAws_json1_1PolicyTypeNotAvailableForOrganizationException = (output, context) => {
4894
4894
  return {
4895
- Message: smithy_client_1.expectString(output.Message),
4895
+ Message: (0, smithy_client_1.expectString)(output.Message),
4896
4896
  };
4897
4897
  };
4898
4898
  const deserializeAws_json1_1PolicyTypeNotEnabledException = (output, context) => {
4899
4899
  return {
4900
- Message: smithy_client_1.expectString(output.Message),
4900
+ Message: (0, smithy_client_1.expectString)(output.Message),
4901
4901
  };
4902
4902
  };
4903
4903
  const deserializeAws_json1_1PolicyTypes = (output, context) => {
@@ -4913,15 +4913,15 @@ const deserializeAws_json1_1PolicyTypes = (output, context) => {
4913
4913
  };
4914
4914
  const deserializeAws_json1_1PolicyTypeSummary = (output, context) => {
4915
4915
  return {
4916
- Status: smithy_client_1.expectString(output.Status),
4917
- Type: smithy_client_1.expectString(output.Type),
4916
+ Status: (0, smithy_client_1.expectString)(output.Status),
4917
+ Type: (0, smithy_client_1.expectString)(output.Type),
4918
4918
  };
4919
4919
  };
4920
4920
  const deserializeAws_json1_1Root = (output, context) => {
4921
4921
  return {
4922
- Arn: smithy_client_1.expectString(output.Arn),
4923
- Id: smithy_client_1.expectString(output.Id),
4924
- Name: smithy_client_1.expectString(output.Name),
4922
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
4923
+ Id: (0, smithy_client_1.expectString)(output.Id),
4924
+ Name: (0, smithy_client_1.expectString)(output.Name),
4925
4925
  PolicyTypes: output.PolicyTypes !== undefined && output.PolicyTypes !== null
4926
4926
  ? deserializeAws_json1_1PolicyTypes(output.PolicyTypes, context)
4927
4927
  : undefined,
@@ -4929,7 +4929,7 @@ const deserializeAws_json1_1Root = (output, context) => {
4929
4929
  };
4930
4930
  const deserializeAws_json1_1RootNotFoundException = (output, context) => {
4931
4931
  return {
4932
- Message: smithy_client_1.expectString(output.Message),
4932
+ Message: (0, smithy_client_1.expectString)(output.Message),
4933
4933
  };
4934
4934
  };
4935
4935
  const deserializeAws_json1_1Roots = (output, context) => {
@@ -4945,18 +4945,18 @@ const deserializeAws_json1_1Roots = (output, context) => {
4945
4945
  };
4946
4946
  const deserializeAws_json1_1ServiceException = (output, context) => {
4947
4947
  return {
4948
- Message: smithy_client_1.expectString(output.Message),
4948
+ Message: (0, smithy_client_1.expectString)(output.Message),
4949
4949
  };
4950
4950
  };
4951
4951
  const deserializeAws_json1_1SourceParentNotFoundException = (output, context) => {
4952
4952
  return {
4953
- Message: smithy_client_1.expectString(output.Message),
4953
+ Message: (0, smithy_client_1.expectString)(output.Message),
4954
4954
  };
4955
4955
  };
4956
4956
  const deserializeAws_json1_1Tag = (output, context) => {
4957
4957
  return {
4958
- Key: smithy_client_1.expectString(output.Key),
4959
- Value: smithy_client_1.expectString(output.Value),
4958
+ Key: (0, smithy_client_1.expectString)(output.Key),
4959
+ Value: (0, smithy_client_1.expectString)(output.Value),
4960
4960
  };
4961
4961
  };
4962
4962
  const deserializeAws_json1_1Tags = (output, context) => {
@@ -4972,18 +4972,18 @@ const deserializeAws_json1_1Tags = (output, context) => {
4972
4972
  };
4973
4973
  const deserializeAws_json1_1TargetNotFoundException = (output, context) => {
4974
4974
  return {
4975
- Message: smithy_client_1.expectString(output.Message),
4975
+ Message: (0, smithy_client_1.expectString)(output.Message),
4976
4976
  };
4977
4977
  };
4978
4978
  const deserializeAws_json1_1TooManyRequestsException = (output, context) => {
4979
4979
  return {
4980
- Message: smithy_client_1.expectString(output.Message),
4981
- Type: smithy_client_1.expectString(output.Type),
4980
+ Message: (0, smithy_client_1.expectString)(output.Message),
4981
+ Type: (0, smithy_client_1.expectString)(output.Type),
4982
4982
  };
4983
4983
  };
4984
4984
  const deserializeAws_json1_1UnsupportedAPIEndpointException = (output, context) => {
4985
4985
  return {
4986
- Message: smithy_client_1.expectString(output.Message),
4986
+ Message: (0, smithy_client_1.expectString)(output.Message),
4987
4987
  };
4988
4988
  };
4989
4989
  const deserializeAws_json1_1UpdateOrganizationalUnitResponse = (output, context) => {