@aws-sdk/client-iam 3.54.1 → 3.58.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 (201) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/IAMClient.js +13 -13
  3. package/dist-cjs/commands/AddClientIDToOpenIDConnectProviderCommand.js +3 -3
  4. package/dist-cjs/commands/AddRoleToInstanceProfileCommand.js +3 -3
  5. package/dist-cjs/commands/AddUserToGroupCommand.js +3 -3
  6. package/dist-cjs/commands/AttachGroupPolicyCommand.js +3 -3
  7. package/dist-cjs/commands/AttachRolePolicyCommand.js +3 -3
  8. package/dist-cjs/commands/AttachUserPolicyCommand.js +3 -3
  9. package/dist-cjs/commands/ChangePasswordCommand.js +3 -3
  10. package/dist-cjs/commands/CreateAccessKeyCommand.js +3 -3
  11. package/dist-cjs/commands/CreateAccountAliasCommand.js +3 -3
  12. package/dist-cjs/commands/CreateGroupCommand.js +3 -3
  13. package/dist-cjs/commands/CreateInstanceProfileCommand.js +3 -3
  14. package/dist-cjs/commands/CreateLoginProfileCommand.js +3 -3
  15. package/dist-cjs/commands/CreateOpenIDConnectProviderCommand.js +3 -3
  16. package/dist-cjs/commands/CreatePolicyCommand.js +3 -3
  17. package/dist-cjs/commands/CreatePolicyVersionCommand.js +3 -3
  18. package/dist-cjs/commands/CreateRoleCommand.js +3 -3
  19. package/dist-cjs/commands/CreateSAMLProviderCommand.js +3 -3
  20. package/dist-cjs/commands/CreateServiceLinkedRoleCommand.js +3 -3
  21. package/dist-cjs/commands/CreateServiceSpecificCredentialCommand.js +3 -3
  22. package/dist-cjs/commands/CreateUserCommand.js +3 -3
  23. package/dist-cjs/commands/CreateVirtualMFADeviceCommand.js +3 -3
  24. package/dist-cjs/commands/DeactivateMFADeviceCommand.js +3 -3
  25. package/dist-cjs/commands/DeleteAccessKeyCommand.js +3 -3
  26. package/dist-cjs/commands/DeleteAccountAliasCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteAccountPasswordPolicyCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteGroupCommand.js +3 -3
  29. package/dist-cjs/commands/DeleteGroupPolicyCommand.js +3 -3
  30. package/dist-cjs/commands/DeleteInstanceProfileCommand.js +3 -3
  31. package/dist-cjs/commands/DeleteLoginProfileCommand.js +3 -3
  32. package/dist-cjs/commands/DeleteOpenIDConnectProviderCommand.js +3 -3
  33. package/dist-cjs/commands/DeletePolicyCommand.js +3 -3
  34. package/dist-cjs/commands/DeletePolicyVersionCommand.js +3 -3
  35. package/dist-cjs/commands/DeleteRoleCommand.js +3 -3
  36. package/dist-cjs/commands/DeleteRolePermissionsBoundaryCommand.js +3 -3
  37. package/dist-cjs/commands/DeleteRolePolicyCommand.js +3 -3
  38. package/dist-cjs/commands/DeleteSAMLProviderCommand.js +3 -3
  39. package/dist-cjs/commands/DeleteSSHPublicKeyCommand.js +3 -3
  40. package/dist-cjs/commands/DeleteServerCertificateCommand.js +3 -3
  41. package/dist-cjs/commands/DeleteServiceLinkedRoleCommand.js +3 -3
  42. package/dist-cjs/commands/DeleteServiceSpecificCredentialCommand.js +3 -3
  43. package/dist-cjs/commands/DeleteSigningCertificateCommand.js +3 -3
  44. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  45. package/dist-cjs/commands/DeleteUserPermissionsBoundaryCommand.js +3 -3
  46. package/dist-cjs/commands/DeleteUserPolicyCommand.js +3 -3
  47. package/dist-cjs/commands/DeleteVirtualMFADeviceCommand.js +3 -3
  48. package/dist-cjs/commands/DetachGroupPolicyCommand.js +3 -3
  49. package/dist-cjs/commands/DetachRolePolicyCommand.js +3 -3
  50. package/dist-cjs/commands/DetachUserPolicyCommand.js +3 -3
  51. package/dist-cjs/commands/EnableMFADeviceCommand.js +3 -3
  52. package/dist-cjs/commands/GenerateCredentialReportCommand.js +3 -3
  53. package/dist-cjs/commands/GenerateOrganizationsAccessReportCommand.js +3 -3
  54. package/dist-cjs/commands/GenerateServiceLastAccessedDetailsCommand.js +3 -3
  55. package/dist-cjs/commands/GetAccessKeyLastUsedCommand.js +3 -3
  56. package/dist-cjs/commands/GetAccountAuthorizationDetailsCommand.js +3 -3
  57. package/dist-cjs/commands/GetAccountPasswordPolicyCommand.js +3 -3
  58. package/dist-cjs/commands/GetAccountSummaryCommand.js +3 -3
  59. package/dist-cjs/commands/GetContextKeysForCustomPolicyCommand.js +3 -3
  60. package/dist-cjs/commands/GetContextKeysForPrincipalPolicyCommand.js +3 -3
  61. package/dist-cjs/commands/GetCredentialReportCommand.js +3 -3
  62. package/dist-cjs/commands/GetGroupCommand.js +3 -3
  63. package/dist-cjs/commands/GetGroupPolicyCommand.js +3 -3
  64. package/dist-cjs/commands/GetInstanceProfileCommand.js +3 -3
  65. package/dist-cjs/commands/GetLoginProfileCommand.js +3 -3
  66. package/dist-cjs/commands/GetOpenIDConnectProviderCommand.js +3 -3
  67. package/dist-cjs/commands/GetOrganizationsAccessReportCommand.js +3 -3
  68. package/dist-cjs/commands/GetPolicyCommand.js +3 -3
  69. package/dist-cjs/commands/GetPolicyVersionCommand.js +3 -3
  70. package/dist-cjs/commands/GetRoleCommand.js +3 -3
  71. package/dist-cjs/commands/GetRolePolicyCommand.js +3 -3
  72. package/dist-cjs/commands/GetSAMLProviderCommand.js +3 -3
  73. package/dist-cjs/commands/GetSSHPublicKeyCommand.js +3 -3
  74. package/dist-cjs/commands/GetServerCertificateCommand.js +3 -3
  75. package/dist-cjs/commands/GetServiceLastAccessedDetailsCommand.js +3 -3
  76. package/dist-cjs/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +3 -3
  77. package/dist-cjs/commands/GetServiceLinkedRoleDeletionStatusCommand.js +3 -3
  78. package/dist-cjs/commands/GetUserCommand.js +3 -3
  79. package/dist-cjs/commands/GetUserPolicyCommand.js +3 -3
  80. package/dist-cjs/commands/ListAccessKeysCommand.js +3 -3
  81. package/dist-cjs/commands/ListAccountAliasesCommand.js +3 -3
  82. package/dist-cjs/commands/ListAttachedGroupPoliciesCommand.js +3 -3
  83. package/dist-cjs/commands/ListAttachedRolePoliciesCommand.js +3 -3
  84. package/dist-cjs/commands/ListAttachedUserPoliciesCommand.js +3 -3
  85. package/dist-cjs/commands/ListEntitiesForPolicyCommand.js +3 -3
  86. package/dist-cjs/commands/ListGroupPoliciesCommand.js +3 -3
  87. package/dist-cjs/commands/ListGroupsCommand.js +3 -3
  88. package/dist-cjs/commands/ListGroupsForUserCommand.js +3 -3
  89. package/dist-cjs/commands/ListInstanceProfileTagsCommand.js +3 -3
  90. package/dist-cjs/commands/ListInstanceProfilesCommand.js +3 -3
  91. package/dist-cjs/commands/ListInstanceProfilesForRoleCommand.js +3 -3
  92. package/dist-cjs/commands/ListMFADeviceTagsCommand.js +3 -3
  93. package/dist-cjs/commands/ListMFADevicesCommand.js +3 -3
  94. package/dist-cjs/commands/ListOpenIDConnectProviderTagsCommand.js +3 -3
  95. package/dist-cjs/commands/ListOpenIDConnectProvidersCommand.js +3 -3
  96. package/dist-cjs/commands/ListPoliciesCommand.js +3 -3
  97. package/dist-cjs/commands/ListPoliciesGrantingServiceAccessCommand.js +3 -3
  98. package/dist-cjs/commands/ListPolicyTagsCommand.js +3 -3
  99. package/dist-cjs/commands/ListPolicyVersionsCommand.js +3 -3
  100. package/dist-cjs/commands/ListRolePoliciesCommand.js +3 -3
  101. package/dist-cjs/commands/ListRoleTagsCommand.js +3 -3
  102. package/dist-cjs/commands/ListRolesCommand.js +3 -3
  103. package/dist-cjs/commands/ListSAMLProviderTagsCommand.js +3 -3
  104. package/dist-cjs/commands/ListSAMLProvidersCommand.js +3 -3
  105. package/dist-cjs/commands/ListSSHPublicKeysCommand.js +3 -3
  106. package/dist-cjs/commands/ListServerCertificateTagsCommand.js +3 -3
  107. package/dist-cjs/commands/ListServerCertificatesCommand.js +3 -3
  108. package/dist-cjs/commands/ListServiceSpecificCredentialsCommand.js +3 -3
  109. package/dist-cjs/commands/ListSigningCertificatesCommand.js +3 -3
  110. package/dist-cjs/commands/ListUserPoliciesCommand.js +3 -3
  111. package/dist-cjs/commands/ListUserTagsCommand.js +3 -3
  112. package/dist-cjs/commands/ListUsersCommand.js +3 -3
  113. package/dist-cjs/commands/ListVirtualMFADevicesCommand.js +3 -3
  114. package/dist-cjs/commands/PutGroupPolicyCommand.js +3 -3
  115. package/dist-cjs/commands/PutRolePermissionsBoundaryCommand.js +3 -3
  116. package/dist-cjs/commands/PutRolePolicyCommand.js +3 -3
  117. package/dist-cjs/commands/PutUserPermissionsBoundaryCommand.js +3 -3
  118. package/dist-cjs/commands/PutUserPolicyCommand.js +3 -3
  119. package/dist-cjs/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +3 -3
  120. package/dist-cjs/commands/RemoveRoleFromInstanceProfileCommand.js +3 -3
  121. package/dist-cjs/commands/RemoveUserFromGroupCommand.js +3 -3
  122. package/dist-cjs/commands/ResetServiceSpecificCredentialCommand.js +3 -3
  123. package/dist-cjs/commands/ResyncMFADeviceCommand.js +3 -3
  124. package/dist-cjs/commands/SetDefaultPolicyVersionCommand.js +3 -3
  125. package/dist-cjs/commands/SetSecurityTokenServicePreferencesCommand.js +3 -3
  126. package/dist-cjs/commands/SimulateCustomPolicyCommand.js +3 -3
  127. package/dist-cjs/commands/SimulatePrincipalPolicyCommand.js +3 -3
  128. package/dist-cjs/commands/TagInstanceProfileCommand.js +3 -3
  129. package/dist-cjs/commands/TagMFADeviceCommand.js +3 -3
  130. package/dist-cjs/commands/TagOpenIDConnectProviderCommand.js +3 -3
  131. package/dist-cjs/commands/TagPolicyCommand.js +3 -3
  132. package/dist-cjs/commands/TagRoleCommand.js +3 -3
  133. package/dist-cjs/commands/TagSAMLProviderCommand.js +3 -3
  134. package/dist-cjs/commands/TagServerCertificateCommand.js +3 -3
  135. package/dist-cjs/commands/TagUserCommand.js +3 -3
  136. package/dist-cjs/commands/UntagInstanceProfileCommand.js +3 -3
  137. package/dist-cjs/commands/UntagMFADeviceCommand.js +3 -3
  138. package/dist-cjs/commands/UntagOpenIDConnectProviderCommand.js +3 -3
  139. package/dist-cjs/commands/UntagPolicyCommand.js +3 -3
  140. package/dist-cjs/commands/UntagRoleCommand.js +3 -3
  141. package/dist-cjs/commands/UntagSAMLProviderCommand.js +3 -3
  142. package/dist-cjs/commands/UntagServerCertificateCommand.js +3 -3
  143. package/dist-cjs/commands/UntagUserCommand.js +3 -3
  144. package/dist-cjs/commands/UpdateAccessKeyCommand.js +3 -3
  145. package/dist-cjs/commands/UpdateAccountPasswordPolicyCommand.js +3 -3
  146. package/dist-cjs/commands/UpdateAssumeRolePolicyCommand.js +3 -3
  147. package/dist-cjs/commands/UpdateGroupCommand.js +3 -3
  148. package/dist-cjs/commands/UpdateLoginProfileCommand.js +3 -3
  149. package/dist-cjs/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +3 -3
  150. package/dist-cjs/commands/UpdateRoleCommand.js +3 -3
  151. package/dist-cjs/commands/UpdateRoleDescriptionCommand.js +3 -3
  152. package/dist-cjs/commands/UpdateSAMLProviderCommand.js +3 -3
  153. package/dist-cjs/commands/UpdateSSHPublicKeyCommand.js +3 -3
  154. package/dist-cjs/commands/UpdateServerCertificateCommand.js +3 -3
  155. package/dist-cjs/commands/UpdateServiceSpecificCredentialCommand.js +3 -3
  156. package/dist-cjs/commands/UpdateSigningCertificateCommand.js +3 -3
  157. package/dist-cjs/commands/UpdateUserCommand.js +3 -3
  158. package/dist-cjs/commands/UploadSSHPublicKeyCommand.js +3 -3
  159. package/dist-cjs/commands/UploadServerCertificateCommand.js +3 -3
  160. package/dist-cjs/commands/UploadSigningCertificateCommand.js +3 -3
  161. package/dist-cjs/endpoints.js +1 -1
  162. package/dist-cjs/protocols/Aws_query.js +615 -615
  163. package/dist-cjs/runtimeConfig.browser.js +4 -4
  164. package/dist-cjs/runtimeConfig.js +9 -9
  165. package/dist-cjs/runtimeConfig.native.js +1 -1
  166. package/dist-cjs/waiters/waitForInstanceProfileExists.js +3 -3
  167. package/dist-cjs/waiters/waitForPolicyExists.js +3 -3
  168. package/dist-cjs/waiters/waitForRoleExists.js +3 -3
  169. package/dist-cjs/waiters/waitForUserExists.js +3 -3
  170. package/dist-es/IAM.js +158 -158
  171. package/dist-es/pagination/GetAccountAuthorizationDetailsPaginator.js +4 -4
  172. package/dist-es/pagination/GetGroupPaginator.js +4 -4
  173. package/dist-es/pagination/ListAccessKeysPaginator.js +4 -4
  174. package/dist-es/pagination/ListAccountAliasesPaginator.js +4 -4
  175. package/dist-es/pagination/ListAttachedGroupPoliciesPaginator.js +4 -4
  176. package/dist-es/pagination/ListAttachedRolePoliciesPaginator.js +4 -4
  177. package/dist-es/pagination/ListAttachedUserPoliciesPaginator.js +4 -4
  178. package/dist-es/pagination/ListEntitiesForPolicyPaginator.js +4 -4
  179. package/dist-es/pagination/ListGroupPoliciesPaginator.js +4 -4
  180. package/dist-es/pagination/ListGroupsForUserPaginator.js +4 -4
  181. package/dist-es/pagination/ListGroupsPaginator.js +4 -4
  182. package/dist-es/pagination/ListInstanceProfilesForRolePaginator.js +4 -4
  183. package/dist-es/pagination/ListInstanceProfilesPaginator.js +4 -4
  184. package/dist-es/pagination/ListMFADevicesPaginator.js +4 -4
  185. package/dist-es/pagination/ListPoliciesPaginator.js +4 -4
  186. package/dist-es/pagination/ListPolicyVersionsPaginator.js +4 -4
  187. package/dist-es/pagination/ListRolePoliciesPaginator.js +4 -4
  188. package/dist-es/pagination/ListRolesPaginator.js +4 -4
  189. package/dist-es/pagination/ListSSHPublicKeysPaginator.js +4 -4
  190. package/dist-es/pagination/ListServerCertificatesPaginator.js +4 -4
  191. package/dist-es/pagination/ListSigningCertificatesPaginator.js +4 -4
  192. package/dist-es/pagination/ListUserPoliciesPaginator.js +4 -4
  193. package/dist-es/pagination/ListUserTagsPaginator.js +4 -4
  194. package/dist-es/pagination/ListUsersPaginator.js +4 -4
  195. package/dist-es/pagination/ListVirtualMFADevicesPaginator.js +4 -4
  196. package/dist-es/pagination/SimulateCustomPolicyPaginator.js +4 -4
  197. package/dist-es/pagination/SimulatePrincipalPolicyPaginator.js +4 -4
  198. package/dist-es/protocols/Aws_query.js +53 -53
  199. package/dist-types/runtimeConfig.native.d.ts +2 -2
  200. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  201. package/package.json +35 -35
@@ -2097,7 +2097,7 @@ const deserializeAws_queryAddClientIDToOpenIDConnectProviderCommandError = async
2097
2097
  $fault: "client",
2098
2098
  $metadata: deserializeMetadata(output),
2099
2099
  });
2100
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2100
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2101
2101
  }
2102
2102
  };
2103
2103
  const deserializeAws_queryAddRoleToInstanceProfileCommand = async (output, context) => {
@@ -2142,7 +2142,7 @@ const deserializeAws_queryAddRoleToInstanceProfileCommandError = async (output,
2142
2142
  $fault: "client",
2143
2143
  $metadata: deserializeMetadata(output),
2144
2144
  });
2145
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2145
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2146
2146
  }
2147
2147
  };
2148
2148
  const deserializeAws_queryAddUserToGroupCommand = async (output, context) => {
@@ -2181,7 +2181,7 @@ const deserializeAws_queryAddUserToGroupCommandError = async (output, context) =
2181
2181
  $fault: "client",
2182
2182
  $metadata: deserializeMetadata(output),
2183
2183
  });
2184
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2184
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2185
2185
  }
2186
2186
  };
2187
2187
  const deserializeAws_queryAttachGroupPolicyCommand = async (output, context) => {
@@ -2226,7 +2226,7 @@ const deserializeAws_queryAttachGroupPolicyCommandError = async (output, context
2226
2226
  $fault: "client",
2227
2227
  $metadata: deserializeMetadata(output),
2228
2228
  });
2229
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2229
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2230
2230
  }
2231
2231
  };
2232
2232
  const deserializeAws_queryAttachRolePolicyCommand = async (output, context) => {
@@ -2274,7 +2274,7 @@ const deserializeAws_queryAttachRolePolicyCommandError = async (output, context)
2274
2274
  $fault: "client",
2275
2275
  $metadata: deserializeMetadata(output),
2276
2276
  });
2277
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2277
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2278
2278
  }
2279
2279
  };
2280
2280
  const deserializeAws_queryAttachUserPolicyCommand = async (output, context) => {
@@ -2319,7 +2319,7 @@ const deserializeAws_queryAttachUserPolicyCommandError = async (output, context)
2319
2319
  $fault: "client",
2320
2320
  $metadata: deserializeMetadata(output),
2321
2321
  });
2322
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2322
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2323
2323
  }
2324
2324
  };
2325
2325
  const deserializeAws_queryChangePasswordCommand = async (output, context) => {
@@ -2367,7 +2367,7 @@ const deserializeAws_queryChangePasswordCommandError = async (output, context) =
2367
2367
  $fault: "client",
2368
2368
  $metadata: deserializeMetadata(output),
2369
2369
  });
2370
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2370
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2371
2371
  }
2372
2372
  };
2373
2373
  const deserializeAws_queryCreateAccessKeyCommand = async (output, context) => {
@@ -2409,7 +2409,7 @@ const deserializeAws_queryCreateAccessKeyCommandError = async (output, context)
2409
2409
  $fault: "client",
2410
2410
  $metadata: deserializeMetadata(output),
2411
2411
  });
2412
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2412
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2413
2413
  }
2414
2414
  };
2415
2415
  const deserializeAws_queryCreateAccountAliasCommand = async (output, context) => {
@@ -2448,7 +2448,7 @@ const deserializeAws_queryCreateAccountAliasCommandError = async (output, contex
2448
2448
  $fault: "client",
2449
2449
  $metadata: deserializeMetadata(output),
2450
2450
  });
2451
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2451
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2452
2452
  }
2453
2453
  };
2454
2454
  const deserializeAws_queryCreateGroupCommand = async (output, context) => {
@@ -2493,7 +2493,7 @@ const deserializeAws_queryCreateGroupCommandError = async (output, context) => {
2493
2493
  $fault: "client",
2494
2494
  $metadata: deserializeMetadata(output),
2495
2495
  });
2496
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2496
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2497
2497
  }
2498
2498
  };
2499
2499
  const deserializeAws_queryCreateInstanceProfileCommand = async (output, context) => {
@@ -2541,7 +2541,7 @@ const deserializeAws_queryCreateInstanceProfileCommandError = async (output, con
2541
2541
  $fault: "client",
2542
2542
  $metadata: deserializeMetadata(output),
2543
2543
  });
2544
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2544
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2545
2545
  }
2546
2546
  };
2547
2547
  const deserializeAws_queryCreateLoginProfileCommand = async (output, context) => {
@@ -2589,7 +2589,7 @@ const deserializeAws_queryCreateLoginProfileCommandError = async (output, contex
2589
2589
  $fault: "client",
2590
2590
  $metadata: deserializeMetadata(output),
2591
2591
  });
2592
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2592
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2593
2593
  }
2594
2594
  };
2595
2595
  const deserializeAws_queryCreateOpenIDConnectProviderCommand = async (output, context) => {
@@ -2637,7 +2637,7 @@ const deserializeAws_queryCreateOpenIDConnectProviderCommandError = async (outpu
2637
2637
  $fault: "client",
2638
2638
  $metadata: deserializeMetadata(output),
2639
2639
  });
2640
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2640
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2641
2641
  }
2642
2642
  };
2643
2643
  const deserializeAws_queryCreatePolicyCommand = async (output, context) => {
@@ -2688,7 +2688,7 @@ const deserializeAws_queryCreatePolicyCommandError = async (output, context) =>
2688
2688
  $fault: "client",
2689
2689
  $metadata: deserializeMetadata(output),
2690
2690
  });
2691
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2691
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2692
2692
  }
2693
2693
  };
2694
2694
  const deserializeAws_queryCreatePolicyVersionCommand = async (output, context) => {
@@ -2736,7 +2736,7 @@ const deserializeAws_queryCreatePolicyVersionCommandError = async (output, conte
2736
2736
  $fault: "client",
2737
2737
  $metadata: deserializeMetadata(output),
2738
2738
  });
2739
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2739
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2740
2740
  }
2741
2741
  };
2742
2742
  const deserializeAws_queryCreateRoleCommand = async (output, context) => {
@@ -2787,7 +2787,7 @@ const deserializeAws_queryCreateRoleCommandError = async (output, context) => {
2787
2787
  $fault: "client",
2788
2788
  $metadata: deserializeMetadata(output),
2789
2789
  });
2790
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2790
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2791
2791
  }
2792
2792
  };
2793
2793
  const deserializeAws_queryCreateSAMLProviderCommand = async (output, context) => {
@@ -2835,7 +2835,7 @@ const deserializeAws_queryCreateSAMLProviderCommandError = async (output, contex
2835
2835
  $fault: "client",
2836
2836
  $metadata: deserializeMetadata(output),
2837
2837
  });
2838
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2838
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2839
2839
  }
2840
2840
  };
2841
2841
  const deserializeAws_queryCreateServiceLinkedRoleCommand = async (output, context) => {
@@ -2880,7 +2880,7 @@ const deserializeAws_queryCreateServiceLinkedRoleCommandError = async (output, c
2880
2880
  $fault: "client",
2881
2881
  $metadata: deserializeMetadata(output),
2882
2882
  });
2883
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2883
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2884
2884
  }
2885
2885
  };
2886
2886
  const deserializeAws_queryCreateServiceSpecificCredentialCommand = async (output, context) => {
@@ -2922,7 +2922,7 @@ const deserializeAws_queryCreateServiceSpecificCredentialCommandError = async (o
2922
2922
  $fault: "client",
2923
2923
  $metadata: deserializeMetadata(output),
2924
2924
  });
2925
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2925
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2926
2926
  }
2927
2927
  };
2928
2928
  const deserializeAws_queryCreateUserCommand = async (output, context) => {
@@ -2973,7 +2973,7 @@ const deserializeAws_queryCreateUserCommandError = async (output, context) => {
2973
2973
  $fault: "client",
2974
2974
  $metadata: deserializeMetadata(output),
2975
2975
  });
2976
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
2976
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
2977
2977
  }
2978
2978
  };
2979
2979
  const deserializeAws_queryCreateVirtualMFADeviceCommand = async (output, context) => {
@@ -3021,7 +3021,7 @@ const deserializeAws_queryCreateVirtualMFADeviceCommandError = async (output, co
3021
3021
  $fault: "client",
3022
3022
  $metadata: deserializeMetadata(output),
3023
3023
  });
3024
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3024
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3025
3025
  }
3026
3026
  };
3027
3027
  const deserializeAws_queryDeactivateMFADeviceCommand = async (output, context) => {
@@ -3063,7 +3063,7 @@ const deserializeAws_queryDeactivateMFADeviceCommandError = async (output, conte
3063
3063
  $fault: "client",
3064
3064
  $metadata: deserializeMetadata(output),
3065
3065
  });
3066
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3066
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3067
3067
  }
3068
3068
  };
3069
3069
  const deserializeAws_queryDeleteAccessKeyCommand = async (output, context) => {
@@ -3102,7 +3102,7 @@ const deserializeAws_queryDeleteAccessKeyCommandError = async (output, context)
3102
3102
  $fault: "client",
3103
3103
  $metadata: deserializeMetadata(output),
3104
3104
  });
3105
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3105
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3106
3106
  }
3107
3107
  };
3108
3108
  const deserializeAws_queryDeleteAccountAliasCommand = async (output, context) => {
@@ -3141,7 +3141,7 @@ const deserializeAws_queryDeleteAccountAliasCommandError = async (output, contex
3141
3141
  $fault: "client",
3142
3142
  $metadata: deserializeMetadata(output),
3143
3143
  });
3144
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3144
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3145
3145
  }
3146
3146
  };
3147
3147
  const deserializeAws_queryDeleteAccountPasswordPolicyCommand = async (output, context) => {
@@ -3180,7 +3180,7 @@ const deserializeAws_queryDeleteAccountPasswordPolicyCommandError = async (outpu
3180
3180
  $fault: "client",
3181
3181
  $metadata: deserializeMetadata(output),
3182
3182
  });
3183
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3183
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3184
3184
  }
3185
3185
  };
3186
3186
  const deserializeAws_queryDeleteGroupCommand = async (output, context) => {
@@ -3222,7 +3222,7 @@ const deserializeAws_queryDeleteGroupCommandError = async (output, context) => {
3222
3222
  $fault: "client",
3223
3223
  $metadata: deserializeMetadata(output),
3224
3224
  });
3225
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3225
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3226
3226
  }
3227
3227
  };
3228
3228
  const deserializeAws_queryDeleteGroupPolicyCommand = async (output, context) => {
@@ -3261,7 +3261,7 @@ const deserializeAws_queryDeleteGroupPolicyCommandError = async (output, context
3261
3261
  $fault: "client",
3262
3262
  $metadata: deserializeMetadata(output),
3263
3263
  });
3264
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3264
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3265
3265
  }
3266
3266
  };
3267
3267
  const deserializeAws_queryDeleteInstanceProfileCommand = async (output, context) => {
@@ -3303,7 +3303,7 @@ const deserializeAws_queryDeleteInstanceProfileCommandError = async (output, con
3303
3303
  $fault: "client",
3304
3304
  $metadata: deserializeMetadata(output),
3305
3305
  });
3306
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3306
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3307
3307
  }
3308
3308
  };
3309
3309
  const deserializeAws_queryDeleteLoginProfileCommand = async (output, context) => {
@@ -3345,7 +3345,7 @@ const deserializeAws_queryDeleteLoginProfileCommandError = async (output, contex
3345
3345
  $fault: "client",
3346
3346
  $metadata: deserializeMetadata(output),
3347
3347
  });
3348
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3348
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3349
3349
  }
3350
3350
  };
3351
3351
  const deserializeAws_queryDeleteOpenIDConnectProviderCommand = async (output, context) => {
@@ -3384,7 +3384,7 @@ const deserializeAws_queryDeleteOpenIDConnectProviderCommandError = async (outpu
3384
3384
  $fault: "client",
3385
3385
  $metadata: deserializeMetadata(output),
3386
3386
  });
3387
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3387
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3388
3388
  }
3389
3389
  };
3390
3390
  const deserializeAws_queryDeletePolicyCommand = async (output, context) => {
@@ -3429,7 +3429,7 @@ const deserializeAws_queryDeletePolicyCommandError = async (output, context) =>
3429
3429
  $fault: "client",
3430
3430
  $metadata: deserializeMetadata(output),
3431
3431
  });
3432
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3432
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3433
3433
  }
3434
3434
  };
