@aws-sdk/client-directory-service 3.477.0 → 3.481.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 (329) hide show
  1. package/dist-cjs/commands/AcceptSharedDirectoryCommand.js +18 -41
  2. package/dist-cjs/commands/AddIpRoutesCommand.js +18 -41
  3. package/dist-cjs/commands/AddRegionCommand.js +18 -41
  4. package/dist-cjs/commands/AddTagsToResourceCommand.js +18 -41
  5. package/dist-cjs/commands/CancelSchemaExtensionCommand.js +18 -41
  6. package/dist-cjs/commands/ConnectDirectoryCommand.js +18 -41
  7. package/dist-cjs/commands/CreateAliasCommand.js +18 -41
  8. package/dist-cjs/commands/CreateComputerCommand.js +18 -41
  9. package/dist-cjs/commands/CreateConditionalForwarderCommand.js +18 -41
  10. package/dist-cjs/commands/CreateDirectoryCommand.js +18 -41
  11. package/dist-cjs/commands/CreateLogSubscriptionCommand.js +18 -41
  12. package/dist-cjs/commands/CreateMicrosoftADCommand.js +18 -41
  13. package/dist-cjs/commands/CreateSnapshotCommand.js +18 -41
  14. package/dist-cjs/commands/CreateTrustCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteConditionalForwarderCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteDirectoryCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteLogSubscriptionCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteSnapshotCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteTrustCommand.js +18 -41
  20. package/dist-cjs/commands/DeregisterCertificateCommand.js +18 -41
  21. package/dist-cjs/commands/DeregisterEventTopicCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeCertificateCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeClientAuthenticationSettingsCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeConditionalForwardersCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeDirectoriesCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeDomainControllersCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeEventTopicsCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeLDAPSSettingsCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeRegionsCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeSettingsCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeSharedDirectoriesCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeSnapshotsCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeTrustsCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeUpdateDirectoryCommand.js +18 -41
  35. package/dist-cjs/commands/DisableClientAuthenticationCommand.js +18 -41
  36. package/dist-cjs/commands/DisableLDAPSCommand.js +18 -41
  37. package/dist-cjs/commands/DisableRadiusCommand.js +18 -41
  38. package/dist-cjs/commands/DisableSsoCommand.js +18 -41
  39. package/dist-cjs/commands/EnableClientAuthenticationCommand.js +18 -41
  40. package/dist-cjs/commands/EnableLDAPSCommand.js +18 -41
  41. package/dist-cjs/commands/EnableRadiusCommand.js +18 -41
  42. package/dist-cjs/commands/EnableSsoCommand.js +18 -41
  43. package/dist-cjs/commands/GetDirectoryLimitsCommand.js +18 -41
  44. package/dist-cjs/commands/GetSnapshotLimitsCommand.js +18 -41
  45. package/dist-cjs/commands/ListCertificatesCommand.js +18 -41
  46. package/dist-cjs/commands/ListIpRoutesCommand.js +18 -41
  47. package/dist-cjs/commands/ListLogSubscriptionsCommand.js +18 -41
  48. package/dist-cjs/commands/ListSchemaExtensionsCommand.js +18 -41
  49. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  50. package/dist-cjs/commands/RegisterCertificateCommand.js +18 -41
  51. package/dist-cjs/commands/RegisterEventTopicCommand.js +18 -41
  52. package/dist-cjs/commands/RejectSharedDirectoryCommand.js +18 -41
  53. package/dist-cjs/commands/RemoveIpRoutesCommand.js +18 -41
  54. package/dist-cjs/commands/RemoveRegionCommand.js +18 -41
  55. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +18 -41
  56. package/dist-cjs/commands/ResetUserPasswordCommand.js +18 -41
  57. package/dist-cjs/commands/RestoreFromSnapshotCommand.js +18 -41
  58. package/dist-cjs/commands/ShareDirectoryCommand.js +18 -41
  59. package/dist-cjs/commands/StartSchemaExtensionCommand.js +18 -41
  60. package/dist-cjs/commands/UnshareDirectoryCommand.js +18 -41
  61. package/dist-cjs/commands/UpdateConditionalForwarderCommand.js +18 -41
  62. package/dist-cjs/commands/UpdateDirectorySetupCommand.js +18 -41
  63. package/dist-cjs/commands/UpdateNumberOfDomainControllersCommand.js +18 -41
  64. package/dist-cjs/commands/UpdateRadiusCommand.js +18 -41
  65. package/dist-cjs/commands/UpdateSettingsCommand.js +18 -41
  66. package/dist-cjs/commands/UpdateTrustCommand.js +18 -41
  67. package/dist-cjs/commands/VerifyTrustCommand.js +18 -41
  68. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  69. package/dist-cjs/pagination/DescribeClientAuthenticationSettingsPaginator.js +2 -24
  70. package/dist-cjs/pagination/DescribeDirectoriesPaginator.js +2 -24
  71. package/dist-cjs/pagination/DescribeDomainControllersPaginator.js +2 -24
  72. package/dist-cjs/pagination/DescribeLDAPSSettingsPaginator.js +2 -24
  73. package/dist-cjs/pagination/DescribeRegionsPaginator.js +2 -23
  74. package/dist-cjs/pagination/DescribeSharedDirectoriesPaginator.js +2 -24
  75. package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +2 -24
  76. package/dist-cjs/pagination/DescribeTrustsPaginator.js +2 -24
  77. package/dist-cjs/pagination/DescribeUpdateDirectoryPaginator.js +2 -23
  78. package/dist-cjs/pagination/ListCertificatesPaginator.js +2 -24
  79. package/dist-cjs/pagination/ListIpRoutesPaginator.js +2 -24
  80. package/dist-cjs/pagination/ListLogSubscriptionsPaginator.js +2 -24
  81. package/dist-cjs/pagination/ListSchemaExtensionsPaginator.js +2 -24
  82. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
  83. package/dist-es/commands/AcceptSharedDirectoryCommand.js +18 -41
  84. package/dist-es/commands/AddIpRoutesCommand.js +18 -41
  85. package/dist-es/commands/AddRegionCommand.js +18 -41
  86. package/dist-es/commands/AddTagsToResourceCommand.js +18 -41
  87. package/dist-es/commands/CancelSchemaExtensionCommand.js +18 -41
  88. package/dist-es/commands/ConnectDirectoryCommand.js +18 -41
  89. package/dist-es/commands/CreateAliasCommand.js +18 -41
  90. package/dist-es/commands/CreateComputerCommand.js +18 -41
  91. package/dist-es/commands/CreateConditionalForwarderCommand.js +18 -41
  92. package/dist-es/commands/CreateDirectoryCommand.js +18 -41
  93. package/dist-es/commands/CreateLogSubscriptionCommand.js +18 -41
  94. package/dist-es/commands/CreateMicrosoftADCommand.js +18 -41
  95. package/dist-es/commands/CreateSnapshotCommand.js +18 -41
  96. package/dist-es/commands/CreateTrustCommand.js +18 -41
  97. package/dist-es/commands/DeleteConditionalForwarderCommand.js +18 -41
  98. package/dist-es/commands/DeleteDirectoryCommand.js +18 -41
  99. package/dist-es/commands/DeleteLogSubscriptionCommand.js +18 -41
  100. package/dist-es/commands/DeleteSnapshotCommand.js +18 -41
  101. package/dist-es/commands/DeleteTrustCommand.js +18 -41
  102. package/dist-es/commands/DeregisterCertificateCommand.js +18 -41
  103. package/dist-es/commands/DeregisterEventTopicCommand.js +18 -41
  104. package/dist-es/commands/DescribeCertificateCommand.js +18 -41
  105. package/dist-es/commands/DescribeClientAuthenticationSettingsCommand.js +18 -41
  106. package/dist-es/commands/DescribeConditionalForwardersCommand.js +18 -41
  107. package/dist-es/commands/DescribeDirectoriesCommand.js +18 -41
  108. package/dist-es/commands/DescribeDomainControllersCommand.js +18 -41
  109. package/dist-es/commands/DescribeEventTopicsCommand.js +18 -41
  110. package/dist-es/commands/DescribeLDAPSSettingsCommand.js +18 -41
  111. package/dist-es/commands/DescribeRegionsCommand.js +18 -41
  112. package/dist-es/commands/DescribeSettingsCommand.js +18 -41
  113. package/dist-es/commands/DescribeSharedDirectoriesCommand.js +18 -41
  114. package/dist-es/commands/DescribeSnapshotsCommand.js +18 -41
  115. package/dist-es/commands/DescribeTrustsCommand.js +18 -41
  116. package/dist-es/commands/DescribeUpdateDirectoryCommand.js +18 -41
  117. package/dist-es/commands/DisableClientAuthenticationCommand.js +18 -41
  118. package/dist-es/commands/DisableLDAPSCommand.js +18 -41
  119. package/dist-es/commands/DisableRadiusCommand.js +18 -41
  120. package/dist-es/commands/DisableSsoCommand.js +18 -41
  121. package/dist-es/commands/EnableClientAuthenticationCommand.js +18 -41
  122. package/dist-es/commands/EnableLDAPSCommand.js +18 -41
  123. package/dist-es/commands/EnableRadiusCommand.js +18 -41
  124. package/dist-es/commands/EnableSsoCommand.js +18 -41
  125. package/dist-es/commands/GetDirectoryLimitsCommand.js +18 -41
  126. package/dist-es/commands/GetSnapshotLimitsCommand.js +18 -41
  127. package/dist-es/commands/ListCertificatesCommand.js +18 -41
  128. package/dist-es/commands/ListIpRoutesCommand.js +18 -41
  129. package/dist-es/commands/ListLogSubscriptionsCommand.js +18 -41
  130. package/dist-es/commands/ListSchemaExtensionsCommand.js +18 -41
  131. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  132. package/dist-es/commands/RegisterCertificateCommand.js +18 -41
  133. package/dist-es/commands/RegisterEventTopicCommand.js +18 -41
  134. package/dist-es/commands/RejectSharedDirectoryCommand.js +18 -41
  135. package/dist-es/commands/RemoveIpRoutesCommand.js +18 -41
  136. package/dist-es/commands/RemoveRegionCommand.js +18 -41
  137. package/dist-es/commands/RemoveTagsFromResourceCommand.js +18 -41
  138. package/dist-es/commands/ResetUserPasswordCommand.js +18 -41
  139. package/dist-es/commands/RestoreFromSnapshotCommand.js +18 -41
  140. package/dist-es/commands/ShareDirectoryCommand.js +18 -41
  141. package/dist-es/commands/StartSchemaExtensionCommand.js +18 -41
  142. package/dist-es/commands/UnshareDirectoryCommand.js +18 -41
  143. package/dist-es/commands/UpdateConditionalForwarderCommand.js +18 -41
  144. package/dist-es/commands/UpdateDirectorySetupCommand.js +18 -41
  145. package/dist-es/commands/UpdateNumberOfDomainControllersCommand.js +18 -41
  146. package/dist-es/commands/UpdateRadiusCommand.js +18 -41
  147. package/dist-es/commands/UpdateSettingsCommand.js +18 -41
  148. package/dist-es/commands/UpdateTrustCommand.js +18 -41
  149. package/dist-es/commands/VerifyTrustCommand.js +18 -41
  150. package/dist-es/endpoint/EndpointParameters.js +6 -0
  151. package/dist-es/pagination/DescribeClientAuthenticationSettingsPaginator.js +2 -23
  152. package/dist-es/pagination/DescribeDirectoriesPaginator.js +2 -23
  153. package/dist-es/pagination/DescribeDomainControllersPaginator.js +2 -23
  154. package/dist-es/pagination/DescribeLDAPSSettingsPaginator.js +2 -23
  155. package/dist-es/pagination/DescribeRegionsPaginator.js +2 -22
  156. package/dist-es/pagination/DescribeSharedDirectoriesPaginator.js +2 -23
  157. package/dist-es/pagination/DescribeSnapshotsPaginator.js +2 -23
  158. package/dist-es/pagination/DescribeTrustsPaginator.js +2 -23
  159. package/dist-es/pagination/DescribeUpdateDirectoryPaginator.js +2 -22
  160. package/dist-es/pagination/ListCertificatesPaginator.js +2 -23
  161. package/dist-es/pagination/ListIpRoutesPaginator.js +2 -23
  162. package/dist-es/pagination/ListLogSubscriptionsPaginator.js +2 -23
  163. package/dist-es/pagination/ListSchemaExtensionsPaginator.js +2 -23
  164. package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
  165. package/dist-types/commands/AcceptSharedDirectoryCommand.d.ts +6 -21
  166. package/dist-types/commands/AddIpRoutesCommand.d.ts +6 -21
  167. package/dist-types/commands/AddRegionCommand.d.ts +6 -21
  168. package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -21
  169. package/dist-types/commands/CancelSchemaExtensionCommand.d.ts +6 -21
  170. package/dist-types/commands/ConnectDirectoryCommand.d.ts +6 -21
  171. package/dist-types/commands/CreateAliasCommand.d.ts +6 -21
  172. package/dist-types/commands/CreateComputerCommand.d.ts +6 -21
  173. package/dist-types/commands/CreateConditionalForwarderCommand.d.ts +6 -21
  174. package/dist-types/commands/CreateDirectoryCommand.d.ts +6 -21
  175. package/dist-types/commands/CreateLogSubscriptionCommand.d.ts +6 -21
  176. package/dist-types/commands/CreateMicrosoftADCommand.d.ts +6 -21
  177. package/dist-types/commands/CreateSnapshotCommand.d.ts +6 -21
  178. package/dist-types/commands/CreateTrustCommand.d.ts +6 -21
  179. package/dist-types/commands/DeleteConditionalForwarderCommand.d.ts +6 -21
  180. package/dist-types/commands/DeleteDirectoryCommand.d.ts +6 -21
  181. package/dist-types/commands/DeleteLogSubscriptionCommand.d.ts +6 -21
  182. package/dist-types/commands/DeleteSnapshotCommand.d.ts +6 -21
  183. package/dist-types/commands/DeleteTrustCommand.d.ts +6 -21
  184. package/dist-types/commands/DeregisterCertificateCommand.d.ts +6 -21
  185. package/dist-types/commands/DeregisterEventTopicCommand.d.ts +6 -21
  186. package/dist-types/commands/DescribeCertificateCommand.d.ts +6 -21
  187. package/dist-types/commands/DescribeClientAuthenticationSettingsCommand.d.ts +6 -21
  188. package/dist-types/commands/DescribeConditionalForwardersCommand.d.ts +6 -21
  189. package/dist-types/commands/DescribeDirectoriesCommand.d.ts +6 -21
  190. package/dist-types/commands/DescribeDomainControllersCommand.d.ts +6 -21
  191. package/dist-types/commands/DescribeEventTopicsCommand.d.ts +6 -21
  192. package/dist-types/commands/DescribeLDAPSSettingsCommand.d.ts +6 -21
  193. package/dist-types/commands/DescribeRegionsCommand.d.ts +6 -21
  194. package/dist-types/commands/DescribeSettingsCommand.d.ts +6 -21
  195. package/dist-types/commands/DescribeSharedDirectoriesCommand.d.ts +6 -21
  196. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +6 -21
  197. package/dist-types/commands/DescribeTrustsCommand.d.ts +6 -21
  198. package/dist-types/commands/DescribeUpdateDirectoryCommand.d.ts +6 -21
  199. package/dist-types/commands/DisableClientAuthenticationCommand.d.ts +6 -21
  200. package/dist-types/commands/DisableLDAPSCommand.d.ts +6 -21
  201. package/dist-types/commands/DisableRadiusCommand.d.ts +6 -21
  202. package/dist-types/commands/DisableSsoCommand.d.ts +6 -21
  203. package/dist-types/commands/EnableClientAuthenticationCommand.d.ts +6 -21
  204. package/dist-types/commands/EnableLDAPSCommand.d.ts +6 -21
  205. package/dist-types/commands/EnableRadiusCommand.d.ts +6 -21
  206. package/dist-types/commands/EnableSsoCommand.d.ts +6 -21
  207. package/dist-types/commands/GetDirectoryLimitsCommand.d.ts +6 -21
  208. package/dist-types/commands/GetSnapshotLimitsCommand.d.ts +6 -21
  209. package/dist-types/commands/ListCertificatesCommand.d.ts +6 -21
  210. package/dist-types/commands/ListIpRoutesCommand.d.ts +6 -21
  211. package/dist-types/commands/ListLogSubscriptionsCommand.d.ts +6 -21
  212. package/dist-types/commands/ListSchemaExtensionsCommand.d.ts +6 -21
  213. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  214. package/dist-types/commands/RegisterCertificateCommand.d.ts +6 -21
  215. package/dist-types/commands/RegisterEventTopicCommand.d.ts +6 -21
  216. package/dist-types/commands/RejectSharedDirectoryCommand.d.ts +6 -21
  217. package/dist-types/commands/RemoveIpRoutesCommand.d.ts +6 -21
  218. package/dist-types/commands/RemoveRegionCommand.d.ts +6 -21
  219. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -21
  220. package/dist-types/commands/ResetUserPasswordCommand.d.ts +6 -21
  221. package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +6 -21
  222. package/dist-types/commands/ShareDirectoryCommand.d.ts +6 -21
  223. package/dist-types/commands/StartSchemaExtensionCommand.d.ts +6 -21
  224. package/dist-types/commands/UnshareDirectoryCommand.d.ts +6 -21
  225. package/dist-types/commands/UpdateConditionalForwarderCommand.d.ts +6 -21
  226. package/dist-types/commands/UpdateDirectorySetupCommand.d.ts +6 -21
  227. package/dist-types/commands/UpdateNumberOfDomainControllersCommand.d.ts +6 -21
  228. package/dist-types/commands/UpdateRadiusCommand.d.ts +6 -21
  229. package/dist-types/commands/UpdateSettingsCommand.d.ts +6 -21
  230. package/dist-types/commands/UpdateTrustCommand.d.ts +6 -21
  231. package/dist-types/commands/VerifyTrustCommand.d.ts +6 -21
  232. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  233. package/dist-types/pagination/DescribeClientAuthenticationSettingsPaginator.d.ts +1 -1
  234. package/dist-types/pagination/DescribeDirectoriesPaginator.d.ts +1 -1
  235. package/dist-types/pagination/DescribeDomainControllersPaginator.d.ts +1 -1
  236. package/dist-types/pagination/DescribeLDAPSSettingsPaginator.d.ts +1 -1
  237. package/dist-types/pagination/DescribeRegionsPaginator.d.ts +1 -1
  238. package/dist-types/pagination/DescribeSharedDirectoriesPaginator.d.ts +1 -1
  239. package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +1 -1
  240. package/dist-types/pagination/DescribeTrustsPaginator.d.ts +1 -1
  241. package/dist-types/pagination/DescribeUpdateDirectoryPaginator.d.ts +1 -1
  242. package/dist-types/pagination/ListCertificatesPaginator.d.ts +1 -1
  243. package/dist-types/pagination/ListIpRoutesPaginator.d.ts +1 -1
  244. package/dist-types/pagination/ListLogSubscriptionsPaginator.d.ts +1 -1
  245. package/dist-types/pagination/ListSchemaExtensionsPaginator.d.ts +1 -1
  246. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  247. package/dist-types/ts3.4/commands/AcceptSharedDirectoryCommand.d.ts +12 -24
  248. package/dist-types/ts3.4/commands/AddIpRoutesCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/AddRegionCommand.d.ts +14 -23
  250. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +14 -23
  251. package/dist-types/ts3.4/commands/CancelSchemaExtensionCommand.d.ts +12 -24
  252. package/dist-types/ts3.4/commands/ConnectDirectoryCommand.d.ts +14 -23
  253. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +14 -23
  254. package/dist-types/ts3.4/commands/CreateComputerCommand.d.ts +14 -23
  255. package/dist-types/ts3.4/commands/CreateConditionalForwarderCommand.d.ts +12 -24
  256. package/dist-types/ts3.4/commands/CreateDirectoryCommand.d.ts +14 -23
  257. package/dist-types/ts3.4/commands/CreateLogSubscriptionCommand.d.ts +12 -24
  258. package/dist-types/ts3.4/commands/CreateMicrosoftADCommand.d.ts +14 -23
  259. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +14 -23
  260. package/dist-types/ts3.4/commands/CreateTrustCommand.d.ts +14 -23
  261. package/dist-types/ts3.4/commands/DeleteConditionalForwarderCommand.d.ts +12 -24
  262. package/dist-types/ts3.4/commands/DeleteDirectoryCommand.d.ts +14 -23
  263. package/dist-types/ts3.4/commands/DeleteLogSubscriptionCommand.d.ts +12 -24
  264. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +14 -23
  265. package/dist-types/ts3.4/commands/DeleteTrustCommand.d.ts +14 -23
  266. package/dist-types/ts3.4/commands/DeregisterCertificateCommand.d.ts +12 -24
  267. package/dist-types/ts3.4/commands/DeregisterEventTopicCommand.d.ts +12 -24
  268. package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/DescribeClientAuthenticationSettingsCommand.d.ts +12 -24
  270. package/dist-types/ts3.4/commands/DescribeConditionalForwardersCommand.d.ts +12 -24
  271. package/dist-types/ts3.4/commands/DescribeDirectoriesCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/DescribeDomainControllersCommand.d.ts +12 -24
  273. package/dist-types/ts3.4/commands/DescribeEventTopicsCommand.d.ts +14 -23
  274. package/dist-types/ts3.4/commands/DescribeLDAPSSettingsCommand.d.ts +12 -24
  275. package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/DescribeSettingsCommand.d.ts +14 -23
  277. package/dist-types/ts3.4/commands/DescribeSharedDirectoriesCommand.d.ts +12 -24
  278. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +14 -23
  279. package/dist-types/ts3.4/commands/DescribeTrustsCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/DescribeUpdateDirectoryCommand.d.ts +12 -24
  281. package/dist-types/ts3.4/commands/DisableClientAuthenticationCommand.d.ts +12 -24
  282. package/dist-types/ts3.4/commands/DisableLDAPSCommand.d.ts +14 -23
  283. package/dist-types/ts3.4/commands/DisableRadiusCommand.d.ts +14 -23
  284. package/dist-types/ts3.4/commands/DisableSsoCommand.d.ts +14 -23
  285. package/dist-types/ts3.4/commands/EnableClientAuthenticationCommand.d.ts +12 -24
  286. package/dist-types/ts3.4/commands/EnableLDAPSCommand.d.ts +14 -23
  287. package/dist-types/ts3.4/commands/EnableRadiusCommand.d.ts +14 -23
  288. package/dist-types/ts3.4/commands/EnableSsoCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/GetDirectoryLimitsCommand.d.ts +14 -23
  290. package/dist-types/ts3.4/commands/GetSnapshotLimitsCommand.d.ts +14 -23
  291. package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +14 -23
  292. package/dist-types/ts3.4/commands/ListIpRoutesCommand.d.ts +14 -23
  293. package/dist-types/ts3.4/commands/ListLogSubscriptionsCommand.d.ts +12 -24
  294. package/dist-types/ts3.4/commands/ListSchemaExtensionsCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  296. package/dist-types/ts3.4/commands/RegisterCertificateCommand.d.ts +14 -23
  297. package/dist-types/ts3.4/commands/RegisterEventTopicCommand.d.ts +14 -23
  298. package/dist-types/ts3.4/commands/RejectSharedDirectoryCommand.d.ts +12 -24
  299. package/dist-types/ts3.4/commands/RemoveIpRoutesCommand.d.ts +14 -23
  300. package/dist-types/ts3.4/commands/RemoveRegionCommand.d.ts +14 -23
  301. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +12 -24
  302. package/dist-types/ts3.4/commands/ResetUserPasswordCommand.d.ts +14 -23
  303. package/dist-types/ts3.4/commands/RestoreFromSnapshotCommand.d.ts +14 -23
  304. package/dist-types/ts3.4/commands/ShareDirectoryCommand.d.ts +14 -23
  305. package/dist-types/ts3.4/commands/StartSchemaExtensionCommand.d.ts +12 -24
  306. package/dist-types/ts3.4/commands/UnshareDirectoryCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/UpdateConditionalForwarderCommand.d.ts +12 -24
  308. package/dist-types/ts3.4/commands/UpdateDirectorySetupCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/UpdateNumberOfDomainControllersCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/UpdateRadiusCommand.d.ts +14 -23
  311. package/dist-types/ts3.4/commands/UpdateSettingsCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/UpdateTrustCommand.d.ts +14 -23
  313. package/dist-types/ts3.4/commands/VerifyTrustCommand.d.ts +14 -23
  314. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  315. package/dist-types/ts3.4/pagination/DescribeClientAuthenticationSettingsPaginator.d.ts +3 -3
  316. package/dist-types/ts3.4/pagination/DescribeDirectoriesPaginator.d.ts +3 -3
  317. package/dist-types/ts3.4/pagination/DescribeDomainControllersPaginator.d.ts +3 -3
  318. package/dist-types/ts3.4/pagination/DescribeLDAPSSettingsPaginator.d.ts +3 -3
  319. package/dist-types/ts3.4/pagination/DescribeRegionsPaginator.d.ts +3 -3
  320. package/dist-types/ts3.4/pagination/DescribeSharedDirectoriesPaginator.d.ts +3 -3
  321. package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +3 -3
  322. package/dist-types/ts3.4/pagination/DescribeTrustsPaginator.d.ts +3 -3
  323. package/dist-types/ts3.4/pagination/DescribeUpdateDirectoryPaginator.d.ts +3 -3
  324. package/dist-types/ts3.4/pagination/ListCertificatesPaginator.d.ts +3 -3
  325. package/dist-types/ts3.4/pagination/ListIpRoutesPaginator.d.ts +3 -3
  326. package/dist-types/ts3.4/pagination/ListLogSubscriptionsPaginator.d.ts +3 -3
  327. package/dist-types/ts3.4/pagination/ListSchemaExtensionsPaginator.d.ts +3 -3
  328. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
  329. package/package.json +11 -10
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class UpdateRadiusCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateRadiusCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "DirectoryServiceClient";
30
- const commandName = "UpdateRadiusCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.UpdateRadiusRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "DirectoryService_20150416",
39
- operation: "UpdateRadius",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_UpdateRadiusCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_UpdateRadiusCommand)(output, context);
50
- }
11
+ class UpdateRadiusCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("DirectoryService_20150416", "UpdateRadius", {})
23
+ .n("DirectoryServiceClient", "UpdateRadiusCommand")
24
+ .f(models_0_1.UpdateRadiusRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_json1_1_1.se_UpdateRadiusCommand)
26
+ .de(Aws_json1_1_1.de_UpdateRadiusCommand)
27
+ .build() {
51
28
  }
