@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
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListIpRoutes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListIpRoutesCommand_1 = require("../commands/ListIpRoutesCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListIpRoutesCommand_1.ListIpRoutesCommand(input), ...args);
8
- };
9
- async function* paginateListIpRoutes(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.paginateListIpRoutes = paginateListIpRoutes;
7
+ exports.paginateListIpRoutes = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, ListIpRoutesCommand_1.ListIpRoutesCommand, "NextToken", "NextToken", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListLogSubscriptions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListLogSubscriptionsCommand_1 = require("../commands/ListLogSubscriptionsCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListLogSubscriptionsCommand_1.ListLogSubscriptionsCommand(input), ...args);
8
- };
9
- async function* paginateListLogSubscriptions(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.paginateListLogSubscriptions = paginateListLogSubscriptions;
7
+ exports.paginateListLogSubscriptions = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, ListLogSubscriptionsCommand_1.ListLogSubscriptionsCommand, "NextToken", "NextToken", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSchemaExtensions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSchemaExtensionsCommand_1 = require("../commands/ListSchemaExtensionsCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSchemaExtensionsCommand_1.ListSchemaExtensionsCommand(input), ...args);
8
- };
9
- async function* paginateListSchemaExtensions(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.paginateListSchemaExtensions = paginateListSchemaExtensions;
7
+ exports.paginateListSchemaExtensions = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, ListSchemaExtensionsCommand_1.ListSchemaExtensionsCommand, "NextToken", "NextToken", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTagsForResource = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
5
6
  const DirectoryServiceClient_1 = require("../DirectoryServiceClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
8
- };
9
- async function* paginateListTagsForResource(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.paginateListTagsForResource = paginateListTagsForResource;
7
+ exports.paginateListTagsForResource = (0, core_1.createPaginator)(DirectoryServiceClient_1.DirectoryServiceClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "NextToken", "NextToken", "Limit");
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { AcceptSharedDirectoryResultFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_AcceptSharedDirectoryCommand, se_AcceptSharedDirectoryCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class AcceptSharedDirectoryCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, AcceptSharedDirectoryCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "DirectoryServiceClient";
27
- const commandName = "AcceptSharedDirectoryCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: AcceptSharedDirectoryResultFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "DirectoryService_20150416",
36
- operation: "AcceptSharedDirectory",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_AcceptSharedDirectoryCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_AcceptSharedDirectoryCommand(output, context);
47
- }
8
+ export class AcceptSharedDirectoryCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("DirectoryService_20150416", "AcceptSharedDirectory", {})
20
+ .n("DirectoryServiceClient", "AcceptSharedDirectoryCommand")
21
+ .f(void 0, AcceptSharedDirectoryResultFilterSensitiveLog)
22
+ .ser(se_AcceptSharedDirectoryCommand)
23
+ .de(de_AcceptSharedDirectoryCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddIpRoutesCommand, se_AddIpRoutesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AddIpRoutesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddIpRoutesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DirectoryServiceClient";
26
- const commandName = "AddIpRoutesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DirectoryService_20150416",
35
- operation: "AddIpRoutes",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddIpRoutesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddIpRoutesCommand(output, context);
46
- }
7
+ export class AddIpRoutesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DirectoryService_20150416", "AddIpRoutes", {})
19
+ .n("DirectoryServiceClient", "AddIpRoutesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddIpRoutesCommand)
22
+ .de(de_AddIpRoutesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddRegionCommand, se_AddRegionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AddRegionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddRegionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DirectoryServiceClient";
26
- const commandName = "AddRegionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DirectoryService_20150416",
35
- operation: "AddRegion",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddRegionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddRegionCommand(output, context);
46
- }
7
+ export class AddRegionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DirectoryService_20150416", "AddRegion", {})
19
+ .n("DirectoryServiceClient", "AddRegionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddRegionCommand)
22
+ .de(de_AddRegionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddTagsToResourceCommand, se_AddTagsToResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AddTagsToResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddTagsToResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DirectoryServiceClient";
26
- const commandName = "AddTagsToResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DirectoryService_20150416",
35
- operation: "AddTagsToResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddTagsToResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddTagsToResourceCommand(output, context);
46
- }
7
+ export class AddTagsToResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DirectoryService_20150416", "AddTagsToResource", {})
19
+ .n("DirectoryServiceClient", "AddTagsToResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddTagsToResourceCommand)
22
+ .de(de_AddTagsToResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CancelSchemaExtensionCommand, se_CancelSchemaExtensionCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CancelSchemaExtensionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CancelSchemaExtensionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DirectoryServiceClient";
26
- const commandName = "CancelSchemaExtensionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DirectoryService_20150416",
35
- operation: "CancelSchemaExtension",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CancelSchemaExtensionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CancelSchemaExtensionCommand(output, context);
46
- }
7
+ export class CancelSchemaExtensionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DirectoryService_20150416", "CancelSchemaExtension", {})
19
+ .n("DirectoryServiceClient", "CancelSchemaExtensionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CancelSchemaExtensionCommand)
22
+ .de(de_CancelSchemaExtensionCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { ConnectDirectoryRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ConnectDirectoryCommand, se_ConnectDirectoryCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class ConnectDirectoryCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ConnectDirectoryCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "DirectoryServiceClient";
27
- const commandName = "ConnectDirectoryCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ConnectDirectoryRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "DirectoryService_20150416",
36
- operation: "ConnectDirectory",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_ConnectDirectoryCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ConnectDirectoryCommand(output, context);
47
- }
8
+ export class ConnectDirectoryCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("DirectoryService_20150416", "ConnectDirectory", {})
20
+ .n("DirectoryServiceClient", "ConnectDirectoryCommand")
21
+ .f(ConnectDirectoryRequestFilterSensitiveLog, void 0)
22
+ .ser(se_ConnectDirectoryCommand)
23
+ .de(de_ConnectDirectoryCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateAliasCommand, se_CreateAliasCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateAliasCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateAliasCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DirectoryServiceClient";
26
- const commandName = "CreateAliasCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "DirectoryService_20150416",
35
- operation: "CreateAlias",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateAliasCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateAliasCommand(output, context);
46
- }
7
+ export class CreateAliasCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("DirectoryService_20150416", "CreateAlias", {})
19
+ .n("DirectoryServiceClient", "CreateAliasCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateAliasCommand)
22
+ .de(de_CreateAliasCommand)
23
+ .build() {
47
24
  }