3435
3435
  const deserializeAws_queryDeletePolicyVersionCommand = async (output, context) => {
@@ -3474,7 +3474,7 @@ const deserializeAws_queryDeletePolicyVersionCommandError = async (output, conte
3474
3474
  $fault: "client",
3475
3475
  $metadata: deserializeMetadata(output),
3476
3476
  });
3477
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3477
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3478
3478
  }
3479
3479
  };
3480
3480
  const deserializeAws_queryDeleteRoleCommand = async (output, context) => {
@@ -3522,7 +3522,7 @@ const deserializeAws_queryDeleteRoleCommandError = async (output, context) => {
3522
3522
  $fault: "client",
3523
3523
  $metadata: deserializeMetadata(output),
3524
3524
  });
3525
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3525
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3526
3526
  }
3527
3527
  };
3528
3528
  const deserializeAws_queryDeleteRolePermissionsBoundaryCommand = async (output, context) => {
@@ -3561,7 +3561,7 @@ const deserializeAws_queryDeleteRolePermissionsBoundaryCommandError = async (out
3561
3561
  $fault: "client",
3562
3562
  $metadata: deserializeMetadata(output),
3563
3563
  });
3564
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3564
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3565
3565
  }
3566
3566
  };
3567
3567
  const deserializeAws_queryDeleteRolePolicyCommand = async (output, context) => {
@@ -3603,7 +3603,7 @@ const deserializeAws_queryDeleteRolePolicyCommandError = async (output, context)
3603
3603
  $fault: "client",
3604
3604
  $metadata: deserializeMetadata(output),
3605
3605
  });
3606
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3606
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3607
3607
  }
3608
3608
  };
3609
3609
  const deserializeAws_queryDeleteSAMLProviderCommand = async (output, context) => {
@@ -3645,7 +3645,7 @@ const deserializeAws_queryDeleteSAMLProviderCommandError = async (output, contex
3645
3645
  $fault: "client",
3646
3646
  $metadata: deserializeMetadata(output),
3647
3647
  });
3648
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3648
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3649
3649
  }
3650
3650
  };
3651
3651
  const deserializeAws_queryDeleteServerCertificateCommand = async (output, context) => {
@@ -3687,7 +3687,7 @@ const deserializeAws_queryDeleteServerCertificateCommandError = async (output, c
3687
3687
  $fault: "client",
3688
3688
  $metadata: deserializeMetadata(output),
3689
3689
  });
3690
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3690
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3691
3691
  }
3692
3692
  };
3693
3693
  const deserializeAws_queryDeleteServiceLinkedRoleCommand = async (output, context) => {
@@ -3729,7 +3729,7 @@ const deserializeAws_queryDeleteServiceLinkedRoleCommandError = async (output, c
3729
3729
  $fault: "client",
3730
3730
  $metadata: deserializeMetadata(output),
3731
3731
  });
3732
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3732
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3733
3733
  }
3734
3734
  };
3735
3735
  const deserializeAws_queryDeleteServiceSpecificCredentialCommand = async (output, context) => {
@@ -3762,7 +3762,7 @@ const deserializeAws_queryDeleteServiceSpecificCredentialCommandError = async (o
3762
3762
  $fault: "client",
3763
3763
  $metadata: deserializeMetadata(output),
3764
3764
  });
3765
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3765
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3766
3766
  }
3767
3767
  };
3768
3768
  const deserializeAws_queryDeleteSigningCertificateCommand = async (output, context) => {
@@ -3801,7 +3801,7 @@ const deserializeAws_queryDeleteSigningCertificateCommandError = async (output,
3801
3801
  $fault: "client",
3802
3802
  $metadata: deserializeMetadata(output),
3803
3803
  });
3804
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3804
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3805
3805
  }
3806
3806
  };
3807
3807
  const deserializeAws_queryDeleteSSHPublicKeyCommand = async (output, context) => {
@@ -3834,7 +3834,7 @@ const deserializeAws_queryDeleteSSHPublicKeyCommandError = async (output, contex
3834
3834
  $fault: "client",
3835
3835
  $metadata: deserializeMetadata(output),
3836
3836
  });
3837
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3837
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3838
3838
  }
3839
3839
  };
3840
3840
  const deserializeAws_queryDeleteUserCommand = async (output, context) => {
@@ -3879,7 +3879,7 @@ const deserializeAws_queryDeleteUserCommandError = async (output, context) => {
3879
3879
  $fault: "client",
3880
3880
  $metadata: deserializeMetadata(output),
3881
3881
  });
3882
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3882
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3883
3883
  }
3884
3884
  };
3885
3885
  const deserializeAws_queryDeleteUserPermissionsBoundaryCommand = async (output, context) => {
@@ -3915,7 +3915,7 @@ const deserializeAws_queryDeleteUserPermissionsBoundaryCommandError = async (out
3915
3915
  $fault: "client",
3916
3916
  $metadata: deserializeMetadata(output),
3917
3917
  });
3918
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3918
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3919
3919
  }
3920
3920
  };
3921
3921
  const deserializeAws_queryDeleteUserPolicyCommand = async (output, context) => {
@@ -3954,7 +3954,7 @@ const deserializeAws_queryDeleteUserPolicyCommandError = async (output, context)
3954
3954
  $fault: "client",
3955
3955
  $metadata: deserializeMetadata(output),
3956
3956
  });
3957
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3957
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
3958
3958
  }
3959
3959
  };
3960
3960
  const deserializeAws_queryDeleteVirtualMFADeviceCommand = async (output, context) => {
@@ -3996,7 +3996,7 @@ const deserializeAws_queryDeleteVirtualMFADeviceCommandError = async (output, co
3996
3996
  $fault: "client",
3997
3997
  $metadata: deserializeMetadata(output),
3998
3998
  });
3999
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
3999
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4000
4000
  }
4001
4001
  };
4002
4002
  const deserializeAws_queryDetachGroupPolicyCommand = async (output, context) => {
@@ -4038,7 +4038,7 @@ const deserializeAws_queryDetachGroupPolicyCommandError = async (output, context
4038
4038
  $fault: "client",
4039
4039
  $metadata: deserializeMetadata(output),
4040
4040
  });
4041
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4041
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4042
4042
  }
4043
4043
  };
4044
4044
  const deserializeAws_queryDetachRolePolicyCommand = async (output, context) => {
@@ -4083,7 +4083,7 @@ const deserializeAws_queryDetachRolePolicyCommandError = async (output, context)
4083
4083
  $fault: "client",
4084
4084
  $metadata: deserializeMetadata(output),
4085
4085
  });
4086
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4086
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4087
4087
  }
4088
4088
  };
4089
4089
  const deserializeAws_queryDetachUserPolicyCommand = async (output, context) => {
@@ -4125,7 +4125,7 @@ const deserializeAws_queryDetachUserPolicyCommandError = async (output, context)
4125
4125
  $fault: "client",
4126
4126
  $metadata: deserializeMetadata(output),
4127
4127
  });
4128
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4128
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4129
4129
  }
4130
4130
  };
4131
4131
  const deserializeAws_queryEnableMFADeviceCommand = async (output, context) => {
@@ -4173,7 +4173,7 @@ const deserializeAws_queryEnableMFADeviceCommandError = async (output, context)
4173
4173
  $fault: "client",
4174
4174
  $metadata: deserializeMetadata(output),
4175
4175
  });
4176
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4176
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4177
4177
  }
4178
4178
  };
4179
4179
  const deserializeAws_queryGenerateCredentialReportCommand = async (output, context) => {
@@ -4212,7 +4212,7 @@ const deserializeAws_queryGenerateCredentialReportCommandError = async (output,
4212
4212
  $fault: "client",
4213
4213
  $metadata: deserializeMetadata(output),
4214
4214
  });
4215
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4215
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4216
4216
  }
4217
4217
  };
4218
4218
  const deserializeAws_queryGenerateOrganizationsAccessReportCommand = async (output, context) => {
@@ -4248,7 +4248,7 @@ const deserializeAws_queryGenerateOrganizationsAccessReportCommandError = async
4248
4248
  $fault: "client",
4249
4249
  $metadata: deserializeMetadata(output),
4250
4250
  });
4251
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4251
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4252
4252
  }
4253
4253
  };
4254
4254
  const deserializeAws_queryGenerateServiceLastAccessedDetailsCommand = async (output, context) => {
@@ -4287,7 +4287,7 @@ const deserializeAws_queryGenerateServiceLastAccessedDetailsCommandError = async
4287
4287
  $fault: "client",
4288
4288
  $metadata: deserializeMetadata(output),
4289
4289
  });
4290
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4290
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4291
4291
  }
4292
4292
  };
4293
4293
  const deserializeAws_queryGetAccessKeyLastUsedCommand = async (output, context) => {
@@ -4323,7 +4323,7 @@ const deserializeAws_queryGetAccessKeyLastUsedCommandError = async (output, cont
4323
4323
  $fault: "client",
4324
4324
  $metadata: deserializeMetadata(output),
4325
4325
  });
4326
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4326
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4327
4327
  }
4328
4328
  };
4329
4329
  const deserializeAws_queryGetAccountAuthorizationDetailsCommand = async (output, context) => {
@@ -4359,7 +4359,7 @@ const deserializeAws_queryGetAccountAuthorizationDetailsCommandError = async (ou
4359
4359
  $fault: "client",
4360
4360
  $metadata: deserializeMetadata(output),
4361
4361
  });
4362
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4362
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4363
4363
  }
4364
4364
  };
4365
4365
  const deserializeAws_queryGetAccountPasswordPolicyCommand = async (output, context) => {
@@ -4398,7 +4398,7 @@ const deserializeAws_queryGetAccountPasswordPolicyCommandError = async (output,
4398
4398
  $fault: "client",
4399
4399
  $metadata: deserializeMetadata(output),
4400
4400
  });
4401
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4401
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4402
4402
  }
4403
4403
  };
4404
4404
  const deserializeAws_queryGetAccountSummaryCommand = async (output, context) => {
@@ -4434,7 +4434,7 @@ const deserializeAws_queryGetAccountSummaryCommandError = async (output, context
4434
4434
  $fault: "client",
4435
4435
  $metadata: deserializeMetadata(output),
4436
4436
  });
4437
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4437
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4438
4438
  }
4439
4439
  };
4440
4440
  const deserializeAws_queryGetContextKeysForCustomPolicyCommand = async (output, context) => {
@@ -4470,7 +4470,7 @@ const deserializeAws_queryGetContextKeysForCustomPolicyCommandError = async (out
4470
4470
  $fault: "client",
4471
4471
  $metadata: deserializeMetadata(output),
4472
4472
  });
4473
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4473
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4474
4474
  }
4475
4475
  };
4476
4476
  const deserializeAws_queryGetContextKeysForPrincipalPolicyCommand = async (output, context) => {
@@ -4509,7 +4509,7 @@ const deserializeAws_queryGetContextKeysForPrincipalPolicyCommandError = async (
4509
4509
  $fault: "client",
4510
4510
  $metadata: deserializeMetadata(output),
4511
4511
  });
4512
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4512
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4513
4513
  }
4514
4514
  };
4515
4515
  const deserializeAws_queryGetCredentialReportCommand = async (output, context) => {
@@ -4554,7 +4554,7 @@ const deserializeAws_queryGetCredentialReportCommandError = async (output, conte
4554
4554
  $fault: "client",
4555
4555
  $metadata: deserializeMetadata(output),
4556
4556
  });
4557
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4557
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4558
4558
  }
4559
4559
  };
4560
4560
  const deserializeAws_queryGetGroupCommand = async (output, context) => {
@@ -4593,7 +4593,7 @@ const deserializeAws_queryGetGroupCommandError = async (output, context) => {
4593
4593
  $fault: "client",
4594
4594
  $metadata: deserializeMetadata(output),
4595
4595
  });
4596
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4596
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4597
4597
  }
4598
4598
  };
4599
4599
  const deserializeAws_queryGetGroupPolicyCommand = async (output, context) => {
@@ -4632,7 +4632,7 @@ const deserializeAws_queryGetGroupPolicyCommandError = async (output, context) =
4632
4632
  $fault: "client",
4633
4633
  $metadata: deserializeMetadata(output),
4634
4634
  });
4635
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4635
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4636
4636
  }
4637
4637
  };
4638
4638
  const deserializeAws_queryGetInstanceProfileCommand = async (output, context) => {
@@ -4671,7 +4671,7 @@ const deserializeAws_queryGetInstanceProfileCommandError = async (output, contex
4671
4671
  $fault: "client",
4672
4672
  $metadata: deserializeMetadata(output),
4673
4673
  });
4674
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4674
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4675
4675
  }
4676
4676
  };
4677
4677
  const deserializeAws_queryGetLoginProfileCommand = async (output, context) => {
@@ -4710,7 +4710,7 @@ const deserializeAws_queryGetLoginProfileCommandError = async (output, context)
4710
4710
  $fault: "client",
4711
4711
  $metadata: deserializeMetadata(output),
4712
4712
  });
4713
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4713
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4714
4714
  }
4715
4715
  };
4716
4716
  const deserializeAws_queryGetOpenIDConnectProviderCommand = async (output, context) => {
@@ -4752,7 +4752,7 @@ const deserializeAws_queryGetOpenIDConnectProviderCommandError = async (output,
4752
4752
  $fault: "client",
4753
4753
  $metadata: deserializeMetadata(output),
4754
4754
  });
4755
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4755
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4756
4756
  }
4757
4757
  };
4758
4758
  const deserializeAws_queryGetOrganizationsAccessReportCommand = async (output, context) => {
@@ -4788,7 +4788,7 @@ const deserializeAws_queryGetOrganizationsAccessReportCommandError = async (outp
4788
4788
  $fault: "client",
4789
4789
  $metadata: deserializeMetadata(output),
4790
4790
  });
4791
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4791
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4792
4792
  }
4793
4793
  };
4794
4794
  const deserializeAws_queryGetPolicyCommand = async (output, context) => {
@@ -4830,7 +4830,7 @@ const deserializeAws_queryGetPolicyCommandError = async (output, context) => {
4830
4830
  $fault: "client",
4831
4831
  $metadata: deserializeMetadata(output),
4832
4832
  });
4833
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4833
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4834
4834
  }
4835
4835
  };
4836
4836
  const deserializeAws_queryGetPolicyVersionCommand = async (output, context) => {
@@ -4872,7 +4872,7 @@ const deserializeAws_queryGetPolicyVersionCommandError = async (output, context)
4872
4872
  $fault: "client",
4873
4873
  $metadata: deserializeMetadata(output),
4874
4874
  });
4875
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4875
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4876
4876
  }
4877
4877
  };
4878
4878
  const deserializeAws_queryGetRoleCommand = async (output, context) => {
@@ -4911,7 +4911,7 @@ const deserializeAws_queryGetRoleCommandError = async (output, context) => {
4911
4911
  $fault: "client",
4912
4912
  $metadata: deserializeMetadata(output),
4913
4913
  });
4914
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4914
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4915
4915
  }
4916
4916
  };
4917
4917
  const deserializeAws_queryGetRolePolicyCommand = async (output, context) => {
@@ -4950,7 +4950,7 @@ const deserializeAws_queryGetRolePolicyCommandError = async (output, context) =>
4950
4950
  $fault: "client",
4951
4951
  $metadata: deserializeMetadata(output),
4952
4952
  });
4953
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4953
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4954
4954
  }
4955
4955
  };
4956
4956
  const deserializeAws_queryGetSAMLProviderCommand = async (output, context) => {
@@ -4992,7 +4992,7 @@ const deserializeAws_queryGetSAMLProviderCommandError = async (output, context)
4992
4992
  $fault: "client",
4993
4993
  $metadata: deserializeMetadata(output),
4994
4994
  });
4995
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
4995
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
4996
4996
  }
4997
4997
  };
4998
4998
  const deserializeAws_queryGetServerCertificateCommand = async (output, context) => {
@@ -5031,7 +5031,7 @@ const deserializeAws_queryGetServerCertificateCommandError = async (output, cont
5031
5031
  $fault: "client",
5032
5032
  $metadata: deserializeMetadata(output),
5033
5033
  });
5034
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5034
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5035
5035
  }
5036
5036
  };
5037
5037
  const deserializeAws_queryGetServiceLastAccessedDetailsCommand = async (output, context) => {
@@ -5070,7 +5070,7 @@ const deserializeAws_queryGetServiceLastAccessedDetailsCommandError = async (out
5070
5070
  $fault: "client",
5071
5071
  $metadata: deserializeMetadata(output),
5072
5072
  });
5073
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5073
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5074
5074
  }
5075
5075
  };
5076
5076
  const deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesCommand = async (output, context) => {
@@ -5109,7 +5109,7 @@ const deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesCommandError
5109
5109
  $fault: "client",
5110
5110
  $metadata: deserializeMetadata(output),
5111
5111
  });
5112
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5112
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5113
5113
  }
5114
5114
  };
5115
5115
  const deserializeAws_queryGetServiceLinkedRoleDeletionStatusCommand = async (output, context) => {
@@ -5151,7 +5151,7 @@ const deserializeAws_queryGetServiceLinkedRoleDeletionStatusCommandError = async
5151
5151
  $fault: "client",
5152
5152
  $metadata: deserializeMetadata(output),
5153
5153
  });
5154
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5154
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5155
5155
  }
5156
5156
  };
5157
5157
  const deserializeAws_queryGetSSHPublicKeyCommand = async (output, context) => {
@@ -5190,7 +5190,7 @@ const deserializeAws_queryGetSSHPublicKeyCommandError = async (output, context)
5190
5190
  $fault: "client",
5191
5191
  $metadata: deserializeMetadata(output),
5192
5192
  });
5193
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5193
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5194
5194
  }
5195
5195
  };
5196
5196
  const deserializeAws_queryGetUserCommand = async (output, context) => {
@@ -5229,7 +5229,7 @@ const deserializeAws_queryGetUserCommandError = async (output, context) => {
5229
5229
  $fault: "client",
5230
5230
  $metadata: deserializeMetadata(output),
5231
5231
  });
5232
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5232
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5233
5233
  }
5234
5234
  };
5235
5235
  const deserializeAws_queryGetUserPolicyCommand = async (output, context) => {
@@ -5268,7 +5268,7 @@ const deserializeAws_queryGetUserPolicyCommandError = async (output, context) =>
5268
5268
  $fault: "client",
5269
5269
  $metadata: deserializeMetadata(output),
5270
5270
  });
5271
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5271
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5272
5272
  }
5273
5273
  };
5274
5274
  const deserializeAws_queryListAccessKeysCommand = async (output, context) => {
@@ -5307,7 +5307,7 @@ const deserializeAws_queryListAccessKeysCommandError = async (output, context) =
5307
5307
  $fault: "client",
5308
5308
  $metadata: deserializeMetadata(output),
5309
5309
  });
5310
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5310
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5311
5311
  }
5312
5312
  };
5313
5313
  const deserializeAws_queryListAccountAliasesCommand = async (output, context) => {
@@ -5343,7 +5343,7 @@ const deserializeAws_queryListAccountAliasesCommandError = async (output, contex
5343
5343
  $fault: "client",
5344
5344
  $metadata: deserializeMetadata(output),
5345
5345
  });
5346
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5346
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5347
5347
  }
5348
5348
  };
5349
5349
  const deserializeAws_queryListAttachedGroupPoliciesCommand = async (output, context) => {
@@ -5385,7 +5385,7 @@ const deserializeAws_queryListAttachedGroupPoliciesCommandError = async (output,
5385
5385
  $fault: "client",
5386
5386
  $metadata: deserializeMetadata(output),
5387
5387
  });
5388
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5388
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5389
5389
  }
5390
5390
  };
5391
5391
  const deserializeAws_queryListAttachedRolePoliciesCommand = async (output, context) => {
@@ -5427,7 +5427,7 @@ const deserializeAws_queryListAttachedRolePoliciesCommandError = async (output,
5427
5427
  $fault: "client",
5428
5428
  $metadata: deserializeMetadata(output),
5429
5429
  });
5430
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5430
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5431
5431
  }
5432
5432
  };
5433
5433
  const deserializeAws_queryListAttachedUserPoliciesCommand = async (output, context) => {
@@ -5469,7 +5469,7 @@ const deserializeAws_queryListAttachedUserPoliciesCommandError = async (output,
5469
5469
  $fault: "client",
5470
5470
  $metadata: deserializeMetadata(output),
5471
5471
  });
5472
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5472
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5473
5473
  }
5474
5474
  };
5475
5475
  const deserializeAws_queryListEntitiesForPolicyCommand = async (output, context) => {
@@ -5511,7 +5511,7 @@ const deserializeAws_queryListEntitiesForPolicyCommandError = async (output, con
5511
5511
  $fault: "client",
5512
5512
  $metadata: deserializeMetadata(output),
5513
5513
  });
5514
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5514
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5515
5515
  }
5516
5516
  };
5517
5517
  const deserializeAws_queryListGroupPoliciesCommand = async (output, context) => {
@@ -5550,7 +5550,7 @@ const deserializeAws_queryListGroupPoliciesCommandError = async (output, context
5550
5550
  $fault: "client",
5551
5551
  $metadata: deserializeMetadata(output),
5552
5552
  });
5553
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5553
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5554
5554
  }
5555
5555
  };
5556
5556
  const deserializeAws_queryListGroupsCommand = async (output, context) => {
@@ -5586,7 +5586,7 @@ const deserializeAws_queryListGroupsCommandError = async (output, context) => {
5586
5586
  $fault: "client",
5587
5587
  $metadata: deserializeMetadata(output),
5588
5588
  });
5589
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5589
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5590
5590
  }
5591
5591
  };
5592
5592
  const deserializeAws_queryListGroupsForUserCommand = async (output, context) => {
@@ -5625,7 +5625,7 @@ const deserializeAws_queryListGroupsForUserCommandError = async (output, context
5625
5625
  $fault: "client",
5626
5626
  $metadata: deserializeMetadata(output),
5627
5627
  });
5628
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5628
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5629
5629
  }
5630
5630
  };
5631
5631
  const deserializeAws_queryListInstanceProfilesCommand = async (output, context) => {
@@ -5661,7 +5661,7 @@ const deserializeAws_queryListInstanceProfilesCommandError = async (output, cont
5661
5661
  $fault: "client",
5662
5662
  $metadata: deserializeMetadata(output),
5663
5663
  });
5664
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5664
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5665
5665
  }
5666
5666
  };
5667
5667
  const deserializeAws_queryListInstanceProfilesForRoleCommand = async (output, context) => {
@@ -5700,7 +5700,7 @@ const deserializeAws_queryListInstanceProfilesForRoleCommandError = async (outpu
5700
5700
  $fault: "client",
5701
5701
  $metadata: deserializeMetadata(output),
5702
5702
  });
5703
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5703
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5704
5704
  }
5705
5705
  };
5706
5706
  const deserializeAws_queryListInstanceProfileTagsCommand = async (output, context) => {
@@ -5739,7 +5739,7 @@ const deserializeAws_queryListInstanceProfileTagsCommandError = async (output, c
5739
5739
  $fault: "client",
5740
5740
  $metadata: deserializeMetadata(output),
5741
5741
  });
5742
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5742
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5743
5743
  }
5744
5744
  };
5745
5745
  const deserializeAws_queryListMFADevicesCommand = async (output, context) => {
@@ -5778,7 +5778,7 @@ const deserializeAws_queryListMFADevicesCommandError = async (output, context) =
5778
5778
  $fault: "client",
5779
5779
  $metadata: deserializeMetadata(output),
5780
5780
  });
5781
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5781
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5782
5782
  }
5783
5783
  };
5784
5784
  const deserializeAws_queryListMFADeviceTagsCommand = async (output, context) => {
@@ -5820,7 +5820,7 @@ const deserializeAws_queryListMFADeviceTagsCommandError = async (output, context
5820
5820
  $fault: "client",
5821
5821
  $metadata: deserializeMetadata(output),
5822
5822
  });
5823
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5823
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5824
5824
  }
5825
5825
  };
5826
5826
  const deserializeAws_queryListOpenIDConnectProvidersCommand = async (output, context) => {
@@ -5856,7 +5856,7 @@ const deserializeAws_queryListOpenIDConnectProvidersCommandError = async (output
5856
5856
  $fault: "client",
5857
5857
  $metadata: deserializeMetadata(output),
5858
5858
  });
5859
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5859
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5860
5860
  }
5861
5861
  };
5862
5862
  const deserializeAws_queryListOpenIDConnectProviderTagsCommand = async (output, context) => {
@@ -5898,7 +5898,7 @@ const deserializeAws_queryListOpenIDConnectProviderTagsCommandError = async (out
5898
5898
  $fault: "client",
5899
5899
  $metadata: deserializeMetadata(output),
5900
5900
  });
5901
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5901
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5902
5902
  }
5903
5903
  };
5904
5904
  const deserializeAws_queryListPoliciesCommand = async (output, context) => {
@@ -5934,7 +5934,7 @@ const deserializeAws_queryListPoliciesCommandError = async (output, context) =>
5934
5934
  $fault: "client",
5935
5935
  $metadata: deserializeMetadata(output),
5936
5936
  });
5937
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5937
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5938
5938
  }
5939
5939
  };
5940
5940
  const deserializeAws_queryListPoliciesGrantingServiceAccessCommand = async (output, context) => {
@@ -5973,7 +5973,7 @@ const deserializeAws_queryListPoliciesGrantingServiceAccessCommandError = async
5973
5973
  $fault: "client",
5974
5974
  $metadata: deserializeMetadata(output),
5975
5975
  });
5976
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
5976
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
5977
5977
  }
5978
5978
  };
5979
5979
  const deserializeAws_queryListPolicyTagsCommand = async (output, context) => {
@@ -6015,7 +6015,7 @@ const deserializeAws_queryListPolicyTagsCommandError = async (output, context) =
6015
6015
  $fault: "client",
6016
6016
  $metadata: deserializeMetadata(output),
6017
6017
  });
6018
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6018
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6019
6019
  }
6020
6020
  };
6021
6021
  const deserializeAws_queryListPolicyVersionsCommand = async (output, context) => {
@@ -6057,7 +6057,7 @@ const deserializeAws_queryListPolicyVersionsCommandError = async (output, contex
6057
6057
  $fault: "client",
6058
6058
  $metadata: deserializeMetadata(output),
6059
6059
  });
6060
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6060
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6061
6061
  }
6062
6062
  };
6063
6063
  const deserializeAws_queryListRolePoliciesCommand = async (output, context) => {
@@ -6096,7 +6096,7 @@ const deserializeAws_queryListRolePoliciesCommandError = async (output, context)
6096
6096
  $fault: "client",
6097
6097
  $metadata: deserializeMetadata(output),
6098
6098
  });
6099
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6099
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6100
6100
  }
6101
6101
  };
6102
6102
  const deserializeAws_queryListRolesCommand = async (output, context) => {
@@ -6132,7 +6132,7 @@ const deserializeAws_queryListRolesCommandError = async (output, context) => {
6132
6132
  $fault: "client",
6133
6133
  $metadata: deserializeMetadata(output),
6134
6134
  });
6135
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6135
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6136
6136
  }
6137
6137
  };
6138
6138
  const deserializeAws_queryListRoleTagsCommand = async (output, context) => {
@@ -6171,7 +6171,7 @@ const deserializeAws_queryListRoleTagsCommandError = async (output, context) =>
6171
6171
  $fault: "client",
6172
6172
  $metadata: deserializeMetadata(output),
6173
6173
  });
6174
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6174
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6175
6175
  }
6176
6176
  };
6177
6177
  const deserializeAws_queryListSAMLProvidersCommand = async (output, context) => {
@@ -6207,7 +6207,7 @@ const deserializeAws_queryListSAMLProvidersCommandError = async (output, context
6207
6207
  $fault: "client",
6208
6208
  $metadata: deserializeMetadata(output),
6209
6209
  });
6210
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6210
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6211
6211
  }
6212
6212
  };
6213
6213
  const deserializeAws_queryListSAMLProviderTagsCommand = async (output, context) => {
@@ -6249,7 +6249,7 @@ const deserializeAws_queryListSAMLProviderTagsCommandError = async (output, cont
6249
6249
  $fault: "client",
6250
6250
  $metadata: deserializeMetadata(output),
6251
6251
  });
6252
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6252
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6253
6253
  }
6254
6254
  };
6255
6255
  const deserializeAws_queryListServerCertificatesCommand = async (output, context) => {
@@ -6285,7 +6285,7 @@ const deserializeAws_queryListServerCertificatesCommandError = async (output, co
6285
6285
  $fault: "client",
6286
6286
  $metadata: deserializeMetadata(output),
6287
6287
  });
6288
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6288
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6289
6289
  }
6290
6290
  };
6291
6291
  const deserializeAws_queryListServerCertificateTagsCommand = async (output, context) => {
@@ -6324,7 +6324,7 @@ const deserializeAws_queryListServerCertificateTagsCommandError = async (output,
6324
6324
  $fault: "client",
6325
6325
  $metadata: deserializeMetadata(output),
6326
6326
  });
6327
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6327
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6328
6328
  }
6329
6329
  };
6330
6330
  const deserializeAws_queryListServiceSpecificCredentialsCommand = async (output, context) => {
@@ -6363,7 +6363,7 @@ const deserializeAws_queryListServiceSpecificCredentialsCommandError = async (ou
6363
6363
  $fault: "client",
6364
6364
  $metadata: deserializeMetadata(output),
6365
6365
  });
6366
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6366
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6367
6367
  }
6368
6368
  };