52
29
  exports.UpdateRadiusCommand = UpdateRadiusCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateSettingsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSettingsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DirectoryServiceClient";
29
- const commandName = "UpdateSettingsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "DirectoryService_20150416",
38
- operation: "UpdateSettings",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateSettingsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateSettingsCommand)(output, context);
49
- }
10
+ class UpdateSettingsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("DirectoryService_20150416", "UpdateSettings", {})
22
+ .n("DirectoryServiceClient", "UpdateSettingsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateSettingsCommand)
25
+ .de(Aws_json1_1_1.de_UpdateSettingsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateSettingsCommand = UpdateSettingsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateTrustCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateTrustCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DirectoryServiceClient";
29
- const commandName = "UpdateTrustCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "DirectoryService_20150416",
38
- operation: "UpdateTrust",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateTrustCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateTrustCommand)(output, context);
49
- }
10
+ class UpdateTrustCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("DirectoryService_20150416", "UpdateTrust", {})
22
+ .n("DirectoryServiceClient", "UpdateTrustCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateTrustCommand)
25
+ .de(Aws_json1_1_1.de_UpdateTrustCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateTrustCommand = UpdateTrustCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class VerifyTrustCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, VerifyTrustCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DirectoryServiceClient";
29
- const commandName = "VerifyTrustCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "DirectoryService_20150416",
38
- operation: "VerifyTrust",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_VerifyTrustCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_VerifyTrustCommand)(output, context);
49
- }
10
+ class VerifyTrustCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("DirectoryService_20150416", "VerifyTrust", {})
22
+ .n("DirectoryServiceClient", "VerifyTrustCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_VerifyTrustCommand)
25
+ .de(Aws_json1_1_1.de_VerifyTrustCommand)
26
+ .build() {
50
27
  }
51
28
  exports.VerifyTrustCommand = VerifyTrustCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeClientAuthenticationSettings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeClientAuthenticationSettingsCommand_1 = require("../commands/DescribeClientAuthenticationSettingsCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeClientAuthenticationSettingsCommand_1.DescribeClientAuthenticationSettingsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeClientAuthenticationSettings(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof DirectoryServiceClient_1.DirectoryServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DirectoryService | DirectoryServiceClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeClientAuthenticationSettings = paginateDescribeClientAuthenticationSettings;
7
+ exports.paginateDescribeClientAuthenticationSettings = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, DescribeClientAuthenticationSettingsCommand_1.DescribeClientAuthenticationSettingsCommand, "NextToken", "NextToken", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDirectories = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeDirectoriesCommand_1 = require("../commands/DescribeDirectoriesCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeDirectoriesCommand_1.DescribeDirectoriesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeDirectories(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof DirectoryServiceClient_1.DirectoryServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DirectoryService | DirectoryServiceClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeDirectories = paginateDescribeDirectories;
7
+ exports.paginateDescribeDirectories = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, DescribeDirectoriesCommand_1.DescribeDirectoriesCommand, "NextToken", "NextToken", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeDomainControllers = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeDomainControllersCommand_1 = require("../commands/DescribeDomainControllersCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeDomainControllersCommand_1.DescribeDomainControllersCommand(input), ...args);
8
- };
9
- async function* paginateDescribeDomainControllers(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof DirectoryServiceClient_1.DirectoryServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DirectoryService | DirectoryServiceClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeDomainControllers = paginateDescribeDomainControllers;
7
+ exports.paginateDescribeDomainControllers = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, DescribeDomainControllersCommand_1.DescribeDomainControllersCommand, "NextToken", "NextToken", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeLDAPSSettings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeLDAPSSettingsCommand_1 = require("../commands/DescribeLDAPSSettingsCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeLDAPSSettingsCommand_1.DescribeLDAPSSettingsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeLDAPSSettings(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof DirectoryServiceClient_1.DirectoryServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DirectoryService | DirectoryServiceClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeLDAPSSettings = paginateDescribeLDAPSSettings;
7
+ exports.paginateDescribeLDAPSSettings = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, DescribeLDAPSSettingsCommand_1.DescribeLDAPSSettingsCommand, "NextToken", "NextToken", "Limit");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeRegions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeRegionsCommand_1 = require("../commands/DescribeRegionsCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeRegionsCommand_1.DescribeRegionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeRegions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- if (config.client instanceof DirectoryServiceClient_1.DirectoryServiceClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected DirectoryService | DirectoryServiceClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateDescribeRegions = paginateDescribeRegions;
7
+ exports.paginateDescribeRegions = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, DescribeRegionsCommand_1.DescribeRegionsCommand, "NextToken", "NextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeSharedDirectories = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeSharedDirectoriesCommand_1 = require("../commands/DescribeSharedDirectoriesCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeSharedDirectoriesCommand_1.DescribeSharedDirectoriesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeSharedDirectories(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof DirectoryServiceClient_1.DirectoryServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DirectoryService | DirectoryServiceClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeSharedDirectories = paginateDescribeSharedDirectories;
7
+ exports.paginateDescribeSharedDirectories = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, DescribeSharedDirectoriesCommand_1.DescribeSharedDirectoriesCommand, "NextToken", "NextToken", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeSnapshots = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeSnapshotsCommand_1 = require("../commands/DescribeSnapshotsCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeSnapshotsCommand_1.DescribeSnapshotsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeSnapshots(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof DirectoryServiceClient_1.DirectoryServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DirectoryService | DirectoryServiceClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeSnapshots = paginateDescribeSnapshots;
7
+ exports.paginateDescribeSnapshots = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, DescribeSnapshotsCommand_1.DescribeSnapshotsCommand, "NextToken", "NextToken", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTrusts = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTrustsCommand_1 = require("../commands/DescribeTrustsCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTrustsCommand_1.DescribeTrustsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTrusts(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof DirectoryServiceClient_1.DirectoryServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DirectoryService | DirectoryServiceClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeTrusts = paginateDescribeTrusts;
7
+ exports.paginateDescribeTrusts = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, DescribeTrustsCommand_1.DescribeTrustsCommand, "NextToken", "NextToken", "Limit");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeUpdateDirectory = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeUpdateDirectoryCommand_1 = require("../commands/DescribeUpdateDirectoryCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeUpdateDirectoryCommand_1.DescribeUpdateDirectoryCommand(input), ...args);
8
- };
9
- async function* paginateDescribeUpdateDirectory(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- if (config.client instanceof DirectoryServiceClient_1.DirectoryServiceClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected DirectoryService | DirectoryServiceClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateDescribeUpdateDirectory = paginateDescribeUpdateDirectory;
7
+ exports.paginateDescribeUpdateDirectory = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, DescribeUpdateDirectoryCommand_1.DescribeUpdateDirectoryCommand, "NextToken", "NextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListCertificates = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListCertificatesCommand_1 = require("../commands/ListCertificatesCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListCertificatesCommand_1.ListCertificatesCommand(input), ...args);
8
- };
9
- async function* paginateListCertificates(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof DirectoryServiceClient_1.DirectoryServiceClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected DirectoryService | DirectoryServiceClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListCertificates = paginateListCertificates;
7
+ exports.paginateListCertificates = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, ListCertificatesCommand_1.ListCertificatesCommand, "NextToken", "NextToken", "Limit");