6369
6369
  const deserializeAws_queryListSigningCertificatesCommand = async (output, context) => {
@@ -6402,7 +6402,7 @@ const deserializeAws_queryListSigningCertificatesCommandError = async (output, c
6402
6402
  $fault: "client",
6403
6403
  $metadata: deserializeMetadata(output),
6404
6404
  });
6405
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6405
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6406
6406
  }
6407
6407
  };
6408
6408
  const deserializeAws_queryListSSHPublicKeysCommand = async (output, context) => {
@@ -6438,7 +6438,7 @@ const deserializeAws_queryListSSHPublicKeysCommandError = async (output, context
6438
6438
  $fault: "client",
6439
6439
  $metadata: deserializeMetadata(output),
6440
6440
  });
6441
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6441
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6442
6442
  }
6443
6443
  };
6444
6444
  const deserializeAws_queryListUserPoliciesCommand = async (output, context) => {
@@ -6477,7 +6477,7 @@ const deserializeAws_queryListUserPoliciesCommandError = async (output, context)
6477
6477
  $fault: "client",
6478
6478
  $metadata: deserializeMetadata(output),
6479
6479
  });
6480
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6480
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6481
6481
  }
6482
6482
  };
6483
6483
  const deserializeAws_queryListUsersCommand = async (output, context) => {
@@ -6513,7 +6513,7 @@ const deserializeAws_queryListUsersCommandError = async (output, context) => {
6513
6513
  $fault: "client",
6514
6514
  $metadata: deserializeMetadata(output),
6515
6515
  });
6516
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6516
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6517
6517
  }
6518
6518
  };
6519
6519
  const deserializeAws_queryListUserTagsCommand = async (output, context) => {
@@ -6552,7 +6552,7 @@ const deserializeAws_queryListUserTagsCommandError = async (output, context) =>
6552
6552
  $fault: "client",
6553
6553
  $metadata: deserializeMetadata(output),
6554
6554
  });
6555
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6555
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6556
6556
  }
6557
6557
  };
6558
6558
  const deserializeAws_queryListVirtualMFADevicesCommand = async (output, context) => {
@@ -6585,7 +6585,7 @@ const deserializeAws_queryListVirtualMFADevicesCommandError = async (output, con
6585
6585
  $fault: "client",
6586
6586
  $metadata: deserializeMetadata(output),
6587
6587
  });
6588
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6588
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6589
6589
  }
6590
6590
  };
6591
6591
  const deserializeAws_queryPutGroupPolicyCommand = async (output, context) => {
@@ -6627,7 +6627,7 @@ const deserializeAws_queryPutGroupPolicyCommandError = async (output, context) =
6627
6627
  $fault: "client",
6628
6628
  $metadata: deserializeMetadata(output),
6629
6629
  });
6630
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6630
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6631
6631
  }
6632
6632
  };
6633
6633
  const deserializeAws_queryPutRolePermissionsBoundaryCommand = async (output, context) => {
@@ -6672,7 +6672,7 @@ const deserializeAws_queryPutRolePermissionsBoundaryCommandError = async (output
6672
6672
  $fault: "client",
6673
6673
  $metadata: deserializeMetadata(output),
6674
6674
  });
6675
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6675
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6676
6676
  }
6677
6677
  };
6678
6678
  const deserializeAws_queryPutRolePolicyCommand = async (output, context) => {
@@ -6717,7 +6717,7 @@ const deserializeAws_queryPutRolePolicyCommandError = async (output, context) =>
6717
6717
  $fault: "client",
6718
6718
  $metadata: deserializeMetadata(output),
6719
6719
  });
6720
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6720
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6721
6721
  }
6722
6722
  };
6723
6723
  const deserializeAws_queryPutUserPermissionsBoundaryCommand = async (output, context) => {
@@ -6759,7 +6759,7 @@ const deserializeAws_queryPutUserPermissionsBoundaryCommandError = async (output
6759
6759
  $fault: "client",
6760
6760
  $metadata: deserializeMetadata(output),
6761
6761
  });
6762
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6762
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6763
6763
  }
6764
6764
  };
6765
6765
  const deserializeAws_queryPutUserPolicyCommand = async (output, context) => {
@@ -6801,7 +6801,7 @@ const deserializeAws_queryPutUserPolicyCommandError = async (output, context) =>
6801
6801
  $fault: "client",
6802
6802
  $metadata: deserializeMetadata(output),
6803
6803
  });
6804
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6804
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6805
6805
  }
6806
6806
  };
6807
6807
  const deserializeAws_queryRemoveClientIDFromOpenIDConnectProviderCommand = async (output, context) => {
@@ -6840,7 +6840,7 @@ const deserializeAws_queryRemoveClientIDFromOpenIDConnectProviderCommandError =
6840
6840
  $fault: "client",
6841
6841
  $metadata: deserializeMetadata(output),
6842
6842
  });
6843
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6843
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6844
6844
  }
6845
6845
  };
6846
6846
  const deserializeAws_queryRemoveRoleFromInstanceProfileCommand = async (output, context) => {
@@ -6882,7 +6882,7 @@ const deserializeAws_queryRemoveRoleFromInstanceProfileCommandError = async (out
6882
6882
  $fault: "client",
6883
6883
  $metadata: deserializeMetadata(output),
6884
6884
  });
6885
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6885
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6886
6886
  }
6887
6887
  };
6888
6888
  const deserializeAws_queryRemoveUserFromGroupCommand = async (output, context) => {
@@ -6921,7 +6921,7 @@ const deserializeAws_queryRemoveUserFromGroupCommandError = async (output, conte
6921
6921
  $fault: "client",
6922
6922
  $metadata: deserializeMetadata(output),
6923
6923
  });
6924
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6924
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6925
6925
  }
6926
6926
  };
6927
6927
  const deserializeAws_queryResetServiceSpecificCredentialCommand = async (output, context) => {
@@ -6957,7 +6957,7 @@ const deserializeAws_queryResetServiceSpecificCredentialCommandError = async (ou
6957
6957
  $fault: "client",
6958
6958
  $metadata: deserializeMetadata(output),
6959
6959
  });
6960
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
6960
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
6961
6961
  }
6962
6962
  };
6963
6963
  const deserializeAws_queryResyncMFADeviceCommand = async (output, context) => {
@@ -6999,7 +6999,7 @@ const deserializeAws_queryResyncMFADeviceCommandError = async (output, context)
6999
6999
  $fault: "client",
7000
7000
  $metadata: deserializeMetadata(output),
7001
7001
  });
7002
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7002
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7003
7003
  }
7004
7004
  };
7005
7005
  const deserializeAws_querySetDefaultPolicyVersionCommand = async (output, context) => {
@@ -7041,7 +7041,7 @@ const deserializeAws_querySetDefaultPolicyVersionCommandError = async (output, c
7041
7041
  $fault: "client",
7042
7042
  $metadata: deserializeMetadata(output),
7043
7043
  });
7044
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7044
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7045
7045
  }
7046
7046
  };
7047
7047
  const deserializeAws_querySetSecurityTokenServicePreferencesCommand = async (output, context) => {
@@ -7074,7 +7074,7 @@ const deserializeAws_querySetSecurityTokenServicePreferencesCommandError = async
7074
7074
  $fault: "client",
7075
7075
  $metadata: deserializeMetadata(output),
7076
7076
  });
7077
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7077
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7078
7078
  }
7079
7079
  };
7080
7080
  const deserializeAws_querySimulateCustomPolicyCommand = async (output, context) => {
@@ -7113,7 +7113,7 @@ const deserializeAws_querySimulateCustomPolicyCommandError = async (output, cont
7113
7113
  $fault: "client",
7114
7114
  $metadata: deserializeMetadata(output),
7115
7115
  });
7116
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7116
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7117
7117
  }
7118
7118
  };
7119
7119
  const deserializeAws_querySimulatePrincipalPolicyCommand = async (output, context) => {
@@ -7155,7 +7155,7 @@ const deserializeAws_querySimulatePrincipalPolicyCommandError = async (output, c
7155
7155
  $fault: "client",
7156
7156
  $metadata: deserializeMetadata(output),
7157
7157
  });
7158
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7158
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7159
7159
  }
7160
7160
  };
7161
7161
  const deserializeAws_queryTagInstanceProfileCommand = async (output, context) => {
@@ -7200,7 +7200,7 @@ const deserializeAws_queryTagInstanceProfileCommandError = async (output, contex
7200
7200
  $fault: "client",
7201
7201
  $metadata: deserializeMetadata(output),
7202
7202
  });
7203
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7203
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7204
7204
  }
7205
7205
  };
7206
7206
  const deserializeAws_queryTagMFADeviceCommand = async (output, context) => {
@@ -7245,7 +7245,7 @@ const deserializeAws_queryTagMFADeviceCommandError = async (output, context) =>
7245
7245
  $fault: "client",
7246
7246
  $metadata: deserializeMetadata(output),
7247
7247
  });
7248
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7248
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7249
7249
  }
7250
7250
  };
7251
7251
  const deserializeAws_queryTagOpenIDConnectProviderCommand = async (output, context) => {
@@ -7290,7 +7290,7 @@ const deserializeAws_queryTagOpenIDConnectProviderCommandError = async (output,
7290
7290
  $fault: "client",
7291
7291
  $metadata: deserializeMetadata(output),
7292
7292
  });
7293
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7293
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7294
7294
  }
7295
7295
  };
7296
7296
  const deserializeAws_queryTagPolicyCommand = async (output, context) => {
@@ -7335,7 +7335,7 @@ const deserializeAws_queryTagPolicyCommandError = async (output, context) => {
7335
7335
  $fault: "client",
7336
7336
  $metadata: deserializeMetadata(output),
7337
7337
  });
7338
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7338
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7339
7339
  }
7340
7340
  };
7341
7341
  const deserializeAws_queryTagRoleCommand = async (output, context) => {
@@ -7380,7 +7380,7 @@ const deserializeAws_queryTagRoleCommandError = async (output, context) => {
7380
7380
  $fault: "client",
7381
7381
  $metadata: deserializeMetadata(output),
7382
7382
  });
7383
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7383
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7384
7384
  }
7385
7385
  };
7386
7386
  const deserializeAws_queryTagSAMLProviderCommand = async (output, context) => {
@@ -7425,7 +7425,7 @@ const deserializeAws_queryTagSAMLProviderCommandError = async (output, context)
7425
7425
  $fault: "client",
7426
7426
  $metadata: deserializeMetadata(output),
7427
7427
  });
7428
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7428
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7429
7429
  }
7430
7430
  };
7431
7431
  const deserializeAws_queryTagServerCertificateCommand = async (output, context) => {
@@ -7470,7 +7470,7 @@ const deserializeAws_queryTagServerCertificateCommandError = async (output, cont
7470
7470
  $fault: "client",
7471
7471
  $metadata: deserializeMetadata(output),
7472
7472
  });
7473
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7473
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7474
7474
  }
7475
7475
  };
7476
7476
  const deserializeAws_queryTagUserCommand = async (output, context) => {
@@ -7515,7 +7515,7 @@ const deserializeAws_queryTagUserCommandError = async (output, context) => {
7515
7515
  $fault: "client",
7516
7516
  $metadata: deserializeMetadata(output),
7517
7517
  });
7518
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7518
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7519
7519
  }
7520
7520
  };
7521
7521
  const deserializeAws_queryUntagInstanceProfileCommand = async (output, context) => {
@@ -7557,7 +7557,7 @@ const deserializeAws_queryUntagInstanceProfileCommandError = async (output, cont
7557
7557
  $fault: "client",
7558
7558
  $metadata: deserializeMetadata(output),
7559
7559
  });
7560
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7560
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7561
7561
  }
7562
7562
  };
7563
7563
  const deserializeAws_queryUntagMFADeviceCommand = async (output, context) => {
@@ -7599,7 +7599,7 @@ const deserializeAws_queryUntagMFADeviceCommandError = async (output, context) =
7599
7599
  $fault: "client",
7600
7600
  $metadata: deserializeMetadata(output),
7601
7601
  });
7602
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7602
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7603
7603
  }
7604
7604
  };
7605
7605
  const deserializeAws_queryUntagOpenIDConnectProviderCommand = async (output, context) => {
@@ -7641,7 +7641,7 @@ const deserializeAws_queryUntagOpenIDConnectProviderCommandError = async (output
7641
7641
  $fault: "client",
7642
7642
  $metadata: deserializeMetadata(output),
7643
7643
  });
7644
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7644
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7645
7645
  }
7646
7646
  };
7647
7647
  const deserializeAws_queryUntagPolicyCommand = async (output, context) => {
@@ -7683,7 +7683,7 @@ const deserializeAws_queryUntagPolicyCommandError = async (output, context) => {
7683
7683
  $fault: "client",
7684
7684
  $metadata: deserializeMetadata(output),
7685
7685
  });
7686
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7686
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7687
7687
  }
7688
7688
  };
7689
7689
  const deserializeAws_queryUntagRoleCommand = async (output, context) => {
@@ -7722,7 +7722,7 @@ const deserializeAws_queryUntagRoleCommandError = async (output, context) => {
7722
7722
  $fault: "client",
7723
7723
  $metadata: deserializeMetadata(output),
7724
7724
  });
7725
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7725
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7726
7726
  }
7727
7727
  };
7728
7728
  const deserializeAws_queryUntagSAMLProviderCommand = async (output, context) => {
@@ -7764,7 +7764,7 @@ const deserializeAws_queryUntagSAMLProviderCommandError = async (output, context
7764
7764
  $fault: "client",
7765
7765
  $metadata: deserializeMetadata(output),
7766
7766
  });
7767
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7767
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7768
7768
  }
7769
7769
  };
7770
7770
  const deserializeAws_queryUntagServerCertificateCommand = async (output, context) => {
@@ -7806,7 +7806,7 @@ const deserializeAws_queryUntagServerCertificateCommandError = async (output, co
7806
7806
  $fault: "client",
7807
7807
  $metadata: deserializeMetadata(output),
7808
7808
  });
7809
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7809
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7810
7810
  }
7811
7811
  };
7812
7812
  const deserializeAws_queryUntagUserCommand = async (output, context) => {
@@ -7845,7 +7845,7 @@ const deserializeAws_queryUntagUserCommandError = async (output, context) => {
7845
7845
  $fault: "client",
7846
7846
  $metadata: deserializeMetadata(output),
7847
7847
  });
7848
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7848
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7849
7849
  }
7850
7850
  };
7851
7851
  const deserializeAws_queryUpdateAccessKeyCommand = async (output, context) => {
@@ -7884,7 +7884,7 @@ const deserializeAws_queryUpdateAccessKeyCommandError = async (output, context)
7884
7884
  $fault: "client",
7885
7885
  $metadata: deserializeMetadata(output),
7886
7886
  });
7887
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7887
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7888
7888
  }
7889
7889
  };
7890
7890
  const deserializeAws_queryUpdateAccountPasswordPolicyCommand = async (output, context) => {
@@ -7926,7 +7926,7 @@ const deserializeAws_queryUpdateAccountPasswordPolicyCommandError = async (outpu
7926
7926
  $fault: "client",
7927
7927
  $metadata: deserializeMetadata(output),
7928
7928
  });
7929
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7929
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7930
7930
  }
7931
7931
  };
7932
7932
  const deserializeAws_queryUpdateAssumeRolePolicyCommand = async (output, context) => {
@@ -7971,7 +7971,7 @@ const deserializeAws_queryUpdateAssumeRolePolicyCommandError = async (output, co
7971
7971
  $fault: "client",
7972
7972
  $metadata: deserializeMetadata(output),
7973
7973
  });
7974
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
7974
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
7975
7975
  }
7976
7976
  };
7977
7977
  const deserializeAws_queryUpdateGroupCommand = async (output, context) => {
@@ -8013,7 +8013,7 @@ const deserializeAws_queryUpdateGroupCommandError = async (output, context) => {
8013
8013
  $fault: "client",
8014
8014
  $metadata: deserializeMetadata(output),
8015
8015
  });
8016
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8016
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8017
8017
  }
8018
8018
  };
8019
8019
  const deserializeAws_queryUpdateLoginProfileCommand = async (output, context) => {
@@ -8058,7 +8058,7 @@ const deserializeAws_queryUpdateLoginProfileCommandError = async (output, contex
8058
8058
  $fault: "client",
8059
8059
  $metadata: deserializeMetadata(output),
8060
8060
  });
8061
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8061
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8062
8062
  }
8063
8063
  };
8064
8064
  const deserializeAws_queryUpdateOpenIDConnectProviderThumbprintCommand = async (output, context) => {
@@ -8097,7 +8097,7 @@ const deserializeAws_queryUpdateOpenIDConnectProviderThumbprintCommandError = as
8097
8097
  $fault: "client",
8098
8098
  $metadata: deserializeMetadata(output),
8099
8099
  });
8100
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8100
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8101
8101
  }
8102
8102
  };
8103
8103
  const deserializeAws_queryUpdateRoleCommand = async (output, context) => {
@@ -8139,7 +8139,7 @@ const deserializeAws_queryUpdateRoleCommandError = async (output, context) => {
8139
8139
  $fault: "client",
8140
8140
  $metadata: deserializeMetadata(output),
8141
8141
  });
8142
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8142
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8143
8143
  }
8144
8144
  };
8145
8145
  const deserializeAws_queryUpdateRoleDescriptionCommand = async (output, context) => {
@@ -8181,7 +8181,7 @@ const deserializeAws_queryUpdateRoleDescriptionCommandError = async (output, con
8181
8181
  $fault: "client",
8182
8182
  $metadata: deserializeMetadata(output),
8183
8183
  });
8184
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8184
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8185
8185
  }
8186
8186
  };
8187
8187
  const deserializeAws_queryUpdateSAMLProviderCommand = async (output, context) => {
@@ -8226,7 +8226,7 @@ const deserializeAws_queryUpdateSAMLProviderCommandError = async (output, contex
8226
8226
  $fault: "client",
8227
8227
  $metadata: deserializeMetadata(output),
8228
8228
  });
8229
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8229
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8230
8230
  }
8231
8231
  };
8232
8232
  const deserializeAws_queryUpdateServerCertificateCommand = async (output, context) => {
@@ -8268,7 +8268,7 @@ const deserializeAws_queryUpdateServerCertificateCommandError = async (output, c
8268
8268
  $fault: "client",
8269
8269
  $metadata: deserializeMetadata(output),
8270
8270
  });
8271
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8271
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8272
8272
  }
8273
8273
  };
8274
8274
  const deserializeAws_queryUpdateServiceSpecificCredentialCommand = async (output, context) => {
@@ -8301,7 +8301,7 @@ const deserializeAws_queryUpdateServiceSpecificCredentialCommandError = async (o
8301
8301
  $fault: "client",
8302
8302
  $metadata: deserializeMetadata(output),
8303
8303
  });
8304
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8304
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8305
8305
  }
8306
8306
  };
8307
8307
  const deserializeAws_queryUpdateSigningCertificateCommand = async (output, context) => {
@@ -8340,7 +8340,7 @@ const deserializeAws_queryUpdateSigningCertificateCommandError = async (output,
8340
8340
  $fault: "client",
8341
8341
  $metadata: deserializeMetadata(output),
8342
8342
  });
8343
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8343
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8344
8344
  }
8345
8345
  };
8346
8346
  const deserializeAws_queryUpdateSSHPublicKeyCommand = async (output, context) => {
@@ -8373,7 +8373,7 @@ const deserializeAws_queryUpdateSSHPublicKeyCommandError = async (output, contex
8373
8373
  $fault: "client",
8374
8374
  $metadata: deserializeMetadata(output),
8375
8375
  });
8376
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8376
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8377
8377
  }
8378
8378
  };
8379
8379
  const deserializeAws_queryUpdateUserCommand = async (output, context) => {
@@ -8421,7 +8421,7 @@ const deserializeAws_queryUpdateUserCommandError = async (output, context) => {
8421
8421
  $fault: "client",
8422
8422
  $metadata: deserializeMetadata(output),
8423
8423
  });
8424
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8424
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8425
8425
  }
8426
8426
  };
8427
8427
  const deserializeAws_queryUploadServerCertificateCommand = async (output, context) => {
@@ -8475,7 +8475,7 @@ const deserializeAws_queryUploadServerCertificateCommandError = async (output, c
8475
8475
  $fault: "client",
8476
8476
  $metadata: deserializeMetadata(output),
8477
8477
  });
8478
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8478
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8479
8479
  }
8480
8480
  };
8481
8481
  const deserializeAws_queryUploadSigningCertificateCommand = async (output, context) => {
@@ -8529,7 +8529,7 @@ const deserializeAws_queryUploadSigningCertificateCommandError = async (output,
8529
8529
  $fault: "client",
8530
8530
  $metadata: deserializeMetadata(output),
8531
8531
  });
8532
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8532
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8533
8533
  }
8534
8534
  };
8535
8535
  const deserializeAws_queryUploadSSHPublicKeyCommand = async (output, context) => {
@@ -8577,7 +8577,7 @@ const deserializeAws_queryUploadSSHPublicKeyCommandError = async (output, contex
8577
8577
  $fault: "client",
8578
8578
  $metadata: deserializeMetadata(output),
8579
8579
  });
8580
- throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
8580
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
8581
8581
  }
8582
8582
  };
8583
8583
  const deserializeAws_queryConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
@@ -8587,7 +8587,7 @@ const deserializeAws_queryConcurrentModificationExceptionResponse = async (parse
8587
8587
  $metadata: deserializeMetadata(parsedOutput),
8588
8588
  ...deserialized,
8589
8589
  });
8590
- return smithy_client_1.decorateServiceException(exception, body);
8590
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8591
8591
  };
8592
8592
  const deserializeAws_queryCredentialReportExpiredExceptionResponse = async (parsedOutput, context) => {
8593
8593
  const body = parsedOutput.body;
@@ -8596,7 +8596,7 @@ const deserializeAws_queryCredentialReportExpiredExceptionResponse = async (pars
8596
8596
  $metadata: deserializeMetadata(parsedOutput),
8597
8597
  ...deserialized,
8598
8598
  });
8599
- return smithy_client_1.decorateServiceException(exception, body);
8599
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8600
8600
  };
8601
8601
  const deserializeAws_queryCredentialReportNotPresentExceptionResponse = async (parsedOutput, context) => {
8602
8602
  const body = parsedOutput.body;
@@ -8605,7 +8605,7 @@ const deserializeAws_queryCredentialReportNotPresentExceptionResponse = async (p
8605
8605
  $metadata: deserializeMetadata(parsedOutput),
8606
8606
  ...deserialized,
8607
8607
  });
8608
- return smithy_client_1.decorateServiceException(exception, body);
8608
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8609
8609
  };
8610
8610
  const deserializeAws_queryCredentialReportNotReadyExceptionResponse = async (parsedOutput, context) => {
8611
8611
  const body = parsedOutput.body;
@@ -8614,7 +8614,7 @@ const deserializeAws_queryCredentialReportNotReadyExceptionResponse = async (par
8614
8614
  $metadata: deserializeMetadata(parsedOutput),
8615
8615
  ...deserialized,
8616
8616
  });
8617
- return smithy_client_1.decorateServiceException(exception, body);
8617
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8618
8618
  };
8619
8619
  const deserializeAws_queryDeleteConflictExceptionResponse = async (parsedOutput, context) => {
8620
8620
  const body = parsedOutput.body;
@@ -8623,7 +8623,7 @@ const deserializeAws_queryDeleteConflictExceptionResponse = async (parsedOutput,
8623
8623
  $metadata: deserializeMetadata(parsedOutput),
8624
8624
  ...deserialized,
8625
8625
  });
8626
- return smithy_client_1.decorateServiceException(exception, body);
8626
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8627
8627
  };
8628
8628
  const deserializeAws_queryDuplicateCertificateExceptionResponse = async (parsedOutput, context) => {
8629
8629
  const body = parsedOutput.body;
@@ -8632,7 +8632,7 @@ const deserializeAws_queryDuplicateCertificateExceptionResponse = async (parsedO
8632
8632
  $metadata: deserializeMetadata(parsedOutput),
8633
8633
  ...deserialized,
8634
8634
  });
8635
- return smithy_client_1.decorateServiceException(exception, body);
8635
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8636
8636
  };
8637
8637
  const deserializeAws_queryDuplicateSSHPublicKeyExceptionResponse = async (parsedOutput, context) => {
8638
8638
  const body = parsedOutput.body;
@@ -8641,7 +8641,7 @@ const deserializeAws_queryDuplicateSSHPublicKeyExceptionResponse = async (parsed
8641
8641
  $metadata: deserializeMetadata(parsedOutput),
8642
8642
  ...deserialized,
8643
8643
  });
8644
- return smithy_client_1.decorateServiceException(exception, body);
8644
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8645
8645
  };
8646
8646
  const deserializeAws_queryEntityAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
8647
8647
  const body = parsedOutput.body;
@@ -8650,7 +8650,7 @@ const deserializeAws_queryEntityAlreadyExistsExceptionResponse = async (parsedOu
8650
8650
  $metadata: deserializeMetadata(parsedOutput),
8651
8651
  ...deserialized,
8652
8652
  });
8653
- return smithy_client_1.decorateServiceException(exception, body);
8653
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8654
8654
  };
8655
8655
  const deserializeAws_queryEntityTemporarilyUnmodifiableExceptionResponse = async (parsedOutput, context) => {
8656
8656
  const body = parsedOutput.body;
@@ -8659,7 +8659,7 @@ const deserializeAws_queryEntityTemporarilyUnmodifiableExceptionResponse = async
8659
8659
  $metadata: deserializeMetadata(parsedOutput),
8660
8660
  ...deserialized,
8661
8661
  });
8662
- return smithy_client_1.decorateServiceException(exception, body);
8662
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8663
8663
  };
8664
8664
  const deserializeAws_queryInvalidAuthenticationCodeExceptionResponse = async (parsedOutput, context) => {
8665
8665
  const body = parsedOutput.body;
@@ -8668,7 +8668,7 @@ const deserializeAws_queryInvalidAuthenticationCodeExceptionResponse = async (pa
8668
8668
  $metadata: deserializeMetadata(parsedOutput),
8669
8669
  ...deserialized,
8670
8670
  });
8671
- return smithy_client_1.decorateServiceException(exception, body);
8671
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8672
8672
  };
8673
8673
  const deserializeAws_queryInvalidCertificateExceptionResponse = async (parsedOutput, context) => {
8674
8674
  const body = parsedOutput.body;
@@ -8677,7 +8677,7 @@ const deserializeAws_queryInvalidCertificateExceptionResponse = async (parsedOut
8677
8677
  $metadata: deserializeMetadata(parsedOutput),
8678
8678
  ...deserialized,
8679
8679
  });
8680
- return smithy_client_1.decorateServiceException(exception, body);
8680
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8681
8681
  };
8682
8682
  const deserializeAws_queryInvalidInputExceptionResponse = async (parsedOutput, context) => {
8683
8683
  const body = parsedOutput.body;
@@ -8686,7 +8686,7 @@ const deserializeAws_queryInvalidInputExceptionResponse = async (parsedOutput, c
8686
8686
  $metadata: deserializeMetadata(parsedOutput),
8687
8687
  ...deserialized,
8688
8688
  });
8689
- return smithy_client_1.decorateServiceException(exception, body);
8689
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8690
8690
  };
8691
8691
  const deserializeAws_queryInvalidPublicKeyExceptionResponse = async (parsedOutput, context) => {
8692
8692
  const body = parsedOutput.body;
@@ -8695,7 +8695,7 @@ const deserializeAws_queryInvalidPublicKeyExceptionResponse = async (parsedOutpu
8695
8695
  $metadata: deserializeMetadata(parsedOutput),
8696
8696
  ...deserialized,
8697
8697
  });
8698
- return smithy_client_1.decorateServiceException(exception, body);
8698
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8699
8699
  };
8700
8700
  const deserializeAws_queryInvalidUserTypeExceptionResponse = async (parsedOutput, context) => {
8701
8701
  const body = parsedOutput.body;
@@ -8704,7 +8704,7 @@ const deserializeAws_queryInvalidUserTypeExceptionResponse = async (parsedOutput
8704
8704
  $metadata: deserializeMetadata(parsedOutput),
8705
8705
  ...deserialized,
8706
8706
  });
8707
- return smithy_client_1.decorateServiceException(exception, body);
8707
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8708
8708
  };
8709
8709
  const deserializeAws_queryKeyPairMismatchExceptionResponse = async (parsedOutput, context) => {
8710
8710
  const body = parsedOutput.body;
@@ -8713,7 +8713,7 @@ const deserializeAws_queryKeyPairMismatchExceptionResponse = async (parsedOutput
8713
8713
  $metadata: deserializeMetadata(parsedOutput),
8714
8714
  ...deserialized,
8715
8715
  });
8716
- return smithy_client_1.decorateServiceException(exception, body);
8716
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8717
8717
  };
8718
8718
  const deserializeAws_queryLimitExceededExceptionResponse = async (parsedOutput, context) => {
8719
8719
  const body = parsedOutput.body;
@@ -8722,7 +8722,7 @@ const deserializeAws_queryLimitExceededExceptionResponse = async (parsedOutput,
8722
8722
  $metadata: deserializeMetadata(parsedOutput),
8723
8723
  ...deserialized,
8724
8724
  });
8725
- return smithy_client_1.decorateServiceException(exception, body);
8725
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8726
8726
  };
8727
8727
  const deserializeAws_queryMalformedCertificateExceptionResponse = async (parsedOutput, context) => {
8728
8728
  const body = parsedOutput.body;
@@ -8731,7 +8731,7 @@ const deserializeAws_queryMalformedCertificateExceptionResponse = async (parsedO
8731
8731
  $metadata: deserializeMetadata(parsedOutput),
8732
8732
  ...deserialized,
8733
8733
  });
8734
- return smithy_client_1.decorateServiceException(exception, body);
8734
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8735
8735
  };
8736
8736
  const deserializeAws_queryMalformedPolicyDocumentExceptionResponse = async (parsedOutput, context) => {
8737
8737
  const body = parsedOutput.body;
@@ -8740,7 +8740,7 @@ const deserializeAws_queryMalformedPolicyDocumentExceptionResponse = async (pars
8740
8740
  $metadata: deserializeMetadata(parsedOutput),
8741
8741
  ...deserialized,
8742
8742
  });
8743
- return smithy_client_1.decorateServiceException(exception, body);
8743
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8744
8744
  };
8745
8745
  const deserializeAws_queryNoSuchEntityExceptionResponse = async (parsedOutput, context) => {
8746
8746
  const body = parsedOutput.body;
@@ -8749,7 +8749,7 @@ const deserializeAws_queryNoSuchEntityExceptionResponse = async (parsedOutput, c
8749
8749
  $metadata: deserializeMetadata(parsedOutput),
8750
8750
  ...deserialized,
8751
8751
  });
8752
- return smithy_client_1.decorateServiceException(exception, body);
8752
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8753
8753
  };
8754
8754
  const deserializeAws_queryPasswordPolicyViolationExceptionResponse = async (parsedOutput, context) => {
8755
8755
  const body = parsedOutput.body;
@@ -8758,7 +8758,7 @@ const deserializeAws_queryPasswordPolicyViolationExceptionResponse = async (pars
8758
8758
  $metadata: deserializeMetadata(parsedOutput),
8759
8759
  ...deserialized,
8760
8760
  });
8761
- return smithy_client_1.decorateServiceException(exception, body);
8761
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8762
8762
  };
8763
8763
  const deserializeAws_queryPolicyEvaluationExceptionResponse = async (parsedOutput, context) => {
8764
8764
  const body = parsedOutput.body;
@@ -8767,7 +8767,7 @@ const deserializeAws_queryPolicyEvaluationExceptionResponse = async (parsedOutpu
8767
8767
  $metadata: deserializeMetadata(parsedOutput),
8768
8768
  ...deserialized,
8769
8769
  });
8770
- return smithy_client_1.decorateServiceException(exception, body);
8770
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8771
8771
  };
8772
8772
  const deserializeAws_queryPolicyNotAttachableExceptionResponse = async (parsedOutput, context) => {
8773
8773
  const body = parsedOutput.body;
@@ -8776,7 +8776,7 @@ const deserializeAws_queryPolicyNotAttachableExceptionResponse = async (parsedOu
8776
8776
  $metadata: deserializeMetadata(parsedOutput),
8777
8777
  ...deserialized,
8778
8778
  });
8779
- return smithy_client_1.decorateServiceException(exception, body);
8779
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8780
8780
  };
8781
8781
  const deserializeAws_queryReportGenerationLimitExceededExceptionResponse = async (parsedOutput, context) => {
8782
8782
  const body = parsedOutput.body;
@@ -8785,7 +8785,7 @@ const deserializeAws_queryReportGenerationLimitExceededExceptionResponse = async
8785
8785
  $metadata: deserializeMetadata(parsedOutput),
8786
8786
  ...deserialized,
8787
8787
  });
8788
- return smithy_client_1.decorateServiceException(exception, body);
8788
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8789
8789
  };
8790
8790
  const deserializeAws_queryServiceFailureExceptionResponse = async (parsedOutput, context) => {
8791
8791
  const body = parsedOutput.body;
@@ -8794,7 +8794,7 @@ const deserializeAws_queryServiceFailureExceptionResponse = async (parsedOutput,
8794
8794
  $metadata: deserializeMetadata(parsedOutput),
8795
8795
  ...deserialized,
8796
8796
  });
8797
- return smithy_client_1.decorateServiceException(exception, body);
8797
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8798
8798
  };
8799
8799
  const deserializeAws_queryServiceNotSupportedExceptionResponse = async (parsedOutput, context) => {
8800
8800
  const body = parsedOutput.body;
@@ -8803,7 +8803,7 @@ const deserializeAws_queryServiceNotSupportedExceptionResponse = async (parsedOu
8803
8803
  $metadata: deserializeMetadata(parsedOutput),
8804
8804
  ...deserialized,
8805
8805
  });
8806
- return smithy_client_1.decorateServiceException(exception, body);
8806
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8807
8807
  };
8808
8808
  const deserializeAws_queryUnmodifiableEntityExceptionResponse = async (parsedOutput, context) => {
8809
8809
  const body = parsedOutput.body;
@@ -8812,7 +8812,7 @@ const deserializeAws_queryUnmodifiableEntityExceptionResponse = async (parsedOut
8812
8812
  $metadata: deserializeMetadata(parsedOutput),
8813
8813
  ...deserialized,
8814
8814
  });
8815
- return smithy_client_1.decorateServiceException(exception, body);
8815
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8816
8816
  };
8817
8817
  const deserializeAws_queryUnrecognizedPublicKeyEncodingExceptionResponse = async (parsedOutput, context) => {
8818
8818
  const body = parsedOutput.body;
@@ -8821,7 +8821,7 @@ const deserializeAws_queryUnrecognizedPublicKeyEncodingExceptionResponse = async
8821
8821
  $metadata: deserializeMetadata(parsedOutput),
8822
8822
  ...deserialized,
8823
8823
  });
8824
- return smithy_client_1.decorateServiceException(exception, body);
8824
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8825
8825
  };
8826
8826
  const serializeAws_queryActionNameListType = (input, context) => {
8827
8827
  const entries = {};
@@ -10929,22 +10929,22 @@ const deserializeAws_queryAccessDetail = (output, context) => {
10929
10929
  TotalAuthenticatedEntities: undefined,
10930
10930
  };
10931
10931
  if (output["ServiceName"] !== undefined) {
10932
- contents.ServiceName = smithy_client_1.expectString(output["ServiceName"]);
10932
+ contents.ServiceName = (0, smithy_client_1.expectString)(output["ServiceName"]);
10933
10933
  }
10934
10934
  if (output["ServiceNamespace"] !== undefined) {
10935
- contents.ServiceNamespace = smithy_client_1.expectString(output["ServiceNamespace"]);
10935
+ contents.ServiceNamespace = (0, smithy_client_1.expectString)(output["ServiceNamespace"]);
10936
10936
  }
10937
10937
  if (output["Region"] !== undefined) {
10938
- contents.Region = smithy_client_1.expectString(output["Region"]);
10938
+ contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
10939
10939
  }
10940
10940
  if (output["EntityPath"] !== undefined) {
10941
- contents.EntityPath = smithy_client_1.expectString(output["EntityPath"]);
10941
+ contents.EntityPath = (0, smithy_client_1.expectString)(output["EntityPath"]);
10942
10942
  }
10943
10943
  if (output["LastAuthenticatedTime"] !== undefined) {
10944
- contents.LastAuthenticatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastAuthenticatedTime"]));
10944
+ contents.LastAuthenticatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastAuthenticatedTime"]));
10945
10945
  }
10946
10946
  if (output["TotalAuthenticatedEntities"] !== undefined) {
10947
- contents.TotalAuthenticatedEntities = smithy_client_1.strictParseInt32(output["TotalAuthenticatedEntities"]);
10947
+ contents.TotalAuthenticatedEntities = (0, smithy_client_1.strictParseInt32)(output["TotalAuthenticatedEntities"]);
10948
10948
  }
10949
10949
  return contents;
10950
10950
  };
@@ -10967,19 +10967,19 @@ const deserializeAws_queryAccessKey = (output, context) => {
10967
10967
  CreateDate: undefined,
10968
10968
  };
10969
10969
  if (output["UserName"] !== undefined) {
10970
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
10970
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
10971
10971
  }
10972
10972
  if (output["AccessKeyId"] !== undefined) {
10973
- contents.AccessKeyId = smithy_client_1.expectString(output["AccessKeyId"]);
10973
+ contents.AccessKeyId = (0, smithy_client_1.expectString)(output["AccessKeyId"]);
10974
10974
  }
10975
10975
  if (output["Status"] !== undefined) {
10976
- contents.Status = smithy_client_1.expectString(output["Status"]);
10976
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
10977
10977
  }
10978
10978
  if (output["SecretAccessKey"] !== undefined) {
10979
- contents.SecretAccessKey = smithy_client_1.expectString(output["SecretAccessKey"]);
10979
+ contents.SecretAccessKey = (0, smithy_client_1.expectString)(output["SecretAccessKey"]);
10980
10980
  }
10981
10981
  if (output["CreateDate"] !== undefined) {
10982
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
10982
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
10983
10983
  }
10984
10984
  return contents;
10985
10985
  };
@@ -10990,13 +10990,13 @@ const deserializeAws_queryAccessKeyLastUsed = (output, context) => {
10990
10990
  Region: undefined,
10991
10991
  };
10992
10992
  if (output["LastUsedDate"] !== undefined) {
10993
- contents.LastUsedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUsedDate"]));
10993
+ contents.LastUsedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastUsedDate"]));
10994
10994
  }
10995
10995
  if (output["ServiceName"] !== undefined) {
10996
- contents.ServiceName = smithy_client_1.expectString(output["ServiceName"]);
10996
+ contents.ServiceName = (0, smithy_client_1.expectString)(output["ServiceName"]);
10997
10997
  }
10998
10998
  if (output["Region"] !== undefined) {
10999
- contents.Region = smithy_client_1.expectString(output["Region"]);
10999
+ contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
11000
11000
  }
11001
11001
  return contents;
11002
11002
  };
@@ -11008,16 +11008,16 @@ const deserializeAws_queryAccessKeyMetadata = (output, context) => {
11008
11008
  CreateDate: undefined,
11009
11009
  };
11010
11010
  if (output["UserName"] !== undefined) {
11011
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
11011
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
11012
11012
  }
11013
11013
  if (output["AccessKeyId"] !== undefined) {
11014
- contents.AccessKeyId = smithy_client_1.expectString(output["AccessKeyId"]);
11014
+ contents.AccessKeyId = (0, smithy_client_1.expectString)(output["AccessKeyId"]);
11015
11015
  }
11016
11016
  if (output["Status"] !== undefined) {
11017
- contents.Status = smithy_client_1.expectString(output["Status"]);
11017
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
11018
11018
  }
11019
11019
  if (output["CreateDate"] !== undefined) {
11020
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
11020
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
11021
11021
  }
11022
11022
  return contents;
11023
11023
  };
@@ -11038,7 +11038,7 @@ const deserializeAws_queryaccountAliasListType = (output, context) => {
11038
11038
  if (entry === null) {
11039
11039
  return null;
11040
11040
  }
11041
- return smithy_client_1.expectString(entry);
11041
+ return (0, smithy_client_1.expectString)(entry);
11042
11042
  });
11043
11043
  };
11044
11044
  const deserializeAws_queryArnListType = (output, context) => {
@@ -11048,7 +11048,7 @@ const deserializeAws_queryArnListType = (output, context) => {
11048
11048
  if (entry === null) {
11049
11049
  return null;
11050
11050
  }
11051
- return smithy_client_1.expectString(entry);
11051
+ return (0, smithy_client_1.expectString)(entry);
11052
11052
  });
11053
11053
  };
11054
11054
  const deserializeAws_queryAttachedPermissionsBoundary = (output, context) => {
@@ -11057,10 +11057,10 @@ const deserializeAws_queryAttachedPermissionsBoundary = (output, context) => {
11057
11057
  PermissionsBoundaryArn: undefined,
11058
11058
  };
11059
11059
  if (output["PermissionsBoundaryType"] !== undefined) {
11060
- contents.PermissionsBoundaryType = smithy_client_1.expectString(output["PermissionsBoundaryType"]);
11060
+ contents.PermissionsBoundaryType = (0, smithy_client_1.expectString)(output["PermissionsBoundaryType"]);
11061
11061
  }
11062
11062
  if (output["PermissionsBoundaryArn"] !== undefined) {
11063
- contents.PermissionsBoundaryArn = smithy_client_1.expectString(output["PermissionsBoundaryArn"]);
11063
+ contents.PermissionsBoundaryArn = (0, smithy_client_1.expectString)(output["PermissionsBoundaryArn"]);
11064
11064
  }
11065
11065
  return contents;
11066
11066
  };
@@ -11080,10 +11080,10 @@ const deserializeAws_queryAttachedPolicy = (output, context) => {
11080
11080
  PolicyArn: undefined,
11081
11081
  };
11082
11082
  if (output["PolicyName"] !== undefined) {
11083
- contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
11083
+ contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
11084
11084
  }
11085
11085
  if (output["PolicyArn"] !== undefined) {
11086
- contents.PolicyArn = smithy_client_1.expectString(output["PolicyArn"]);
11086
+ contents.PolicyArn = (0, smithy_client_1.expectString)(output["PolicyArn"]);
11087
11087
  }
11088
11088
  return contents;
11089
11089
  };
@@ -11104,7 +11104,7 @@ const deserializeAws_queryclientIDListType = (output, context) => {
11104
11104
  if (entry === null) {
11105
11105
  return null;
11106
11106
  }
11107
- return smithy_client_1.expectString(entry);
11107
+ return (0, smithy_client_1.expectString)(entry);
11108
11108
  });
11109
11109
  };
11110
11110
  const deserializeAws_queryConcurrentModificationException = (output, context) => {
@@ -11112,7 +11112,7 @@ const deserializeAws_queryConcurrentModificationException = (output, context) =>
11112
11112
  message: undefined,
11113
11113
  };
11114
11114
  if (output["message"] !== undefined) {
11115
- contents.message = smithy_client_1.expectString(output["message"]);
11115
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
11116
11116
  }
11117
11117
  return contents;
11118
11118
  };
@@ -11123,7 +11123,7 @@ const deserializeAws_queryContextKeyNamesResultListType = (output, context) => {
11123
11123
  if (entry === null) {
11124
11124
  return null;
11125
11125
  }
11126
- return smithy_client_1.expectString(entry);
11126
+ return (0, smithy_client_1.expectString)(entry);
11127
11127
  });
11128
11128
  };
11129
11129
  const deserializeAws_queryCreateAccessKeyResponse = (output, context) => {
@@ -11168,13 +11168,13 @@ const deserializeAws_queryCreateOpenIDConnectProviderResponse = (output, context
11168
11168
  Tags: undefined,
11169
11169
  };
11170
11170
  if (output["OpenIDConnectProviderArn"] !== undefined) {
11171
- contents.OpenIDConnectProviderArn = smithy_client_1.expectString(output["OpenIDConnectProviderArn"]);
11171
+ contents.OpenIDConnectProviderArn = (0, smithy_client_1.expectString)(output["OpenIDConnectProviderArn"]);
11172
11172
  }
11173
11173
  if (output.Tags === "") {
11174
11174
  contents.Tags = [];
11175
11175
  }
11176
11176
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
11177
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
11177
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
11178
11178
  }
11179
11179
  return contents;
11180
11180
  };
@@ -11211,13 +11211,13 @@ const deserializeAws_queryCreateSAMLProviderResponse = (output, context) => {
11211
11211
  Tags: undefined,
11212
11212
  };
11213
11213
  if (output["SAMLProviderArn"] !== undefined) {
11214
- contents.SAMLProviderArn = smithy_client_1.expectString(output["SAMLProviderArn"]);
11214
+ contents.SAMLProviderArn = (0, smithy_client_1.expectString)(output["SAMLProviderArn"]);
11215
11215
  }
11216
11216
  if (output.Tags === "") {
11217
11217
  contents.Tags = [];
11218
11218
  }
11219
11219
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
11220
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
11220
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
11221
11221
  }
11222
11222
  return contents;
11223
11223
  };
@@ -11262,7 +11262,7 @@ const deserializeAws_queryCredentialReportExpiredException = (output, context) =
11262
11262
  message: undefined,
11263
11263
  };
11264
11264
  if (output["message"] !== undefined) {
11265
- contents.message = smithy_client_1.expectString(output["message"]);
11265
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
11266
11266
  }
11267
11267
  return contents;
11268
11268
  };
@@ -11271,7 +11271,7 @@ const deserializeAws_queryCredentialReportNotPresentException = (output, context
11271
11271
  message: undefined,
11272
11272
  };
11273
11273
  if (output["message"] !== undefined) {
11274
- contents.message = smithy_client_1.expectString(output["message"]);
11274
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
11275
11275
  }
11276
11276
  return contents;
11277
11277
  };
@@ -11280,7 +11280,7 @@ const deserializeAws_queryCredentialReportNotReadyException = (output, context)
11280
11280
  message: undefined,
11281
11281
  };
11282
11282
  if (output["message"] !== undefined) {
11283
- contents.message = smithy_client_1.expectString(output["message"]);
11283
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
11284
11284
  }
11285
11285
  return contents;
11286
11286
  };
@@ -11289,7 +11289,7 @@ const deserializeAws_queryDeleteConflictException = (output, context) => {
11289
11289
  message: undefined,
11290
11290
  };
11291
11291
  if (output["message"] !== undefined) {
11292
- contents.message = smithy_client_1.expectString(output["message"]);
11292
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
11293
11293
  }
11294
11294
  return contents;
11295
11295
  };
@@ -11298,7 +11298,7 @@ const deserializeAws_queryDeleteServiceLinkedRoleResponse = (output, context) =>
11298
11298
  DeletionTaskId: undefined,
11299
11299
  };
11300
11300
  if (output["DeletionTaskId"] !== undefined) {
11301
- contents.DeletionTaskId = smithy_client_1.expectString(output["DeletionTaskId"]);
11301
+ contents.DeletionTaskId = (0, smithy_client_1.expectString)(output["DeletionTaskId"]);
11302
11302
  }
11303
11303
  return contents;
11304
11304
  };
@@ -11308,13 +11308,13 @@ const deserializeAws_queryDeletionTaskFailureReasonType = (output, context) => {
11308
11308
  RoleUsageList: undefined,
11309
11309
  };
11310
11310
  if (output["Reason"] !== undefined) {
11311
- contents.Reason = smithy_client_1.expectString(output["Reason"]);
11311
+ contents.Reason = (0, smithy_client_1.expectString)(output["Reason"]);
11312
11312
  }
11313
11313
  if (output.RoleUsageList === "") {
11314
11314
  contents.RoleUsageList = [];
11315
11315
  }
11316
11316
  if (output["RoleUsageList"] !== undefined && output["RoleUsageList"]["member"] !== undefined) {
11317
- contents.RoleUsageList = deserializeAws_queryRoleUsageListType(smithy_client_1.getArrayIfSingleItem(output["RoleUsageList"]["member"]), context);
11317
+ contents.RoleUsageList = deserializeAws_queryRoleUsageListType((0, smithy_client_1.getArrayIfSingleItem)(output["RoleUsageList"]["member"]), context);
11318
11318
  }
11319
11319
  return contents;
11320
11320
  };
@@ -11323,7 +11323,7 @@ const deserializeAws_queryDuplicateCertificateException = (output, context) => {
11323
11323
  message: undefined,
11324
11324
  };
11325
11325
  if (output["message"] !== undefined) {
11326
- contents.message = smithy_client_1.expectString(output["message"]);
11326
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
11327
11327
  }
11328
11328
  return contents;
11329
11329
  };
@@ -11332,7 +11332,7 @@ const deserializeAws_queryDuplicateSSHPublicKeyException = (output, context) =>
11332
11332
  message: undefined,
11333
11333
  };
11334
11334
  if (output["message"] !== undefined) {
11335
- contents.message = smithy_client_1.expectString(output["message"]);
11335
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
11336
11336
  }
11337
11337
  return contents;
11338
11338
  };
@@ -11341,7 +11341,7 @@ const deserializeAws_queryEntityAlreadyExistsException = (output, context) => {
11341
11341
  message: undefined,
11342
11342
  };
11343
11343
  if (output["message"] !== undefined) {
11344
- contents.message = smithy_client_1.expectString(output["message"]);
11344
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
11345
11345
  }
11346
11346
  return contents;
11347
11347
  };
@@ -11354,7 +11354,7 @@ const deserializeAws_queryEntityDetails = (output, context) => {
11354
11354
  contents.EntityInfo = deserializeAws_queryEntityInfo(output["EntityInfo"], context);
11355
11355
  }
11356
11356
  if (output["LastAuthenticated"] !== undefined) {
11357
- contents.LastAuthenticated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastAuthenticated"]));
11357
+ contents.LastAuthenticated = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastAuthenticated"]));
11358
11358
  }
11359
11359
  return contents;
11360
11360
  };
@@ -11377,19 +11377,19 @@ const deserializeAws_queryEntityInfo = (output, context) => {
11377
11377
  Path: undefined,
11378
11378
  };
11379
11379
  if (output["Arn"] !== undefined) {
11380
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
11380
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
11381
11381
  }
11382
11382
  if (output["Name"] !== undefined) {
11383
- contents.Name = smithy_client_1.expectString(output["Name"]);
11383
+ contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
11384
11384
  }
11385
11385
  if (output["Type"] !== undefined) {
11386
- contents.Type = smithy_client_1.expectString(output["Type"]);
11386
+ contents.Type = (0, smithy_client_1.expectString)(output["Type"]);
11387
11387
  }
11388
11388
  if (output["Id"] !== undefined) {
11389
- contents.Id = smithy_client_1.expectString(output["Id"]);
11389
+ contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
11390
11390
  }
11391
11391
  if (output["Path"] !== undefined) {
11392
- contents.Path = smithy_client_1.expectString(output["Path"]);
11392
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
11393
11393
  }
11394
11394
  return contents;
11395
11395
  };
@@ -11398,7 +11398,7 @@ const deserializeAws_queryEntityTemporarilyUnmodifiableException = (output, cont
11398
11398
  message: undefined,
11399
11399
  };
11400
11400
  if (output["message"] !== undefined) {
11401
- contents.message = smithy_client_1.expectString(output["message"]);
11401
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
11402
11402
  }
11403
11403
  return contents;
11404
11404
  };
@@ -11408,10 +11408,10 @@ const deserializeAws_queryErrorDetails = (output, context) => {
11408
11408
  Code: undefined,
11409
11409
  };
11410
11410
  if (output["Message"] !== undefined) {
11411
- contents.Message = smithy_client_1.expectString(output["Message"]);
11411
+ contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
11412
11412
  }
11413
11413
  if (output["Code"] !== undefined) {
11414
- contents.Code = smithy_client_1.expectString(output["Code"]);
11414
+ contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
11415
11415
  }
11416
11416
  return contents;
11417
11417
  };
@@ -11422,7 +11422,7 @@ const deserializeAws_queryEvalDecisionDetailsType = (output, context) => {
11422
11422
  }
11423
11423
  return {
11424
11424
  ...acc,
11425
- [pair["key"]]: smithy_client_1.expectString(pair["value"]),
11425
+ [pair["key"]]: (0, smithy_client_1.expectString)(pair["value"]),
11426
11426
  };
11427
11427
  }, {});
11428
11428
  };
@@ -11439,25 +11439,25 @@ const deserializeAws_queryEvaluationResult = (output, context) => {
11439
11439
  ResourceSpecificResults: undefined,
11440
11440
  };
11441
11441
  if (output["EvalActionName"] !== undefined) {
11442
- contents.EvalActionName = smithy_client_1.expectString(output["EvalActionName"]);
11442
+ contents.EvalActionName = (0, smithy_client_1.expectString)(output["EvalActionName"]);
11443
11443
  }
11444
11444
  if (output["EvalResourceName"] !== undefined) {
11445
- contents.EvalResourceName = smithy_client_1.expectString(output["EvalResourceName"]);
11445
+ contents.EvalResourceName = (0, smithy_client_1.expectString)(output["EvalResourceName"]);
11446
11446
  }
11447
11447
  if (output["EvalDecision"] !== undefined) {
11448
- contents.EvalDecision = smithy_client_1.expectString(output["EvalDecision"]);
11448
+ contents.EvalDecision = (0, smithy_client_1.expectString)(output["EvalDecision"]);
11449
11449
  }
11450
11450
  if (output.MatchedStatements === "") {
11451
11451
  contents.MatchedStatements = [];
11452
11452
  }
11453
11453
  if (output["MatchedStatements"] !== undefined && output["MatchedStatements"]["member"] !== undefined) {
11454
- contents.MatchedStatements = deserializeAws_queryStatementListType(smithy_client_1.getArrayIfSingleItem(output["MatchedStatements"]["member"]), context);
11454
+ contents.MatchedStatements = deserializeAws_queryStatementListType((0, smithy_client_1.getArrayIfSingleItem)(output["MatchedStatements"]["member"]), context);
11455
11455
  }
11456
11456
  if (output.MissingContextValues === "") {
11457
11457
  contents.MissingContextValues = [];
11458
11458
  }
11459
11459
  if (output["MissingContextValues"] !== undefined && output["MissingContextValues"]["member"] !== undefined) {
11460
- contents.MissingContextValues = deserializeAws_queryContextKeyNamesResultListType(smithy_client_1.getArrayIfSingleItem(output["MissingContextValues"]["member"]), context);
11460
+ contents.MissingContextValues = deserializeAws_queryContextKeyNamesResultListType((0, smithy_client_1.getArrayIfSingleItem)(output["MissingContextValues"]["member"]), context);
11461
11461
  }
11462
11462
  if (output["OrganizationsDecisionDetail"] !== undefined) {
11463
11463
  contents.OrganizationsDecisionDetail = deserializeAws_queryOrganizationsDecisionDetail(output["OrganizationsDecisionDetail"], context);
@@ -11469,13 +11469,13 @@ const deserializeAws_queryEvaluationResult = (output, context) => {
11469
11469
  contents.EvalDecisionDetails = {};
11470
11470
  }
11471
11471
  if (output["EvalDecisionDetails"] !== undefined && output["EvalDecisionDetails"]["entry"] !== undefined) {
11472
- contents.EvalDecisionDetails = deserializeAws_queryEvalDecisionDetailsType(smithy_client_1.getArrayIfSingleItem(output["EvalDecisionDetails"]["entry"]), context);
11472
+ contents.EvalDecisionDetails = deserializeAws_queryEvalDecisionDetailsType((0, smithy_client_1.getArrayIfSingleItem)(output["EvalDecisionDetails"]["entry"]), context);
11473
11473
  }
11474
11474
  if (output.ResourceSpecificResults === "") {
11475
11475
  contents.ResourceSpecificResults = [];
11476
11476
  }
11477
11477
  if (output["ResourceSpecificResults"] !== undefined && output["ResourceSpecificResults"]["member"] !== undefined) {
11478
- contents.ResourceSpecificResults = deserializeAws_queryResourceSpecificResultListType(smithy_client_1.getArrayIfSingleItem(output["ResourceSpecificResults"]["member"]), context);
11478
+ contents.ResourceSpecificResults = deserializeAws_queryResourceSpecificResultListType((0, smithy_client_1.getArrayIfSingleItem)(output["ResourceSpecificResults"]["member"]), context);
11479
11479
  }
11480
11480
  return contents;
11481
11481
  };
@@ -11495,10 +11495,10 @@ const deserializeAws_queryGenerateCredentialReportResponse = (output, context) =
11495
11495
  Description: undefined,
11496
11496
  };
11497
11497
  if (output["State"] !== undefined) {
11498
- contents.State = smithy_client_1.expectString(output["State"]);
11498
+ contents.State = (0, smithy_client_1.expectString)(output["State"]);
11499
11499
  }
11500
11500
  if (output["Description"] !== undefined) {
11501
- contents.Description = smithy_client_1.expectString(output["Description"]);
11501
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
11502
11502
  }
11503
11503
  return contents;
11504
11504
  };
@@ -11507,7 +11507,7 @@ const deserializeAws_queryGenerateOrganizationsAccessReportResponse = (output, c
11507
11507
  JobId: undefined,
11508
11508
  };
11509
11509
  if (output["JobId"] !== undefined) {
11510
- contents.JobId = smithy_client_1.expectString(output["JobId"]);
11510
+ contents.JobId = (0, smithy_client_1.expectString)(output["JobId"]);
11511
11511
  }
11512
11512
  return contents;
11513
11513
  };
@@ -11516,7 +11516,7 @@ const deserializeAws_queryGenerateServiceLastAccessedDetailsResponse = (output,
11516
11516
  JobId: undefined,
11517
11517
  };
11518
11518
  if (output["JobId"] !== undefined) {
11519
- contents.JobId = smithy_client_1.expectString(output["JobId"]);
11519
+ contents.JobId = (0, smithy_client_1.expectString)(output["JobId"]);
11520
11520
  }
11521
11521
  return contents;
11522
11522
  };
@@ -11526,7 +11526,7 @@ const deserializeAws_queryGetAccessKeyLastUsedResponse = (output, context) => {
11526
11526
  AccessKeyLastUsed: undefined,
11527
11527
  };
11528
11528
  if (output["UserName"] !== undefined) {
11529
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
11529
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
11530
11530
  }
11531
11531
  if (output["AccessKeyLastUsed"] !== undefined) {
11532
11532
  contents.AccessKeyLastUsed = deserializeAws_queryAccessKeyLastUsed(output["AccessKeyLastUsed"], context);
@@ -11546,31 +11546,31 @@ const deserializeAws_queryGetAccountAuthorizationDetailsResponse = (output, cont
11546
11546
  contents.UserDetailList = [];
11547
11547
  }
11548
11548
  if (output["UserDetailList"] !== undefined && output["UserDetailList"]["member"] !== undefined) {
11549
- contents.UserDetailList = deserializeAws_queryuserDetailListType(smithy_client_1.getArrayIfSingleItem(output["UserDetailList"]["member"]), context);
11549
+ contents.UserDetailList = deserializeAws_queryuserDetailListType((0, smithy_client_1.getArrayIfSingleItem)(output["UserDetailList"]["member"]), context);
11550
11550
  }
11551
11551
  if (output.GroupDetailList === "") {
11552
11552
  contents.GroupDetailList = [];
11553
11553
  }
11554
11554
  if (output["GroupDetailList"] !== undefined && output["GroupDetailList"]["member"] !== undefined) {
11555
- contents.GroupDetailList = deserializeAws_querygroupDetailListType(smithy_client_1.getArrayIfSingleItem(output["GroupDetailList"]["member"]), context);
11555
+ contents.GroupDetailList = deserializeAws_querygroupDetailListType((0, smithy_client_1.getArrayIfSingleItem)(output["GroupDetailList"]["member"]), context);
11556
11556
  }
11557
11557
  if (output.RoleDetailList === "") {
11558
11558
  contents.RoleDetailList = [];
11559
11559
  }
11560
11560
  if (output["RoleDetailList"] !== undefined && output["RoleDetailList"]["member"] !== undefined) {
11561
- contents.RoleDetailList = deserializeAws_queryroleDetailListType(smithy_client_1.getArrayIfSingleItem(output["RoleDetailList"]["member"]), context);
11561
+ contents.RoleDetailList = deserializeAws_queryroleDetailListType((0, smithy_client_1.getArrayIfSingleItem)(output["RoleDetailList"]["member"]), context);
11562
11562
  }
11563
11563
  if (output.Policies === "") {
11564
11564
  contents.Policies = [];
11565
11565
  }
11566
11566
  if (output["Policies"] !== undefined && output["Policies"]["member"] !== undefined) {
11567
- contents.Policies = deserializeAws_queryManagedPolicyDetailListType(smithy_client_1.getArrayIfSingleItem(output["Policies"]["member"]), context);
11567
+ contents.Policies = deserializeAws_queryManagedPolicyDetailListType((0, smithy_client_1.getArrayIfSingleItem)(output["Policies"]["member"]), context);
11568
11568
  }
11569
11569
  if (output["IsTruncated"] !== undefined) {
11570
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
11570
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
11571
11571
  }
11572
11572
  if (output["Marker"] !== undefined) {
11573
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
11573
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11574
11574
  }
11575
11575
  return contents;
11576
11576
  };
@@ -11591,7 +11591,7 @@ const deserializeAws_queryGetAccountSummaryResponse = (output, context) => {
11591
11591
  contents.SummaryMap = {};
11592
11592
  }
11593
11593
  if (output["SummaryMap"] !== undefined && output["SummaryMap"]["entry"] !== undefined) {
11594
- contents.SummaryMap = deserializeAws_querysummaryMapType(smithy_client_1.getArrayIfSingleItem(output["SummaryMap"]["entry"]), context);
11594
+ contents.SummaryMap = deserializeAws_querysummaryMapType((0, smithy_client_1.getArrayIfSingleItem)(output["SummaryMap"]["entry"]), context);
11595
11595
  }
11596
11596
  return contents;
11597
11597
  };
@@ -11603,7 +11603,7 @@ const deserializeAws_queryGetContextKeysForPolicyResponse = (output, context) =>
11603
11603
  contents.ContextKeyNames = [];
11604
11604
  }
11605
11605
  if (output["ContextKeyNames"] !== undefined && output["ContextKeyNames"]["member"] !== undefined) {
11606
- contents.ContextKeyNames = deserializeAws_queryContextKeyNamesResultListType(smithy_client_1.getArrayIfSingleItem(output["ContextKeyNames"]["member"]), context);
11606
+ contents.ContextKeyNames = deserializeAws_queryContextKeyNamesResultListType((0, smithy_client_1.getArrayIfSingleItem)(output["ContextKeyNames"]["member"]), context);
11607
11607
  }
11608
11608
  return contents;
11609
11609
  };
@@ -11617,10 +11617,10 @@ const deserializeAws_queryGetCredentialReportResponse = (output, context) => {
11617
11617
  contents.Content = context.base64Decoder(output["Content"]);
11618
11618
  }
11619
11619
  if (output["ReportFormat"] !== undefined) {
11620
- contents.ReportFormat = smithy_client_1.expectString(output["ReportFormat"]);
11620
+ contents.ReportFormat = (0, smithy_client_1.expectString)(output["ReportFormat"]);
11621
11621
  }
11622
11622
  if (output["GeneratedTime"] !== undefined) {
11623
- contents.GeneratedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["GeneratedTime"]));
11623
+ contents.GeneratedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["GeneratedTime"]));
11624
11624
  }
11625
11625
  return contents;
11626
11626
  };
@@ -11631,13 +11631,13 @@ const deserializeAws_queryGetGroupPolicyResponse = (output, context) => {
11631
11631
  PolicyDocument: undefined,
11632
11632
  };
11633
11633
  if (output["GroupName"] !== undefined) {
11634
- contents.GroupName = smithy_client_1.expectString(output["GroupName"]);
11634
+ contents.GroupName = (0, smithy_client_1.expectString)(output["GroupName"]);
11635
11635
  }
11636
11636
  if (output["PolicyName"] !== undefined) {
11637
- contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
11637
+ contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
11638
11638
  }
11639
11639
  if (output["PolicyDocument"] !== undefined) {
11640
- contents.PolicyDocument = smithy_client_1.expectString(output["PolicyDocument"]);
11640
+ contents.PolicyDocument = (0, smithy_client_1.expectString)(output["PolicyDocument"]);
11641
11641
  }
11642
11642
  return contents;
11643
11643
  };
@@ -11655,13 +11655,13 @@ const deserializeAws_queryGetGroupResponse = (output, context) => {
11655
11655
  contents.Users = [];
11656
11656
  }
11657
11657
  if (output["Users"] !== undefined && output["Users"]["member"] !== undefined) {
11658
- contents.Users = deserializeAws_queryuserListType(smithy_client_1.getArrayIfSingleItem(output["Users"]["member"]), context);
11658
+ contents.Users = deserializeAws_queryuserListType((0, smithy_client_1.getArrayIfSingleItem)(output["Users"]["member"]), context);
11659
11659
  }
11660
11660
  if (output["IsTruncated"] !== undefined) {
11661
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
11661
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
11662
11662
  }
11663
11663
  if (output["Marker"] !== undefined) {
11664
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
11664
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11665
11665
  }
11666
11666
  return contents;
11667
11667
  };
@@ -11692,28 +11692,28 @@ const deserializeAws_queryGetOpenIDConnectProviderResponse = (output, context) =
11692
11692
  Tags: undefined,
11693
11693
  };
11694
11694
  if (output["Url"] !== undefined) {
11695
- contents.Url = smithy_client_1.expectString(output["Url"]);
11695
+ contents.Url = (0, smithy_client_1.expectString)(output["Url"]);
11696
11696
  }
11697
11697
  if (output.ClientIDList === "") {
11698
11698
  contents.ClientIDList = [];
11699
11699
  }
11700
11700
  if (output["ClientIDList"] !== undefined && output["ClientIDList"]["member"] !== undefined) {
11701
- contents.ClientIDList = deserializeAws_queryclientIDListType(smithy_client_1.getArrayIfSingleItem(output["ClientIDList"]["member"]), context);
11701
+ contents.ClientIDList = deserializeAws_queryclientIDListType((0, smithy_client_1.getArrayIfSingleItem)(output["ClientIDList"]["member"]), context);
11702
11702
  }
11703
11703
  if (output.ThumbprintList === "") {
11704
11704
  contents.ThumbprintList = [];
11705
11705
  }
11706
11706
  if (output["ThumbprintList"] !== undefined && output["ThumbprintList"]["member"] !== undefined) {
11707
- contents.ThumbprintList = deserializeAws_querythumbprintListType(smithy_client_1.getArrayIfSingleItem(output["ThumbprintList"]["member"]), context);
11707
+ contents.ThumbprintList = deserializeAws_querythumbprintListType((0, smithy_client_1.getArrayIfSingleItem)(output["ThumbprintList"]["member"]), context);
11708
11708
  }
11709
11709
  if (output["CreateDate"] !== undefined) {
11710
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
11710
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
11711
11711
  }
11712
11712
  if (output.Tags === "") {
11713
11713
  contents.Tags = [];
11714
11714
  }
11715
11715
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
11716
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
11716
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
11717
11717
  }
11718
11718
  return contents;
11719
11719
  };
@@ -11730,31 +11730,31 @@ const deserializeAws_queryGetOrganizationsAccessReportResponse = (output, contex
11730
11730
  ErrorDetails: undefined,
11731
11731
  };
11732
11732
  if (output["JobStatus"] !== undefined) {
11733
- contents.JobStatus = smithy_client_1.expectString(output["JobStatus"]);
11733
+ contents.JobStatus = (0, smithy_client_1.expectString)(output["JobStatus"]);
11734
11734
  }
11735
11735
  if (output["JobCreationDate"] !== undefined) {
11736
- contents.JobCreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCreationDate"]));
11736
+ contents.JobCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["JobCreationDate"]));
11737
11737
  }
11738
11738
  if (output["JobCompletionDate"] !== undefined) {
11739
- contents.JobCompletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCompletionDate"]));
11739
+ contents.JobCompletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["JobCompletionDate"]));
11740
11740
  }
11741
11741
  if (output["NumberOfServicesAccessible"] !== undefined) {
11742
- contents.NumberOfServicesAccessible = smithy_client_1.strictParseInt32(output["NumberOfServicesAccessible"]);
11742
+ contents.NumberOfServicesAccessible = (0, smithy_client_1.strictParseInt32)(output["NumberOfServicesAccessible"]);
11743
11743
  }
11744
11744
  if (output["NumberOfServicesNotAccessed"] !== undefined) {
11745
- contents.NumberOfServicesNotAccessed = smithy_client_1.strictParseInt32(output["NumberOfServicesNotAccessed"]);
11745
+ contents.NumberOfServicesNotAccessed = (0, smithy_client_1.strictParseInt32)(output["NumberOfServicesNotAccessed"]);
11746
11746
  }
11747
11747
  if (output.AccessDetails === "") {
11748
11748
  contents.AccessDetails = [];
11749
11749
  }
11750
11750
  if (output["AccessDetails"] !== undefined && output["AccessDetails"]["member"] !== undefined) {
11751
- contents.AccessDetails = deserializeAws_queryAccessDetails(smithy_client_1.getArrayIfSingleItem(output["AccessDetails"]["member"]), context);
11751
+ contents.AccessDetails = deserializeAws_queryAccessDetails((0, smithy_client_1.getArrayIfSingleItem)(output["AccessDetails"]["member"]), context);
11752
11752
  }
11753
11753
  if (output["IsTruncated"] !== undefined) {
11754
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
11754
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
11755
11755
  }
11756
11756
  if (output["Marker"] !== undefined) {
11757
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
11757
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11758
11758
  }
11759
11759
  if (output["ErrorDetails"] !== undefined) {
11760
11760
  contents.ErrorDetails = deserializeAws_queryErrorDetails(output["ErrorDetails"], context);
@@ -11786,13 +11786,13 @@ const deserializeAws_queryGetRolePolicyResponse = (output, context) => {
11786
11786
  PolicyDocument: undefined,
11787
11787
  };
11788
11788
  if (output["RoleName"] !== undefined) {
11789
- contents.RoleName = smithy_client_1.expectString(output["RoleName"]);
11789
+ contents.RoleName = (0, smithy_client_1.expectString)(output["RoleName"]);
11790
11790
  }
11791
11791
  if (output["PolicyName"] !== undefined) {
11792
- contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
11792
+ contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
11793
11793
  }
11794
11794
  if (output["PolicyDocument"] !== undefined) {
11795
- contents.PolicyDocument = smithy_client_1.expectString(output["PolicyDocument"]);
11795
+ contents.PolicyDocument = (0, smithy_client_1.expectString)(output["PolicyDocument"]);
11796
11796
  }
11797
11797
  return contents;
11798
11798
  };
@@ -11813,19 +11813,19 @@ const deserializeAws_queryGetSAMLProviderResponse = (output, context) => {
11813
11813
  Tags: undefined,
11814
11814
  };
11815
11815
  if (output["SAMLMetadataDocument"] !== undefined) {
11816
- contents.SAMLMetadataDocument = smithy_client_1.expectString(output["SAMLMetadataDocument"]);
11816
+ contents.SAMLMetadataDocument = (0, smithy_client_1.expectString)(output["SAMLMetadataDocument"]);
11817
11817
  }
11818
11818
  if (output["CreateDate"] !== undefined) {
11819
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
11819
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
11820
11820
  }
11821
11821
  if (output["ValidUntil"] !== undefined) {
11822
- contents.ValidUntil = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ValidUntil"]));
11822
+ contents.ValidUntil = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ValidUntil"]));
11823
11823
  }
11824
11824
  if (output.Tags === "") {
11825
11825
  contents.Tags = [];
11826
11826
  }
11827
11827
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
11828
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
11828
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
11829
11829
  }
11830
11830
  return contents;
11831
11831
  };
@@ -11850,28 +11850,28 @@ const deserializeAws_queryGetServiceLastAccessedDetailsResponse = (output, conte
11850
11850
  Error: undefined,
11851
11851
  };
11852
11852
  if (output["JobStatus"] !== undefined) {
11853
- contents.JobStatus = smithy_client_1.expectString(output["JobStatus"]);
11853
+ contents.JobStatus = (0, smithy_client_1.expectString)(output["JobStatus"]);
11854
11854
  }
11855
11855
  if (output["JobType"] !== undefined) {
11856
- contents.JobType = smithy_client_1.expectString(output["JobType"]);
11856
+ contents.JobType = (0, smithy_client_1.expectString)(output["JobType"]);
11857
11857
  }
11858
11858
  if (output["JobCreationDate"] !== undefined) {
11859
- contents.JobCreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCreationDate"]));
11859
+ contents.JobCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["JobCreationDate"]));
11860
11860
  }
11861
11861
  if (output.ServicesLastAccessed === "") {
11862
11862
  contents.ServicesLastAccessed = [];
11863
11863
  }
11864
11864
  if (output["ServicesLastAccessed"] !== undefined && output["ServicesLastAccessed"]["member"] !== undefined) {
11865
- contents.ServicesLastAccessed = deserializeAws_queryServicesLastAccessed(smithy_client_1.getArrayIfSingleItem(output["ServicesLastAccessed"]["member"]), context);
11865
+ contents.ServicesLastAccessed = deserializeAws_queryServicesLastAccessed((0, smithy_client_1.getArrayIfSingleItem)(output["ServicesLastAccessed"]["member"]), context);
11866
11866
  }
11867
11867
  if (output["JobCompletionDate"] !== undefined) {
11868
- contents.JobCompletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCompletionDate"]));
11868
+ contents.JobCompletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["JobCompletionDate"]));
11869
11869
  }
11870
11870
  if (output["IsTruncated"] !== undefined) {
11871
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
11871
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
11872
11872
  }
11873
11873
  if (output["Marker"] !== undefined) {
11874
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
11874
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11875
11875
  }
11876
11876
  if (output["Error"] !== undefined) {
11877
11877
  contents.Error = deserializeAws_queryErrorDetails(output["Error"], context);
@@ -11889,25 +11889,25 @@ const deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesResponse = (o
11889
11889
  Error: undefined,
11890
11890
  };
11891
11891
  if (output["JobStatus"] !== undefined) {
11892
- contents.JobStatus = smithy_client_1.expectString(output["JobStatus"]);
11892
+ contents.JobStatus = (0, smithy_client_1.expectString)(output["JobStatus"]);
11893
11893
  }
11894
11894
  if (output["JobCreationDate"] !== undefined) {
11895
- contents.JobCreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCreationDate"]));
11895
+ contents.JobCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["JobCreationDate"]));
11896
11896
  }
11897
11897
  if (output["JobCompletionDate"] !== undefined) {
11898
- contents.JobCompletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["JobCompletionDate"]));
11898
+ contents.JobCompletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["JobCompletionDate"]));
11899
11899
  }
11900
11900
  if (output.EntityDetailsList === "") {
11901
11901
  contents.EntityDetailsList = [];
11902
11902
  }
11903
11903
  if (output["EntityDetailsList"] !== undefined && output["EntityDetailsList"]["member"] !== undefined) {
11904
- contents.EntityDetailsList = deserializeAws_queryentityDetailsListType(smithy_client_1.getArrayIfSingleItem(output["EntityDetailsList"]["member"]), context);
11904
+ contents.EntityDetailsList = deserializeAws_queryentityDetailsListType((0, smithy_client_1.getArrayIfSingleItem)(output["EntityDetailsList"]["member"]), context);
11905
11905
  }
11906
11906
  if (output["IsTruncated"] !== undefined) {
11907
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
11907
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
11908
11908
  }
11909
11909
  if (output["Marker"] !== undefined) {
11910
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
11910
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
11911
11911
  }
11912
11912
  if (output["Error"] !== undefined) {
11913
11913
  contents.Error = deserializeAws_queryErrorDetails(output["Error"], context);
@@ -11920,7 +11920,7 @@ const deserializeAws_queryGetServiceLinkedRoleDeletionStatusResponse = (output,
11920
11920
  Reason: undefined,
11921
11921
  };
11922
11922
  if (output["Status"] !== undefined) {
11923
- contents.Status = smithy_client_1.expectString(output["Status"]);
11923
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
11924
11924
  }
11925
11925
  if (output["Reason"] !== undefined) {
11926
11926
  contents.Reason = deserializeAws_queryDeletionTaskFailureReasonType(output["Reason"], context);
@@ -11943,13 +11943,13 @@ const deserializeAws_queryGetUserPolicyResponse = (output, context) => {
11943
11943
  PolicyDocument: undefined,
11944
11944
  };
11945
11945
  if (output["UserName"] !== undefined) {
11946
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
11946
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
11947
11947
  }
11948
11948
  if (output["PolicyName"] !== undefined) {
11949
- contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
11949
+ contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
11950
11950
  }
11951
11951
  if (output["PolicyDocument"] !== undefined) {
11952
- contents.PolicyDocument = smithy_client_1.expectString(output["PolicyDocument"]);
11952
+ contents.PolicyDocument = (0, smithy_client_1.expectString)(output["PolicyDocument"]);
11953
11953
  }
11954
11954
  return contents;
11955
11955
  };
@@ -11971,19 +11971,19 @@ const deserializeAws_queryGroup = (output, context) => {
11971
11971
  CreateDate: undefined,
11972
11972
  };
11973
11973
  if (output["Path"] !== undefined) {
11974
- contents.Path = smithy_client_1.expectString(output["Path"]);
11974
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
11975
11975
  }
11976
11976
  if (output["GroupName"] !== undefined) {
11977
- contents.GroupName = smithy_client_1.expectString(output["GroupName"]);
11977
+ contents.GroupName = (0, smithy_client_1.expectString)(output["GroupName"]);
11978
11978
  }
11979
11979
  if (output["GroupId"] !== undefined) {
11980
- contents.GroupId = smithy_client_1.expectString(output["GroupId"]);
11980
+ contents.GroupId = (0, smithy_client_1.expectString)(output["GroupId"]);
11981
11981
  }
11982
11982
  if (output["Arn"] !== undefined) {
11983
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
11983
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
11984
11984
  }
11985
11985
  if (output["CreateDate"] !== undefined) {
11986
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
11986
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
11987
11987
  }
11988
11988
  return contents;
11989
11989
  };
@@ -11998,31 +11998,31 @@ const deserializeAws_queryGroupDetail = (output, context) => {
11998
11998
  AttachedManagedPolicies: undefined,
11999
11999
  };
12000
12000
  if (output["Path"] !== undefined) {
12001
- contents.Path = smithy_client_1.expectString(output["Path"]);
12001
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
12002
12002
  }
12003
12003
  if (output["GroupName"] !== undefined) {
12004
- contents.GroupName = smithy_client_1.expectString(output["GroupName"]);
12004
+ contents.GroupName = (0, smithy_client_1.expectString)(output["GroupName"]);
12005
12005
  }
12006
12006
  if (output["GroupId"] !== undefined) {
12007
- contents.GroupId = smithy_client_1.expectString(output["GroupId"]);
12007
+ contents.GroupId = (0, smithy_client_1.expectString)(output["GroupId"]);
12008
12008
  }
12009
12009
  if (output["Arn"] !== undefined) {
12010
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
12010
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
12011
12011
  }
12012
12012
  if (output["CreateDate"] !== undefined) {
12013
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
12013
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
12014
12014
  }
12015
12015
  if (output.GroupPolicyList === "") {
12016
12016
  contents.GroupPolicyList = [];
12017
12017
  }
12018
12018
  if (output["GroupPolicyList"] !== undefined && output["GroupPolicyList"]["member"] !== undefined) {
12019
- contents.GroupPolicyList = deserializeAws_querypolicyDetailListType(smithy_client_1.getArrayIfSingleItem(output["GroupPolicyList"]["member"]), context);
12019
+ contents.GroupPolicyList = deserializeAws_querypolicyDetailListType((0, smithy_client_1.getArrayIfSingleItem)(output["GroupPolicyList"]["member"]), context);
12020
12020
  }
12021
12021
  if (output.AttachedManagedPolicies === "") {
12022
12022
  contents.AttachedManagedPolicies = [];
12023
12023
  }
12024
12024
  if (output["AttachedManagedPolicies"] !== undefined && output["AttachedManagedPolicies"]["member"] !== undefined) {
12025
- contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedManagedPolicies"]["member"]), context);
12025
+ contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType((0, smithy_client_1.getArrayIfSingleItem)(output["AttachedManagedPolicies"]["member"]), context);
12026
12026
  }
12027
12027
  return contents;
12028
12028
  };
@@ -12053,7 +12053,7 @@ const deserializeAws_querygroupNameListType = (output, context) => {
12053
12053
  if (entry === null) {
12054
12054
  return null;
12055
12055
  }
12056
- return smithy_client_1.expectString(entry);
12056
+ return (0, smithy_client_1.expectString)(entry);
12057
12057
  });
12058
12058
  };
12059
12059
  const deserializeAws_queryInstanceProfile = (output, context) => {
@@ -12067,31 +12067,31 @@ const deserializeAws_queryInstanceProfile = (output, context) => {
12067
12067
  Tags: undefined,
12068
12068
  };
12069
12069
  if (output["Path"] !== undefined) {
12070
- contents.Path = smithy_client_1.expectString(output["Path"]);
12070
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
12071
12071
  }
12072
12072
  if (output["InstanceProfileName"] !== undefined) {
12073
- contents.InstanceProfileName = smithy_client_1.expectString(output["InstanceProfileName"]);
12073
+ contents.InstanceProfileName = (0, smithy_client_1.expectString)(output["InstanceProfileName"]);
12074
12074
  }
12075
12075
  if (output["InstanceProfileId"] !== undefined) {
12076
- contents.InstanceProfileId = smithy_client_1.expectString(output["InstanceProfileId"]);
12076
+ contents.InstanceProfileId = (0, smithy_client_1.expectString)(output["InstanceProfileId"]);
12077
12077
  }
12078
12078
  if (output["Arn"] !== undefined) {
12079
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
12079
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
12080
12080
  }
12081
12081
  if (output["CreateDate"] !== undefined) {
12082
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
12082
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
12083
12083
  }
12084
12084
  if (output.Roles === "") {
12085
12085
  contents.Roles = [];
12086
12086
  }
12087
12087
  if (output["Roles"] !== undefined && output["Roles"]["member"] !== undefined) {
12088
- contents.Roles = deserializeAws_queryroleListType(smithy_client_1.getArrayIfSingleItem(output["Roles"]["member"]), context);
12088
+ contents.Roles = deserializeAws_queryroleListType((0, smithy_client_1.getArrayIfSingleItem)(output["Roles"]["member"]), context);
12089
12089
  }
12090
12090
  if (output.Tags === "") {
12091
12091
  contents.Tags = [];
12092
12092
  }
12093
12093
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
12094
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
12094
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
12095
12095
  }
12096
12096
  return contents;
12097
12097
  };
@@ -12110,7 +12110,7 @@ const deserializeAws_queryInvalidAuthenticationCodeException = (output, context)
12110
12110
  message: undefined,
12111
12111
  };
12112
12112
  if (output["message"] !== undefined) {
12113
- contents.message = smithy_client_1.expectString(output["message"]);
12113
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
12114
12114
  }
12115
12115
  return contents;
12116
12116
  };
@@ -12119,7 +12119,7 @@ const deserializeAws_queryInvalidCertificateException = (output, context) => {
12119
12119
  message: undefined,
12120
12120
  };
12121
12121
  if (output["message"] !== undefined) {
12122
- contents.message = smithy_client_1.expectString(output["message"]);
12122
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
12123
12123
  }
12124
12124
  return contents;
12125
12125
  };
@@ -12128,7 +12128,7 @@ const deserializeAws_queryInvalidInputException = (output, context) => {
12128
12128
  message: undefined,
12129
12129
  };
12130
12130
  if (output["message"] !== undefined) {
12131
- contents.message = smithy_client_1.expectString(output["message"]);
12131
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
12132
12132
  }
12133
12133
  return contents;
12134
12134
  };
@@ -12137,7 +12137,7 @@ const deserializeAws_queryInvalidPublicKeyException = (output, context) => {
12137
12137
  message: undefined,
12138
12138
  };
12139
12139
  if (output["message"] !== undefined) {
12140
- contents.message = smithy_client_1.expectString(output["message"]);
12140
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
12141
12141
  }
12142
12142
  return contents;
12143
12143
  };
@@ -12146,7 +12146,7 @@ const deserializeAws_queryInvalidUserTypeException = (output, context) => {
12146
12146
  message: undefined,
12147
12147
  };
12148
12148
  if (output["message"] !== undefined) {
12149
- contents.message = smithy_client_1.expectString(output["message"]);
12149
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
12150
12150
  }
12151
12151
  return contents;
12152
12152
  };
@@ -12155,7 +12155,7 @@ const deserializeAws_queryKeyPairMismatchException = (output, context) => {
12155
12155
  message: undefined,
12156
12156
  };
12157
12157
  if (output["message"] !== undefined) {
12158
- contents.message = smithy_client_1.expectString(output["message"]);
12158
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
12159
12159
  }
12160
12160
  return contents;
12161
12161
  };
@@ -12164,7 +12164,7 @@ const deserializeAws_queryLimitExceededException = (output, context) => {
12164
12164
  message: undefined,
12165
12165
  };
12166
12166
  if (output["message"] !== undefined) {
12167
- contents.message = smithy_client_1.expectString(output["message"]);
12167
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
12168
12168
  }
12169
12169
  return contents;
12170
12170
  };
@@ -12178,13 +12178,13 @@ const deserializeAws_queryListAccessKeysResponse = (output, context) => {
12178
12178
  contents.AccessKeyMetadata = [];
12179
12179
  }
12180
12180
  if (output["AccessKeyMetadata"] !== undefined && output["AccessKeyMetadata"]["member"] !== undefined) {
12181
- contents.AccessKeyMetadata = deserializeAws_queryaccessKeyMetadataListType(smithy_client_1.getArrayIfSingleItem(output["AccessKeyMetadata"]["member"]), context);
12181
+ contents.AccessKeyMetadata = deserializeAws_queryaccessKeyMetadataListType((0, smithy_client_1.getArrayIfSingleItem)(output["AccessKeyMetadata"]["member"]), context);
12182
12182
  }
12183
12183
  if (output["IsTruncated"] !== undefined) {
12184
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12184
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12185
12185
  }
12186
12186
  if (output["Marker"] !== undefined) {
12187
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12187
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12188
12188
  }
12189
12189
  return contents;
12190
12190
  };
@@ -12198,13 +12198,13 @@ const deserializeAws_queryListAccountAliasesResponse = (output, context) => {
12198
12198
  contents.AccountAliases = [];
12199
12199
  }
12200
12200
  if (output["AccountAliases"] !== undefined && output["AccountAliases"]["member"] !== undefined) {
12201
- contents.AccountAliases = deserializeAws_queryaccountAliasListType(smithy_client_1.getArrayIfSingleItem(output["AccountAliases"]["member"]), context);
12201
+ contents.AccountAliases = deserializeAws_queryaccountAliasListType((0, smithy_client_1.getArrayIfSingleItem)(output["AccountAliases"]["member"]), context);
12202
12202
  }
12203
12203
  if (output["IsTruncated"] !== undefined) {
12204
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12204
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12205
12205
  }
12206
12206
  if (output["Marker"] !== undefined) {
12207
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12207
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12208
12208
  }
12209
12209
  return contents;
12210
12210
  };
@@ -12218,13 +12218,13 @@ const deserializeAws_queryListAttachedGroupPoliciesResponse = (output, context)
12218
12218
  contents.AttachedPolicies = [];
12219
12219
  }
12220
12220
  if (output["AttachedPolicies"] !== undefined && output["AttachedPolicies"]["member"] !== undefined) {
12221
- contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedPolicies"]["member"]), context);
12221
+ contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType((0, smithy_client_1.getArrayIfSingleItem)(output["AttachedPolicies"]["member"]), context);
12222
12222
  }
12223
12223
  if (output["IsTruncated"] !== undefined) {
12224
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12224
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12225
12225
  }
12226
12226
  if (output["Marker"] !== undefined) {
12227
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12227
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12228
12228
  }
12229
12229
  return contents;
12230
12230
  };
@@ -12238,13 +12238,13 @@ const deserializeAws_queryListAttachedRolePoliciesResponse = (output, context) =
12238
12238
  contents.AttachedPolicies = [];
12239
12239
  }
12240
12240
  if (output["AttachedPolicies"] !== undefined && output["AttachedPolicies"]["member"] !== undefined) {
12241
- contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedPolicies"]["member"]), context);
12241
+ contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType((0, smithy_client_1.getArrayIfSingleItem)(output["AttachedPolicies"]["member"]), context);
12242
12242
  }
12243
12243
  if (output["IsTruncated"] !== undefined) {
12244
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12244
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12245
12245
  }
12246
12246
  if (output["Marker"] !== undefined) {
12247
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12247
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12248
12248
  }
12249
12249
  return contents;
12250
12250
  };
@@ -12258,13 +12258,13 @@ const deserializeAws_queryListAttachedUserPoliciesResponse = (output, context) =
12258
12258
  contents.AttachedPolicies = [];
12259
12259
  }
12260
12260
  if (output["AttachedPolicies"] !== undefined && output["AttachedPolicies"]["member"] !== undefined) {
12261
- contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedPolicies"]["member"]), context);
12261
+ contents.AttachedPolicies = deserializeAws_queryattachedPoliciesListType((0, smithy_client_1.getArrayIfSingleItem)(output["AttachedPolicies"]["member"]), context);
12262
12262
  }
12263
12263
  if (output["IsTruncated"] !== undefined) {
12264
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12264
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12265
12265
  }
12266
12266
  if (output["Marker"] !== undefined) {
12267
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12267
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12268
12268
  }
12269
12269
  return contents;
12270
12270
  };
@@ -12280,25 +12280,25 @@ const deserializeAws_queryListEntitiesForPolicyResponse = (output, context) => {
12280
12280
  contents.PolicyGroups = [];
12281
12281
  }
12282
12282
  if (output["PolicyGroups"] !== undefined && output["PolicyGroups"]["member"] !== undefined) {
12283
- contents.PolicyGroups = deserializeAws_queryPolicyGroupListType(smithy_client_1.getArrayIfSingleItem(output["PolicyGroups"]["member"]), context);
12283
+ contents.PolicyGroups = deserializeAws_queryPolicyGroupListType((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyGroups"]["member"]), context);
12284
12284
  }
12285
12285
  if (output.PolicyUsers === "") {
12286
12286
  contents.PolicyUsers = [];
12287
12287
  }
12288
12288
  if (output["PolicyUsers"] !== undefined && output["PolicyUsers"]["member"] !== undefined) {
12289
- contents.PolicyUsers = deserializeAws_queryPolicyUserListType(smithy_client_1.getArrayIfSingleItem(output["PolicyUsers"]["member"]), context);
12289
+ contents.PolicyUsers = deserializeAws_queryPolicyUserListType((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyUsers"]["member"]), context);
12290
12290
  }
12291
12291
  if (output.PolicyRoles === "") {
12292
12292
  contents.PolicyRoles = [];
12293
12293
  }
12294
12294
  if (output["PolicyRoles"] !== undefined && output["PolicyRoles"]["member"] !== undefined) {
12295
- contents.PolicyRoles = deserializeAws_queryPolicyRoleListType(smithy_client_1.getArrayIfSingleItem(output["PolicyRoles"]["member"]), context);
12295
+ contents.PolicyRoles = deserializeAws_queryPolicyRoleListType((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyRoles"]["member"]), context);
12296
12296
  }
12297
12297
  if (output["IsTruncated"] !== undefined) {
12298
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12298
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12299
12299
  }
12300
12300
  if (output["Marker"] !== undefined) {
12301
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12301
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12302
12302
  }
12303
12303
  return contents;
12304
12304
  };
@@ -12312,13 +12312,13 @@ const deserializeAws_queryListGroupPoliciesResponse = (output, context) => {
12312
12312
  contents.PolicyNames = [];
12313
12313
  }
12314
12314
  if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
12315
- contents.PolicyNames = deserializeAws_querypolicyNameListType(smithy_client_1.getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
12315
+ contents.PolicyNames = deserializeAws_querypolicyNameListType((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyNames"]["member"]), context);
12316
12316
  }
12317
12317
  if (output["IsTruncated"] !== undefined) {
12318
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12318
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12319
12319
  }
12320
12320
  if (output["Marker"] !== undefined) {
12321
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12321
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12322
12322
  }
12323
12323
  return contents;
12324
12324
  };
@@ -12332,13 +12332,13 @@ const deserializeAws_queryListGroupsForUserResponse = (output, context) => {
12332
12332
  contents.Groups = [];
12333
12333
  }
12334
12334
  if (output["Groups"] !== undefined && output["Groups"]["member"] !== undefined) {
12335
- contents.Groups = deserializeAws_querygroupListType(smithy_client_1.getArrayIfSingleItem(output["Groups"]["member"]), context);
12335
+ contents.Groups = deserializeAws_querygroupListType((0, smithy_client_1.getArrayIfSingleItem)(output["Groups"]["member"]), context);
12336
12336
  }
12337
12337
  if (output["IsTruncated"] !== undefined) {
12338
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12338
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12339
12339
  }
12340
12340
  if (output["Marker"] !== undefined) {
12341
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12341
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12342
12342
  }
12343
12343
  return contents;
12344
12344
  };
@@ -12352,13 +12352,13 @@ const deserializeAws_queryListGroupsResponse = (output, context) => {
12352
12352
  contents.Groups = [];
12353
12353
  }
12354
12354
  if (output["Groups"] !== undefined && output["Groups"]["member"] !== undefined) {
12355
- contents.Groups = deserializeAws_querygroupListType(smithy_client_1.getArrayIfSingleItem(output["Groups"]["member"]), context);
12355
+ contents.Groups = deserializeAws_querygroupListType((0, smithy_client_1.getArrayIfSingleItem)(output["Groups"]["member"]), context);
12356
12356
  }
12357
12357
  if (output["IsTruncated"] !== undefined) {
12358
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12358
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12359
12359
  }
12360
12360
  if (output["Marker"] !== undefined) {
12361
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12361
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12362
12362
  }
12363
12363
  return contents;
12364
12364
  };
@@ -12372,13 +12372,13 @@ const deserializeAws_queryListInstanceProfilesForRoleResponse = (output, context
12372
12372
  contents.InstanceProfiles = [];
12373
12373
  }
12374
12374
  if (output["InstanceProfiles"] !== undefined && output["InstanceProfiles"]["member"] !== undefined) {
12375
- contents.InstanceProfiles = deserializeAws_queryinstanceProfileListType(smithy_client_1.getArrayIfSingleItem(output["InstanceProfiles"]["member"]), context);
12375
+ contents.InstanceProfiles = deserializeAws_queryinstanceProfileListType((0, smithy_client_1.getArrayIfSingleItem)(output["InstanceProfiles"]["member"]), context);
12376
12376
  }
12377
12377
  if (output["IsTruncated"] !== undefined) {
12378
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12378
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12379
12379
  }
12380
12380
  if (output["Marker"] !== undefined) {
12381
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12381
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12382
12382
  }
12383
12383
  return contents;
12384
12384
  };
@@ -12392,13 +12392,13 @@ const deserializeAws_queryListInstanceProfilesResponse = (output, context) => {
12392
12392
  contents.InstanceProfiles = [];
12393
12393
  }
12394
12394
  if (output["InstanceProfiles"] !== undefined && output["InstanceProfiles"]["member"] !== undefined) {
12395
- contents.InstanceProfiles = deserializeAws_queryinstanceProfileListType(smithy_client_1.getArrayIfSingleItem(output["InstanceProfiles"]["member"]), context);
12395
+ contents.InstanceProfiles = deserializeAws_queryinstanceProfileListType((0, smithy_client_1.getArrayIfSingleItem)(output["InstanceProfiles"]["member"]), context);
12396
12396
  }
12397
12397
  if (output["IsTruncated"] !== undefined) {
12398
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12398
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12399
12399
  }
12400
12400
  if (output["Marker"] !== undefined) {
12401
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12401
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12402
12402
  }
12403
12403
  return contents;
12404
12404
  };
@@ -12412,13 +12412,13 @@ const deserializeAws_queryListInstanceProfileTagsResponse = (output, context) =>
12412
12412
  contents.Tags = [];
12413
12413
  }
12414
12414
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
12415
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
12415
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
12416
12416
  }
12417
12417
  if (output["IsTruncated"] !== undefined) {
12418
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12418
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12419
12419
  }
12420
12420
  if (output["Marker"] !== undefined) {
12421
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12421
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12422
12422
  }
12423
12423
  return contents;
12424
12424
  };
@@ -12432,13 +12432,13 @@ const deserializeAws_queryListMFADevicesResponse = (output, context) => {
12432
12432
  contents.MFADevices = [];
12433
12433
  }
12434
12434
  if (output["MFADevices"] !== undefined && output["MFADevices"]["member"] !== undefined) {
12435
- contents.MFADevices = deserializeAws_querymfaDeviceListType(smithy_client_1.getArrayIfSingleItem(output["MFADevices"]["member"]), context);
12435
+ contents.MFADevices = deserializeAws_querymfaDeviceListType((0, smithy_client_1.getArrayIfSingleItem)(output["MFADevices"]["member"]), context);
12436
12436
  }
12437
12437
  if (output["IsTruncated"] !== undefined) {
12438
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12438
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12439
12439
  }
12440
12440
  if (output["Marker"] !== undefined) {
12441
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12441
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12442
12442
  }
12443
12443
  return contents;
12444
12444
  };
@@ -12452,13 +12452,13 @@ const deserializeAws_queryListMFADeviceTagsResponse = (output, context) => {
12452
12452
  contents.Tags = [];
12453
12453
  }
12454
12454
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
12455
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
12455
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
12456
12456
  }
12457
12457
  if (output["IsTruncated"] !== undefined) {
12458
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12458
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12459
12459
  }
12460
12460
  if (output["Marker"] !== undefined) {
12461
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12461
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12462
12462
  }
12463
12463
  return contents;
12464
12464
  };
@@ -12471,7 +12471,7 @@ const deserializeAws_queryListOpenIDConnectProvidersResponse = (output, context)
12471
12471
  }
12472
12472
  if (output["OpenIDConnectProviderList"] !== undefined &&
12473
12473
  output["OpenIDConnectProviderList"]["member"] !== undefined) {
12474
- contents.OpenIDConnectProviderList = deserializeAws_queryOpenIDConnectProviderListType(smithy_client_1.getArrayIfSingleItem(output["OpenIDConnectProviderList"]["member"]), context);
12474
+ contents.OpenIDConnectProviderList = deserializeAws_queryOpenIDConnectProviderListType((0, smithy_client_1.getArrayIfSingleItem)(output["OpenIDConnectProviderList"]["member"]), context);
12475
12475
  }
12476
12476
  return contents;
12477
12477
  };
@@ -12485,13 +12485,13 @@ const deserializeAws_queryListOpenIDConnectProviderTagsResponse = (output, conte
12485
12485
  contents.Tags = [];
12486
12486
  }
12487
12487
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
12488
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
12488
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
12489
12489
  }
12490
12490
  if (output["IsTruncated"] !== undefined) {
12491
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12491
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12492
12492
  }
12493
12493
  if (output["Marker"] !== undefined) {
12494
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12494
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12495
12495
  }
12496
12496
  return contents;
12497
12497
  };
@@ -12501,13 +12501,13 @@ const deserializeAws_queryListPoliciesGrantingServiceAccessEntry = (output, cont
12501
12501
  Policies: undefined,
12502
12502
  };
12503
12503
  if (output["ServiceNamespace"] !== undefined) {
12504
- contents.ServiceNamespace = smithy_client_1.expectString(output["ServiceNamespace"]);
12504
+ contents.ServiceNamespace = (0, smithy_client_1.expectString)(output["ServiceNamespace"]);
12505
12505
  }
12506
12506
  if (output.Policies === "") {
12507
12507
  contents.Policies = [];
12508
12508
  }
12509
12509
  if (output["Policies"] !== undefined && output["Policies"]["member"] !== undefined) {
12510
- contents.Policies = deserializeAws_querypolicyGrantingServiceAccessListType(smithy_client_1.getArrayIfSingleItem(output["Policies"]["member"]), context);
12510
+ contents.Policies = deserializeAws_querypolicyGrantingServiceAccessListType((0, smithy_client_1.getArrayIfSingleItem)(output["Policies"]["member"]), context);
12511
12511
  }
12512
12512
  return contents;
12513
12513
  };
@@ -12522,13 +12522,13 @@ const deserializeAws_queryListPoliciesGrantingServiceAccessResponse = (output, c
12522
12522
  }
12523
12523
  if (output["PoliciesGrantingServiceAccess"] !== undefined &&
12524
12524
  output["PoliciesGrantingServiceAccess"]["member"] !== undefined) {
12525
- contents.PoliciesGrantingServiceAccess = deserializeAws_querylistPolicyGrantingServiceAccessResponseListType(smithy_client_1.getArrayIfSingleItem(output["PoliciesGrantingServiceAccess"]["member"]), context);
12525
+ contents.PoliciesGrantingServiceAccess = deserializeAws_querylistPolicyGrantingServiceAccessResponseListType((0, smithy_client_1.getArrayIfSingleItem)(output["PoliciesGrantingServiceAccess"]["member"]), context);
12526
12526
  }
12527
12527
  if (output["IsTruncated"] !== undefined) {
12528
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12528
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12529
12529
  }
12530
12530
  if (output["Marker"] !== undefined) {
12531
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12531
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12532
12532
  }
12533
12533
  return contents;
12534
12534
  };
@@ -12542,13 +12542,13 @@ const deserializeAws_queryListPoliciesResponse = (output, context) => {
12542
12542
  contents.Policies = [];
12543
12543
  }
12544
12544
  if (output["Policies"] !== undefined && output["Policies"]["member"] !== undefined) {
12545
- contents.Policies = deserializeAws_querypolicyListType(smithy_client_1.getArrayIfSingleItem(output["Policies"]["member"]), context);
12545
+ contents.Policies = deserializeAws_querypolicyListType((0, smithy_client_1.getArrayIfSingleItem)(output["Policies"]["member"]), context);
12546
12546
  }
12547
12547
  if (output["IsTruncated"] !== undefined) {
12548
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12548
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12549
12549
  }
12550
12550
  if (output["Marker"] !== undefined) {
12551
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12551
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12552
12552
  }
12553
12553
  return contents;
12554
12554
  };
@@ -12572,13 +12572,13 @@ const deserializeAws_queryListPolicyTagsResponse = (output, context) => {
12572
12572
  contents.Tags = [];
12573
12573
  }
12574
12574
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
12575
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
12575
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
12576
12576
  }
12577
12577
  if (output["IsTruncated"] !== undefined) {
12578
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12578
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12579
12579
  }
12580
12580
  if (output["Marker"] !== undefined) {
12581
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12581
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12582
12582
  }
12583
12583
  return contents;
12584
12584
  };
@@ -12592,13 +12592,13 @@ const deserializeAws_queryListPolicyVersionsResponse = (output, context) => {
12592
12592
  contents.Versions = [];
12593
12593
  }
12594
12594
  if (output["Versions"] !== undefined && output["Versions"]["member"] !== undefined) {
12595
- contents.Versions = deserializeAws_querypolicyDocumentVersionListType(smithy_client_1.getArrayIfSingleItem(output["Versions"]["member"]), context);
12595
+ contents.Versions = deserializeAws_querypolicyDocumentVersionListType((0, smithy_client_1.getArrayIfSingleItem)(output["Versions"]["member"]), context);
12596
12596
  }
12597
12597
  if (output["IsTruncated"] !== undefined) {
12598
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12598
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12599
12599
  }
12600
12600
  if (output["Marker"] !== undefined) {
12601
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12601
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12602
12602
  }
12603
12603
  return contents;
12604
12604
  };
@@ -12612,13 +12612,13 @@ const deserializeAws_queryListRolePoliciesResponse = (output, context) => {
12612
12612
  contents.PolicyNames = [];
12613
12613
  }
12614
12614
  if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
12615
- contents.PolicyNames = deserializeAws_querypolicyNameListType(smithy_client_1.getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
12615
+ contents.PolicyNames = deserializeAws_querypolicyNameListType((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyNames"]["member"]), context);
12616
12616
  }
12617
12617
  if (output["IsTruncated"] !== undefined) {
12618
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12618
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12619
12619
  }
12620
12620
  if (output["Marker"] !== undefined) {
12621
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12621
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12622
12622
  }
12623
12623
  return contents;
12624
12624
  };
@@ -12632,13 +12632,13 @@ const deserializeAws_queryListRolesResponse = (output, context) => {
12632
12632
  contents.Roles = [];
12633
12633
  }
12634
12634
  if (output["Roles"] !== undefined && output["Roles"]["member"] !== undefined) {
12635
- contents.Roles = deserializeAws_queryroleListType(smithy_client_1.getArrayIfSingleItem(output["Roles"]["member"]), context);
12635
+ contents.Roles = deserializeAws_queryroleListType((0, smithy_client_1.getArrayIfSingleItem)(output["Roles"]["member"]), context);
12636
12636
  }
12637
12637
  if (output["IsTruncated"] !== undefined) {
12638
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12638
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12639
12639
  }
12640
12640
  if (output["Marker"] !== undefined) {
12641
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12641
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12642
12642
  }
12643
12643
  return contents;
12644
12644
  };
@@ -12652,13 +12652,13 @@ const deserializeAws_queryListRoleTagsResponse = (output, context) => {
12652
12652
  contents.Tags = [];
12653
12653
  }
12654
12654
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
12655
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
12655
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
12656
12656
  }
12657
12657
  if (output["IsTruncated"] !== undefined) {
12658
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12658
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12659
12659
  }
12660
12660
  if (output["Marker"] !== undefined) {
12661
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12661
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12662
12662
  }
12663
12663
  return contents;
12664
12664
  };
@@ -12670,7 +12670,7 @@ const deserializeAws_queryListSAMLProvidersResponse = (output, context) => {
12670
12670
  contents.SAMLProviderList = [];
12671
12671
  }
12672
12672
  if (output["SAMLProviderList"] !== undefined && output["SAMLProviderList"]["member"] !== undefined) {
12673
- contents.SAMLProviderList = deserializeAws_querySAMLProviderListType(smithy_client_1.getArrayIfSingleItem(output["SAMLProviderList"]["member"]), context);
12673
+ contents.SAMLProviderList = deserializeAws_querySAMLProviderListType((0, smithy_client_1.getArrayIfSingleItem)(output["SAMLProviderList"]["member"]), context);
12674
12674
  }
12675
12675
  return contents;
12676
12676
  };
@@ -12684,13 +12684,13 @@ const deserializeAws_queryListSAMLProviderTagsResponse = (output, context) => {
12684
12684
  contents.Tags = [];
12685
12685
  }
12686
12686
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
12687
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
12687
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
12688
12688
  }
12689
12689
  if (output["IsTruncated"] !== undefined) {
12690
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12690
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12691
12691
  }
12692
12692
  if (output["Marker"] !== undefined) {
12693
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12693
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12694
12694
  }
12695
12695
  return contents;
12696
12696
  };
@@ -12705,13 +12705,13 @@ const deserializeAws_queryListServerCertificatesResponse = (output, context) =>
12705
12705
  }
12706
12706
  if (output["ServerCertificateMetadataList"] !== undefined &&
12707
12707
  output["ServerCertificateMetadataList"]["member"] !== undefined) {
12708
- contents.ServerCertificateMetadataList = deserializeAws_queryserverCertificateMetadataListType(smithy_client_1.getArrayIfSingleItem(output["ServerCertificateMetadataList"]["member"]), context);
12708
+ contents.ServerCertificateMetadataList = deserializeAws_queryserverCertificateMetadataListType((0, smithy_client_1.getArrayIfSingleItem)(output["ServerCertificateMetadataList"]["member"]), context);
12709
12709
  }
12710
12710
  if (output["IsTruncated"] !== undefined) {
12711
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12711
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12712
12712
  }
12713
12713
  if (output["Marker"] !== undefined) {
12714
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12714
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12715
12715
  }
12716
12716
  return contents;
12717
12717
  };
@@ -12725,13 +12725,13 @@ const deserializeAws_queryListServerCertificateTagsResponse = (output, context)
12725
12725
  contents.Tags = [];
12726
12726
  }
12727
12727
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
12728
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
12728
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
12729
12729
  }
12730
12730
  if (output["IsTruncated"] !== undefined) {
12731
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12731
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12732
12732
  }
12733
12733
  if (output["Marker"] !== undefined) {
12734
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12734
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12735
12735
  }
12736
12736
  return contents;
12737
12737
  };
@@ -12744,7 +12744,7 @@ const deserializeAws_queryListServiceSpecificCredentialsResponse = (output, cont
12744
12744
  }
12745
12745
  if (output["ServiceSpecificCredentials"] !== undefined &&
12746
12746
  output["ServiceSpecificCredentials"]["member"] !== undefined) {
12747
- contents.ServiceSpecificCredentials = deserializeAws_queryServiceSpecificCredentialsListType(smithy_client_1.getArrayIfSingleItem(output["ServiceSpecificCredentials"]["member"]), context);
12747
+ contents.ServiceSpecificCredentials = deserializeAws_queryServiceSpecificCredentialsListType((0, smithy_client_1.getArrayIfSingleItem)(output["ServiceSpecificCredentials"]["member"]), context);
12748
12748
  }
12749
12749
  return contents;
12750
12750
  };
@@ -12758,13 +12758,13 @@ const deserializeAws_queryListSigningCertificatesResponse = (output, context) =>
12758
12758
  contents.Certificates = [];
12759
12759
  }
12760
12760
  if (output["Certificates"] !== undefined && output["Certificates"]["member"] !== undefined) {
12761
- contents.Certificates = deserializeAws_querycertificateListType(smithy_client_1.getArrayIfSingleItem(output["Certificates"]["member"]), context);
12761
+ contents.Certificates = deserializeAws_querycertificateListType((0, smithy_client_1.getArrayIfSingleItem)(output["Certificates"]["member"]), context);
12762
12762
  }
12763
12763
  if (output["IsTruncated"] !== undefined) {
12764
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12764
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12765
12765
  }
12766
12766
  if (output["Marker"] !== undefined) {
12767
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12767
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12768
12768
  }
12769
12769
  return contents;
12770
12770
  };
@@ -12778,13 +12778,13 @@ const deserializeAws_queryListSSHPublicKeysResponse = (output, context) => {
12778
12778
  contents.SSHPublicKeys = [];
12779
12779
  }
12780
12780
  if (output["SSHPublicKeys"] !== undefined && output["SSHPublicKeys"]["member"] !== undefined) {
12781
- contents.SSHPublicKeys = deserializeAws_querySSHPublicKeyListType(smithy_client_1.getArrayIfSingleItem(output["SSHPublicKeys"]["member"]), context);
12781
+ contents.SSHPublicKeys = deserializeAws_querySSHPublicKeyListType((0, smithy_client_1.getArrayIfSingleItem)(output["SSHPublicKeys"]["member"]), context);
12782
12782
  }
12783
12783
  if (output["IsTruncated"] !== undefined) {
12784
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12784
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12785
12785
  }
12786
12786
  if (output["Marker"] !== undefined) {
12787
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12787
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12788
12788
  }
12789
12789
  return contents;
12790
12790
  };
@@ -12798,13 +12798,13 @@ const deserializeAws_queryListUserPoliciesResponse = (output, context) => {
12798
12798
  contents.PolicyNames = [];
12799
12799
  }
12800
12800
  if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
12801
- contents.PolicyNames = deserializeAws_querypolicyNameListType(smithy_client_1.getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
12801
+ contents.PolicyNames = deserializeAws_querypolicyNameListType((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyNames"]["member"]), context);
12802
12802
  }
12803
12803
  if (output["IsTruncated"] !== undefined) {
12804
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12804
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12805
12805
  }
12806
12806
  if (output["Marker"] !== undefined) {
12807
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12807
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12808
12808
  }
12809
12809
  return contents;
12810
12810
  };
@@ -12818,13 +12818,13 @@ const deserializeAws_queryListUsersResponse = (output, context) => {
12818
12818
  contents.Users = [];
12819
12819
  }
12820
12820
  if (output["Users"] !== undefined && output["Users"]["member"] !== undefined) {
12821
- contents.Users = deserializeAws_queryuserListType(smithy_client_1.getArrayIfSingleItem(output["Users"]["member"]), context);
12821
+ contents.Users = deserializeAws_queryuserListType((0, smithy_client_1.getArrayIfSingleItem)(output["Users"]["member"]), context);
12822
12822
  }
12823
12823
  if (output["IsTruncated"] !== undefined) {
12824
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12824
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12825
12825
  }
12826
12826
  if (output["Marker"] !== undefined) {
12827
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12827
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12828
12828
  }
12829
12829
  return contents;
12830
12830
  };
@@ -12838,13 +12838,13 @@ const deserializeAws_queryListUserTagsResponse = (output, context) => {
12838
12838
  contents.Tags = [];
12839
12839
  }
12840
12840
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
12841
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
12841
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
12842
12842
  }
12843
12843
  if (output["IsTruncated"] !== undefined) {
12844
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12844
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12845
12845
  }
12846
12846
  if (output["Marker"] !== undefined) {
12847
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12847
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12848
12848
  }
12849
12849
  return contents;
12850
12850
  };
@@ -12858,13 +12858,13 @@ const deserializeAws_queryListVirtualMFADevicesResponse = (output, context) => {
12858
12858
  contents.VirtualMFADevices = [];
12859
12859
  }
12860
12860
  if (output["VirtualMFADevices"] !== undefined && output["VirtualMFADevices"]["member"] !== undefined) {
12861
- contents.VirtualMFADevices = deserializeAws_queryvirtualMFADeviceListType(smithy_client_1.getArrayIfSingleItem(output["VirtualMFADevices"]["member"]), context);
12861
+ contents.VirtualMFADevices = deserializeAws_queryvirtualMFADeviceListType((0, smithy_client_1.getArrayIfSingleItem)(output["VirtualMFADevices"]["member"]), context);
12862
12862
  }
12863
12863
  if (output["IsTruncated"] !== undefined) {
12864
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
12864
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
12865
12865
  }
12866
12866
  if (output["Marker"] !== undefined) {
12867
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
12867
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
12868
12868
  }
12869
12869
  return contents;
12870
12870
  };
@@ -12875,13 +12875,13 @@ const deserializeAws_queryLoginProfile = (output, context) => {
12875
12875
  PasswordResetRequired: undefined,
12876
12876
  };
12877
12877
  if (output["UserName"] !== undefined) {
12878
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
12878
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
12879
12879
  }
12880
12880
  if (output["CreateDate"] !== undefined) {
12881
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
12881
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
12882
12882
  }
12883
12883
  if (output["PasswordResetRequired"] !== undefined) {
12884
- contents.PasswordResetRequired = smithy_client_1.parseBoolean(output["PasswordResetRequired"]);
12884
+ contents.PasswordResetRequired = (0, smithy_client_1.parseBoolean)(output["PasswordResetRequired"]);
12885
12885
  }
12886
12886
  return contents;
12887
12887
  };
@@ -12890,7 +12890,7 @@ const deserializeAws_queryMalformedCertificateException = (output, context) => {
12890
12890
  message: undefined,
12891
12891
  };
12892
12892
  if (output["message"] !== undefined) {
12893
- contents.message = smithy_client_1.expectString(output["message"]);
12893
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
12894
12894
  }
12895
12895
  return contents;
12896
12896
  };
@@ -12899,7 +12899,7 @@ const deserializeAws_queryMalformedPolicyDocumentException = (output, context) =
12899
12899
  message: undefined,
12900
12900
  };
12901
12901
  if (output["message"] !== undefined) {
12902
- contents.message = smithy_client_1.expectString(output["message"]);
12902
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
12903
12903
  }
12904
12904
  return contents;
12905
12905
  };
@@ -12919,43 +12919,43 @@ const deserializeAws_queryManagedPolicyDetail = (output, context) => {
12919
12919
  PolicyVersionList: undefined,
12920
12920
  };
12921
12921
  if (output["PolicyName"] !== undefined) {
12922
- contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
12922
+ contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
12923
12923
  }
12924
12924
  if (output["PolicyId"] !== undefined) {
12925
- contents.PolicyId = smithy_client_1.expectString(output["PolicyId"]);
12925
+ contents.PolicyId = (0, smithy_client_1.expectString)(output["PolicyId"]);
12926
12926
  }
12927
12927
  if (output["Arn"] !== undefined) {
12928
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
12928
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
12929
12929
  }
12930
12930
  if (output["Path"] !== undefined) {
12931
- contents.Path = smithy_client_1.expectString(output["Path"]);
12931
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
12932
12932
  }
12933
12933
  if (output["DefaultVersionId"] !== undefined) {
12934
- contents.DefaultVersionId = smithy_client_1.expectString(output["DefaultVersionId"]);
12934
+ contents.DefaultVersionId = (0, smithy_client_1.expectString)(output["DefaultVersionId"]);
12935
12935
  }
12936
12936
  if (output["AttachmentCount"] !== undefined) {
12937
- contents.AttachmentCount = smithy_client_1.strictParseInt32(output["AttachmentCount"]);
12937
+ contents.AttachmentCount = (0, smithy_client_1.strictParseInt32)(output["AttachmentCount"]);
12938
12938
  }
12939
12939
  if (output["PermissionsBoundaryUsageCount"] !== undefined) {
12940
- contents.PermissionsBoundaryUsageCount = smithy_client_1.strictParseInt32(output["PermissionsBoundaryUsageCount"]);
12940
+ contents.PermissionsBoundaryUsageCount = (0, smithy_client_1.strictParseInt32)(output["PermissionsBoundaryUsageCount"]);
12941
12941
  }
12942
12942
  if (output["IsAttachable"] !== undefined) {
12943
- contents.IsAttachable = smithy_client_1.parseBoolean(output["IsAttachable"]);
12943
+ contents.IsAttachable = (0, smithy_client_1.parseBoolean)(output["IsAttachable"]);
12944
12944
  }
12945
12945
  if (output["Description"] !== undefined) {
12946
- contents.Description = smithy_client_1.expectString(output["Description"]);
12946
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
12947
12947
  }
12948
12948
  if (output["CreateDate"] !== undefined) {
12949
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
12949
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
12950
12950
  }
12951
12951
  if (output["UpdateDate"] !== undefined) {
12952
- contents.UpdateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateDate"]));
12952
+ contents.UpdateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UpdateDate"]));
12953
12953
  }
12954
12954
  if (output.PolicyVersionList === "") {
12955
12955
  contents.PolicyVersionList = [];
12956
12956
  }
12957
12957
  if (output["PolicyVersionList"] !== undefined && output["PolicyVersionList"]["member"] !== undefined) {
12958
- contents.PolicyVersionList = deserializeAws_querypolicyDocumentVersionListType(smithy_client_1.getArrayIfSingleItem(output["PolicyVersionList"]["member"]), context);
12958
+ contents.PolicyVersionList = deserializeAws_querypolicyDocumentVersionListType((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyVersionList"]["member"]), context);
12959
12959
  }
12960
12960
  return contents;
12961
12961
  };
@@ -12976,13 +12976,13 @@ const deserializeAws_queryMFADevice = (output, context) => {
12976
12976
  EnableDate: undefined,
12977
12977
  };
12978
12978
  if (output["UserName"] !== undefined) {
12979
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
12979
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
12980
12980
  }
12981
12981
  if (output["SerialNumber"] !== undefined) {
12982
- contents.SerialNumber = smithy_client_1.expectString(output["SerialNumber"]);
12982
+ contents.SerialNumber = (0, smithy_client_1.expectString)(output["SerialNumber"]);
12983
12983
  }
12984
12984
  if (output["EnableDate"] !== undefined) {
12985
- contents.EnableDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EnableDate"]));
12985
+ contents.EnableDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["EnableDate"]));
12986
12986
  }
12987
12987
  return contents;
12988
12988
  };
@@ -13001,7 +13001,7 @@ const deserializeAws_queryNoSuchEntityException = (output, context) => {
13001
13001
  message: undefined,
13002
13002
  };
13003
13003
  if (output["message"] !== undefined) {
13004
- contents.message = smithy_client_1.expectString(output["message"]);
13004
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
13005
13005
  }
13006
13006
  return contents;
13007
13007
  };
@@ -13010,7 +13010,7 @@ const deserializeAws_queryOpenIDConnectProviderListEntry = (output, context) =>
13010
13010
  Arn: undefined,
13011
13011
  };
13012
13012
  if (output["Arn"] !== undefined) {
13013
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
13013
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
13014
13014
  }
13015
13015
  return contents;
13016
13016
  };
@@ -13029,7 +13029,7 @@ const deserializeAws_queryOrganizationsDecisionDetail = (output, context) => {
13029
13029
  AllowedByOrganizations: undefined,
13030
13030
  };
13031
13031
  if (output["AllowedByOrganizations"] !== undefined) {
13032
- contents.AllowedByOrganizations = smithy_client_1.parseBoolean(output["AllowedByOrganizations"]);
13032
+ contents.AllowedByOrganizations = (0, smithy_client_1.parseBoolean)(output["AllowedByOrganizations"]);
13033
13033
  }
13034
13034
  return contents;
13035
13035
  };
@@ -13047,34 +13047,34 @@ const deserializeAws_queryPasswordPolicy = (output, context) => {
13047
13047
  HardExpiry: undefined,
13048
13048
  };
13049
13049
  if (output["MinimumPasswordLength"] !== undefined) {
13050
- contents.MinimumPasswordLength = smithy_client_1.strictParseInt32(output["MinimumPasswordLength"]);
13050
+ contents.MinimumPasswordLength = (0, smithy_client_1.strictParseInt32)(output["MinimumPasswordLength"]);
13051
13051
  }
13052
13052
  if (output["RequireSymbols"] !== undefined) {
13053
- contents.RequireSymbols = smithy_client_1.parseBoolean(output["RequireSymbols"]);
13053
+ contents.RequireSymbols = (0, smithy_client_1.parseBoolean)(output["RequireSymbols"]);
13054
13054
  }
13055
13055
  if (output["RequireNumbers"] !== undefined) {
13056
- contents.RequireNumbers = smithy_client_1.parseBoolean(output["RequireNumbers"]);
13056
+ contents.RequireNumbers = (0, smithy_client_1.parseBoolean)(output["RequireNumbers"]);
13057
13057
  }
13058
13058
  if (output["RequireUppercaseCharacters"] !== undefined) {
13059
- contents.RequireUppercaseCharacters = smithy_client_1.parseBoolean(output["RequireUppercaseCharacters"]);
13059
+ contents.RequireUppercaseCharacters = (0, smithy_client_1.parseBoolean)(output["RequireUppercaseCharacters"]);
13060
13060
  }
13061
13061
  if (output["RequireLowercaseCharacters"] !== undefined) {
13062
- contents.RequireLowercaseCharacters = smithy_client_1.parseBoolean(output["RequireLowercaseCharacters"]);
13062
+ contents.RequireLowercaseCharacters = (0, smithy_client_1.parseBoolean)(output["RequireLowercaseCharacters"]);
13063
13063
  }
13064
13064
  if (output["AllowUsersToChangePassword"] !== undefined) {
13065
- contents.AllowUsersToChangePassword = smithy_client_1.parseBoolean(output["AllowUsersToChangePassword"]);
13065
+ contents.AllowUsersToChangePassword = (0, smithy_client_1.parseBoolean)(output["AllowUsersToChangePassword"]);
13066
13066
  }
13067
13067
  if (output["ExpirePasswords"] !== undefined) {
13068
- contents.ExpirePasswords = smithy_client_1.parseBoolean(output["ExpirePasswords"]);
13068
+ contents.ExpirePasswords = (0, smithy_client_1.parseBoolean)(output["ExpirePasswords"]);
13069
13069
  }
13070
13070
  if (output["MaxPasswordAge"] !== undefined) {
13071
- contents.MaxPasswordAge = smithy_client_1.strictParseInt32(output["MaxPasswordAge"]);
13071
+ contents.MaxPasswordAge = (0, smithy_client_1.strictParseInt32)(output["MaxPasswordAge"]);
13072
13072
  }
13073
13073
  if (output["PasswordReusePrevention"] !== undefined) {
13074
- contents.PasswordReusePrevention = smithy_client_1.strictParseInt32(output["PasswordReusePrevention"]);
13074
+ contents.PasswordReusePrevention = (0, smithy_client_1.strictParseInt32)(output["PasswordReusePrevention"]);
13075
13075
  }
13076
13076
  if (output["HardExpiry"] !== undefined) {
13077
- contents.HardExpiry = smithy_client_1.parseBoolean(output["HardExpiry"]);
13077
+ contents.HardExpiry = (0, smithy_client_1.parseBoolean)(output["HardExpiry"]);
13078
13078
  }
13079
13079
  return contents;
13080
13080
  };
@@ -13083,7 +13083,7 @@ const deserializeAws_queryPasswordPolicyViolationException = (output, context) =
13083
13083
  message: undefined,
13084
13084
  };
13085
13085
  if (output["message"] !== undefined) {
13086
- contents.message = smithy_client_1.expectString(output["message"]);
13086
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
13087
13087
  }
13088
13088
  return contents;
13089
13089
  };
@@ -13092,7 +13092,7 @@ const deserializeAws_queryPermissionsBoundaryDecisionDetail = (output, context)
13092
13092
  AllowedByPermissionsBoundary: undefined,
13093
13093
  };
13094
13094
  if (output["AllowedByPermissionsBoundary"] !== undefined) {
13095
- contents.AllowedByPermissionsBoundary = smithy_client_1.parseBoolean(output["AllowedByPermissionsBoundary"]);
13095
+ contents.AllowedByPermissionsBoundary = (0, smithy_client_1.parseBoolean)(output["AllowedByPermissionsBoundary"]);
13096
13096
  }
13097
13097
  return contents;
13098
13098
  };
@@ -13112,43 +13112,43 @@ const deserializeAws_queryPolicy = (output, context) => {
13112
13112
  Tags: undefined,
13113
13113
  };
13114
13114
  if (output["PolicyName"] !== undefined) {
13115
- contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
13115
+ contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
13116
13116
  }
13117
13117
  if (output["PolicyId"] !== undefined) {
13118
- contents.PolicyId = smithy_client_1.expectString(output["PolicyId"]);
13118
+ contents.PolicyId = (0, smithy_client_1.expectString)(output["PolicyId"]);
13119
13119
  }
13120
13120
  if (output["Arn"] !== undefined) {
13121
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
13121
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
13122
13122
  }
13123
13123
  if (output["Path"] !== undefined) {
13124
- contents.Path = smithy_client_1.expectString(output["Path"]);
13124
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
13125
13125
  }
13126
13126
  if (output["DefaultVersionId"] !== undefined) {
13127
- contents.DefaultVersionId = smithy_client_1.expectString(output["DefaultVersionId"]);
13127
+ contents.DefaultVersionId = (0, smithy_client_1.expectString)(output["DefaultVersionId"]);
13128
13128
  }
13129
13129
  if (output["AttachmentCount"] !== undefined) {
13130
- contents.AttachmentCount = smithy_client_1.strictParseInt32(output["AttachmentCount"]);
13130
+ contents.AttachmentCount = (0, smithy_client_1.strictParseInt32)(output["AttachmentCount"]);
13131
13131
  }
13132
13132
  if (output["PermissionsBoundaryUsageCount"] !== undefined) {
13133
- contents.PermissionsBoundaryUsageCount = smithy_client_1.strictParseInt32(output["PermissionsBoundaryUsageCount"]);
13133
+ contents.PermissionsBoundaryUsageCount = (0, smithy_client_1.strictParseInt32)(output["PermissionsBoundaryUsageCount"]);
13134
13134
  }
13135
13135
  if (output["IsAttachable"] !== undefined) {
13136
- contents.IsAttachable = smithy_client_1.parseBoolean(output["IsAttachable"]);
13136
+ contents.IsAttachable = (0, smithy_client_1.parseBoolean)(output["IsAttachable"]);
13137
13137
  }
13138
13138
  if (output["Description"] !== undefined) {
13139
- contents.Description = smithy_client_1.expectString(output["Description"]);
13139
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
13140
13140
  }
13141
13141
  if (output["CreateDate"] !== undefined) {
13142
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
13142
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
13143
13143
  }
13144
13144
  if (output["UpdateDate"] !== undefined) {
13145
- contents.UpdateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateDate"]));
13145
+ contents.UpdateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UpdateDate"]));
13146
13146
  }
13147
13147
  if (output.Tags === "") {
13148
13148
  contents.Tags = [];
13149
13149
  }
13150
13150
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
13151
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
13151
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
13152
13152
  }
13153
13153
  return contents;
13154
13154
  };
@@ -13158,10 +13158,10 @@ const deserializeAws_queryPolicyDetail = (output, context) => {
13158
13158
  PolicyDocument: undefined,
13159
13159
  };
13160
13160
  if (output["PolicyName"] !== undefined) {
13161
- contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
13161
+ contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
13162
13162
  }
13163
13163
  if (output["PolicyDocument"] !== undefined) {
13164
- contents.PolicyDocument = smithy_client_1.expectString(output["PolicyDocument"]);
13164
+ contents.PolicyDocument = (0, smithy_client_1.expectString)(output["PolicyDocument"]);
13165
13165
  }
13166
13166
  return contents;
13167
13167
  };
@@ -13190,7 +13190,7 @@ const deserializeAws_queryPolicyEvaluationException = (output, context) => {
13190
13190
  message: undefined,
13191
13191
  };
13192
13192
  if (output["message"] !== undefined) {
13193
- contents.message = smithy_client_1.expectString(output["message"]);
13193
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
13194
13194
  }
13195
13195
  return contents;
13196
13196
  };
@@ -13203,19 +13203,19 @@ const deserializeAws_queryPolicyGrantingServiceAccess = (output, context) => {
13203
13203
  EntityName: undefined,
13204
13204
  };
13205
13205
  if (output["PolicyName"] !== undefined) {
13206
- contents.PolicyName = smithy_client_1.expectString(output["PolicyName"]);
13206
+ contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
13207
13207
  }
13208
13208
  if (output["PolicyType"] !== undefined) {
13209
- contents.PolicyType = smithy_client_1.expectString(output["PolicyType"]);
13209
+ contents.PolicyType = (0, smithy_client_1.expectString)(output["PolicyType"]);
13210
13210
  }
13211
13211
  if (output["PolicyArn"] !== undefined) {
13212
- contents.PolicyArn = smithy_client_1.expectString(output["PolicyArn"]);
13212
+ contents.PolicyArn = (0, smithy_client_1.expectString)(output["PolicyArn"]);
13213
13213
  }
13214
13214
  if (output["EntityType"] !== undefined) {
13215
- contents.EntityType = smithy_client_1.expectString(output["EntityType"]);
13215
+ contents.EntityType = (0, smithy_client_1.expectString)(output["EntityType"]);
13216
13216
  }
13217
13217
  if (output["EntityName"] !== undefined) {
13218
- contents.EntityName = smithy_client_1.expectString(output["EntityName"]);
13218
+ contents.EntityName = (0, smithy_client_1.expectString)(output["EntityName"]);
13219
13219
  }
13220
13220
  return contents;
13221
13221
  };
@@ -13235,10 +13235,10 @@ const deserializeAws_queryPolicyGroup = (output, context) => {
13235
13235
  GroupId: undefined,
13236
13236
  };
13237
13237
  if (output["GroupName"] !== undefined) {
13238
- contents.GroupName = smithy_client_1.expectString(output["GroupName"]);
13238
+ contents.GroupName = (0, smithy_client_1.expectString)(output["GroupName"]);
13239
13239
  }
13240
13240
  if (output["GroupId"] !== undefined) {
13241
- contents.GroupId = smithy_client_1.expectString(output["GroupId"]);
13241
+ contents.GroupId = (0, smithy_client_1.expectString)(output["GroupId"]);
13242
13242
  }
13243
13243
  return contents;
13244
13244
  };
@@ -13269,7 +13269,7 @@ const deserializeAws_querypolicyNameListType = (output, context) => {
13269
13269
  if (entry === null) {
13270
13270
  return null;
13271
13271
  }
13272
- return smithy_client_1.expectString(entry);
13272
+ return (0, smithy_client_1.expectString)(entry);
13273
13273
  });
13274
13274
  };
13275
13275
  const deserializeAws_queryPolicyNotAttachableException = (output, context) => {
@@ -13277,7 +13277,7 @@ const deserializeAws_queryPolicyNotAttachableException = (output, context) => {
13277
13277
  message: undefined,
13278
13278
  };
13279
13279
  if (output["message"] !== undefined) {
13280
- contents.message = smithy_client_1.expectString(output["message"]);
13280
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
13281
13281
  }
13282
13282
  return contents;
13283
13283
  };
@@ -13287,10 +13287,10 @@ const deserializeAws_queryPolicyRole = (output, context) => {
13287
13287
  RoleId: undefined,
13288
13288
  };
13289
13289
  if (output["RoleName"] !== undefined) {
13290
- contents.RoleName = smithy_client_1.expectString(output["RoleName"]);
13290
+ contents.RoleName = (0, smithy_client_1.expectString)(output["RoleName"]);
13291
13291
  }
13292
13292
  if (output["RoleId"] !== undefined) {
13293
- contents.RoleId = smithy_client_1.expectString(output["RoleId"]);
13293
+ contents.RoleId = (0, smithy_client_1.expectString)(output["RoleId"]);
13294
13294
  }
13295
13295
  return contents;
13296
13296
  };
@@ -13310,10 +13310,10 @@ const deserializeAws_queryPolicyUser = (output, context) => {
13310
13310
  UserId: undefined,
13311
13311
  };
13312
13312
  if (output["UserName"] !== undefined) {
13313
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
13313
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13314
13314
  }
13315
13315
  if (output["UserId"] !== undefined) {
13316
- contents.UserId = smithy_client_1.expectString(output["UserId"]);
13316
+ contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]);
13317
13317
  }
13318
13318
  return contents;
13319
13319
  };
@@ -13335,16 +13335,16 @@ const deserializeAws_queryPolicyVersion = (output, context) => {
13335
13335
  CreateDate: undefined,
13336
13336
  };
13337
13337
  if (output["Document"] !== undefined) {
13338
- contents.Document = smithy_client_1.expectString(output["Document"]);
13338
+ contents.Document = (0, smithy_client_1.expectString)(output["Document"]);
13339
13339
  }
13340
13340
  if (output["VersionId"] !== undefined) {
13341
- contents.VersionId = smithy_client_1.expectString(output["VersionId"]);
13341
+ contents.VersionId = (0, smithy_client_1.expectString)(output["VersionId"]);
13342
13342
  }
13343
13343
  if (output["IsDefaultVersion"] !== undefined) {
13344
- contents.IsDefaultVersion = smithy_client_1.parseBoolean(output["IsDefaultVersion"]);
13344
+ contents.IsDefaultVersion = (0, smithy_client_1.parseBoolean)(output["IsDefaultVersion"]);
13345
13345
  }
13346
13346
  if (output["CreateDate"] !== undefined) {
13347
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
13347
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
13348
13348
  }
13349
13349
  return contents;
13350
13350
  };
@@ -13354,10 +13354,10 @@ const deserializeAws_queryPosition = (output, context) => {
13354
13354
  Column: undefined,
13355
13355
  };
13356
13356
  if (output["Line"] !== undefined) {
13357
- contents.Line = smithy_client_1.strictParseInt32(output["Line"]);
13357
+ contents.Line = (0, smithy_client_1.strictParseInt32)(output["Line"]);
13358
13358
  }
13359
13359
  if (output["Column"] !== undefined) {
13360
- contents.Column = smithy_client_1.strictParseInt32(output["Column"]);
13360
+ contents.Column = (0, smithy_client_1.strictParseInt32)(output["Column"]);
13361
13361
  }
13362
13362
  return contents;
13363
13363
  };
@@ -13366,7 +13366,7 @@ const deserializeAws_queryReportGenerationLimitExceededException = (output, cont
13366
13366
  message: undefined,
13367
13367
  };
13368
13368
  if (output["message"] !== undefined) {
13369
- contents.message = smithy_client_1.expectString(output["message"]);
13369
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
13370
13370
  }
13371
13371
  return contents;
13372
13372
  };
@@ -13389,28 +13389,28 @@ const deserializeAws_queryResourceSpecificResult = (output, context) => {
13389
13389
  PermissionsBoundaryDecisionDetail: undefined,
13390
13390
  };
13391
13391
  if (output["EvalResourceName"] !== undefined) {
13392
- contents.EvalResourceName = smithy_client_1.expectString(output["EvalResourceName"]);
13392
+ contents.EvalResourceName = (0, smithy_client_1.expectString)(output["EvalResourceName"]);
13393
13393
  }
13394
13394
  if (output["EvalResourceDecision"] !== undefined) {
13395
- contents.EvalResourceDecision = smithy_client_1.expectString(output["EvalResourceDecision"]);
13395
+ contents.EvalResourceDecision = (0, smithy_client_1.expectString)(output["EvalResourceDecision"]);
13396
13396
  }
13397
13397
  if (output.MatchedStatements === "") {
13398
13398
  contents.MatchedStatements = [];
13399
13399
  }
13400
13400
  if (output["MatchedStatements"] !== undefined && output["MatchedStatements"]["member"] !== undefined) {
13401
- contents.MatchedStatements = deserializeAws_queryStatementListType(smithy_client_1.getArrayIfSingleItem(output["MatchedStatements"]["member"]), context);
13401
+ contents.MatchedStatements = deserializeAws_queryStatementListType((0, smithy_client_1.getArrayIfSingleItem)(output["MatchedStatements"]["member"]), context);
13402
13402
  }
13403
13403
  if (output.MissingContextValues === "") {
13404
13404
  contents.MissingContextValues = [];
13405
13405
  }
13406
13406
  if (output["MissingContextValues"] !== undefined && output["MissingContextValues"]["member"] !== undefined) {
13407
- contents.MissingContextValues = deserializeAws_queryContextKeyNamesResultListType(smithy_client_1.getArrayIfSingleItem(output["MissingContextValues"]["member"]), context);
13407
+ contents.MissingContextValues = deserializeAws_queryContextKeyNamesResultListType((0, smithy_client_1.getArrayIfSingleItem)(output["MissingContextValues"]["member"]), context);
13408
13408
  }
13409
13409
  if (output.EvalDecisionDetails === "") {
13410
13410
  contents.EvalDecisionDetails = {};
13411
13411
  }
13412
13412
  if (output["EvalDecisionDetails"] !== undefined && output["EvalDecisionDetails"]["entry"] !== undefined) {
13413
- contents.EvalDecisionDetails = deserializeAws_queryEvalDecisionDetailsType(smithy_client_1.getArrayIfSingleItem(output["EvalDecisionDetails"]["entry"]), context);
13413
+ contents.EvalDecisionDetails = deserializeAws_queryEvalDecisionDetailsType((0, smithy_client_1.getArrayIfSingleItem)(output["EvalDecisionDetails"]["entry"]), context);
13414
13414
  }
13415
13415
  if (output["PermissionsBoundaryDecisionDetail"] !== undefined) {
13416
13416
  contents.PermissionsBoundaryDecisionDetail = deserializeAws_queryPermissionsBoundaryDecisionDetail(output["PermissionsBoundaryDecisionDetail"], context);
@@ -13442,28 +13442,28 @@ const deserializeAws_queryRole = (output, context) => {
13442
13442
  RoleLastUsed: undefined,
13443
13443
  };
13444
13444
  if (output["Path"] !== undefined) {
13445
- contents.Path = smithy_client_1.expectString(output["Path"]);
13445
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
13446
13446
  }
13447
13447
  if (output["RoleName"] !== undefined) {
13448
- contents.RoleName = smithy_client_1.expectString(output["RoleName"]);
13448
+ contents.RoleName = (0, smithy_client_1.expectString)(output["RoleName"]);
13449
13449
  }
13450
13450
  if (output["RoleId"] !== undefined) {
13451
- contents.RoleId = smithy_client_1.expectString(output["RoleId"]);
13451
+ contents.RoleId = (0, smithy_client_1.expectString)(output["RoleId"]);
13452
13452
  }
13453
13453
  if (output["Arn"] !== undefined) {
13454
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
13454
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
13455
13455
  }
13456
13456
  if (output["CreateDate"] !== undefined) {
13457
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
13457
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
13458
13458
  }
13459
13459
  if (output["AssumeRolePolicyDocument"] !== undefined) {
13460
- contents.AssumeRolePolicyDocument = smithy_client_1.expectString(output["AssumeRolePolicyDocument"]);
13460
+ contents.AssumeRolePolicyDocument = (0, smithy_client_1.expectString)(output["AssumeRolePolicyDocument"]);
13461
13461
  }
13462
13462
  if (output["Description"] !== undefined) {
13463
- contents.Description = smithy_client_1.expectString(output["Description"]);
13463
+ contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
13464
13464
  }
13465
13465
  if (output["MaxSessionDuration"] !== undefined) {
13466
- contents.MaxSessionDuration = smithy_client_1.strictParseInt32(output["MaxSessionDuration"]);
13466
+ contents.MaxSessionDuration = (0, smithy_client_1.strictParseInt32)(output["MaxSessionDuration"]);
13467
13467
  }
13468
13468
  if (output["PermissionsBoundary"] !== undefined) {
13469
13469
  contents.PermissionsBoundary = deserializeAws_queryAttachedPermissionsBoundary(output["PermissionsBoundary"], context);
@@ -13472,7 +13472,7 @@ const deserializeAws_queryRole = (output, context) => {
13472
13472
  contents.Tags = [];
13473
13473
  }
13474
13474
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
13475
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
13475
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
13476
13476
  }
13477
13477
  if (output["RoleLastUsed"] !== undefined) {
13478
13478
  contents.RoleLastUsed = deserializeAws_queryRoleLastUsed(output["RoleLastUsed"], context);
@@ -13495,40 +13495,40 @@ const deserializeAws_queryRoleDetail = (output, context) => {
13495
13495
  RoleLastUsed: undefined,
13496
13496
  };
13497
13497
  if (output["Path"] !== undefined) {
13498
- contents.Path = smithy_client_1.expectString(output["Path"]);
13498
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
13499
13499
  }
13500
13500
  if (output["RoleName"] !== undefined) {
13501
- contents.RoleName = smithy_client_1.expectString(output["RoleName"]);
13501
+ contents.RoleName = (0, smithy_client_1.expectString)(output["RoleName"]);
13502
13502
  }
13503
13503
  if (output["RoleId"] !== undefined) {
13504
- contents.RoleId = smithy_client_1.expectString(output["RoleId"]);
13504
+ contents.RoleId = (0, smithy_client_1.expectString)(output["RoleId"]);
13505
13505
  }
13506
13506
  if (output["Arn"] !== undefined) {
13507
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
13507
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
13508
13508
  }
13509
13509
  if (output["CreateDate"] !== undefined) {
13510
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
13510
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
13511
13511
  }
13512
13512
  if (output["AssumeRolePolicyDocument"] !== undefined) {
13513
- contents.AssumeRolePolicyDocument = smithy_client_1.expectString(output["AssumeRolePolicyDocument"]);
13513
+ contents.AssumeRolePolicyDocument = (0, smithy_client_1.expectString)(output["AssumeRolePolicyDocument"]);
13514
13514
  }
13515
13515
  if (output.InstanceProfileList === "") {
13516
13516
  contents.InstanceProfileList = [];
13517
13517
  }
13518
13518
  if (output["InstanceProfileList"] !== undefined && output["InstanceProfileList"]["member"] !== undefined) {
13519
- contents.InstanceProfileList = deserializeAws_queryinstanceProfileListType(smithy_client_1.getArrayIfSingleItem(output["InstanceProfileList"]["member"]), context);
13519
+ contents.InstanceProfileList = deserializeAws_queryinstanceProfileListType((0, smithy_client_1.getArrayIfSingleItem)(output["InstanceProfileList"]["member"]), context);
13520
13520
  }
13521
13521
  if (output.RolePolicyList === "") {
13522
13522
  contents.RolePolicyList = [];
13523
13523
  }
13524
13524
  if (output["RolePolicyList"] !== undefined && output["RolePolicyList"]["member"] !== undefined) {
13525
- contents.RolePolicyList = deserializeAws_querypolicyDetailListType(smithy_client_1.getArrayIfSingleItem(output["RolePolicyList"]["member"]), context);
13525
+ contents.RolePolicyList = deserializeAws_querypolicyDetailListType((0, smithy_client_1.getArrayIfSingleItem)(output["RolePolicyList"]["member"]), context);
13526
13526
  }
13527
13527
  if (output.AttachedManagedPolicies === "") {
13528
13528
  contents.AttachedManagedPolicies = [];
13529
13529
  }
13530
13530
  if (output["AttachedManagedPolicies"] !== undefined && output["AttachedManagedPolicies"]["member"] !== undefined) {
13531
- contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedManagedPolicies"]["member"]), context);
13531
+ contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType((0, smithy_client_1.getArrayIfSingleItem)(output["AttachedManagedPolicies"]["member"]), context);
13532
13532
  }
13533
13533
  if (output["PermissionsBoundary"] !== undefined) {
13534
13534
  contents.PermissionsBoundary = deserializeAws_queryAttachedPermissionsBoundary(output["PermissionsBoundary"], context);
@@ -13537,7 +13537,7 @@ const deserializeAws_queryRoleDetail = (output, context) => {
13537
13537
  contents.Tags = [];
13538
13538
  }
13539
13539
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
13540
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
13540
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
13541
13541
  }
13542
13542
  if (output["RoleLastUsed"] !== undefined) {
13543
13543
  contents.RoleLastUsed = deserializeAws_queryRoleLastUsed(output["RoleLastUsed"], context);
@@ -13560,10 +13560,10 @@ const deserializeAws_queryRoleLastUsed = (output, context) => {
13560
13560
  Region: undefined,
13561
13561
  };
13562
13562
  if (output["LastUsedDate"] !== undefined) {
13563
- contents.LastUsedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUsedDate"]));
13563
+ contents.LastUsedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastUsedDate"]));
13564
13564
  }
13565
13565
  if (output["Region"] !== undefined) {
13566
- contents.Region = smithy_client_1.expectString(output["Region"]);
13566
+ contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
13567
13567
  }
13568
13568
  return contents;
13569
13569
  };
@@ -13593,13 +13593,13 @@ const deserializeAws_queryRoleUsageType = (output, context) => {
13593
13593
  Resources: undefined,
13594
13594
  };
13595
13595
  if (output["Region"] !== undefined) {
13596
- contents.Region = smithy_client_1.expectString(output["Region"]);
13596
+ contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
13597
13597
  }
13598
13598
  if (output.Resources === "") {
13599
13599
  contents.Resources = [];
13600
13600
  }
13601
13601
  if (output["Resources"] !== undefined && output["Resources"]["member"] !== undefined) {
13602
- contents.Resources = deserializeAws_queryArnListType(smithy_client_1.getArrayIfSingleItem(output["Resources"]["member"]), context);
13602
+ contents.Resources = deserializeAws_queryArnListType((0, smithy_client_1.getArrayIfSingleItem)(output["Resources"]["member"]), context);
13603
13603
  }
13604
13604
  return contents;
13605
13605
  };
@@ -13610,13 +13610,13 @@ const deserializeAws_querySAMLProviderListEntry = (output, context) => {
13610
13610
  CreateDate: undefined,
13611
13611
  };
13612
13612
  if (output["Arn"] !== undefined) {
13613
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
13613
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
13614
13614
  }
13615
13615
  if (output["ValidUntil"] !== undefined) {
13616
- contents.ValidUntil = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ValidUntil"]));
13616
+ contents.ValidUntil = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ValidUntil"]));
13617
13617
  }
13618
13618
  if (output["CreateDate"] !== undefined) {
13619
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
13619
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
13620
13620
  }
13621
13621
  return contents;
13622
13622
  };
@@ -13641,16 +13641,16 @@ const deserializeAws_queryServerCertificate = (output, context) => {
13641
13641
  contents.ServerCertificateMetadata = deserializeAws_queryServerCertificateMetadata(output["ServerCertificateMetadata"], context);
13642
13642
  }
13643
13643
  if (output["CertificateBody"] !== undefined) {
13644
- contents.CertificateBody = smithy_client_1.expectString(output["CertificateBody"]);
13644
+ contents.CertificateBody = (0, smithy_client_1.expectString)(output["CertificateBody"]);
13645
13645
  }
13646
13646
  if (output["CertificateChain"] !== undefined) {
13647
- contents.CertificateChain = smithy_client_1.expectString(output["CertificateChain"]);
13647
+ contents.CertificateChain = (0, smithy_client_1.expectString)(output["CertificateChain"]);
13648
13648
  }
13649
13649
  if (output.Tags === "") {
13650
13650
  contents.Tags = [];
13651
13651
  }
13652
13652
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
13653
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
13653
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
13654
13654
  }
13655
13655
  return contents;
13656
13656
  };
@@ -13664,22 +13664,22 @@ const deserializeAws_queryServerCertificateMetadata = (output, context) => {
13664
13664
  Expiration: undefined,
13665
13665
  };
13666
13666
  if (output["Path"] !== undefined) {
13667
- contents.Path = smithy_client_1.expectString(output["Path"]);
13667
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
13668
13668
  }
13669
13669
  if (output["ServerCertificateName"] !== undefined) {
13670
- contents.ServerCertificateName = smithy_client_1.expectString(output["ServerCertificateName"]);
13670
+ contents.ServerCertificateName = (0, smithy_client_1.expectString)(output["ServerCertificateName"]);
13671
13671
  }
13672
13672
  if (output["ServerCertificateId"] !== undefined) {
13673
- contents.ServerCertificateId = smithy_client_1.expectString(output["ServerCertificateId"]);
13673
+ contents.ServerCertificateId = (0, smithy_client_1.expectString)(output["ServerCertificateId"]);
13674
13674
  }
13675
13675
  if (output["Arn"] !== undefined) {
13676
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
13676
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
13677
13677
  }
13678
13678
  if (output["UploadDate"] !== undefined) {
13679
- contents.UploadDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UploadDate"]));
13679
+ contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UploadDate"]));
13680
13680
  }
13681
13681
  if (output["Expiration"] !== undefined) {
13682
- contents.Expiration = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Expiration"]));
13682
+ contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Expiration"]));
13683
13683
  }
13684
13684
  return contents;
13685
13685
  };
@@ -13698,7 +13698,7 @@ const deserializeAws_queryServiceFailureException = (output, context) => {
13698
13698
  message: undefined,
13699
13699
  };
13700
13700
  if (output["message"] !== undefined) {
13701
- contents.message = smithy_client_1.expectString(output["message"]);
13701
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
13702
13702
  }
13703
13703
  return contents;
13704
13704
  };
@@ -13713,29 +13713,29 @@ const deserializeAws_queryServiceLastAccessed = (output, context) => {
13713
13713
  TrackedActionsLastAccessed: undefined,
13714
13714
  };
13715
13715
  if (output["ServiceName"] !== undefined) {
13716
- contents.ServiceName = smithy_client_1.expectString(output["ServiceName"]);
13716
+ contents.ServiceName = (0, smithy_client_1.expectString)(output["ServiceName"]);
13717
13717
  }
13718
13718
  if (output["LastAuthenticated"] !== undefined) {
13719
- contents.LastAuthenticated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastAuthenticated"]));
13719
+ contents.LastAuthenticated = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastAuthenticated"]));
13720
13720
  }
13721
13721
  if (output["ServiceNamespace"] !== undefined) {
13722
- contents.ServiceNamespace = smithy_client_1.expectString(output["ServiceNamespace"]);
13722
+ contents.ServiceNamespace = (0, smithy_client_1.expectString)(output["ServiceNamespace"]);
13723
13723
  }
13724
13724
  if (output["LastAuthenticatedEntity"] !== undefined) {
13725
- contents.LastAuthenticatedEntity = smithy_client_1.expectString(output["LastAuthenticatedEntity"]);
13725
+ contents.LastAuthenticatedEntity = (0, smithy_client_1.expectString)(output["LastAuthenticatedEntity"]);
13726
13726
  }
13727
13727
  if (output["LastAuthenticatedRegion"] !== undefined) {
13728
- contents.LastAuthenticatedRegion = smithy_client_1.expectString(output["LastAuthenticatedRegion"]);
13728
+ contents.LastAuthenticatedRegion = (0, smithy_client_1.expectString)(output["LastAuthenticatedRegion"]);
13729
13729
  }
13730
13730
  if (output["TotalAuthenticatedEntities"] !== undefined) {
13731
- contents.TotalAuthenticatedEntities = smithy_client_1.strictParseInt32(output["TotalAuthenticatedEntities"]);
13731
+ contents.TotalAuthenticatedEntities = (0, smithy_client_1.strictParseInt32)(output["TotalAuthenticatedEntities"]);
13732
13732
  }
13733
13733
  if (output.TrackedActionsLastAccessed === "") {
13734
13734
  contents.TrackedActionsLastAccessed = [];
13735
13735
  }
13736
13736
  if (output["TrackedActionsLastAccessed"] !== undefined &&
13737
13737
  output["TrackedActionsLastAccessed"]["member"] !== undefined) {
13738
- contents.TrackedActionsLastAccessed = deserializeAws_queryTrackedActionsLastAccessed(smithy_client_1.getArrayIfSingleItem(output["TrackedActionsLastAccessed"]["member"]), context);
13738
+ contents.TrackedActionsLastAccessed = deserializeAws_queryTrackedActionsLastAccessed((0, smithy_client_1.getArrayIfSingleItem)(output["TrackedActionsLastAccessed"]["member"]), context);
13739
13739
  }
13740
13740
  return contents;
13741
13741
  };
@@ -13744,7 +13744,7 @@ const deserializeAws_queryServiceNotSupportedException = (output, context) => {
13744
13744
  message: undefined,
13745
13745
  };
13746
13746
  if (output["message"] !== undefined) {
13747
- contents.message = smithy_client_1.expectString(output["message"]);
13747
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
13748
13748
  }
13749
13749
  return contents;
13750
13750
  };
@@ -13769,25 +13769,25 @@ const deserializeAws_queryServiceSpecificCredential = (output, context) => {
13769
13769
  Status: undefined,
13770
13770
  };
13771
13771
  if (output["CreateDate"] !== undefined) {
13772
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
13772
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
13773
13773
  }
13774
13774
  if (output["ServiceName"] !== undefined) {
13775
- contents.ServiceName = smithy_client_1.expectString(output["ServiceName"]);
13775
+ contents.ServiceName = (0, smithy_client_1.expectString)(output["ServiceName"]);
13776
13776
  }
13777
13777
  if (output["ServiceUserName"] !== undefined) {
13778
- contents.ServiceUserName = smithy_client_1.expectString(output["ServiceUserName"]);
13778
+ contents.ServiceUserName = (0, smithy_client_1.expectString)(output["ServiceUserName"]);
13779
13779
  }
13780
13780
  if (output["ServicePassword"] !== undefined) {
13781
- contents.ServicePassword = smithy_client_1.expectString(output["ServicePassword"]);
13781
+ contents.ServicePassword = (0, smithy_client_1.expectString)(output["ServicePassword"]);
13782
13782
  }
13783
13783
  if (output["ServiceSpecificCredentialId"] !== undefined) {
13784
- contents.ServiceSpecificCredentialId = smithy_client_1.expectString(output["ServiceSpecificCredentialId"]);
13784
+ contents.ServiceSpecificCredentialId = (0, smithy_client_1.expectString)(output["ServiceSpecificCredentialId"]);
13785
13785
  }
13786
13786
  if (output["UserName"] !== undefined) {
13787
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
13787
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13788
13788
  }
13789
13789
  if (output["Status"] !== undefined) {
13790
- contents.Status = smithy_client_1.expectString(output["Status"]);
13790
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
13791
13791
  }
13792
13792
  return contents;
13793
13793
  };
@@ -13801,22 +13801,22 @@ const deserializeAws_queryServiceSpecificCredentialMetadata = (output, context)
13801
13801
  ServiceName: undefined,
13802
13802
  };
13803
13803
  if (output["UserName"] !== undefined) {
13804
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
13804
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13805
13805
  }
13806
13806
  if (output["Status"] !== undefined) {
13807
- contents.Status = smithy_client_1.expectString(output["Status"]);
13807
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
13808
13808
  }
13809
13809
  if (output["ServiceUserName"] !== undefined) {
13810
- contents.ServiceUserName = smithy_client_1.expectString(output["ServiceUserName"]);
13810
+ contents.ServiceUserName = (0, smithy_client_1.expectString)(output["ServiceUserName"]);
13811
13811
  }
13812
13812
  if (output["CreateDate"] !== undefined) {
13813
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
13813
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
13814
13814
  }
13815
13815
  if (output["ServiceSpecificCredentialId"] !== undefined) {
13816
- contents.ServiceSpecificCredentialId = smithy_client_1.expectString(output["ServiceSpecificCredentialId"]);
13816
+ contents.ServiceSpecificCredentialId = (0, smithy_client_1.expectString)(output["ServiceSpecificCredentialId"]);
13817
13817
  }
13818
13818
  if (output["ServiceName"] !== undefined) {
13819
- contents.ServiceName = smithy_client_1.expectString(output["ServiceName"]);
13819
+ contents.ServiceName = (0, smithy_client_1.expectString)(output["ServiceName"]);
13820
13820
  }
13821
13821
  return contents;
13822
13822
  };
@@ -13839,19 +13839,19 @@ const deserializeAws_querySigningCertificate = (output, context) => {
13839
13839
  UploadDate: undefined,
13840
13840
  };
13841
13841
  if (output["UserName"] !== undefined) {
13842
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
13842
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13843
13843
  }
13844
13844
  if (output["CertificateId"] !== undefined) {
13845
- contents.CertificateId = smithy_client_1.expectString(output["CertificateId"]);
13845
+ contents.CertificateId = (0, smithy_client_1.expectString)(output["CertificateId"]);
13846
13846
  }
13847
13847
  if (output["CertificateBody"] !== undefined) {
13848
- contents.CertificateBody = smithy_client_1.expectString(output["CertificateBody"]);
13848
+ contents.CertificateBody = (0, smithy_client_1.expectString)(output["CertificateBody"]);
13849
13849
  }
13850
13850
  if (output["Status"] !== undefined) {
13851
- contents.Status = smithy_client_1.expectString(output["Status"]);
13851
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
13852
13852
  }
13853
13853
  if (output["UploadDate"] !== undefined) {
13854
- contents.UploadDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UploadDate"]));
13854
+ contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UploadDate"]));
13855
13855
  }
13856
13856
  return contents;
13857
13857
  };
@@ -13865,13 +13865,13 @@ const deserializeAws_querySimulatePolicyResponse = (output, context) => {
13865
13865
  contents.EvaluationResults = [];
13866
13866
  }
13867
13867
  if (output["EvaluationResults"] !== undefined && output["EvaluationResults"]["member"] !== undefined) {
13868
- contents.EvaluationResults = deserializeAws_queryEvaluationResultsListType(smithy_client_1.getArrayIfSingleItem(output["EvaluationResults"]["member"]), context);
13868
+ contents.EvaluationResults = deserializeAws_queryEvaluationResultsListType((0, smithy_client_1.getArrayIfSingleItem)(output["EvaluationResults"]["member"]), context);
13869
13869
  }
13870
13870
  if (output["IsTruncated"] !== undefined) {
13871
- contents.IsTruncated = smithy_client_1.parseBoolean(output["IsTruncated"]);
13871
+ contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
13872
13872
  }
13873
13873
  if (output["Marker"] !== undefined) {
13874
- contents.Marker = smithy_client_1.expectString(output["Marker"]);
13874
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
13875
13875
  }
13876
13876
  return contents;
13877
13877
  };
@@ -13885,22 +13885,22 @@ const deserializeAws_querySSHPublicKey = (output, context) => {
13885
13885
  UploadDate: undefined,
13886
13886
  };
13887
13887
  if (output["UserName"] !== undefined) {
13888
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
13888
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13889
13889
  }
13890
13890
  if (output["SSHPublicKeyId"] !== undefined) {
13891
- contents.SSHPublicKeyId = smithy_client_1.expectString(output["SSHPublicKeyId"]);
13891
+ contents.SSHPublicKeyId = (0, smithy_client_1.expectString)(output["SSHPublicKeyId"]);
13892
13892
  }
13893
13893
  if (output["Fingerprint"] !== undefined) {
13894
- contents.Fingerprint = smithy_client_1.expectString(output["Fingerprint"]);
13894
+ contents.Fingerprint = (0, smithy_client_1.expectString)(output["Fingerprint"]);
13895
13895
  }
13896
13896
  if (output["SSHPublicKeyBody"] !== undefined) {
13897
- contents.SSHPublicKeyBody = smithy_client_1.expectString(output["SSHPublicKeyBody"]);
13897
+ contents.SSHPublicKeyBody = (0, smithy_client_1.expectString)(output["SSHPublicKeyBody"]);
13898
13898
  }
13899
13899
  if (output["Status"] !== undefined) {
13900
- contents.Status = smithy_client_1.expectString(output["Status"]);
13900
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
13901
13901
  }
13902
13902
  if (output["UploadDate"] !== undefined) {
13903
- contents.UploadDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UploadDate"]));
13903
+ contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UploadDate"]));
13904
13904
  }
13905
13905
  return contents;
13906
13906
  };
@@ -13922,16 +13922,16 @@ const deserializeAws_querySSHPublicKeyMetadata = (output, context) => {
13922
13922
  UploadDate: undefined,
13923
13923
  };
13924
13924
  if (output["UserName"] !== undefined) {
13925
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
13925
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13926
13926
  }
13927
13927
  if (output["SSHPublicKeyId"] !== undefined) {
13928
- contents.SSHPublicKeyId = smithy_client_1.expectString(output["SSHPublicKeyId"]);
13928
+ contents.SSHPublicKeyId = (0, smithy_client_1.expectString)(output["SSHPublicKeyId"]);
13929
13929
  }
13930
13930
  if (output["Status"] !== undefined) {
13931
- contents.Status = smithy_client_1.expectString(output["Status"]);
13931
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
13932
13932
  }
13933
13933
  if (output["UploadDate"] !== undefined) {
13934
- contents.UploadDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UploadDate"]));
13934
+ contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UploadDate"]));
13935
13935
  }
13936
13936
  return contents;
13937
13937
  };
@@ -13943,10 +13943,10 @@ const deserializeAws_queryStatement = (output, context) => {
13943
13943
  EndPosition: undefined,
13944
13944
  };
13945
13945
  if (output["SourcePolicyId"] !== undefined) {
13946
- contents.SourcePolicyId = smithy_client_1.expectString(output["SourcePolicyId"]);
13946
+ contents.SourcePolicyId = (0, smithy_client_1.expectString)(output["SourcePolicyId"]);
13947
13947
  }
13948
13948
  if (output["SourcePolicyType"] !== undefined) {
13949
- contents.SourcePolicyType = smithy_client_1.expectString(output["SourcePolicyType"]);
13949
+ contents.SourcePolicyType = (0, smithy_client_1.expectString)(output["SourcePolicyType"]);
13950
13950
  }
13951
13951
  if (output["StartPosition"] !== undefined) {
13952
13952
  contents.StartPosition = deserializeAws_queryPosition(output["StartPosition"], context);
@@ -13973,7 +13973,7 @@ const deserializeAws_querysummaryMapType = (output, context) => {
13973
13973
  }
13974
13974
  return {
13975
13975
  ...acc,
13976
- [pair["key"]]: smithy_client_1.strictParseInt32(pair["value"]),
13976
+ [pair["key"]]: (0, smithy_client_1.strictParseInt32)(pair["value"]),
13977
13977
  };
13978
13978
  }, {});
13979
13979
  };
@@ -13983,10 +13983,10 @@ const deserializeAws_queryTag = (output, context) => {
13983
13983
  Value: undefined,
13984
13984
  };
13985
13985
  if (output["Key"] !== undefined) {
13986
- contents.Key = smithy_client_1.expectString(output["Key"]);
13986
+ contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
13987
13987
  }
13988
13988
  if (output["Value"] !== undefined) {
13989
- contents.Value = smithy_client_1.expectString(output["Value"]);
13989
+ contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
13990
13990
  }
13991
13991
  return contents;
13992
13992
  };
@@ -14007,7 +14007,7 @@ const deserializeAws_querythumbprintListType = (output, context) => {
14007
14007
  if (entry === null) {
14008
14008
  return null;
14009
14009
  }
14010
- return smithy_client_1.expectString(entry);
14010
+ return (0, smithy_client_1.expectString)(entry);
14011
14011
  });
14012
14012
  };
14013
14013
  const deserializeAws_queryTrackedActionLastAccessed = (output, context) => {
@@ -14018,16 +14018,16 @@ const deserializeAws_queryTrackedActionLastAccessed = (output, context) => {
14018
14018
  LastAccessedRegion: undefined,
14019
14019
  };
14020
14020
  if (output["ActionName"] !== undefined) {
14021
- contents.ActionName = smithy_client_1.expectString(output["ActionName"]);
14021
+ contents.ActionName = (0, smithy_client_1.expectString)(output["ActionName"]);
14022
14022
  }
14023
14023
  if (output["LastAccessedEntity"] !== undefined) {
14024
- contents.LastAccessedEntity = smithy_client_1.expectString(output["LastAccessedEntity"]);
14024
+ contents.LastAccessedEntity = (0, smithy_client_1.expectString)(output["LastAccessedEntity"]);
14025
14025
  }
14026
14026
  if (output["LastAccessedTime"] !== undefined) {
14027
- contents.LastAccessedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastAccessedTime"]));
14027
+ contents.LastAccessedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastAccessedTime"]));
14028
14028
  }
14029
14029
  if (output["LastAccessedRegion"] !== undefined) {
14030
- contents.LastAccessedRegion = smithy_client_1.expectString(output["LastAccessedRegion"]);
14030
+ contents.LastAccessedRegion = (0, smithy_client_1.expectString)(output["LastAccessedRegion"]);
14031
14031
  }
14032
14032
  return contents;
14033
14033
  };
@@ -14046,7 +14046,7 @@ const deserializeAws_queryUnmodifiableEntityException = (output, context) => {
14046
14046
  message: undefined,
14047
14047
  };
14048
14048
  if (output["message"] !== undefined) {
14049
- contents.message = smithy_client_1.expectString(output["message"]);
14049
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
14050
14050
  }
14051
14051
  return contents;
14052
14052
  };
@@ -14055,7 +14055,7 @@ const deserializeAws_queryUnrecognizedPublicKeyEncodingException = (output, cont
14055
14055
  message: undefined,
14056
14056
  };
14057
14057
  if (output["message"] !== undefined) {
14058
- contents.message = smithy_client_1.expectString(output["message"]);
14058
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
14059
14059
  }
14060
14060
  return contents;
14061
14061
  };
@@ -14077,7 +14077,7 @@ const deserializeAws_queryUpdateSAMLProviderResponse = (output, context) => {
14077
14077
  SAMLProviderArn: undefined,
14078
14078
  };
14079
14079
  if (output["SAMLProviderArn"] !== undefined) {
14080
- contents.SAMLProviderArn = smithy_client_1.expectString(output["SAMLProviderArn"]);
14080
+ contents.SAMLProviderArn = (0, smithy_client_1.expectString)(output["SAMLProviderArn"]);
14081
14081
  }
14082
14082
  return contents;
14083
14083
  };
@@ -14093,7 +14093,7 @@ const deserializeAws_queryUploadServerCertificateResponse = (output, context) =>
14093
14093
  contents.Tags = [];
14094
14094
  }
14095
14095
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
14096
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
14096
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
14097
14097
  }
14098
14098
  return contents;
14099
14099
  };
@@ -14127,22 +14127,22 @@ const deserializeAws_queryUser = (output, context) => {
14127
14127
  Tags: undefined,
14128
14128
  };
14129
14129
  if (output["Path"] !== undefined) {
14130
- contents.Path = smithy_client_1.expectString(output["Path"]);
14130
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
14131
14131
  }
14132
14132
  if (output["UserName"] !== undefined) {
14133
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
14133
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
14134
14134
  }
14135
14135
  if (output["UserId"] !== undefined) {
14136
- contents.UserId = smithy_client_1.expectString(output["UserId"]);
14136
+ contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]);
14137
14137
  }
14138
14138
  if (output["Arn"] !== undefined) {
14139
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
14139
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
14140
14140
  }
14141
14141
  if (output["CreateDate"] !== undefined) {
14142
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
14142
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
14143
14143
  }
14144
14144
  if (output["PasswordLastUsed"] !== undefined) {
14145
- contents.PasswordLastUsed = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["PasswordLastUsed"]));
14145
+ contents.PasswordLastUsed = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["PasswordLastUsed"]));
14146
14146
  }
14147
14147
  if (output["PermissionsBoundary"] !== undefined) {
14148
14148
  contents.PermissionsBoundary = deserializeAws_queryAttachedPermissionsBoundary(output["PermissionsBoundary"], context);
@@ -14151,7 +14151,7 @@ const deserializeAws_queryUser = (output, context) => {
14151
14151
  contents.Tags = [];
14152
14152
  }
14153
14153
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
14154
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
14154
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
14155
14155
  }
14156
14156
  return contents;
14157
14157
  };
@@ -14169,37 +14169,37 @@ const deserializeAws_queryUserDetail = (output, context) => {
14169
14169
  Tags: undefined,
14170
14170
  };
14171
14171
  if (output["Path"] !== undefined) {
14172
- contents.Path = smithy_client_1.expectString(output["Path"]);
14172
+ contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
14173
14173
  }
14174
14174
  if (output["UserName"] !== undefined) {
14175
- contents.UserName = smithy_client_1.expectString(output["UserName"]);
14175
+ contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
14176
14176
  }
14177
14177
  if (output["UserId"] !== undefined) {
14178
- contents.UserId = smithy_client_1.expectString(output["UserId"]);
14178
+ contents.UserId = (0, smithy_client_1.expectString)(output["UserId"]);
14179
14179
  }
14180
14180
  if (output["Arn"] !== undefined) {
14181
- contents.Arn = smithy_client_1.expectString(output["Arn"]);
14181
+ contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
14182
14182
  }
14183
14183
  if (output["CreateDate"] !== undefined) {
14184
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateDate"]));
14184
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreateDate"]));
14185
14185
  }
14186
14186
  if (output.UserPolicyList === "") {
14187
14187
  contents.UserPolicyList = [];
14188
14188
  }
14189
14189
  if (output["UserPolicyList"] !== undefined && output["UserPolicyList"]["member"] !== undefined) {
14190
- contents.UserPolicyList = deserializeAws_querypolicyDetailListType(smithy_client_1.getArrayIfSingleItem(output["UserPolicyList"]["member"]), context);
14190
+ contents.UserPolicyList = deserializeAws_querypolicyDetailListType((0, smithy_client_1.getArrayIfSingleItem)(output["UserPolicyList"]["member"]), context);
14191
14191
  }
14192
14192
  if (output.GroupList === "") {
14193
14193
  contents.GroupList = [];
14194
14194
  }
14195
14195
  if (output["GroupList"] !== undefined && output["GroupList"]["member"] !== undefined) {
14196
- contents.GroupList = deserializeAws_querygroupNameListType(smithy_client_1.getArrayIfSingleItem(output["GroupList"]["member"]), context);
14196
+ contents.GroupList = deserializeAws_querygroupNameListType((0, smithy_client_1.getArrayIfSingleItem)(output["GroupList"]["member"]), context);
14197
14197
  }
14198
14198
  if (output.AttachedManagedPolicies === "") {
14199
14199
  contents.AttachedManagedPolicies = [];
14200
14200
  }
14201
14201
  if (output["AttachedManagedPolicies"] !== undefined && output["AttachedManagedPolicies"]["member"] !== undefined) {
14202
- contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType(smithy_client_1.getArrayIfSingleItem(output["AttachedManagedPolicies"]["member"]), context);
14202
+ contents.AttachedManagedPolicies = deserializeAws_queryattachedPoliciesListType((0, smithy_client_1.getArrayIfSingleItem)(output["AttachedManagedPolicies"]["member"]), context);
14203
14203
  }
14204
14204
  if (output["PermissionsBoundary"] !== undefined) {
14205
14205
  contents.PermissionsBoundary = deserializeAws_queryAttachedPermissionsBoundary(output["PermissionsBoundary"], context);
@@ -14208,7 +14208,7 @@ const deserializeAws_queryUserDetail = (output, context) => {
14208
14208
  contents.Tags = [];
14209
14209
  }
14210
14210
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
14211
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
14211
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
14212
14212
  }
14213
14213
  return contents;
14214
14214
  };
@@ -14242,7 +14242,7 @@ const deserializeAws_queryVirtualMFADevice = (output, context) => {
14242
14242
  Tags: undefined,
14243
14243
  };
14244
14244
  if (output["SerialNumber"] !== undefined) {
14245
- contents.SerialNumber = smithy_client_1.expectString(output["SerialNumber"]);
14245
+ contents.SerialNumber = (0, smithy_client_1.expectString)(output["SerialNumber"]);
14246
14246
  }
14247
14247
  if (output["Base32StringSeed"] !== undefined) {
14248
14248
  contents.Base32StringSeed = context.base64Decoder(output["Base32StringSeed"]);
@@ -14254,13 +14254,13 @@ const deserializeAws_queryVirtualMFADevice = (output, context) => {
14254
14254
  contents.User = deserializeAws_queryUser(output["User"], context);
14255
14255
  }
14256
14256
  if (output["EnableDate"] !== undefined) {
14257
- contents.EnableDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EnableDate"]));
14257
+ contents.EnableDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["EnableDate"]));
14258
14258
  }
14259
14259
  if (output.Tags === "") {
14260
14260
  contents.Tags = [];
14261
14261
  }
14262
14262
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
14263
- contents.Tags = deserializeAws_querytagListType(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
14263
+ contents.Tags = deserializeAws_querytagListType((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
14264
14264
  }
14265
14265
  return contents;
14266
14266
  };
@@ -14310,12 +14310,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
14310
14310
  };
14311
14311
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
14312
14312
  if (encoded.length) {
14313
- const parsedObj = fast_xml_parser_1.parse(encoded, {
14313
+ const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
14314
14314
  attributeNamePrefix: "",
14315
14315
  ignoreAttributes: false,
14316
14316
  parseNodeValue: false,
14317
14317
  trimValues: false,
14318
- tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
14318
+ tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
14319
14319
  });
14320
14320
  const textNodeName = "#text";
14321
14321
  const key = Object.keys(parsedObj)[0];
@@ -14324,12 +14324,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
14324
14324
  parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
14325
14325
  delete parsedObjToReturn[textNodeName];
14326
14326
  }
14327
- return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
14327
+ return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
14328
14328
  }
14329
14329
  return {};
14330
14330
  });
14331
14331
  const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
14332
- .map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
14332
+ .map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
14333
14333
  .join("&");
14334
14334
  const loadQueryErrorCode = (output, data) => {
14335
14335
  if (data.Error.Code !== undefined) {