@aws-sdk/client-directory-service 3.34.0 → 3.37.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 (600) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/DirectoryService.js +1 -18
  3. package/dist-cjs/DirectoryServiceClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AcceptSharedDirectoryCommand.js +2 -27
  5. package/dist-cjs/commands/AddIpRoutesCommand.js +36 -0
  6. package/{dist/cjs → dist-cjs}/commands/AddRegionCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/AddTagsToResourceCommand.js +2 -29
  8. package/{dist/cjs → dist-cjs}/commands/CancelSchemaExtensionCommand.js +2 -31
  9. package/{dist/cjs → dist-cjs}/commands/ConnectDirectoryCommand.js +2 -31
  10. package/{dist/cjs → dist-cjs}/commands/CreateAliasCommand.js +2 -32
  11. package/{dist/cjs → dist-cjs}/commands/CreateComputerCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/CreateConditionalForwarderCommand.js +2 -29
  13. package/dist-cjs/commands/CreateDirectoryCommand.js +36 -0
  14. package/{dist/cjs → dist-cjs}/commands/CreateLogSubscriptionCommand.js +2 -28
  15. package/dist-cjs/commands/CreateMicrosoftADCommand.js +36 -0
  16. package/{dist/cjs → dist-cjs}/commands/CreateSnapshotCommand.js +2 -30
  17. package/dist-cjs/commands/CreateTrustCommand.js +36 -0
  18. package/{dist/cjs → dist-cjs}/commands/DeleteConditionalForwarderCommand.js +2 -28
  19. package/{dist/cjs → dist-cjs}/commands/DeleteDirectoryCommand.js +2 -31
  20. package/{dist/cjs → dist-cjs}/commands/DeleteLogSubscriptionCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/DeleteSnapshotCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/DeleteTrustCommand.js +2 -28
  23. package/{dist/cjs → dist-cjs}/commands/DeregisterCertificateCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/DeregisterEventTopicCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/DescribeCertificateCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/DescribeClientAuthenticationSettingsCommand.js +2 -28
  27. package/{dist/cjs → dist-cjs}/commands/DescribeConditionalForwardersCommand.js +2 -29
  28. package/dist-cjs/commands/DescribeDirectoriesCommand.js +36 -0
  29. package/{dist/cjs → dist-cjs}/commands/DescribeDomainControllersCommand.js +2 -27
  30. package/{dist/cjs → dist-cjs}/commands/DescribeEventTopicsCommand.js +2 -30
  31. package/{dist/cjs → dist-cjs}/commands/DescribeLDAPSSettingsCommand.js +2 -27
  32. package/{dist/cjs → dist-cjs}/commands/DescribeRegionsCommand.js +2 -28
  33. package/{dist/cjs → dist-cjs}/commands/DescribeSharedDirectoriesCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/commands/DescribeSnapshotsCommand.js +2 -33
  35. package/{dist/cjs → dist-cjs}/commands/DescribeTrustsCommand.js +2 -29
  36. package/{dist/cjs → dist-cjs}/commands/DisableClientAuthenticationCommand.js +2 -27
  37. package/{dist/cjs → dist-cjs}/commands/DisableLDAPSCommand.js +2 -27
  38. package/{dist/cjs → dist-cjs}/commands/DisableRadiusCommand.js +2 -28
  39. package/{dist/cjs → dist-cjs}/commands/DisableSsoCommand.js +2 -27
  40. package/{dist/cjs → dist-cjs}/commands/EnableClientAuthenticationCommand.js +2 -27
  41. package/{dist/cjs → dist-cjs}/commands/EnableLDAPSCommand.js +2 -27
  42. package/{dist/cjs → dist-cjs}/commands/EnableRadiusCommand.js +2 -28
  43. package/{dist/cjs → dist-cjs}/commands/EnableSsoCommand.js +2 -29
  44. package/{dist/cjs → dist-cjs}/commands/GetDirectoryLimitsCommand.js +2 -27
  45. package/{dist/cjs → dist-cjs}/commands/GetSnapshotLimitsCommand.js +2 -27
  46. package/{dist/cjs → dist-cjs}/commands/ListCertificatesCommand.js +2 -27
  47. package/{dist/cjs → dist-cjs}/commands/ListIpRoutesCommand.js +2 -27
  48. package/{dist/cjs → dist-cjs}/commands/ListLogSubscriptionsCommand.js +2 -27
  49. package/{dist/cjs → dist-cjs}/commands/ListSchemaExtensionsCommand.js +2 -27
  50. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  51. package/{dist/cjs → dist-cjs}/commands/RegisterCertificateCommand.js +2 -27
  52. package/{dist/cjs → dist-cjs}/commands/RegisterEventTopicCommand.js +2 -31
  53. package/{dist/cjs → dist-cjs}/commands/RejectSharedDirectoryCommand.js +2 -27
  54. package/{dist/cjs → dist-cjs}/commands/RemoveIpRoutesCommand.js +2 -27
  55. package/{dist/cjs → dist-cjs}/commands/RemoveRegionCommand.js +2 -29
  56. package/{dist/cjs → dist-cjs}/commands/RemoveTagsFromResourceCommand.js +2 -27
  57. package/dist-cjs/commands/ResetUserPasswordCommand.js +36 -0
  58. package/{dist/cjs → dist-cjs}/commands/RestoreFromSnapshotCommand.js +2 -32
  59. package/dist-cjs/commands/ShareDirectoryCommand.js +36 -0
  60. package/{dist/cjs → dist-cjs}/commands/StartSchemaExtensionCommand.js +2 -27
  61. package/{dist/cjs → dist-cjs}/commands/UnshareDirectoryCommand.js +2 -27
  62. package/{dist/cjs → dist-cjs}/commands/UpdateConditionalForwarderCommand.js +2 -28
  63. package/{dist/cjs → dist-cjs}/commands/UpdateNumberOfDomainControllersCommand.js +2 -31
  64. package/{dist/cjs → dist-cjs}/commands/UpdateRadiusCommand.js +2 -28
  65. package/{dist/cjs → dist-cjs}/commands/UpdateTrustCommand.js +2 -28
  66. package/{dist/cjs → dist-cjs}/commands/VerifyTrustCommand.js +2 -30
  67. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  68. package/{dist/cjs → dist-cjs}/index.js +0 -1
  69. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  70. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -574
  71. package/{dist/cjs → dist-cjs}/pagination/DescribeDomainControllersPaginator.js +1 -12
  72. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  73. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  74. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  75. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  76. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  77. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  78. package/{dist/es → dist-es}/DirectoryService.js +1 -2
  79. package/{dist/es → dist-es}/DirectoryServiceClient.js +1 -2
  80. package/{dist/es → dist-es}/commands/AcceptSharedDirectoryCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/AddIpRoutesCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/AddRegionCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/AddTagsToResourceCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/CancelSchemaExtensionCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/ConnectDirectoryCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/CreateAliasCommand.js +2 -3
  87. package/{dist/es → dist-es}/commands/CreateComputerCommand.js +2 -3
  88. package/{dist/es → dist-es}/commands/CreateConditionalForwarderCommand.js +2 -3
  89. package/{dist/es → dist-es}/commands/CreateDirectoryCommand.js +2 -3
  90. package/{dist/es → dist-es}/commands/CreateLogSubscriptionCommand.js +2 -3
  91. package/{dist/es → dist-es}/commands/CreateMicrosoftADCommand.js +2 -3
  92. package/{dist/es → dist-es}/commands/CreateSnapshotCommand.js +2 -3
  93. package/{dist/es → dist-es}/commands/CreateTrustCommand.js +2 -3
  94. package/{dist/es → dist-es}/commands/DeleteConditionalForwarderCommand.js +2 -3
  95. package/{dist/es → dist-es}/commands/DeleteDirectoryCommand.js +2 -3
  96. package/{dist/es → dist-es}/commands/DeleteLogSubscriptionCommand.js +2 -3
  97. package/{dist/es → dist-es}/commands/DeleteSnapshotCommand.js +2 -3
  98. package/{dist/es → dist-es}/commands/DeleteTrustCommand.js +2 -3
  99. package/{dist/es → dist-es}/commands/DeregisterCertificateCommand.js +2 -3
  100. package/{dist/es → dist-es}/commands/DeregisterEventTopicCommand.js +2 -3
  101. package/{dist/es → dist-es}/commands/DescribeCertificateCommand.js +2 -3
  102. package/{dist/es → dist-es}/commands/DescribeClientAuthenticationSettingsCommand.js +2 -3
  103. package/{dist/es → dist-es}/commands/DescribeConditionalForwardersCommand.js +2 -3
  104. package/{dist/es → dist-es}/commands/DescribeDirectoriesCommand.js +2 -3
  105. package/{dist/es → dist-es}/commands/DescribeDomainControllersCommand.js +2 -3
  106. package/{dist/es → dist-es}/commands/DescribeEventTopicsCommand.js +2 -3
  107. package/{dist/es → dist-es}/commands/DescribeLDAPSSettingsCommand.js +2 -3
  108. package/{dist/es → dist-es}/commands/DescribeRegionsCommand.js +2 -3
  109. package/{dist/es → dist-es}/commands/DescribeSharedDirectoriesCommand.js +2 -3
  110. package/{dist/es → dist-es}/commands/DescribeSnapshotsCommand.js +2 -3
  111. package/{dist/es → dist-es}/commands/DescribeTrustsCommand.js +2 -3
  112. package/{dist/es → dist-es}/commands/DisableClientAuthenticationCommand.js +2 -3
  113. package/{dist/es → dist-es}/commands/DisableLDAPSCommand.js +2 -3
  114. package/{dist/es → dist-es}/commands/DisableRadiusCommand.js +2 -3
  115. package/{dist/es → dist-es}/commands/DisableSsoCommand.js +2 -3
  116. package/{dist/es → dist-es}/commands/EnableClientAuthenticationCommand.js +2 -3
  117. package/{dist/es → dist-es}/commands/EnableLDAPSCommand.js +2 -3
  118. package/{dist/es → dist-es}/commands/EnableRadiusCommand.js +2 -3
  119. package/{dist/es → dist-es}/commands/EnableSsoCommand.js +2 -3
  120. package/{dist/es → dist-es}/commands/GetDirectoryLimitsCommand.js +2 -3
  121. package/{dist/es → dist-es}/commands/GetSnapshotLimitsCommand.js +2 -3
  122. package/{dist/es → dist-es}/commands/ListCertificatesCommand.js +2 -3
  123. package/{dist/es → dist-es}/commands/ListIpRoutesCommand.js +2 -3
  124. package/{dist/es → dist-es}/commands/ListLogSubscriptionsCommand.js +2 -3
  125. package/{dist/es → dist-es}/commands/ListSchemaExtensionsCommand.js +2 -3
  126. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  127. package/{dist/es → dist-es}/commands/RegisterCertificateCommand.js +2 -3
  128. package/{dist/es → dist-es}/commands/RegisterEventTopicCommand.js +2 -3
  129. package/{dist/es → dist-es}/commands/RejectSharedDirectoryCommand.js +2 -3
  130. package/{dist/es → dist-es}/commands/RemoveIpRoutesCommand.js +2 -3
  131. package/{dist/es → dist-es}/commands/RemoveRegionCommand.js +2 -3
  132. package/{dist/es → dist-es}/commands/RemoveTagsFromResourceCommand.js +2 -3
  133. package/{dist/es → dist-es}/commands/ResetUserPasswordCommand.js +2 -3
  134. package/{dist/es → dist-es}/commands/RestoreFromSnapshotCommand.js +2 -3
  135. package/{dist/es → dist-es}/commands/ShareDirectoryCommand.js +2 -3
  136. package/{dist/es → dist-es}/commands/StartSchemaExtensionCommand.js +2 -3
  137. package/{dist/es → dist-es}/commands/UnshareDirectoryCommand.js +2 -3
  138. package/{dist/es → dist-es}/commands/UpdateConditionalForwarderCommand.js +2 -3
  139. package/{dist/es → dist-es}/commands/UpdateNumberOfDomainControllersCommand.js +2 -3
  140. package/{dist/es → dist-es}/commands/UpdateRadiusCommand.js +2 -3
  141. package/{dist/es → dist-es}/commands/UpdateTrustCommand.js +2 -3
  142. package/{dist/es → dist-es}/commands/VerifyTrustCommand.js +2 -3
  143. package/{dist/es → dist-es}/endpoints.js +1 -2
  144. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  145. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  146. package/{dist/es → dist-es}/models/models_0.js +0 -1
  147. package/{dist/es → dist-es}/pagination/DescribeDomainControllersPaginator.js +1 -2
  148. package/dist-es/pagination/Interfaces.js +1 -0
  149. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  150. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  151. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  152. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  153. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  154. package/{dist/types → dist-types}/DirectoryService.d.ts +2 -2
  155. package/{dist/types → dist-types}/DirectoryServiceClient.d.ts +8 -8
  156. package/{dist/types → dist-types}/commands/AcceptSharedDirectoryCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/commands/AddIpRoutesCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/commands/AddRegionCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/commands/AddTagsToResourceCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/commands/CancelSchemaExtensionCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/commands/ConnectDirectoryCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/commands/CreateAliasCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/commands/CreateComputerCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/commands/CreateConditionalForwarderCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/commands/CreateDirectoryCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/commands/CreateLogSubscriptionCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/commands/CreateMicrosoftADCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/commands/CreateSnapshotCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/commands/CreateTrustCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/commands/DeleteConditionalForwarderCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/commands/DeleteDirectoryCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/commands/DeleteLogSubscriptionCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/commands/DeleteSnapshotCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/commands/DeleteTrustCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/commands/DeregisterCertificateCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/commands/DeregisterEventTopicCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/commands/DescribeCertificateCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/commands/DescribeClientAuthenticationSettingsCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/commands/DescribeConditionalForwardersCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/commands/DescribeDirectoriesCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/commands/DescribeDomainControllersCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/commands/DescribeEventTopicsCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/commands/DescribeLDAPSSettingsCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/commands/DescribeRegionsCommand.d.ts +2 -2
  185. package/{dist/types → dist-types}/commands/DescribeSharedDirectoriesCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/commands/DescribeSnapshotsCommand.d.ts +2 -2
  187. package/{dist/types → dist-types}/commands/DescribeTrustsCommand.d.ts +2 -2
  188. package/{dist/types → dist-types}/commands/DisableClientAuthenticationCommand.d.ts +2 -2
  189. package/{dist/types → dist-types}/commands/DisableLDAPSCommand.d.ts +2 -2
  190. package/{dist/types → dist-types}/commands/DisableRadiusCommand.d.ts +2 -2
  191. package/{dist/types → dist-types}/commands/DisableSsoCommand.d.ts +2 -2
  192. package/{dist/types → dist-types}/commands/EnableClientAuthenticationCommand.d.ts +2 -2
  193. package/{dist/types → dist-types}/commands/EnableLDAPSCommand.d.ts +2 -2
  194. package/{dist/types → dist-types}/commands/EnableRadiusCommand.d.ts +2 -2
  195. package/{dist/types → dist-types}/commands/EnableSsoCommand.d.ts +2 -2
  196. package/{dist/types → dist-types}/commands/GetDirectoryLimitsCommand.d.ts +2 -2
  197. package/{dist/types → dist-types}/commands/GetSnapshotLimitsCommand.d.ts +2 -2
  198. package/{dist/types → dist-types}/commands/ListCertificatesCommand.d.ts +2 -2
  199. package/{dist/types → dist-types}/commands/ListIpRoutesCommand.d.ts +2 -2
  200. package/{dist/types → dist-types}/commands/ListLogSubscriptionsCommand.d.ts +2 -2
  201. package/{dist/types → dist-types}/commands/ListSchemaExtensionsCommand.d.ts +2 -2
  202. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  203. package/{dist/types → dist-types}/commands/RegisterCertificateCommand.d.ts +2 -2
  204. package/{dist/types → dist-types}/commands/RegisterEventTopicCommand.d.ts +2 -2
  205. package/{dist/types → dist-types}/commands/RejectSharedDirectoryCommand.d.ts +2 -2
  206. package/{dist/types → dist-types}/commands/RemoveIpRoutesCommand.d.ts +2 -2
  207. package/{dist/types → dist-types}/commands/RemoveRegionCommand.d.ts +2 -2
  208. package/{dist/types → dist-types}/commands/RemoveTagsFromResourceCommand.d.ts +2 -2
  209. package/{dist/types → dist-types}/commands/ResetUserPasswordCommand.d.ts +2 -2
  210. package/{dist/types → dist-types}/commands/RestoreFromSnapshotCommand.d.ts +2 -2
  211. package/{dist/types → dist-types}/commands/ShareDirectoryCommand.d.ts +2 -2
  212. package/{dist/types → dist-types}/commands/StartSchemaExtensionCommand.d.ts +2 -2
  213. package/{dist/types → dist-types}/commands/UnshareDirectoryCommand.d.ts +2 -2
  214. package/{dist/types → dist-types}/commands/UpdateConditionalForwarderCommand.d.ts +2 -2
  215. package/{dist/types → dist-types}/commands/UpdateNumberOfDomainControllersCommand.d.ts +2 -2
  216. package/{dist/types → dist-types}/commands/UpdateRadiusCommand.d.ts +2 -2
  217. package/{dist/types → dist-types}/commands/UpdateTrustCommand.d.ts +2 -2
  218. package/{dist/types → dist-types}/commands/VerifyTrustCommand.d.ts +2 -2
  219. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  220. package/{index.ts → dist-types/index.d.ts} +0 -0
  221. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  222. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  223. package/{dist/types → dist-types}/pagination/DescribeDomainControllersPaginator.d.ts +1 -1
  224. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  225. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  226. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  227. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
  228. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  229. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  230. package/{dist/types → dist-types}/ts3.4/DirectoryService.d.ts +66 -334
  231. package/{dist/types → dist-types}/ts3.4/DirectoryServiceClient.d.ts +32 -110
  232. package/dist-types/ts3.4/commands/AcceptSharedDirectoryCommand.d.ts +17 -0
  233. package/dist-types/ts3.4/commands/AddIpRoutesCommand.d.ts +17 -0
  234. package/dist-types/ts3.4/commands/AddRegionCommand.d.ts +17 -0
  235. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +17 -0
  236. package/dist-types/ts3.4/commands/CancelSchemaExtensionCommand.d.ts +17 -0
  237. package/dist-types/ts3.4/commands/ConnectDirectoryCommand.d.ts +17 -0
  238. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +17 -0
  239. package/dist-types/ts3.4/commands/CreateComputerCommand.d.ts +17 -0
  240. package/dist-types/ts3.4/commands/CreateConditionalForwarderCommand.d.ts +17 -0
  241. package/dist-types/ts3.4/commands/CreateDirectoryCommand.d.ts +17 -0
  242. package/dist-types/ts3.4/commands/CreateLogSubscriptionCommand.d.ts +17 -0
  243. package/dist-types/ts3.4/commands/CreateMicrosoftADCommand.d.ts +17 -0
  244. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +17 -0
  245. package/dist-types/ts3.4/commands/CreateTrustCommand.d.ts +17 -0
  246. package/{dist/types → dist-types}/ts3.4/commands/DeleteConditionalForwarderCommand.d.ts +4 -23
  247. package/dist-types/ts3.4/commands/DeleteDirectoryCommand.d.ts +17 -0
  248. package/{dist/types → dist-types}/ts3.4/commands/DeleteLogSubscriptionCommand.d.ts +4 -22
  249. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +17 -0
  250. package/dist-types/ts3.4/commands/DeleteTrustCommand.d.ts +17 -0
  251. package/dist-types/ts3.4/commands/DeregisterCertificateCommand.d.ts +17 -0
  252. package/dist-types/ts3.4/commands/DeregisterEventTopicCommand.d.ts +17 -0
  253. package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +17 -0
  254. package/dist-types/ts3.4/commands/DescribeClientAuthenticationSettingsCommand.d.ts +17 -0
  255. package/dist-types/ts3.4/commands/DescribeConditionalForwardersCommand.d.ts +17 -0
  256. package/dist-types/ts3.4/commands/DescribeDirectoriesCommand.d.ts +17 -0
  257. package/{dist/types → dist-types}/ts3.4/commands/DescribeDomainControllersCommand.d.ts +4 -22
  258. package/dist-types/ts3.4/commands/DescribeEventTopicsCommand.d.ts +17 -0
  259. package/{dist/types → dist-types}/ts3.4/commands/DescribeLDAPSSettingsCommand.d.ts +4 -22
  260. package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +17 -0
  261. package/{dist/types → dist-types}/ts3.4/commands/DescribeSharedDirectoriesCommand.d.ts +4 -22
  262. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +17 -0
  263. package/dist-types/ts3.4/commands/DescribeTrustsCommand.d.ts +17 -0
  264. package/{dist/types → dist-types}/ts3.4/commands/DisableClientAuthenticationCommand.d.ts +4 -22
  265. package/dist-types/ts3.4/commands/DisableLDAPSCommand.d.ts +17 -0
  266. package/dist-types/ts3.4/commands/DisableRadiusCommand.d.ts +17 -0
  267. package/dist-types/ts3.4/commands/DisableSsoCommand.d.ts +17 -0
  268. package/{dist/types → dist-types}/ts3.4/commands/EnableClientAuthenticationCommand.d.ts +4 -22
  269. package/dist-types/ts3.4/commands/EnableLDAPSCommand.d.ts +17 -0
  270. package/dist-types/ts3.4/commands/EnableRadiusCommand.d.ts +17 -0
  271. package/dist-types/ts3.4/commands/EnableSsoCommand.d.ts +17 -0
  272. package/dist-types/ts3.4/commands/GetDirectoryLimitsCommand.d.ts +17 -0
  273. package/dist-types/ts3.4/commands/GetSnapshotLimitsCommand.d.ts +17 -0
  274. package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +17 -0
  275. package/dist-types/ts3.4/commands/ListIpRoutesCommand.d.ts +17 -0
  276. package/{dist/types → dist-types}/ts3.4/commands/ListLogSubscriptionsCommand.d.ts +4 -22
  277. package/{dist/types → dist-types}/ts3.4/commands/ListSchemaExtensionsCommand.d.ts +4 -22
  278. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
  279. package/dist-types/ts3.4/commands/RegisterCertificateCommand.d.ts +17 -0
  280. package/dist-types/ts3.4/commands/RegisterEventTopicCommand.d.ts +17 -0
  281. package/dist-types/ts3.4/commands/RejectSharedDirectoryCommand.d.ts +17 -0
  282. package/dist-types/ts3.4/commands/RemoveIpRoutesCommand.d.ts +17 -0
  283. package/dist-types/ts3.4/commands/RemoveRegionCommand.d.ts +17 -0
  284. package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +4 -22
  285. package/dist-types/ts3.4/commands/ResetUserPasswordCommand.d.ts +17 -0
  286. package/dist-types/ts3.4/commands/RestoreFromSnapshotCommand.d.ts +17 -0
  287. package/dist-types/ts3.4/commands/ShareDirectoryCommand.d.ts +17 -0
  288. package/{dist/types → dist-types}/ts3.4/commands/StartSchemaExtensionCommand.d.ts +4 -22
  289. package/dist-types/ts3.4/commands/UnshareDirectoryCommand.d.ts +17 -0
  290. package/{dist/types → dist-types}/ts3.4/commands/UpdateConditionalForwarderCommand.d.ts +4 -23
  291. package/dist-types/ts3.4/commands/UpdateNumberOfDomainControllersCommand.d.ts +17 -0
  292. package/dist-types/ts3.4/commands/UpdateRadiusCommand.d.ts +17 -0
  293. package/dist-types/ts3.4/commands/UpdateTrustCommand.d.ts +17 -0
  294. package/dist-types/ts3.4/commands/VerifyTrustCommand.d.ts +17 -0
  295. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  296. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  297. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  298. package/dist-types/ts3.4/models/models_0.d.ts +2416 -0
  299. package/{dist/types → dist-types}/ts3.4/pagination/DescribeDomainControllersPaginator.d.ts +1 -1
  300. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  301. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  302. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  303. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
  304. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  305. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  306. package/package.json +45 -42
  307. package/DirectoryService.ts +0 -2363
  308. package/DirectoryServiceClient.ts +0 -521
  309. package/commands/AcceptSharedDirectoryCommand.ts +0 -94
  310. package/commands/AddIpRoutesCommand.ts +0 -101
  311. package/commands/AddRegionCommand.ts +0 -91
  312. package/commands/AddTagsToResourceCommand.ts +0 -96
  313. package/commands/CancelSchemaExtensionCommand.ts +0 -98
  314. package/commands/ConnectDirectoryCommand.ts +0 -98
  315. package/commands/CreateAliasCommand.ts +0 -99
  316. package/commands/CreateComputerCommand.ts +0 -94
  317. package/commands/CreateConditionalForwarderCommand.ts +0 -99
  318. package/commands/CreateDirectoryCommand.ts +0 -99
  319. package/commands/CreateLogSubscriptionCommand.ts +0 -95
  320. package/commands/CreateMicrosoftADCommand.ts +0 -97
  321. package/commands/CreateSnapshotCommand.ts +0 -97
  322. package/commands/CreateTrustCommand.ts +0 -100
  323. package/commands/DeleteConditionalForwarderCommand.ts +0 -98
  324. package/commands/DeleteDirectoryCommand.ts +0 -98
  325. package/commands/DeleteLogSubscriptionCommand.ts +0 -94
  326. package/commands/DeleteSnapshotCommand.ts +0 -94
  327. package/commands/DeleteTrustCommand.ts +0 -95
  328. package/commands/DeregisterCertificateCommand.ts +0 -94
  329. package/commands/DeregisterEventTopicCommand.ts +0 -94
  330. package/commands/DescribeCertificateCommand.ts +0 -94
  331. package/commands/DescribeClientAuthenticationSettingsCommand.ts +0 -106
  332. package/commands/DescribeConditionalForwardersCommand.ts +0 -101
  333. package/commands/DescribeDirectoriesCommand.ts +0 -104
  334. package/commands/DescribeDomainControllersCommand.ts +0 -97
  335. package/commands/DescribeEventTopicsCommand.ts +0 -97
  336. package/commands/DescribeLDAPSSettingsCommand.ts +0 -94
  337. package/commands/DescribeRegionsCommand.ts +0 -95
  338. package/commands/DescribeSharedDirectoriesCommand.ts +0 -97
  339. package/commands/DescribeSnapshotsCommand.ts +0 -100
  340. package/commands/DescribeTrustsCommand.ts +0 -96
  341. package/commands/DisableClientAuthenticationCommand.ts +0 -97
  342. package/commands/DisableLDAPSCommand.ts +0 -94
  343. package/commands/DisableRadiusCommand.ts +0 -95
  344. package/commands/DisableSsoCommand.ts +0 -94
  345. package/commands/EnableClientAuthenticationCommand.ts +0 -97
  346. package/commands/EnableLDAPSCommand.ts +0 -94
  347. package/commands/EnableRadiusCommand.ts +0 -95
  348. package/commands/EnableSsoCommand.ts +0 -93
  349. package/commands/GetDirectoryLimitsCommand.ts +0 -94
  350. package/commands/GetSnapshotLimitsCommand.ts +0 -94
  351. package/commands/ListCertificatesCommand.ts +0 -94
  352. package/commands/ListIpRoutesCommand.ts +0 -94
  353. package/commands/ListLogSubscriptionsCommand.ts +0 -94
  354. package/commands/ListSchemaExtensionsCommand.ts +0 -94
  355. package/commands/ListTagsForResourceCommand.ts +0 -94
  356. package/commands/RegisterCertificateCommand.ts +0 -94
  357. package/commands/RegisterEventTopicCommand.ts +0 -98
  358. package/commands/RejectSharedDirectoryCommand.ts +0 -94
  359. package/commands/RemoveIpRoutesCommand.ts +0 -94
  360. package/commands/RemoveRegionCommand.ts +0 -96
  361. package/commands/RemoveTagsFromResourceCommand.ts +0 -94
  362. package/commands/ResetUserPasswordCommand.ts +0 -111
  363. package/commands/RestoreFromSnapshotCommand.ts +0 -99
  364. package/commands/ShareDirectoryCommand.ts +0 -106
  365. package/commands/StartSchemaExtensionCommand.ts +0 -94
  366. package/commands/UnshareDirectoryCommand.ts +0 -94
  367. package/commands/UpdateConditionalForwarderCommand.ts +0 -98
  368. package/commands/UpdateNumberOfDomainControllersCommand.ts +0 -106
  369. package/commands/UpdateRadiusCommand.ts +0 -95
  370. package/commands/UpdateTrustCommand.ts +0 -95
  371. package/commands/VerifyTrustCommand.ts +0 -97
  372. package/dist/cjs/DirectoryService.js.map +0 -1
  373. package/dist/cjs/DirectoryServiceClient.js +0 -57
  374. package/dist/cjs/DirectoryServiceClient.js.map +0 -1
  375. package/dist/cjs/commands/AcceptSharedDirectoryCommand.js.map +0 -1
  376. package/dist/cjs/commands/AddIpRoutesCommand.js +0 -68
  377. package/dist/cjs/commands/AddIpRoutesCommand.js.map +0 -1
  378. package/dist/cjs/commands/AddRegionCommand.js.map +0 -1
  379. package/dist/cjs/commands/AddTagsToResourceCommand.js.map +0 -1
  380. package/dist/cjs/commands/CancelSchemaExtensionCommand.js.map +0 -1
  381. package/dist/cjs/commands/ConnectDirectoryCommand.js.map +0 -1
  382. package/dist/cjs/commands/CreateAliasCommand.js.map +0 -1
  383. package/dist/cjs/commands/CreateComputerCommand.js.map +0 -1
  384. package/dist/cjs/commands/CreateConditionalForwarderCommand.js.map +0 -1
  385. package/dist/cjs/commands/CreateDirectoryCommand.js +0 -66
  386. package/dist/cjs/commands/CreateDirectoryCommand.js.map +0 -1
  387. package/dist/cjs/commands/CreateLogSubscriptionCommand.js.map +0 -1
  388. package/dist/cjs/commands/CreateMicrosoftADCommand.js +0 -64
  389. package/dist/cjs/commands/CreateMicrosoftADCommand.js.map +0 -1
  390. package/dist/cjs/commands/CreateSnapshotCommand.js.map +0 -1
  391. package/dist/cjs/commands/CreateTrustCommand.js +0 -67
  392. package/dist/cjs/commands/CreateTrustCommand.js.map +0 -1
  393. package/dist/cjs/commands/DeleteConditionalForwarderCommand.js.map +0 -1
  394. package/dist/cjs/commands/DeleteDirectoryCommand.js.map +0 -1
  395. package/dist/cjs/commands/DeleteLogSubscriptionCommand.js.map +0 -1
  396. package/dist/cjs/commands/DeleteSnapshotCommand.js.map +0 -1
  397. package/dist/cjs/commands/DeleteTrustCommand.js.map +0 -1
  398. package/dist/cjs/commands/DeregisterCertificateCommand.js.map +0 -1
  399. package/dist/cjs/commands/DeregisterEventTopicCommand.js.map +0 -1
  400. package/dist/cjs/commands/DescribeCertificateCommand.js.map +0 -1
  401. package/dist/cjs/commands/DescribeClientAuthenticationSettingsCommand.js.map +0 -1
  402. package/dist/cjs/commands/DescribeConditionalForwardersCommand.js.map +0 -1
  403. package/dist/cjs/commands/DescribeDirectoriesCommand.js +0 -71
  404. package/dist/cjs/commands/DescribeDirectoriesCommand.js.map +0 -1
  405. package/dist/cjs/commands/DescribeDomainControllersCommand.js.map +0 -1
  406. package/dist/cjs/commands/DescribeEventTopicsCommand.js.map +0 -1
  407. package/dist/cjs/commands/DescribeLDAPSSettingsCommand.js.map +0 -1
  408. package/dist/cjs/commands/DescribeRegionsCommand.js.map +0 -1
  409. package/dist/cjs/commands/DescribeSharedDirectoriesCommand.js.map +0 -1
  410. package/dist/cjs/commands/DescribeSnapshotsCommand.js.map +0 -1
  411. package/dist/cjs/commands/DescribeTrustsCommand.js.map +0 -1
  412. package/dist/cjs/commands/DisableClientAuthenticationCommand.js.map +0 -1
  413. package/dist/cjs/commands/DisableLDAPSCommand.js.map +0 -1
  414. package/dist/cjs/commands/DisableRadiusCommand.js.map +0 -1
  415. package/dist/cjs/commands/DisableSsoCommand.js.map +0 -1
  416. package/dist/cjs/commands/EnableClientAuthenticationCommand.js.map +0 -1
  417. package/dist/cjs/commands/EnableLDAPSCommand.js.map +0 -1
  418. package/dist/cjs/commands/EnableRadiusCommand.js.map +0 -1
  419. package/dist/cjs/commands/EnableSsoCommand.js.map +0 -1
  420. package/dist/cjs/commands/GetDirectoryLimitsCommand.js.map +0 -1
  421. package/dist/cjs/commands/GetSnapshotLimitsCommand.js.map +0 -1
  422. package/dist/cjs/commands/ListCertificatesCommand.js.map +0 -1
  423. package/dist/cjs/commands/ListIpRoutesCommand.js.map +0 -1
  424. package/dist/cjs/commands/ListLogSubscriptionsCommand.js.map +0 -1
  425. package/dist/cjs/commands/ListSchemaExtensionsCommand.js.map +0 -1
  426. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  427. package/dist/cjs/commands/RegisterCertificateCommand.js.map +0 -1
  428. package/dist/cjs/commands/RegisterEventTopicCommand.js.map +0 -1
  429. package/dist/cjs/commands/RejectSharedDirectoryCommand.js.map +0 -1
  430. package/dist/cjs/commands/RemoveIpRoutesCommand.js.map +0 -1
  431. package/dist/cjs/commands/RemoveRegionCommand.js.map +0 -1
  432. package/dist/cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
  433. package/dist/cjs/commands/ResetUserPasswordCommand.js +0 -78
  434. package/dist/cjs/commands/ResetUserPasswordCommand.js.map +0 -1
  435. package/dist/cjs/commands/RestoreFromSnapshotCommand.js.map +0 -1
  436. package/dist/cjs/commands/ShareDirectoryCommand.js +0 -73
  437. package/dist/cjs/commands/ShareDirectoryCommand.js.map +0 -1
  438. package/dist/cjs/commands/StartSchemaExtensionCommand.js.map +0 -1
  439. package/dist/cjs/commands/UnshareDirectoryCommand.js.map +0 -1
  440. package/dist/cjs/commands/UpdateConditionalForwarderCommand.js.map +0 -1
  441. package/dist/cjs/commands/UpdateNumberOfDomainControllersCommand.js.map +0 -1
  442. package/dist/cjs/commands/UpdateRadiusCommand.js.map +0 -1
  443. package/dist/cjs/commands/UpdateTrustCommand.js.map +0 -1
  444. package/dist/cjs/commands/VerifyTrustCommand.js.map +0 -1
  445. package/dist/cjs/endpoints.js.map +0 -1
  446. package/dist/cjs/index.js.map +0 -1
  447. package/dist/cjs/models/index.js.map +0 -1
  448. package/dist/cjs/models/models_0.js.map +0 -1
  449. package/dist/cjs/package.json +0 -91
  450. package/dist/cjs/pagination/DescribeDomainControllersPaginator.js.map +0 -1
  451. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  452. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  453. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  454. package/dist/cjs/runtimeConfig.js.map +0 -1
  455. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  456. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  457. package/dist/es/DirectoryService.js.map +0 -1
  458. package/dist/es/DirectoryServiceClient.js.map +0 -1
  459. package/dist/es/commands/AcceptSharedDirectoryCommand.js.map +0 -1
  460. package/dist/es/commands/AddIpRoutesCommand.js.map +0 -1
  461. package/dist/es/commands/AddRegionCommand.js.map +0 -1
  462. package/dist/es/commands/AddTagsToResourceCommand.js.map +0 -1
  463. package/dist/es/commands/CancelSchemaExtensionCommand.js.map +0 -1
  464. package/dist/es/commands/ConnectDirectoryCommand.js.map +0 -1
  465. package/dist/es/commands/CreateAliasCommand.js.map +0 -1
  466. package/dist/es/commands/CreateComputerCommand.js.map +0 -1
  467. package/dist/es/commands/CreateConditionalForwarderCommand.js.map +0 -1
  468. package/dist/es/commands/CreateDirectoryCommand.js.map +0 -1
  469. package/dist/es/commands/CreateLogSubscriptionCommand.js.map +0 -1
  470. package/dist/es/commands/CreateMicrosoftADCommand.js.map +0 -1
  471. package/dist/es/commands/CreateSnapshotCommand.js.map +0 -1
  472. package/dist/es/commands/CreateTrustCommand.js.map +0 -1
  473. package/dist/es/commands/DeleteConditionalForwarderCommand.js.map +0 -1
  474. package/dist/es/commands/DeleteDirectoryCommand.js.map +0 -1
  475. package/dist/es/commands/DeleteLogSubscriptionCommand.js.map +0 -1
  476. package/dist/es/commands/DeleteSnapshotCommand.js.map +0 -1
  477. package/dist/es/commands/DeleteTrustCommand.js.map +0 -1
  478. package/dist/es/commands/DeregisterCertificateCommand.js.map +0 -1
  479. package/dist/es/commands/DeregisterEventTopicCommand.js.map +0 -1
  480. package/dist/es/commands/DescribeCertificateCommand.js.map +0 -1
  481. package/dist/es/commands/DescribeClientAuthenticationSettingsCommand.js.map +0 -1
  482. package/dist/es/commands/DescribeConditionalForwardersCommand.js.map +0 -1
  483. package/dist/es/commands/DescribeDirectoriesCommand.js.map +0 -1
  484. package/dist/es/commands/DescribeDomainControllersCommand.js.map +0 -1
  485. package/dist/es/commands/DescribeEventTopicsCommand.js.map +0 -1
  486. package/dist/es/commands/DescribeLDAPSSettingsCommand.js.map +0 -1
  487. package/dist/es/commands/DescribeRegionsCommand.js.map +0 -1
  488. package/dist/es/commands/DescribeSharedDirectoriesCommand.js.map +0 -1
  489. package/dist/es/commands/DescribeSnapshotsCommand.js.map +0 -1
  490. package/dist/es/commands/DescribeTrustsCommand.js.map +0 -1
  491. package/dist/es/commands/DisableClientAuthenticationCommand.js.map +0 -1
  492. package/dist/es/commands/DisableLDAPSCommand.js.map +0 -1
  493. package/dist/es/commands/DisableRadiusCommand.js.map +0 -1
  494. package/dist/es/commands/DisableSsoCommand.js.map +0 -1
  495. package/dist/es/commands/EnableClientAuthenticationCommand.js.map +0 -1
  496. package/dist/es/commands/EnableLDAPSCommand.js.map +0 -1
  497. package/dist/es/commands/EnableRadiusCommand.js.map +0 -1
  498. package/dist/es/commands/EnableSsoCommand.js.map +0 -1
  499. package/dist/es/commands/GetDirectoryLimitsCommand.js.map +0 -1
  500. package/dist/es/commands/GetSnapshotLimitsCommand.js.map +0 -1
  501. package/dist/es/commands/ListCertificatesCommand.js.map +0 -1
  502. package/dist/es/commands/ListIpRoutesCommand.js.map +0 -1
  503. package/dist/es/commands/ListLogSubscriptionsCommand.js.map +0 -1
  504. package/dist/es/commands/ListSchemaExtensionsCommand.js.map +0 -1
  505. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  506. package/dist/es/commands/RegisterCertificateCommand.js.map +0 -1
  507. package/dist/es/commands/RegisterEventTopicCommand.js.map +0 -1
  508. package/dist/es/commands/RejectSharedDirectoryCommand.js.map +0 -1
  509. package/dist/es/commands/RemoveIpRoutesCommand.js.map +0 -1
  510. package/dist/es/commands/RemoveRegionCommand.js.map +0 -1
  511. package/dist/es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
  512. package/dist/es/commands/ResetUserPasswordCommand.js.map +0 -1
  513. package/dist/es/commands/RestoreFromSnapshotCommand.js.map +0 -1
  514. package/dist/es/commands/ShareDirectoryCommand.js.map +0 -1
  515. package/dist/es/commands/StartSchemaExtensionCommand.js.map +0 -1
  516. package/dist/es/commands/UnshareDirectoryCommand.js.map +0 -1
  517. package/dist/es/commands/UpdateConditionalForwarderCommand.js.map +0 -1
  518. package/dist/es/commands/UpdateNumberOfDomainControllersCommand.js.map +0 -1
  519. package/dist/es/commands/UpdateRadiusCommand.js.map +0 -1
  520. package/dist/es/commands/UpdateTrustCommand.js.map +0 -1
  521. package/dist/es/commands/VerifyTrustCommand.js.map +0 -1
  522. package/dist/es/endpoints.js.map +0 -1
  523. package/dist/es/index.js +0 -69
  524. package/dist/es/index.js.map +0 -1
  525. package/dist/es/models/index.js +0 -2
  526. package/dist/es/models/index.js.map +0 -1
  527. package/dist/es/models/models_0.js.map +0 -1
  528. package/dist/es/package.json +0 -91
  529. package/dist/es/pagination/DescribeDomainControllersPaginator.js.map +0 -1
  530. package/dist/es/pagination/Interfaces.js +0 -2
  531. package/dist/es/pagination/Interfaces.js.map +0 -1
  532. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  533. package/dist/es/runtimeConfig.browser.js.map +0 -1
  534. package/dist/es/runtimeConfig.js.map +0 -1
  535. package/dist/es/runtimeConfig.native.js.map +0 -1
  536. package/dist/es/runtimeConfig.shared.js.map +0 -1
  537. package/dist/types/ts3.4/commands/AcceptSharedDirectoryCommand.d.ts +0 -35
  538. package/dist/types/ts3.4/commands/AddIpRoutesCommand.d.ts +0 -42
  539. package/dist/types/ts3.4/commands/AddRegionCommand.d.ts +0 -35
  540. package/dist/types/ts3.4/commands/AddTagsToResourceCommand.d.ts +0 -37
  541. package/dist/types/ts3.4/commands/CancelSchemaExtensionCommand.d.ts +0 -39
  542. package/dist/types/ts3.4/commands/ConnectDirectoryCommand.d.ts +0 -39
  543. package/dist/types/ts3.4/commands/CreateAliasCommand.d.ts +0 -40
  544. package/dist/types/ts3.4/commands/CreateComputerCommand.d.ts +0 -35
  545. package/dist/types/ts3.4/commands/CreateConditionalForwarderCommand.d.ts +0 -37
  546. package/dist/types/ts3.4/commands/CreateDirectoryCommand.d.ts +0 -40
  547. package/dist/types/ts3.4/commands/CreateLogSubscriptionCommand.d.ts +0 -36
  548. package/dist/types/ts3.4/commands/CreateMicrosoftADCommand.d.ts +0 -38
  549. package/dist/types/ts3.4/commands/CreateSnapshotCommand.d.ts +0 -38
  550. package/dist/types/ts3.4/commands/CreateTrustCommand.d.ts +0 -41
  551. package/dist/types/ts3.4/commands/DeleteDirectoryCommand.d.ts +0 -39
  552. package/dist/types/ts3.4/commands/DeleteSnapshotCommand.d.ts +0 -35
  553. package/dist/types/ts3.4/commands/DeleteTrustCommand.d.ts +0 -36
  554. package/dist/types/ts3.4/commands/DeregisterCertificateCommand.d.ts +0 -35
  555. package/dist/types/ts3.4/commands/DeregisterEventTopicCommand.d.ts +0 -35
  556. package/dist/types/ts3.4/commands/DescribeCertificateCommand.d.ts +0 -35
  557. package/dist/types/ts3.4/commands/DescribeClientAuthenticationSettingsCommand.d.ts +0 -36
  558. package/dist/types/ts3.4/commands/DescribeConditionalForwardersCommand.d.ts +0 -37
  559. package/dist/types/ts3.4/commands/DescribeDirectoriesCommand.d.ts +0 -45
  560. package/dist/types/ts3.4/commands/DescribeEventTopicsCommand.d.ts +0 -38
  561. package/dist/types/ts3.4/commands/DescribeRegionsCommand.d.ts +0 -36
  562. package/dist/types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +0 -41
  563. package/dist/types/ts3.4/commands/DescribeTrustsCommand.d.ts +0 -37
  564. package/dist/types/ts3.4/commands/DisableLDAPSCommand.d.ts +0 -35
  565. package/dist/types/ts3.4/commands/DisableRadiusCommand.d.ts +0 -36
  566. package/dist/types/ts3.4/commands/DisableSsoCommand.d.ts +0 -35
  567. package/dist/types/ts3.4/commands/EnableLDAPSCommand.d.ts +0 -35
  568. package/dist/types/ts3.4/commands/EnableRadiusCommand.d.ts +0 -36
  569. package/dist/types/ts3.4/commands/EnableSsoCommand.d.ts +0 -37
  570. package/dist/types/ts3.4/commands/GetDirectoryLimitsCommand.d.ts +0 -35
  571. package/dist/types/ts3.4/commands/GetSnapshotLimitsCommand.d.ts +0 -35
  572. package/dist/types/ts3.4/commands/ListCertificatesCommand.d.ts +0 -35
  573. package/dist/types/ts3.4/commands/ListIpRoutesCommand.d.ts +0 -35
  574. package/dist/types/ts3.4/commands/RegisterCertificateCommand.d.ts +0 -35
  575. package/dist/types/ts3.4/commands/RegisterEventTopicCommand.d.ts +0 -39
  576. package/dist/types/ts3.4/commands/RejectSharedDirectoryCommand.d.ts +0 -35
  577. package/dist/types/ts3.4/commands/RemoveIpRoutesCommand.d.ts +0 -35
  578. package/dist/types/ts3.4/commands/RemoveRegionCommand.d.ts +0 -37
  579. package/dist/types/ts3.4/commands/ResetUserPasswordCommand.d.ts +0 -52
  580. package/dist/types/ts3.4/commands/RestoreFromSnapshotCommand.d.ts +0 -40
  581. package/dist/types/ts3.4/commands/ShareDirectoryCommand.d.ts +0 -47
  582. package/dist/types/ts3.4/commands/UnshareDirectoryCommand.d.ts +0 -35
  583. package/dist/types/ts3.4/commands/UpdateNumberOfDomainControllersCommand.d.ts +0 -39
  584. package/dist/types/ts3.4/commands/UpdateRadiusCommand.d.ts +0 -36
  585. package/dist/types/ts3.4/commands/UpdateTrustCommand.d.ts +0 -36
  586. package/dist/types/ts3.4/commands/VerifyTrustCommand.d.ts +0 -38
  587. package/dist/types/ts3.4/models/models_0.d.ts +0 -4296
  588. package/endpoints.ts +0 -91
  589. package/jest.config.js +0 -4
  590. package/models/models_0.ts +0 -5382
  591. package/pagination/DescribeDomainControllersPaginator.ts +0 -58
  592. package/pagination/Interfaces.ts +0 -7
  593. package/protocols/Aws_json1_1.ts +0 -9828
  594. package/runtimeConfig.browser.ts +0 -40
  595. package/runtimeConfig.native.ts +0 -16
  596. package/runtimeConfig.shared.ts +0 -16
  597. package/runtimeConfig.ts +0 -45
  598. package/tsconfig.es.json +0 -10
  599. package/tsconfig.json +0 -31
  600. package/tsconfig.types.json +0 -8
@@ -1,2363 +0,0 @@
1
- import { DirectoryServiceClient } from "./DirectoryServiceClient";
2
- import {
3
- AcceptSharedDirectoryCommand,
4
- AcceptSharedDirectoryCommandInput,
5
- AcceptSharedDirectoryCommandOutput,
6
- } from "./commands/AcceptSharedDirectoryCommand";
7
- import { AddIpRoutesCommand, AddIpRoutesCommandInput, AddIpRoutesCommandOutput } from "./commands/AddIpRoutesCommand";
8
- import { AddRegionCommand, AddRegionCommandInput, AddRegionCommandOutput } from "./commands/AddRegionCommand";
9
- import {
10
- AddTagsToResourceCommand,
11
- AddTagsToResourceCommandInput,
12
- AddTagsToResourceCommandOutput,
13
- } from "./commands/AddTagsToResourceCommand";
14
- import {
15
- CancelSchemaExtensionCommand,
16
- CancelSchemaExtensionCommandInput,
17
- CancelSchemaExtensionCommandOutput,
18
- } from "./commands/CancelSchemaExtensionCommand";
19
- import {
20
- ConnectDirectoryCommand,
21
- ConnectDirectoryCommandInput,
22
- ConnectDirectoryCommandOutput,
23
- } from "./commands/ConnectDirectoryCommand";
24
- import { CreateAliasCommand, CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
25
- import {
26
- CreateComputerCommand,
27
- CreateComputerCommandInput,
28
- CreateComputerCommandOutput,
29
- } from "./commands/CreateComputerCommand";
30
- import {
31
- CreateConditionalForwarderCommand,
32
- CreateConditionalForwarderCommandInput,
33
- CreateConditionalForwarderCommandOutput,
34
- } from "./commands/CreateConditionalForwarderCommand";
35
- import {
36
- CreateDirectoryCommand,
37
- CreateDirectoryCommandInput,
38
- CreateDirectoryCommandOutput,
39
- } from "./commands/CreateDirectoryCommand";
40
- import {
41
- CreateLogSubscriptionCommand,
42
- CreateLogSubscriptionCommandInput,
43
- CreateLogSubscriptionCommandOutput,
44
- } from "./commands/CreateLogSubscriptionCommand";
45
- import {
46
- CreateMicrosoftADCommand,
47
- CreateMicrosoftADCommandInput,
48
- CreateMicrosoftADCommandOutput,
49
- } from "./commands/CreateMicrosoftADCommand";
50
- import {
51
- CreateSnapshotCommand,
52
- CreateSnapshotCommandInput,
53
- CreateSnapshotCommandOutput,
54
- } from "./commands/CreateSnapshotCommand";
55
- import { CreateTrustCommand, CreateTrustCommandInput, CreateTrustCommandOutput } from "./commands/CreateTrustCommand";
56
- import {
57
- DeleteConditionalForwarderCommand,
58
- DeleteConditionalForwarderCommandInput,
59
- DeleteConditionalForwarderCommandOutput,
60
- } from "./commands/DeleteConditionalForwarderCommand";
61
- import {
62
- DeleteDirectoryCommand,
63
- DeleteDirectoryCommandInput,
64
- DeleteDirectoryCommandOutput,
65
- } from "./commands/DeleteDirectoryCommand";
66
- import {
67
- DeleteLogSubscriptionCommand,
68
- DeleteLogSubscriptionCommandInput,
69
- DeleteLogSubscriptionCommandOutput,
70
- } from "./commands/DeleteLogSubscriptionCommand";
71
- import {
72
- DeleteSnapshotCommand,
73
- DeleteSnapshotCommandInput,
74
- DeleteSnapshotCommandOutput,
75
- } from "./commands/DeleteSnapshotCommand";
76
- import { DeleteTrustCommand, DeleteTrustCommandInput, DeleteTrustCommandOutput } from "./commands/DeleteTrustCommand";
77
- import {
78
- DeregisterCertificateCommand,
79
- DeregisterCertificateCommandInput,
80
- DeregisterCertificateCommandOutput,
81
- } from "./commands/DeregisterCertificateCommand";
82
- import {
83
- DeregisterEventTopicCommand,
84
- DeregisterEventTopicCommandInput,
85
- DeregisterEventTopicCommandOutput,
86
- } from "./commands/DeregisterEventTopicCommand";
87
- import {
88
- DescribeCertificateCommand,
89
- DescribeCertificateCommandInput,
90
- DescribeCertificateCommandOutput,
91
- } from "./commands/DescribeCertificateCommand";
92
- import {
93
- DescribeClientAuthenticationSettingsCommand,
94
- DescribeClientAuthenticationSettingsCommandInput,
95
- DescribeClientAuthenticationSettingsCommandOutput,
96
- } from "./commands/DescribeClientAuthenticationSettingsCommand";
97
- import {
98
- DescribeConditionalForwardersCommand,
99
- DescribeConditionalForwardersCommandInput,
100
- DescribeConditionalForwardersCommandOutput,
101
- } from "./commands/DescribeConditionalForwardersCommand";
102
- import {
103
- DescribeDirectoriesCommand,
104
- DescribeDirectoriesCommandInput,
105
- DescribeDirectoriesCommandOutput,
106
- } from "./commands/DescribeDirectoriesCommand";
107
- import {
108
- DescribeDomainControllersCommand,
109
- DescribeDomainControllersCommandInput,
110
- DescribeDomainControllersCommandOutput,
111
- } from "./commands/DescribeDomainControllersCommand";
112
- import {
113
- DescribeEventTopicsCommand,
114
- DescribeEventTopicsCommandInput,
115
- DescribeEventTopicsCommandOutput,
116
- } from "./commands/DescribeEventTopicsCommand";
117
- import {
118
- DescribeLDAPSSettingsCommand,
119
- DescribeLDAPSSettingsCommandInput,
120
- DescribeLDAPSSettingsCommandOutput,
121
- } from "./commands/DescribeLDAPSSettingsCommand";
122
- import {
123
- DescribeRegionsCommand,
124
- DescribeRegionsCommandInput,
125
- DescribeRegionsCommandOutput,
126
- } from "./commands/DescribeRegionsCommand";
127
- import {
128
- DescribeSharedDirectoriesCommand,
129
- DescribeSharedDirectoriesCommandInput,
130
- DescribeSharedDirectoriesCommandOutput,
131
- } from "./commands/DescribeSharedDirectoriesCommand";
132
- import {
133
- DescribeSnapshotsCommand,
134
- DescribeSnapshotsCommandInput,
135
- DescribeSnapshotsCommandOutput,
136
- } from "./commands/DescribeSnapshotsCommand";
137
- import {
138
- DescribeTrustsCommand,
139
- DescribeTrustsCommandInput,
140
- DescribeTrustsCommandOutput,
141
- } from "./commands/DescribeTrustsCommand";
142
- import {
143
- DisableClientAuthenticationCommand,
144
- DisableClientAuthenticationCommandInput,
145
- DisableClientAuthenticationCommandOutput,
146
- } from "./commands/DisableClientAuthenticationCommand";
147
- import {
148
- DisableLDAPSCommand,
149
- DisableLDAPSCommandInput,
150
- DisableLDAPSCommandOutput,
151
- } from "./commands/DisableLDAPSCommand";
152
- import {
153
- DisableRadiusCommand,
154
- DisableRadiusCommandInput,
155
- DisableRadiusCommandOutput,
156
- } from "./commands/DisableRadiusCommand";
157
- import { DisableSsoCommand, DisableSsoCommandInput, DisableSsoCommandOutput } from "./commands/DisableSsoCommand";
158
- import {
159
- EnableClientAuthenticationCommand,
160
- EnableClientAuthenticationCommandInput,
161
- EnableClientAuthenticationCommandOutput,
162
- } from "./commands/EnableClientAuthenticationCommand";
163
- import { EnableLDAPSCommand, EnableLDAPSCommandInput, EnableLDAPSCommandOutput } from "./commands/EnableLDAPSCommand";
164
- import {
165
- EnableRadiusCommand,
166
- EnableRadiusCommandInput,
167
- EnableRadiusCommandOutput,
168
- } from "./commands/EnableRadiusCommand";
169
- import { EnableSsoCommand, EnableSsoCommandInput, EnableSsoCommandOutput } from "./commands/EnableSsoCommand";
170
- import {
171
- GetDirectoryLimitsCommand,
172
- GetDirectoryLimitsCommandInput,
173
- GetDirectoryLimitsCommandOutput,
174
- } from "./commands/GetDirectoryLimitsCommand";
175
- import {
176
- GetSnapshotLimitsCommand,
177
- GetSnapshotLimitsCommandInput,
178
- GetSnapshotLimitsCommandOutput,
179
- } from "./commands/GetSnapshotLimitsCommand";
180
- import {
181
- ListCertificatesCommand,
182
- ListCertificatesCommandInput,
183
- ListCertificatesCommandOutput,
184
- } from "./commands/ListCertificatesCommand";
185
- import {
186
- ListIpRoutesCommand,
187
- ListIpRoutesCommandInput,
188
- ListIpRoutesCommandOutput,
189
- } from "./commands/ListIpRoutesCommand";
190
- import {
191
- ListLogSubscriptionsCommand,
192
- ListLogSubscriptionsCommandInput,
193
- ListLogSubscriptionsCommandOutput,
194
- } from "./commands/ListLogSubscriptionsCommand";
195
- import {
196
- ListSchemaExtensionsCommand,
197
- ListSchemaExtensionsCommandInput,
198
- ListSchemaExtensionsCommandOutput,
199
- } from "./commands/ListSchemaExtensionsCommand";
200
- import {
201
- ListTagsForResourceCommand,
202
- ListTagsForResourceCommandInput,
203
- ListTagsForResourceCommandOutput,
204
- } from "./commands/ListTagsForResourceCommand";
205
- import {
206
- RegisterCertificateCommand,
207
- RegisterCertificateCommandInput,
208
- RegisterCertificateCommandOutput,
209
- } from "./commands/RegisterCertificateCommand";
210
- import {
211
- RegisterEventTopicCommand,
212
- RegisterEventTopicCommandInput,
213
- RegisterEventTopicCommandOutput,
214
- } from "./commands/RegisterEventTopicCommand";
215
- import {
216
- RejectSharedDirectoryCommand,
217
- RejectSharedDirectoryCommandInput,
218
- RejectSharedDirectoryCommandOutput,
219
- } from "./commands/RejectSharedDirectoryCommand";
220
- import {
221
- RemoveIpRoutesCommand,
222
- RemoveIpRoutesCommandInput,
223
- RemoveIpRoutesCommandOutput,
224
- } from "./commands/RemoveIpRoutesCommand";
225
- import {
226
- RemoveRegionCommand,
227
- RemoveRegionCommandInput,
228
- RemoveRegionCommandOutput,
229
- } from "./commands/RemoveRegionCommand";
230
- import {
231
- RemoveTagsFromResourceCommand,
232
- RemoveTagsFromResourceCommandInput,
233
- RemoveTagsFromResourceCommandOutput,
234
- } from "./commands/RemoveTagsFromResourceCommand";
235
- import {
236
- ResetUserPasswordCommand,
237
- ResetUserPasswordCommandInput,
238
- ResetUserPasswordCommandOutput,
239
- } from "./commands/ResetUserPasswordCommand";
240
- import {
241
- RestoreFromSnapshotCommand,
242
- RestoreFromSnapshotCommandInput,
243
- RestoreFromSnapshotCommandOutput,
244
- } from "./commands/RestoreFromSnapshotCommand";
245
- import {
246
- ShareDirectoryCommand,
247
- ShareDirectoryCommandInput,
248
- ShareDirectoryCommandOutput,
249
- } from "./commands/ShareDirectoryCommand";
250
- import {
251
- StartSchemaExtensionCommand,
252
- StartSchemaExtensionCommandInput,
253
- StartSchemaExtensionCommandOutput,
254
- } from "./commands/StartSchemaExtensionCommand";
255
- import {
256
- UnshareDirectoryCommand,
257
- UnshareDirectoryCommandInput,
258
- UnshareDirectoryCommandOutput,
259
- } from "./commands/UnshareDirectoryCommand";
260
- import {
261
- UpdateConditionalForwarderCommand,
262
- UpdateConditionalForwarderCommandInput,
263
- UpdateConditionalForwarderCommandOutput,
264
- } from "./commands/UpdateConditionalForwarderCommand";
265
- import {
266
- UpdateNumberOfDomainControllersCommand,
267
- UpdateNumberOfDomainControllersCommandInput,
268
- UpdateNumberOfDomainControllersCommandOutput,
269
- } from "./commands/UpdateNumberOfDomainControllersCommand";
270
- import {
271
- UpdateRadiusCommand,
272
- UpdateRadiusCommandInput,
273
- UpdateRadiusCommandOutput,
274
- } from "./commands/UpdateRadiusCommand";
275
- import { UpdateTrustCommand, UpdateTrustCommandInput, UpdateTrustCommandOutput } from "./commands/UpdateTrustCommand";
276
- import { VerifyTrustCommand, VerifyTrustCommandInput, VerifyTrustCommandOutput } from "./commands/VerifyTrustCommand";
277
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
278
-
279
- /**
280
- * <fullname>Directory Service</fullname>
281
- * <p>Directory Service is a web service that makes it easy for you to setup and run directories in the
282
- * Amazon Web Services cloud, or connect your Amazon Web Services resources with an existing self-managed Microsoft Active
283
- * Directory. This guide provides detailed information about Directory Service operations, data types,
284
- * parameters, and errors. For information about Directory Services features, see <a href="https://aws.amazon.com/directoryservice/">Directory Service</a> and the <a href="http://docs.aws.amazon.com/directoryservice/latest/admin-guide/what_is.html">Directory Service
285
- * Administration Guide</a>.</p>
286
- * <note>
287
- * <p>Amazon Web Services provides SDKs that consist of libraries and sample code for various
288
- * programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs
289
- * provide a convenient way to create programmatic access to Directory Service and other Amazon Web Services
290
- * services. For more information about the Amazon Web Services SDKs, including how to download and
291
- * install them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web
292
- * Services</a>.</p>
293
- * </note>
294
- */
295
- export class DirectoryService extends DirectoryServiceClient {
296
- /**
297
- * <p>Accepts a directory sharing request that was sent from the directory owner account.</p>
298
- */
299
- public acceptSharedDirectory(
300
- args: AcceptSharedDirectoryCommandInput,
301
- options?: __HttpHandlerOptions
302
- ): Promise<AcceptSharedDirectoryCommandOutput>;
303
- public acceptSharedDirectory(
304
- args: AcceptSharedDirectoryCommandInput,
305
- cb: (err: any, data?: AcceptSharedDirectoryCommandOutput) => void
306
- ): void;
307
- public acceptSharedDirectory(
308
- args: AcceptSharedDirectoryCommandInput,
309
- options: __HttpHandlerOptions,
310
- cb: (err: any, data?: AcceptSharedDirectoryCommandOutput) => void
311
- ): void;
312
- public acceptSharedDirectory(
313
- args: AcceptSharedDirectoryCommandInput,
314
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AcceptSharedDirectoryCommandOutput) => void),
315
- cb?: (err: any, data?: AcceptSharedDirectoryCommandOutput) => void
316
- ): Promise<AcceptSharedDirectoryCommandOutput> | void {
317
- const command = new AcceptSharedDirectoryCommand(args);
318
- if (typeof optionsOrCb === "function") {
319
- this.send(command, optionsOrCb);
320
- } else if (typeof cb === "function") {
321
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
322
- this.send(command, optionsOrCb || {}, cb);
323
- } else {
324
- return this.send(command, optionsOrCb);
325
- }
326
- }
327
-
328
- /**
329
- * <p>If the DNS server for your self-managed domain uses a publicly addressable IP address,
330
- * you must add a CIDR address block to correctly route traffic to and from your Microsoft AD
331
- * on Amazon Web Services. <i>AddIpRoutes</i> adds this address block. You can
332
- * also use <i>AddIpRoutes</i> to facilitate routing traffic that uses public IP
333
- * ranges from your Microsoft AD on Amazon Web Services to a peer VPC. </p>
334
- * <p>Before you call <i>AddIpRoutes</i>, ensure that all of the required
335
- * permissions have been explicitly granted through a policy. For details about what
336
- * permissions are required to run the <i>AddIpRoutes</i> operation, see <a href="http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html">Directory Service API Permissions: Actions, Resources, and Conditions Reference</a>.</p>
337
- */
338
- public addIpRoutes(args: AddIpRoutesCommandInput, options?: __HttpHandlerOptions): Promise<AddIpRoutesCommandOutput>;
339
- public addIpRoutes(args: AddIpRoutesCommandInput, cb: (err: any, data?: AddIpRoutesCommandOutput) => void): void;
340
- public addIpRoutes(
341
- args: AddIpRoutesCommandInput,
342
- options: __HttpHandlerOptions,
343
- cb: (err: any, data?: AddIpRoutesCommandOutput) => void
344
- ): void;
345
- public addIpRoutes(
346
- args: AddIpRoutesCommandInput,
347
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddIpRoutesCommandOutput) => void),
348
- cb?: (err: any, data?: AddIpRoutesCommandOutput) => void
349
- ): Promise<AddIpRoutesCommandOutput> | void {
350
- const command = new AddIpRoutesCommand(args);
351
- if (typeof optionsOrCb === "function") {
352
- this.send(command, optionsOrCb);
353
- } else if (typeof cb === "function") {
354
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
355
- this.send(command, optionsOrCb || {}, cb);
356
- } else {
357
- return this.send(command, optionsOrCb);
358
- }
359
- }
360
-
361
- /**
362
- * <p>Adds two domain controllers in the specified Region for the specified directory.</p>
363
- */
364
- public addRegion(args: AddRegionCommandInput, options?: __HttpHandlerOptions): Promise<AddRegionCommandOutput>;
365
- public addRegion(args: AddRegionCommandInput, cb: (err: any, data?: AddRegionCommandOutput) => void): void;
366
- public addRegion(
367
- args: AddRegionCommandInput,
368
- options: __HttpHandlerOptions,
369
- cb: (err: any, data?: AddRegionCommandOutput) => void
370
- ): void;
371
- public addRegion(
372
- args: AddRegionCommandInput,
373
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddRegionCommandOutput) => void),
374
- cb?: (err: any, data?: AddRegionCommandOutput) => void
375
- ): Promise<AddRegionCommandOutput> | void {
376
- const command = new AddRegionCommand(args);
377
- if (typeof optionsOrCb === "function") {
378
- this.send(command, optionsOrCb);
379
- } else if (typeof cb === "function") {
380
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
381
- this.send(command, optionsOrCb || {}, cb);
382
- } else {
383
- return this.send(command, optionsOrCb);
384
- }
385
- }
386
-
387
- /**
388
- * <p>Adds or overwrites one or more tags for the specified directory. Each directory can
389
- * have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be
390
- * unique to each resource.</p>
391
- */
392
- public addTagsToResource(
393
- args: AddTagsToResourceCommandInput,
394
- options?: __HttpHandlerOptions
395
- ): Promise<AddTagsToResourceCommandOutput>;
396
- public addTagsToResource(
397
- args: AddTagsToResourceCommandInput,
398
- cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
399
- ): void;
400
- public addTagsToResource(
401
- args: AddTagsToResourceCommandInput,
402
- options: __HttpHandlerOptions,
403
- cb: (err: any, data?: AddTagsToResourceCommandOutput) => void
404
- ): void;
405
- public addTagsToResource(
406
- args: AddTagsToResourceCommandInput,
407
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddTagsToResourceCommandOutput) => void),
408
- cb?: (err: any, data?: AddTagsToResourceCommandOutput) => void
409
- ): Promise<AddTagsToResourceCommandOutput> | void {
410
- const command = new AddTagsToResourceCommand(args);
411
- if (typeof optionsOrCb === "function") {
412
- this.send(command, optionsOrCb);
413
- } else if (typeof cb === "function") {
414
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
415
- this.send(command, optionsOrCb || {}, cb);
416
- } else {
417
- return this.send(command, optionsOrCb);
418
- }
419
- }
420
-
421
- /**
422
- * <p>Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema
423
- * extension has started replicating to all domain controllers, the task can no longer be
424
- * canceled. A schema extension can be canceled during any of the following states;
425
- * <code>Initializing</code>, <code>CreatingSnapshot</code>, and
426
- * <code>UpdatingSchema</code>.</p>
427
- */
428
- public cancelSchemaExtension(
429
- args: CancelSchemaExtensionCommandInput,
430
- options?: __HttpHandlerOptions
431
- ): Promise<CancelSchemaExtensionCommandOutput>;
432
- public cancelSchemaExtension(
433
- args: CancelSchemaExtensionCommandInput,
434
- cb: (err: any, data?: CancelSchemaExtensionCommandOutput) => void
435
- ): void;
436
- public cancelSchemaExtension(
437
- args: CancelSchemaExtensionCommandInput,
438
- options: __HttpHandlerOptions,
439
- cb: (err: any, data?: CancelSchemaExtensionCommandOutput) => void
440
- ): void;
441
- public cancelSchemaExtension(
442
- args: CancelSchemaExtensionCommandInput,
443
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelSchemaExtensionCommandOutput) => void),
444
- cb?: (err: any, data?: CancelSchemaExtensionCommandOutput) => void
445
- ): Promise<CancelSchemaExtensionCommandOutput> | void {
446
- const command = new CancelSchemaExtensionCommand(args);
447
- if (typeof optionsOrCb === "function") {
448
- this.send(command, optionsOrCb);
449
- } else if (typeof cb === "function") {
450
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
451
- this.send(command, optionsOrCb || {}, cb);
452
- } else {
453
- return this.send(command, optionsOrCb);
454
- }
455
- }
456
-
457
- /**
458
- * <p>Creates an AD Connector to connect to a self-managed directory.</p>
459
- * <p>Before you call <code>ConnectDirectory</code>, ensure that all of the required permissions
460
- * have been explicitly granted through a policy. For details about what permissions are required
461
- * to run the <code>ConnectDirectory</code> operation, see <a href="http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html">Directory Service API Permissions: Actions, Resources, and Conditions
462
- * Reference</a>.</p>
463
- */
464
- public connectDirectory(
465
- args: ConnectDirectoryCommandInput,
466
- options?: __HttpHandlerOptions
467
- ): Promise<ConnectDirectoryCommandOutput>;
468
- public connectDirectory(
469
- args: ConnectDirectoryCommandInput,
470
- cb: (err: any, data?: ConnectDirectoryCommandOutput) => void
471
- ): void;
472
- public connectDirectory(
473
- args: ConnectDirectoryCommandInput,
474
- options: __HttpHandlerOptions,
475
- cb: (err: any, data?: ConnectDirectoryCommandOutput) => void
476
- ): void;
477
- public connectDirectory(
478
- args: ConnectDirectoryCommandInput,
479
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ConnectDirectoryCommandOutput) => void),
480
- cb?: (err: any, data?: ConnectDirectoryCommandOutput) => void
481
- ): Promise<ConnectDirectoryCommandOutput> | void {
482
- const command = new ConnectDirectoryCommand(args);
483
- if (typeof optionsOrCb === "function") {
484
- this.send(command, optionsOrCb);
485
- } else if (typeof cb === "function") {
486
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
487
- this.send(command, optionsOrCb || {}, cb);
488
- } else {
489
- return this.send(command, optionsOrCb);
490
- }
491
- }
492
-
493
- /**
494
- * <p>Creates an alias for a directory and assigns the alias to the directory. The alias is used
495
- * to construct the access URL for the directory, such as
496
- * <code>http://<alias>.awsapps.com</code>.</p>
497
- * <important>
498
- * <p>After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.</p>
499
- * </important>
500
- */
501
- public createAlias(args: CreateAliasCommandInput, options?: __HttpHandlerOptions): Promise<CreateAliasCommandOutput>;
502
- public createAlias(args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
503
- public createAlias(
504
- args: CreateAliasCommandInput,
505
- options: __HttpHandlerOptions,
506
- cb: (err: any, data?: CreateAliasCommandOutput) => void
507
- ): void;
508
- public createAlias(
509
- args: CreateAliasCommandInput,
510
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAliasCommandOutput) => void),
511
- cb?: (err: any, data?: CreateAliasCommandOutput) => void
512
- ): Promise<CreateAliasCommandOutput> | void {
513
- const command = new CreateAliasCommand(args);
514
- if (typeof optionsOrCb === "function") {
515
- this.send(command, optionsOrCb);
516
- } else if (typeof cb === "function") {
517
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
518
- this.send(command, optionsOrCb || {}, cb);
519
- } else {
520
- return this.send(command, optionsOrCb);
521
- }
522
- }
523
-
524
- /**
525
- * <p>Creates an Active Directory computer object in the specified directory.</p>
526
- */
527
- public createComputer(
528
- args: CreateComputerCommandInput,
529
- options?: __HttpHandlerOptions
530
- ): Promise<CreateComputerCommandOutput>;
531
- public createComputer(
532
- args: CreateComputerCommandInput,
533
- cb: (err: any, data?: CreateComputerCommandOutput) => void
534
- ): void;
535
- public createComputer(
536
- args: CreateComputerCommandInput,
537
- options: __HttpHandlerOptions,
538
- cb: (err: any, data?: CreateComputerCommandOutput) => void
539
- ): void;
540
- public createComputer(
541
- args: CreateComputerCommandInput,
542
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateComputerCommandOutput) => void),
543
- cb?: (err: any, data?: CreateComputerCommandOutput) => void
544
- ): Promise<CreateComputerCommandOutput> | void {
545
- const command = new CreateComputerCommand(args);
546
- if (typeof optionsOrCb === "function") {
547
- this.send(command, optionsOrCb);
548
- } else if (typeof cb === "function") {
549
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
550
- this.send(command, optionsOrCb || {}, cb);
551
- } else {
552
- return this.send(command, optionsOrCb);
553
- }
554
- }
555
-
556
- /**
557
- * <p>Creates a conditional forwarder associated with your Amazon Web Services directory. Conditional
558
- * forwarders are required in order to set up a trust relationship with another domain. The
559
- * conditional forwarder points to the trusted domain.</p>
560
- */
561
- public createConditionalForwarder(
562
- args: CreateConditionalForwarderCommandInput,
563
- options?: __HttpHandlerOptions
564
- ): Promise<CreateConditionalForwarderCommandOutput>;
565
- public createConditionalForwarder(
566
- args: CreateConditionalForwarderCommandInput,
567
- cb: (err: any, data?: CreateConditionalForwarderCommandOutput) => void
568
- ): void;
569
- public createConditionalForwarder(
570
- args: CreateConditionalForwarderCommandInput,
571
- options: __HttpHandlerOptions,
572
- cb: (err: any, data?: CreateConditionalForwarderCommandOutput) => void
573
- ): void;
574
- public createConditionalForwarder(
575
- args: CreateConditionalForwarderCommandInput,
576
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateConditionalForwarderCommandOutput) => void),
577
- cb?: (err: any, data?: CreateConditionalForwarderCommandOutput) => void
578
- ): Promise<CreateConditionalForwarderCommandOutput> | void {
579
- const command = new CreateConditionalForwarderCommand(args);
580
- if (typeof optionsOrCb === "function") {
581
- this.send(command, optionsOrCb);
582
- } else if (typeof cb === "function") {
583
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
584
- this.send(command, optionsOrCb || {}, cb);
585
- } else {
586
- return this.send(command, optionsOrCb);
587
- }
588
- }
589
-
590
- /**
591
- * <p>Creates a Simple AD directory. For more information, see <a href="https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_simple_ad.html">Simple Active Directory</a> in the <i>Directory Service Admin
592
- * Guide</i>.</p>
593
- * <p>Before you call <code>CreateDirectory</code>, ensure that all of the required permissions
594
- * have been explicitly granted through a policy. For details about what permissions are required
595
- * to run the <code>CreateDirectory</code> operation, see <a href="http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html">Directory Service API Permissions: Actions, Resources, and Conditions
596
- * Reference</a>.</p>
597
- */
598
- public createDirectory(
599
- args: CreateDirectoryCommandInput,
600
- options?: __HttpHandlerOptions
601
- ): Promise<CreateDirectoryCommandOutput>;
602
- public createDirectory(
603
- args: CreateDirectoryCommandInput,
604
- cb: (err: any, data?: CreateDirectoryCommandOutput) => void
605
- ): void;
606
- public createDirectory(
607
- args: CreateDirectoryCommandInput,
608
- options: __HttpHandlerOptions,
609
- cb: (err: any, data?: CreateDirectoryCommandOutput) => void
610
- ): void;
611
- public createDirectory(
612
- args: CreateDirectoryCommandInput,
613
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDirectoryCommandOutput) => void),
614
- cb?: (err: any, data?: CreateDirectoryCommandOutput) => void
615
- ): Promise<CreateDirectoryCommandOutput> | void {
616
- const command = new CreateDirectoryCommand(args);
617
- if (typeof optionsOrCb === "function") {
618
- this.send(command, optionsOrCb);
619
- } else if (typeof cb === "function") {
620
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
621
- this.send(command, optionsOrCb || {}, cb);
622
- } else {
623
- return this.send(command, optionsOrCb);
624
- }
625
- }
626
-
627
- /**
628
- * <p>Creates a subscription to forward real-time Directory Service domain controller security
629
- * logs to the specified Amazon CloudWatch log group in your Amazon Web Services account.</p>
630
- */
631
- public createLogSubscription(
632
- args: CreateLogSubscriptionCommandInput,
633
- options?: __HttpHandlerOptions
634
- ): Promise<CreateLogSubscriptionCommandOutput>;
635
- public createLogSubscription(
636
- args: CreateLogSubscriptionCommandInput,
637
- cb: (err: any, data?: CreateLogSubscriptionCommandOutput) => void
638
- ): void;
639
- public createLogSubscription(
640
- args: CreateLogSubscriptionCommandInput,
641
- options: __HttpHandlerOptions,
642
- cb: (err: any, data?: CreateLogSubscriptionCommandOutput) => void
643
- ): void;
644
- public createLogSubscription(
645
- args: CreateLogSubscriptionCommandInput,
646
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateLogSubscriptionCommandOutput) => void),
647
- cb?: (err: any, data?: CreateLogSubscriptionCommandOutput) => void
648
- ): Promise<CreateLogSubscriptionCommandOutput> | void {
649
- const command = new CreateLogSubscriptionCommand(args);
650
- if (typeof optionsOrCb === "function") {
651
- this.send(command, optionsOrCb);
652
- } else if (typeof cb === "function") {
653
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
654
- this.send(command, optionsOrCb || {}, cb);
655
- } else {
656
- return this.send(command, optionsOrCb);
657
- }
658
- }
659
-
660
- /**
661
- * <p>Creates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, see <a href="https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html">Managed Microsoft AD</a> in the <i>Directory Service Admin Guide</i>.</p>
662
- * <p>Before you call <i>CreateMicrosoftAD</i>, ensure that all of the required
663
- * permissions have been explicitly granted through a policy. For details about what permissions
664
- * are required to run the <i>CreateMicrosoftAD</i> operation, see <a href="http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html">Directory Service API Permissions: Actions, Resources, and Conditions Reference</a>.</p>
665
- */
666
- public createMicrosoftAD(
667
- args: CreateMicrosoftADCommandInput,
668
- options?: __HttpHandlerOptions
669
- ): Promise<CreateMicrosoftADCommandOutput>;
670
- public createMicrosoftAD(
671
- args: CreateMicrosoftADCommandInput,
672
- cb: (err: any, data?: CreateMicrosoftADCommandOutput) => void
673
- ): void;
674
- public createMicrosoftAD(
675
- args: CreateMicrosoftADCommandInput,
676
- options: __HttpHandlerOptions,
677
- cb: (err: any, data?: CreateMicrosoftADCommandOutput) => void
678
- ): void;
679
- public createMicrosoftAD(
680
- args: CreateMicrosoftADCommandInput,
681
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMicrosoftADCommandOutput) => void),
682
- cb?: (err: any, data?: CreateMicrosoftADCommandOutput) => void
683
- ): Promise<CreateMicrosoftADCommandOutput> | void {
684
- const command = new CreateMicrosoftADCommand(args);
685
- if (typeof optionsOrCb === "function") {
686
- this.send(command, optionsOrCb);
687
- } else if (typeof cb === "function") {
688
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
689
- this.send(command, optionsOrCb || {}, cb);
690
- } else {
691
- return this.send(command, optionsOrCb);
692
- }
693
- }
694
-
695
- /**
696
- * <p>Creates a snapshot of a Simple AD or Microsoft AD directory in the Amazon Web Services cloud.</p>
697
- * <note>
698
- * <p>You cannot take snapshots of AD Connector directories.</p>
699
- * </note>
700
- */
701
- public createSnapshot(
702
- args: CreateSnapshotCommandInput,
703
- options?: __HttpHandlerOptions
704
- ): Promise<CreateSnapshotCommandOutput>;
705
- public createSnapshot(
706
- args: CreateSnapshotCommandInput,
707
- cb: (err: any, data?: CreateSnapshotCommandOutput) => void
708
- ): void;
709
- public createSnapshot(
710
- args: CreateSnapshotCommandInput,
711
- options: __HttpHandlerOptions,
712
- cb: (err: any, data?: CreateSnapshotCommandOutput) => void
713
- ): void;
714
- public createSnapshot(
715
- args: CreateSnapshotCommandInput,
716
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSnapshotCommandOutput) => void),
717
- cb?: (err: any, data?: CreateSnapshotCommandOutput) => void
718
- ): Promise<CreateSnapshotCommandOutput> | void {
719
- const command = new CreateSnapshotCommand(args);
720
- if (typeof optionsOrCb === "function") {
721
- this.send(command, optionsOrCb);
722
- } else if (typeof cb === "function") {
723
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
724
- this.send(command, optionsOrCb || {}, cb);
725
- } else {
726
- return this.send(command, optionsOrCb);
727
- }
728
- }
729
-
730
- /**
731
- * <p>Directory Service for Microsoft Active Directory allows you to configure trust relationships. For
732
- * example, you can establish a trust between your Managed Microsoft AD directory, and your existing
733
- * self-managed Microsoft Active Directory. This would allow you to provide users and groups
734
- * access to resources in either domain, with a single set of credentials.</p>
735
- * <p>This action initiates the creation of the Amazon Web Services side of a trust relationship between an
736
- * Managed Microsoft AD directory and an external domain. You can create either a forest trust or an
737
- * external trust.</p>
738
- */
739
- public createTrust(args: CreateTrustCommandInput, options?: __HttpHandlerOptions): Promise<CreateTrustCommandOutput>;
740
- public createTrust(args: CreateTrustCommandInput, cb: (err: any, data?: CreateTrustCommandOutput) => void): void;
741
- public createTrust(
742
- args: CreateTrustCommandInput,
743
- options: __HttpHandlerOptions,
744
- cb: (err: any, data?: CreateTrustCommandOutput) => void
745
- ): void;
746
- public createTrust(
747
- args: CreateTrustCommandInput,
748
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTrustCommandOutput) => void),
749
- cb?: (err: any, data?: CreateTrustCommandOutput) => void
750
- ): Promise<CreateTrustCommandOutput> | void {
751
- const command = new CreateTrustCommand(args);
752
- if (typeof optionsOrCb === "function") {
753
- this.send(command, optionsOrCb);
754
- } else if (typeof cb === "function") {
755
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
756
- this.send(command, optionsOrCb || {}, cb);
757
- } else {
758
- return this.send(command, optionsOrCb);
759
- }
760
- }
761
-
762
- /**
763
- * <p>Deletes a conditional forwarder that has been set up for your Amazon Web Services
764
- * directory.</p>
765
- */
766
- public deleteConditionalForwarder(
767
- args: DeleteConditionalForwarderCommandInput,
768
- options?: __HttpHandlerOptions
769
- ): Promise<DeleteConditionalForwarderCommandOutput>;
770
- public deleteConditionalForwarder(
771
- args: DeleteConditionalForwarderCommandInput,
772
- cb: (err: any, data?: DeleteConditionalForwarderCommandOutput) => void
773
- ): void;
774
- public deleteConditionalForwarder(
775
- args: DeleteConditionalForwarderCommandInput,
776
- options: __HttpHandlerOptions,
777
- cb: (err: any, data?: DeleteConditionalForwarderCommandOutput) => void
778
- ): void;
779
- public deleteConditionalForwarder(
780
- args: DeleteConditionalForwarderCommandInput,
781
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteConditionalForwarderCommandOutput) => void),
782
- cb?: (err: any, data?: DeleteConditionalForwarderCommandOutput) => void
783
- ): Promise<DeleteConditionalForwarderCommandOutput> | void {
784
- const command = new DeleteConditionalForwarderCommand(args);
785
- if (typeof optionsOrCb === "function") {
786
- this.send(command, optionsOrCb);
787
- } else if (typeof cb === "function") {
788
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
789
- this.send(command, optionsOrCb || {}, cb);
790
- } else {
791
- return this.send(command, optionsOrCb);
792
- }
793
- }
794
-
795
- /**
796
- * <p>Deletes an Directory Service directory.</p>
797
- * <p>Before you call <code>DeleteDirectory</code>, ensure that all of the required permissions
798
- * have been explicitly granted through a policy. For details about what permissions are required
799
- * to run the <code>DeleteDirectory</code> operation, see <a href="http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html">Directory Service API Permissions: Actions, Resources, and Conditions
800
- * Reference</a>.</p>
801
- */
802
- public deleteDirectory(
803
- args: DeleteDirectoryCommandInput,
804
- options?: __HttpHandlerOptions
805
- ): Promise<DeleteDirectoryCommandOutput>;
806
- public deleteDirectory(
807
- args: DeleteDirectoryCommandInput,
808
- cb: (err: any, data?: DeleteDirectoryCommandOutput) => void
809
- ): void;
810
- public deleteDirectory(
811
- args: DeleteDirectoryCommandInput,
812
- options: __HttpHandlerOptions,
813
- cb: (err: any, data?: DeleteDirectoryCommandOutput) => void
814
- ): void;
815
- public deleteDirectory(
816
- args: DeleteDirectoryCommandInput,
817
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDirectoryCommandOutput) => void),
818
- cb?: (err: any, data?: DeleteDirectoryCommandOutput) => void
819
- ): Promise<DeleteDirectoryCommandOutput> | void {
820
- const command = new DeleteDirectoryCommand(args);
821
- if (typeof optionsOrCb === "function") {
822
- this.send(command, optionsOrCb);
823
- } else if (typeof cb === "function") {
824
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
825
- this.send(command, optionsOrCb || {}, cb);
826
- } else {
827
- return this.send(command, optionsOrCb);
828
- }
829
- }
830
-
831
- /**
832
- * <p>Deletes the specified log subscription.</p>
833
- */
834
- public deleteLogSubscription(
835
- args: DeleteLogSubscriptionCommandInput,
836
- options?: __HttpHandlerOptions
837
- ): Promise<DeleteLogSubscriptionCommandOutput>;
838
- public deleteLogSubscription(
839
- args: DeleteLogSubscriptionCommandInput,
840
- cb: (err: any, data?: DeleteLogSubscriptionCommandOutput) => void
841
- ): void;
842
- public deleteLogSubscription(
843
- args: DeleteLogSubscriptionCommandInput,
844
- options: __HttpHandlerOptions,
845
- cb: (err: any, data?: DeleteLogSubscriptionCommandOutput) => void
846
- ): void;
847
- public deleteLogSubscription(
848
- args: DeleteLogSubscriptionCommandInput,
849
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteLogSubscriptionCommandOutput) => void),
850
- cb?: (err: any, data?: DeleteLogSubscriptionCommandOutput) => void
851
- ): Promise<DeleteLogSubscriptionCommandOutput> | void {
852
- const command = new DeleteLogSubscriptionCommand(args);
853
- if (typeof optionsOrCb === "function") {
854
- this.send(command, optionsOrCb);
855
- } else if (typeof cb === "function") {
856
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
857
- this.send(command, optionsOrCb || {}, cb);
858
- } else {
859
- return this.send(command, optionsOrCb);
860
- }
861
- }
862
-
863
- /**
864
- * <p>Deletes a directory snapshot.</p>
865
- */
866
- public deleteSnapshot(
867
- args: DeleteSnapshotCommandInput,
868
- options?: __HttpHandlerOptions
869
- ): Promise<DeleteSnapshotCommandOutput>;
870
- public deleteSnapshot(
871
- args: DeleteSnapshotCommandInput,
872
- cb: (err: any, data?: DeleteSnapshotCommandOutput) => void
873
- ): void;
874
- public deleteSnapshot(
875
- args: DeleteSnapshotCommandInput,
876
- options: __HttpHandlerOptions,
877
- cb: (err: any, data?: DeleteSnapshotCommandOutput) => void
878
- ): void;
879
- public deleteSnapshot(
880
- args: DeleteSnapshotCommandInput,
881
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSnapshotCommandOutput) => void),
882
- cb?: (err: any, data?: DeleteSnapshotCommandOutput) => void
883
- ): Promise<DeleteSnapshotCommandOutput> | void {
884
- const command = new DeleteSnapshotCommand(args);
885
- if (typeof optionsOrCb === "function") {
886
- this.send(command, optionsOrCb);
887
- } else if (typeof cb === "function") {
888
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
889
- this.send(command, optionsOrCb || {}, cb);
890
- } else {
891
- return this.send(command, optionsOrCb);
892
- }
893
- }
894
-
895
- /**
896
- * <p>Deletes an existing trust relationship between your Managed Microsoft AD directory and an external
897
- * domain.</p>
898
- */
899
- public deleteTrust(args: DeleteTrustCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTrustCommandOutput>;
900
- public deleteTrust(args: DeleteTrustCommandInput, cb: (err: any, data?: DeleteTrustCommandOutput) => void): void;
901
- public deleteTrust(
902
- args: DeleteTrustCommandInput,
903
- options: __HttpHandlerOptions,
904
- cb: (err: any, data?: DeleteTrustCommandOutput) => void
905
- ): void;
906
- public deleteTrust(
907
- args: DeleteTrustCommandInput,
908
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTrustCommandOutput) => void),
909
- cb?: (err: any, data?: DeleteTrustCommandOutput) => void
910
- ): Promise<DeleteTrustCommandOutput> | void {
911
- const command = new DeleteTrustCommand(args);
912
- if (typeof optionsOrCb === "function") {
913
- this.send(command, optionsOrCb);
914
- } else if (typeof cb === "function") {
915
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
916
- this.send(command, optionsOrCb || {}, cb);
917
- } else {
918
- return this.send(command, optionsOrCb);
919
- }
920
- }
921
-
922
- /**
923
- * <p>Deletes from the system the certificate that was registered for secure LDAP or client certificate authentication.</p>
924
- */
925
- public deregisterCertificate(
926
- args: DeregisterCertificateCommandInput,
927
- options?: __HttpHandlerOptions
928
- ): Promise<DeregisterCertificateCommandOutput>;
929
- public deregisterCertificate(
930
- args: DeregisterCertificateCommandInput,
931
- cb: (err: any, data?: DeregisterCertificateCommandOutput) => void
932
- ): void;
933
- public deregisterCertificate(
934
- args: DeregisterCertificateCommandInput,
935
- options: __HttpHandlerOptions,
936
- cb: (err: any, data?: DeregisterCertificateCommandOutput) => void
937
- ): void;
938
- public deregisterCertificate(
939
- args: DeregisterCertificateCommandInput,
940
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterCertificateCommandOutput) => void),
941
- cb?: (err: any, data?: DeregisterCertificateCommandOutput) => void
942
- ): Promise<DeregisterCertificateCommandOutput> | void {
943
- const command = new DeregisterCertificateCommand(args);
944
- if (typeof optionsOrCb === "function") {
945
- this.send(command, optionsOrCb);
946
- } else if (typeof cb === "function") {
947
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
948
- this.send(command, optionsOrCb || {}, cb);
949
- } else {
950
- return this.send(command, optionsOrCb);
951
- }
952
- }
953
-
954
- /**
955
- * <p>Removes the specified directory as a publisher to the specified Amazon SNS topic.</p>
956
- */
957
- public deregisterEventTopic(
958
- args: DeregisterEventTopicCommandInput,
959
- options?: __HttpHandlerOptions
960
- ): Promise<DeregisterEventTopicCommandOutput>;
961
- public deregisterEventTopic(
962
- args: DeregisterEventTopicCommandInput,
963
- cb: (err: any, data?: DeregisterEventTopicCommandOutput) => void
964
- ): void;
965
- public deregisterEventTopic(
966
- args: DeregisterEventTopicCommandInput,
967
- options: __HttpHandlerOptions,
968
- cb: (err: any, data?: DeregisterEventTopicCommandOutput) => void
969
- ): void;
970
- public deregisterEventTopic(
971
- args: DeregisterEventTopicCommandInput,
972
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterEventTopicCommandOutput) => void),
973
- cb?: (err: any, data?: DeregisterEventTopicCommandOutput) => void
974
- ): Promise<DeregisterEventTopicCommandOutput> | void {
975
- const command = new DeregisterEventTopicCommand(args);
976
- if (typeof optionsOrCb === "function") {
977
- this.send(command, optionsOrCb);
978
- } else if (typeof cb === "function") {
979
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
980
- this.send(command, optionsOrCb || {}, cb);
981
- } else {
982
- return this.send(command, optionsOrCb);
983
- }
984
- }
985
-
986
- /**
987
- * <p>Displays information about the certificate registered for secure LDAP or client certificate authentication.</p>
988
- */
989
- public describeCertificate(
990
- args: DescribeCertificateCommandInput,
991
- options?: __HttpHandlerOptions
992
- ): Promise<DescribeCertificateCommandOutput>;
993
- public describeCertificate(
994
- args: DescribeCertificateCommandInput,
995
- cb: (err: any, data?: DescribeCertificateCommandOutput) => void
996
- ): void;
997
- public describeCertificate(
998
- args: DescribeCertificateCommandInput,
999
- options: __HttpHandlerOptions,
1000
- cb: (err: any, data?: DescribeCertificateCommandOutput) => void
1001
- ): void;
1002
- public describeCertificate(
1003
- args: DescribeCertificateCommandInput,
1004
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeCertificateCommandOutput) => void),
1005
- cb?: (err: any, data?: DescribeCertificateCommandOutput) => void
1006
- ): Promise<DescribeCertificateCommandOutput> | void {
1007
- const command = new DescribeCertificateCommand(args);
1008
- if (typeof optionsOrCb === "function") {
1009
- this.send(command, optionsOrCb);
1010
- } else if (typeof cb === "function") {
1011
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1012
- this.send(command, optionsOrCb || {}, cb);
1013
- } else {
1014
- return this.send(command, optionsOrCb);
1015
- }
1016
- }
1017
-
1018
- /**
1019
- * <p>Retrieves information about the type of client authentication for the specified directory, if the type is specified. If no type is specified, information about all client authentication types that are supported for the specified directory is retrieved. Currently, only <code>SmartCard</code> is supported.
1020
- * </p>
1021
- */
1022
- public describeClientAuthenticationSettings(
1023
- args: DescribeClientAuthenticationSettingsCommandInput,
1024
- options?: __HttpHandlerOptions
1025
- ): Promise<DescribeClientAuthenticationSettingsCommandOutput>;
1026
- public describeClientAuthenticationSettings(
1027
- args: DescribeClientAuthenticationSettingsCommandInput,
1028
- cb: (err: any, data?: DescribeClientAuthenticationSettingsCommandOutput) => void
1029
- ): void;
1030
- public describeClientAuthenticationSettings(
1031
- args: DescribeClientAuthenticationSettingsCommandInput,
1032
- options: __HttpHandlerOptions,
1033
- cb: (err: any, data?: DescribeClientAuthenticationSettingsCommandOutput) => void
1034
- ): void;
1035
- public describeClientAuthenticationSettings(
1036
- args: DescribeClientAuthenticationSettingsCommandInput,
1037
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeClientAuthenticationSettingsCommandOutput) => void),
1038
- cb?: (err: any, data?: DescribeClientAuthenticationSettingsCommandOutput) => void
1039
- ): Promise<DescribeClientAuthenticationSettingsCommandOutput> | void {
1040
- const command = new DescribeClientAuthenticationSettingsCommand(args);
1041
- if (typeof optionsOrCb === "function") {
1042
- this.send(command, optionsOrCb);
1043
- } else if (typeof cb === "function") {
1044
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1045
- this.send(command, optionsOrCb || {}, cb);
1046
- } else {
1047
- return this.send(command, optionsOrCb);
1048
- }
1049
- }
1050
-
1051
- /**
1052
- * <p>Obtains information about the conditional forwarders for this account.</p>
1053
- * <p>If no input parameters are provided for RemoteDomainNames, this request describes all
1054
- * conditional forwarders for the specified directory ID.</p>
1055
- */
1056
- public describeConditionalForwarders(
1057
- args: DescribeConditionalForwardersCommandInput,
1058
- options?: __HttpHandlerOptions
1059
- ): Promise<DescribeConditionalForwardersCommandOutput>;
1060
- public describeConditionalForwarders(
1061
- args: DescribeConditionalForwardersCommandInput,
1062
- cb: (err: any, data?: DescribeConditionalForwardersCommandOutput) => void
1063
- ): void;
1064
- public describeConditionalForwarders(
1065
- args: DescribeConditionalForwardersCommandInput,
1066
- options: __HttpHandlerOptions,
1067
- cb: (err: any, data?: DescribeConditionalForwardersCommandOutput) => void
1068
- ): void;
1069
- public describeConditionalForwarders(
1070
- args: DescribeConditionalForwardersCommandInput,
1071
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeConditionalForwardersCommandOutput) => void),
1072
- cb?: (err: any, data?: DescribeConditionalForwardersCommandOutput) => void
1073
- ): Promise<DescribeConditionalForwardersCommandOutput> | void {
1074
- const command = new DescribeConditionalForwardersCommand(args);
1075
- if (typeof optionsOrCb === "function") {
1076
- this.send(command, optionsOrCb);
1077
- } else if (typeof cb === "function") {
1078
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1079
- this.send(command, optionsOrCb || {}, cb);
1080
- } else {
1081
- return this.send(command, optionsOrCb);
1082
- }
1083
- }
1084
-
1085
- /**
1086
- * <p>Obtains information about the directories that belong to this account.</p>
1087
- * <p>You can retrieve information about specific directories by passing the directory
1088
- * identifiers in the <code>DirectoryIds</code> parameter. Otherwise, all directories that belong
1089
- * to the current account are returned.</p>
1090
- * <p>This operation supports pagination with the use of the <code>NextToken</code> request and
1091
- * response parameters. If more results are available, the
1092
- * <code>DescribeDirectoriesResult.NextToken</code> member contains a token that you pass in
1093
- * the next call to <a>DescribeDirectories</a> to retrieve the next set of
1094
- * items.</p>
1095
- * <p>You can also specify a maximum number of return results with the <code>Limit</code>
1096
- * parameter.</p>
1097
- */
1098
- public describeDirectories(
1099
- args: DescribeDirectoriesCommandInput,
1100
- options?: __HttpHandlerOptions
1101
- ): Promise<DescribeDirectoriesCommandOutput>;
1102
- public describeDirectories(
1103
- args: DescribeDirectoriesCommandInput,
1104
- cb: (err: any, data?: DescribeDirectoriesCommandOutput) => void
1105
- ): void;
1106
- public describeDirectories(
1107
- args: DescribeDirectoriesCommandInput,
1108
- options: __HttpHandlerOptions,
1109
- cb: (err: any, data?: DescribeDirectoriesCommandOutput) => void
1110
- ): void;
1111
- public describeDirectories(
1112
- args: DescribeDirectoriesCommandInput,
1113
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDirectoriesCommandOutput) => void),
1114
- cb?: (err: any, data?: DescribeDirectoriesCommandOutput) => void
1115
- ): Promise<DescribeDirectoriesCommandOutput> | void {
1116
- const command = new DescribeDirectoriesCommand(args);
1117
- if (typeof optionsOrCb === "function") {
1118
- this.send(command, optionsOrCb);
1119
- } else if (typeof cb === "function") {
1120
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1121
- this.send(command, optionsOrCb || {}, cb);
1122
- } else {
1123
- return this.send(command, optionsOrCb);
1124
- }
1125
- }
1126
-
1127
- /**
1128
- * <p>Provides information about any domain controllers in your directory.</p>
1129
- */
1130
- public describeDomainControllers(
1131
- args: DescribeDomainControllersCommandInput,
1132
- options?: __HttpHandlerOptions
1133
- ): Promise<DescribeDomainControllersCommandOutput>;
1134
- public describeDomainControllers(
1135
- args: DescribeDomainControllersCommandInput,
1136
- cb: (err: any, data?: DescribeDomainControllersCommandOutput) => void
1137
- ): void;
1138
- public describeDomainControllers(
1139
- args: DescribeDomainControllersCommandInput,
1140
- options: __HttpHandlerOptions,
1141
- cb: (err: any, data?: DescribeDomainControllersCommandOutput) => void
1142
- ): void;
1143
- public describeDomainControllers(
1144
- args: DescribeDomainControllersCommandInput,
1145
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDomainControllersCommandOutput) => void),
1146
- cb?: (err: any, data?: DescribeDomainControllersCommandOutput) => void
1147
- ): Promise<DescribeDomainControllersCommandOutput> | void {
1148
- const command = new DescribeDomainControllersCommand(args);
1149
- if (typeof optionsOrCb === "function") {
1150
- this.send(command, optionsOrCb);
1151
- } else if (typeof cb === "function") {
1152
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1153
- this.send(command, optionsOrCb || {}, cb);
1154
- } else {
1155
- return this.send(command, optionsOrCb);
1156
- }
1157
- }
1158
-
1159
- /**
1160
- * <p>Obtains information about which Amazon SNS topics receive status messages from the specified
1161
- * directory.</p>
1162
- * <p>If no input parameters are provided, such as DirectoryId or TopicName, this request
1163
- * describes all of the associations in the account.</p>
1164
- */
1165
- public describeEventTopics(
1166
- args: DescribeEventTopicsCommandInput,
1167
- options?: __HttpHandlerOptions
1168
- ): Promise<DescribeEventTopicsCommandOutput>;
1169
- public describeEventTopics(
1170
- args: DescribeEventTopicsCommandInput,
1171
- cb: (err: any, data?: DescribeEventTopicsCommandOutput) => void
1172
- ): void;
1173
- public describeEventTopics(
1174
- args: DescribeEventTopicsCommandInput,
1175
- options: __HttpHandlerOptions,
1176
- cb: (err: any, data?: DescribeEventTopicsCommandOutput) => void
1177
- ): void;
1178
- public describeEventTopics(
1179
- args: DescribeEventTopicsCommandInput,
1180
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEventTopicsCommandOutput) => void),
1181
- cb?: (err: any, data?: DescribeEventTopicsCommandOutput) => void
1182
- ): Promise<DescribeEventTopicsCommandOutput> | void {
1183
- const command = new DescribeEventTopicsCommand(args);
1184
- if (typeof optionsOrCb === "function") {
1185
- this.send(command, optionsOrCb);
1186
- } else if (typeof cb === "function") {
1187
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1188
- this.send(command, optionsOrCb || {}, cb);
1189
- } else {
1190
- return this.send(command, optionsOrCb);
1191
- }
1192
- }
1193
-
1194
- /**
1195
- * <p>Describes the status of LDAP security for the specified directory.</p>
1196
- */
1197
- public describeLDAPSSettings(
1198
- args: DescribeLDAPSSettingsCommandInput,
1199
- options?: __HttpHandlerOptions
1200
- ): Promise<DescribeLDAPSSettingsCommandOutput>;
1201
- public describeLDAPSSettings(
1202
- args: DescribeLDAPSSettingsCommandInput,
1203
- cb: (err: any, data?: DescribeLDAPSSettingsCommandOutput) => void
1204
- ): void;
1205
- public describeLDAPSSettings(
1206
- args: DescribeLDAPSSettingsCommandInput,
1207
- options: __HttpHandlerOptions,
1208
- cb: (err: any, data?: DescribeLDAPSSettingsCommandOutput) => void
1209
- ): void;
1210
- public describeLDAPSSettings(
1211
- args: DescribeLDAPSSettingsCommandInput,
1212
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLDAPSSettingsCommandOutput) => void),
1213
- cb?: (err: any, data?: DescribeLDAPSSettingsCommandOutput) => void
1214
- ): Promise<DescribeLDAPSSettingsCommandOutput> | void {
1215
- const command = new DescribeLDAPSSettingsCommand(args);
1216
- if (typeof optionsOrCb === "function") {
1217
- this.send(command, optionsOrCb);
1218
- } else if (typeof cb === "function") {
1219
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1220
- this.send(command, optionsOrCb || {}, cb);
1221
- } else {
1222
- return this.send(command, optionsOrCb);
1223
- }
1224
- }
1225
-
1226
- /**
1227
- * <p>Provides information about the Regions that are configured for multi-Region
1228
- * replication.</p>
1229
- */
1230
- public describeRegions(
1231
- args: DescribeRegionsCommandInput,
1232
- options?: __HttpHandlerOptions
1233
- ): Promise<DescribeRegionsCommandOutput>;
1234
- public describeRegions(
1235
- args: DescribeRegionsCommandInput,
1236
- cb: (err: any, data?: DescribeRegionsCommandOutput) => void
1237
- ): void;
1238
- public describeRegions(
1239
- args: DescribeRegionsCommandInput,
1240
- options: __HttpHandlerOptions,
1241
- cb: (err: any, data?: DescribeRegionsCommandOutput) => void
1242
- ): void;
1243
- public describeRegions(
1244
- args: DescribeRegionsCommandInput,
1245
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRegionsCommandOutput) => void),
1246
- cb?: (err: any, data?: DescribeRegionsCommandOutput) => void
1247
- ): Promise<DescribeRegionsCommandOutput> | void {
1248
- const command = new DescribeRegionsCommand(args);
1249
- if (typeof optionsOrCb === "function") {
1250
- this.send(command, optionsOrCb);
1251
- } else if (typeof cb === "function") {
1252
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1253
- this.send(command, optionsOrCb || {}, cb);
1254
- } else {
1255
- return this.send(command, optionsOrCb);
1256
- }
1257
- }
1258
-
1259
- /**
1260
- * <p>Returns the shared directories in your account. </p>
1261
- */
1262
- public describeSharedDirectories(
1263
- args: DescribeSharedDirectoriesCommandInput,
1264
- options?: __HttpHandlerOptions
1265
- ): Promise<DescribeSharedDirectoriesCommandOutput>;
1266
- public describeSharedDirectories(
1267
- args: DescribeSharedDirectoriesCommandInput,
1268
- cb: (err: any, data?: DescribeSharedDirectoriesCommandOutput) => void
1269
- ): void;
1270
- public describeSharedDirectories(
1271
- args: DescribeSharedDirectoriesCommandInput,
1272
- options: __HttpHandlerOptions,
1273
- cb: (err: any, data?: DescribeSharedDirectoriesCommandOutput) => void
1274
- ): void;
1275
- public describeSharedDirectories(
1276
- args: DescribeSharedDirectoriesCommandInput,
1277
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSharedDirectoriesCommandOutput) => void),
1278
- cb?: (err: any, data?: DescribeSharedDirectoriesCommandOutput) => void
1279
- ): Promise<DescribeSharedDirectoriesCommandOutput> | void {
1280
- const command = new DescribeSharedDirectoriesCommand(args);
1281
- if (typeof optionsOrCb === "function") {
1282
- this.send(command, optionsOrCb);
1283
- } else if (typeof cb === "function") {
1284
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1285
- this.send(command, optionsOrCb || {}, cb);
1286
- } else {
1287
- return this.send(command, optionsOrCb);
1288
- }
1289
- }
1290
-
1291
- /**
1292
- * <p>Obtains information about the directory snapshots that belong to this account.</p>
1293
- * <p>This operation supports pagination with the use of the <i>NextToken</i> request and
1294
- * response parameters. If more results are available, the <i>DescribeSnapshots.NextToken</i>
1295
- * member contains a token that you pass in the next call to <a>DescribeSnapshots</a> to
1296
- * retrieve the next set of items.</p>
1297
- * <p>You can also specify a maximum number of return results with the <i>Limit</i>
1298
- * parameter.</p>
1299
- */
1300
- public describeSnapshots(
1301
- args: DescribeSnapshotsCommandInput,
1302
- options?: __HttpHandlerOptions
1303
- ): Promise<DescribeSnapshotsCommandOutput>;
1304
- public describeSnapshots(
1305
- args: DescribeSnapshotsCommandInput,
1306
- cb: (err: any, data?: DescribeSnapshotsCommandOutput) => void
1307
- ): void;
1308
- public describeSnapshots(
1309
- args: DescribeSnapshotsCommandInput,
1310
- options: __HttpHandlerOptions,
1311
- cb: (err: any, data?: DescribeSnapshotsCommandOutput) => void
1312
- ): void;
1313
- public describeSnapshots(
1314
- args: DescribeSnapshotsCommandInput,
1315
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSnapshotsCommandOutput) => void),
1316
- cb?: (err: any, data?: DescribeSnapshotsCommandOutput) => void
1317
- ): Promise<DescribeSnapshotsCommandOutput> | void {
1318
- const command = new DescribeSnapshotsCommand(args);
1319
- if (typeof optionsOrCb === "function") {
1320
- this.send(command, optionsOrCb);
1321
- } else if (typeof cb === "function") {
1322
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1323
- this.send(command, optionsOrCb || {}, cb);
1324
- } else {
1325
- return this.send(command, optionsOrCb);
1326
- }
1327
- }
1328
-
1329
- /**
1330
- * <p>Obtains information about the trust relationships for this account.</p>
1331
- * <p>If no input parameters are provided, such as DirectoryId or TrustIds, this request
1332
- * describes all the trust relationships belonging to the account.</p>
1333
- */
1334
- public describeTrusts(
1335
- args: DescribeTrustsCommandInput,
1336
- options?: __HttpHandlerOptions
1337
- ): Promise<DescribeTrustsCommandOutput>;
1338
- public describeTrusts(
1339
- args: DescribeTrustsCommandInput,
1340
- cb: (err: any, data?: DescribeTrustsCommandOutput) => void
1341
- ): void;
1342
- public describeTrusts(
1343
- args: DescribeTrustsCommandInput,
1344
- options: __HttpHandlerOptions,
1345
- cb: (err: any, data?: DescribeTrustsCommandOutput) => void
1346
- ): void;
1347
- public describeTrusts(
1348
- args: DescribeTrustsCommandInput,
1349
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTrustsCommandOutput) => void),
1350
- cb?: (err: any, data?: DescribeTrustsCommandOutput) => void
1351
- ): Promise<DescribeTrustsCommandOutput> | void {
1352
- const command = new DescribeTrustsCommand(args);
1353
- if (typeof optionsOrCb === "function") {
1354
- this.send(command, optionsOrCb);
1355
- } else if (typeof cb === "function") {
1356
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1357
- this.send(command, optionsOrCb || {}, cb);
1358
- } else {
1359
- return this.send(command, optionsOrCb);
1360
- }
1361
- }
1362
-
1363
- /**
1364
- * <p>Disables alternative client authentication methods for the specified directory. </p>
1365
- */
1366
- public disableClientAuthentication(
1367
- args: DisableClientAuthenticationCommandInput,
1368
- options?: __HttpHandlerOptions
1369
- ): Promise<DisableClientAuthenticationCommandOutput>;
1370
- public disableClientAuthentication(
1371
- args: DisableClientAuthenticationCommandInput,
1372
- cb: (err: any, data?: DisableClientAuthenticationCommandOutput) => void
1373
- ): void;
1374
- public disableClientAuthentication(
1375
- args: DisableClientAuthenticationCommandInput,
1376
- options: __HttpHandlerOptions,
1377
- cb: (err: any, data?: DisableClientAuthenticationCommandOutput) => void
1378
- ): void;
1379
- public disableClientAuthentication(
1380
- args: DisableClientAuthenticationCommandInput,
1381
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableClientAuthenticationCommandOutput) => void),
1382
- cb?: (err: any, data?: DisableClientAuthenticationCommandOutput) => void
1383
- ): Promise<DisableClientAuthenticationCommandOutput> | void {
1384
- const command = new DisableClientAuthenticationCommand(args);
1385
- if (typeof optionsOrCb === "function") {
1386
- this.send(command, optionsOrCb);
1387
- } else if (typeof cb === "function") {
1388
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1389
- this.send(command, optionsOrCb || {}, cb);
1390
- } else {
1391
- return this.send(command, optionsOrCb);
1392
- }
1393
- }
1394
-
1395
- /**
1396
- * <p>Deactivates LDAP secure calls for the specified directory.</p>
1397
- */
1398
- public disableLDAPS(
1399
- args: DisableLDAPSCommandInput,
1400
- options?: __HttpHandlerOptions
1401
- ): Promise<DisableLDAPSCommandOutput>;
1402
- public disableLDAPS(args: DisableLDAPSCommandInput, cb: (err: any, data?: DisableLDAPSCommandOutput) => void): void;
1403
- public disableLDAPS(
1404
- args: DisableLDAPSCommandInput,
1405
- options: __HttpHandlerOptions,
1406
- cb: (err: any, data?: DisableLDAPSCommandOutput) => void
1407
- ): void;
1408
- public disableLDAPS(
1409
- args: DisableLDAPSCommandInput,
1410
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableLDAPSCommandOutput) => void),
1411
- cb?: (err: any, data?: DisableLDAPSCommandOutput) => void
1412
- ): Promise<DisableLDAPSCommandOutput> | void {
1413
- const command = new DisableLDAPSCommand(args);
1414
- if (typeof optionsOrCb === "function") {
1415
- this.send(command, optionsOrCb);
1416
- } else if (typeof cb === "function") {
1417
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1418
- this.send(command, optionsOrCb || {}, cb);
1419
- } else {
1420
- return this.send(command, optionsOrCb);
1421
- }
1422
- }
1423
-
1424
- /**
1425
- * <p>Disables multi-factor authentication (MFA) with the Remote Authentication Dial In
1426
- * User Service (RADIUS) server for an AD Connector or Microsoft AD directory.</p>
1427
- */
1428
- public disableRadius(
1429
- args: DisableRadiusCommandInput,
1430
- options?: __HttpHandlerOptions
1431
- ): Promise<DisableRadiusCommandOutput>;
1432
- public disableRadius(
1433
- args: DisableRadiusCommandInput,
1434
- cb: (err: any, data?: DisableRadiusCommandOutput) => void
1435
- ): void;
1436
- public disableRadius(
1437
- args: DisableRadiusCommandInput,
1438
- options: __HttpHandlerOptions,
1439
- cb: (err: any, data?: DisableRadiusCommandOutput) => void
1440
- ): void;
1441
- public disableRadius(
1442
- args: DisableRadiusCommandInput,
1443
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableRadiusCommandOutput) => void),
1444
- cb?: (err: any, data?: DisableRadiusCommandOutput) => void
1445
- ): Promise<DisableRadiusCommandOutput> | void {
1446
- const command = new DisableRadiusCommand(args);
1447
- if (typeof optionsOrCb === "function") {
1448
- this.send(command, optionsOrCb);
1449
- } else if (typeof cb === "function") {
1450
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1451
- this.send(command, optionsOrCb || {}, cb);
1452
- } else {
1453
- return this.send(command, optionsOrCb);
1454
- }
1455
- }
1456
-
1457
- /**
1458
- * <p>Disables single-sign on for a directory.</p>
1459
- */
1460
- public disableSso(args: DisableSsoCommandInput, options?: __HttpHandlerOptions): Promise<DisableSsoCommandOutput>;
1461
- public disableSso(args: DisableSsoCommandInput, cb: (err: any, data?: DisableSsoCommandOutput) => void): void;
1462
- public disableSso(
1463
- args: DisableSsoCommandInput,
1464
- options: __HttpHandlerOptions,
1465
- cb: (err: any, data?: DisableSsoCommandOutput) => void
1466
- ): void;
1467
- public disableSso(
1468
- args: DisableSsoCommandInput,
1469
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableSsoCommandOutput) => void),
1470
- cb?: (err: any, data?: DisableSsoCommandOutput) => void
1471
- ): Promise<DisableSsoCommandOutput> | void {
1472
- const command = new DisableSsoCommand(args);
1473
- if (typeof optionsOrCb === "function") {
1474
- this.send(command, optionsOrCb);
1475
- } else if (typeof cb === "function") {
1476
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1477
- this.send(command, optionsOrCb || {}, cb);
1478
- } else {
1479
- return this.send(command, optionsOrCb);
1480
- }
1481
- }
1482
-
1483
- /**
1484
- * <p>Enables alternative client authentication methods for the specified directory.</p>
1485
- */
1486
- public enableClientAuthentication(
1487
- args: EnableClientAuthenticationCommandInput,
1488
- options?: __HttpHandlerOptions
1489
- ): Promise<EnableClientAuthenticationCommandOutput>;
1490
- public enableClientAuthentication(
1491
- args: EnableClientAuthenticationCommandInput,
1492
- cb: (err: any, data?: EnableClientAuthenticationCommandOutput) => void
1493
- ): void;
1494
- public enableClientAuthentication(
1495
- args: EnableClientAuthenticationCommandInput,
1496
- options: __HttpHandlerOptions,
1497
- cb: (err: any, data?: EnableClientAuthenticationCommandOutput) => void
1498
- ): void;
1499
- public enableClientAuthentication(
1500
- args: EnableClientAuthenticationCommandInput,
1501
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableClientAuthenticationCommandOutput) => void),
1502
- cb?: (err: any, data?: EnableClientAuthenticationCommandOutput) => void
1503
- ): Promise<EnableClientAuthenticationCommandOutput> | void {
1504
- const command = new EnableClientAuthenticationCommand(args);
1505
- if (typeof optionsOrCb === "function") {
1506
- this.send(command, optionsOrCb);
1507
- } else if (typeof cb === "function") {
1508
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1509
- this.send(command, optionsOrCb || {}, cb);
1510
- } else {
1511
- return this.send(command, optionsOrCb);
1512
- }
1513
- }
1514
-
1515
- /**
1516
- * <p>Activates the switch for the specific directory to always use LDAP secure calls.</p>
1517
- */
1518
- public enableLDAPS(args: EnableLDAPSCommandInput, options?: __HttpHandlerOptions): Promise<EnableLDAPSCommandOutput>;
1519
- public enableLDAPS(args: EnableLDAPSCommandInput, cb: (err: any, data?: EnableLDAPSCommandOutput) => void): void;
1520
- public enableLDAPS(
1521
- args: EnableLDAPSCommandInput,
1522
- options: __HttpHandlerOptions,
1523
- cb: (err: any, data?: EnableLDAPSCommandOutput) => void
1524
- ): void;
1525
- public enableLDAPS(
1526
- args: EnableLDAPSCommandInput,
1527
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableLDAPSCommandOutput) => void),
1528
- cb?: (err: any, data?: EnableLDAPSCommandOutput) => void
1529
- ): Promise<EnableLDAPSCommandOutput> | void {
1530
- const command = new EnableLDAPSCommand(args);
1531
- if (typeof optionsOrCb === "function") {
1532
- this.send(command, optionsOrCb);
1533
- } else if (typeof cb === "function") {
1534
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1535
- this.send(command, optionsOrCb || {}, cb);
1536
- } else {
1537
- return this.send(command, optionsOrCb);
1538
- }
1539
- }
1540
-
1541
- /**
1542
- * <p>Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User
1543
- * Service (RADIUS) server for an AD Connector or Microsoft AD directory.</p>
1544
- */
1545
- public enableRadius(
1546
- args: EnableRadiusCommandInput,
1547
- options?: __HttpHandlerOptions
1548
- ): Promise<EnableRadiusCommandOutput>;
1549
- public enableRadius(args: EnableRadiusCommandInput, cb: (err: any, data?: EnableRadiusCommandOutput) => void): void;
1550
- public enableRadius(
1551
- args: EnableRadiusCommandInput,
1552
- options: __HttpHandlerOptions,
1553
- cb: (err: any, data?: EnableRadiusCommandOutput) => void
1554
- ): void;
1555
- public enableRadius(
1556
- args: EnableRadiusCommandInput,
1557
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableRadiusCommandOutput) => void),
1558
- cb?: (err: any, data?: EnableRadiusCommandOutput) => void
1559
- ): Promise<EnableRadiusCommandOutput> | void {
1560
- const command = new EnableRadiusCommand(args);
1561
- if (typeof optionsOrCb === "function") {
1562
- this.send(command, optionsOrCb);
1563
- } else if (typeof cb === "function") {
1564
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1565
- this.send(command, optionsOrCb || {}, cb);
1566
- } else {
1567
- return this.send(command, optionsOrCb);
1568
- }
1569
- }
1570
-
1571
- /**
1572
- * <p>Enables single sign-on for a directory. Single sign-on allows users in your directory to
1573
- * access certain Amazon Web Services services from a computer joined to the directory without having to enter
1574
- * their credentials separately.</p>
1575
- */
1576
- public enableSso(args: EnableSsoCommandInput, options?: __HttpHandlerOptions): Promise<EnableSsoCommandOutput>;
1577
- public enableSso(args: EnableSsoCommandInput, cb: (err: any, data?: EnableSsoCommandOutput) => void): void;
1578
- public enableSso(
1579
- args: EnableSsoCommandInput,
1580
- options: __HttpHandlerOptions,
1581
- cb: (err: any, data?: EnableSsoCommandOutput) => void
1582
- ): void;
1583
- public enableSso(
1584
- args: EnableSsoCommandInput,
1585
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableSsoCommandOutput) => void),
1586
- cb?: (err: any, data?: EnableSsoCommandOutput) => void
1587
- ): Promise<EnableSsoCommandOutput> | void {
1588
- const command = new EnableSsoCommand(args);
1589
- if (typeof optionsOrCb === "function") {
1590
- this.send(command, optionsOrCb);
1591
- } else if (typeof cb === "function") {
1592
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1593
- this.send(command, optionsOrCb || {}, cb);
1594
- } else {
1595
- return this.send(command, optionsOrCb);
1596
- }
1597
- }
1598
-
1599
- /**
1600
- * <p>Obtains directory limit information for the current Region.</p>
1601
- */
1602
- public getDirectoryLimits(
1603
- args: GetDirectoryLimitsCommandInput,
1604
- options?: __HttpHandlerOptions
1605
- ): Promise<GetDirectoryLimitsCommandOutput>;
1606
- public getDirectoryLimits(
1607
- args: GetDirectoryLimitsCommandInput,
1608
- cb: (err: any, data?: GetDirectoryLimitsCommandOutput) => void
1609
- ): void;
1610
- public getDirectoryLimits(
1611
- args: GetDirectoryLimitsCommandInput,
1612
- options: __HttpHandlerOptions,
1613
- cb: (err: any, data?: GetDirectoryLimitsCommandOutput) => void
1614
- ): void;
1615
- public getDirectoryLimits(
1616
- args: GetDirectoryLimitsCommandInput,
1617
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDirectoryLimitsCommandOutput) => void),
1618
- cb?: (err: any, data?: GetDirectoryLimitsCommandOutput) => void
1619
- ): Promise<GetDirectoryLimitsCommandOutput> | void {
1620
- const command = new GetDirectoryLimitsCommand(args);
1621
- if (typeof optionsOrCb === "function") {
1622
- this.send(command, optionsOrCb);
1623
- } else if (typeof cb === "function") {
1624
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1625
- this.send(command, optionsOrCb || {}, cb);
1626
- } else {
1627
- return this.send(command, optionsOrCb);
1628
- }
1629
- }
1630
-
1631
- /**
1632
- * <p>Obtains the manual snapshot limits for a directory.</p>
1633
- */
1634
- public getSnapshotLimits(
1635
- args: GetSnapshotLimitsCommandInput,
1636
- options?: __HttpHandlerOptions
1637
- ): Promise<GetSnapshotLimitsCommandOutput>;
1638
- public getSnapshotLimits(
1639
- args: GetSnapshotLimitsCommandInput,
1640
- cb: (err: any, data?: GetSnapshotLimitsCommandOutput) => void
1641
- ): void;
1642
- public getSnapshotLimits(
1643
- args: GetSnapshotLimitsCommandInput,
1644
- options: __HttpHandlerOptions,
1645
- cb: (err: any, data?: GetSnapshotLimitsCommandOutput) => void
1646
- ): void;
1647
- public getSnapshotLimits(
1648
- args: GetSnapshotLimitsCommandInput,
1649
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSnapshotLimitsCommandOutput) => void),
1650
- cb?: (err: any, data?: GetSnapshotLimitsCommandOutput) => void
1651
- ): Promise<GetSnapshotLimitsCommandOutput> | void {
1652
- const command = new GetSnapshotLimitsCommand(args);
1653
- if (typeof optionsOrCb === "function") {
1654
- this.send(command, optionsOrCb);
1655
- } else if (typeof cb === "function") {
1656
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1657
- this.send(command, optionsOrCb || {}, cb);
1658
- } else {
1659
- return this.send(command, optionsOrCb);
1660
- }
1661
- }
1662
-
1663
- /**
1664
- * <p>For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication.</p>
1665
- */
1666
- public listCertificates(
1667
- args: ListCertificatesCommandInput,
1668
- options?: __HttpHandlerOptions
1669
- ): Promise<ListCertificatesCommandOutput>;
1670
- public listCertificates(
1671
- args: ListCertificatesCommandInput,
1672
- cb: (err: any, data?: ListCertificatesCommandOutput) => void
1673
- ): void;
1674
- public listCertificates(
1675
- args: ListCertificatesCommandInput,
1676
- options: __HttpHandlerOptions,
1677
- cb: (err: any, data?: ListCertificatesCommandOutput) => void
1678
- ): void;
1679
- public listCertificates(
1680
- args: ListCertificatesCommandInput,
1681
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListCertificatesCommandOutput) => void),
1682
- cb?: (err: any, data?: ListCertificatesCommandOutput) => void
1683
- ): Promise<ListCertificatesCommandOutput> | void {
1684
- const command = new ListCertificatesCommand(args);
1685
- if (typeof optionsOrCb === "function") {
1686
- this.send(command, optionsOrCb);
1687
- } else if (typeof cb === "function") {
1688
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1689
- this.send(command, optionsOrCb || {}, cb);
1690
- } else {
1691
- return this.send(command, optionsOrCb);
1692
- }
1693
- }
1694
-
1695
- /**
1696
- * <p>Lists the address blocks that you have added to a directory.</p>
1697
- */
1698
- public listIpRoutes(
1699
- args: ListIpRoutesCommandInput,
1700
- options?: __HttpHandlerOptions
1701
- ): Promise<ListIpRoutesCommandOutput>;
1702
- public listIpRoutes(args: ListIpRoutesCommandInput, cb: (err: any, data?: ListIpRoutesCommandOutput) => void): void;
1703
- public listIpRoutes(
1704
- args: ListIpRoutesCommandInput,
1705
- options: __HttpHandlerOptions,
1706
- cb: (err: any, data?: ListIpRoutesCommandOutput) => void
1707
- ): void;
1708
- public listIpRoutes(
1709
- args: ListIpRoutesCommandInput,
1710
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListIpRoutesCommandOutput) => void),
1711
- cb?: (err: any, data?: ListIpRoutesCommandOutput) => void
1712
- ): Promise<ListIpRoutesCommandOutput> | void {
1713
- const command = new ListIpRoutesCommand(args);
1714
- if (typeof optionsOrCb === "function") {
1715
- this.send(command, optionsOrCb);
1716
- } else if (typeof cb === "function") {
1717
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1718
- this.send(command, optionsOrCb || {}, cb);
1719
- } else {
1720
- return this.send(command, optionsOrCb);
1721
- }
1722
- }
1723
-
1724
- /**
1725
- * <p>Lists the active log subscriptions for the Amazon Web Services account.</p>
1726
- */
1727
- public listLogSubscriptions(
1728
- args: ListLogSubscriptionsCommandInput,
1729
- options?: __HttpHandlerOptions
1730
- ): Promise<ListLogSubscriptionsCommandOutput>;
1731
- public listLogSubscriptions(
1732
- args: ListLogSubscriptionsCommandInput,
1733
- cb: (err: any, data?: ListLogSubscriptionsCommandOutput) => void
1734
- ): void;
1735
- public listLogSubscriptions(
1736
- args: ListLogSubscriptionsCommandInput,
1737
- options: __HttpHandlerOptions,
1738
- cb: (err: any, data?: ListLogSubscriptionsCommandOutput) => void
1739
- ): void;
1740
- public listLogSubscriptions(
1741
- args: ListLogSubscriptionsCommandInput,
1742
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListLogSubscriptionsCommandOutput) => void),
1743
- cb?: (err: any, data?: ListLogSubscriptionsCommandOutput) => void
1744
- ): Promise<ListLogSubscriptionsCommandOutput> | void {
1745
- const command = new ListLogSubscriptionsCommand(args);
1746
- if (typeof optionsOrCb === "function") {
1747
- this.send(command, optionsOrCb);
1748
- } else if (typeof cb === "function") {
1749
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1750
- this.send(command, optionsOrCb || {}, cb);
1751
- } else {
1752
- return this.send(command, optionsOrCb);
1753
- }
1754
- }
1755
-
1756
- /**
1757
- * <p>Lists all schema extensions applied to a Microsoft AD Directory.</p>
1758
- */
1759
- public listSchemaExtensions(
1760
- args: ListSchemaExtensionsCommandInput,
1761
- options?: __HttpHandlerOptions
1762
- ): Promise<ListSchemaExtensionsCommandOutput>;
1763
- public listSchemaExtensions(
1764
- args: ListSchemaExtensionsCommandInput,
1765
- cb: (err: any, data?: ListSchemaExtensionsCommandOutput) => void
1766
- ): void;
1767
- public listSchemaExtensions(
1768
- args: ListSchemaExtensionsCommandInput,
1769
- options: __HttpHandlerOptions,
1770
- cb: (err: any, data?: ListSchemaExtensionsCommandOutput) => void
1771
- ): void;
1772
- public listSchemaExtensions(
1773
- args: ListSchemaExtensionsCommandInput,
1774
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSchemaExtensionsCommandOutput) => void),
1775
- cb?: (err: any, data?: ListSchemaExtensionsCommandOutput) => void
1776
- ): Promise<ListSchemaExtensionsCommandOutput> | void {
1777
- const command = new ListSchemaExtensionsCommand(args);
1778
- if (typeof optionsOrCb === "function") {
1779
- this.send(command, optionsOrCb);
1780
- } else if (typeof cb === "function") {
1781
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1782
- this.send(command, optionsOrCb || {}, cb);
1783
- } else {
1784
- return this.send(command, optionsOrCb);
1785
- }
1786
- }
1787
-
1788
- /**
1789
- * <p>Lists all tags on a directory.</p>
1790
- */
1791
- public listTagsForResource(
1792
- args: ListTagsForResourceCommandInput,
1793
- options?: __HttpHandlerOptions
1794
- ): Promise<ListTagsForResourceCommandOutput>;
1795
- public listTagsForResource(
1796
- args: ListTagsForResourceCommandInput,
1797
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1798
- ): void;
1799
- public listTagsForResource(
1800
- args: ListTagsForResourceCommandInput,
1801
- options: __HttpHandlerOptions,
1802
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1803
- ): void;
1804
- public listTagsForResource(
1805
- args: ListTagsForResourceCommandInput,
1806
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1807
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1808
- ): Promise<ListTagsForResourceCommandOutput> | void {
1809
- const command = new ListTagsForResourceCommand(args);
1810
- if (typeof optionsOrCb === "function") {
1811
- this.send(command, optionsOrCb);
1812
- } else if (typeof cb === "function") {
1813
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1814
- this.send(command, optionsOrCb || {}, cb);
1815
- } else {
1816
- return this.send(command, optionsOrCb);
1817
- }
1818
- }
1819
-
1820
- /**
1821
- * <p>Registers a certificate for a secure LDAP or client certificate authentication.</p>
1822
- */
1823
- public registerCertificate(
1824
- args: RegisterCertificateCommandInput,
1825
- options?: __HttpHandlerOptions
1826
- ): Promise<RegisterCertificateCommandOutput>;
1827
- public registerCertificate(
1828
- args: RegisterCertificateCommandInput,
1829
- cb: (err: any, data?: RegisterCertificateCommandOutput) => void
1830
- ): void;
1831
- public registerCertificate(
1832
- args: RegisterCertificateCommandInput,
1833
- options: __HttpHandlerOptions,
1834
- cb: (err: any, data?: RegisterCertificateCommandOutput) => void
1835
- ): void;
1836
- public registerCertificate(
1837
- args: RegisterCertificateCommandInput,
1838
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterCertificateCommandOutput) => void),
1839
- cb?: (err: any, data?: RegisterCertificateCommandOutput) => void
1840
- ): Promise<RegisterCertificateCommandOutput> | void {
1841
- const command = new RegisterCertificateCommand(args);
1842
- if (typeof optionsOrCb === "function") {
1843
- this.send(command, optionsOrCb);
1844
- } else if (typeof cb === "function") {
1845
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1846
- this.send(command, optionsOrCb || {}, cb);
1847
- } else {
1848
- return this.send(command, optionsOrCb);
1849
- }
1850
- }
1851
-
1852
- /**
1853
- * <p>Associates a directory with an Amazon SNS topic. This establishes the directory as a
1854
- * publisher to the specified Amazon SNS topic. You can then receive email or text (SMS) messages when
1855
- * the status of your directory changes. You get notified if your directory goes from an Active
1856
- * status to an Impaired or Inoperable status. You also receive a notification when the directory
1857
- * returns to an Active status.</p>
1858
- */
1859
- public registerEventTopic(
1860
- args: RegisterEventTopicCommandInput,
1861
- options?: __HttpHandlerOptions
1862
- ): Promise<RegisterEventTopicCommandOutput>;
1863
- public registerEventTopic(
1864
- args: RegisterEventTopicCommandInput,
1865
- cb: (err: any, data?: RegisterEventTopicCommandOutput) => void
1866
- ): void;
1867
- public registerEventTopic(
1868
- args: RegisterEventTopicCommandInput,
1869
- options: __HttpHandlerOptions,
1870
- cb: (err: any, data?: RegisterEventTopicCommandOutput) => void
1871
- ): void;
1872
- public registerEventTopic(
1873
- args: RegisterEventTopicCommandInput,
1874
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterEventTopicCommandOutput) => void),
1875
- cb?: (err: any, data?: RegisterEventTopicCommandOutput) => void
1876
- ): Promise<RegisterEventTopicCommandOutput> | void {
1877
- const command = new RegisterEventTopicCommand(args);
1878
- if (typeof optionsOrCb === "function") {
1879
- this.send(command, optionsOrCb);
1880
- } else if (typeof cb === "function") {
1881
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1882
- this.send(command, optionsOrCb || {}, cb);
1883
- } else {
1884
- return this.send(command, optionsOrCb);
1885
- }
1886
- }
1887
-
1888
- /**
1889
- * <p>Rejects a directory sharing request that was sent from the directory owner account.</p>
1890
- */
1891
- public rejectSharedDirectory(
1892
- args: RejectSharedDirectoryCommandInput,
1893
- options?: __HttpHandlerOptions
1894
- ): Promise<RejectSharedDirectoryCommandOutput>;
1895
- public rejectSharedDirectory(
1896
- args: RejectSharedDirectoryCommandInput,
1897
- cb: (err: any, data?: RejectSharedDirectoryCommandOutput) => void
1898
- ): void;
1899
- public rejectSharedDirectory(
1900
- args: RejectSharedDirectoryCommandInput,
1901
- options: __HttpHandlerOptions,
1902
- cb: (err: any, data?: RejectSharedDirectoryCommandOutput) => void
1903
- ): void;
1904
- public rejectSharedDirectory(
1905
- args: RejectSharedDirectoryCommandInput,
1906
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RejectSharedDirectoryCommandOutput) => void),
1907
- cb?: (err: any, data?: RejectSharedDirectoryCommandOutput) => void
1908
- ): Promise<RejectSharedDirectoryCommandOutput> | void {
1909
- const command = new RejectSharedDirectoryCommand(args);
1910
- if (typeof optionsOrCb === "function") {
1911
- this.send(command, optionsOrCb);
1912
- } else if (typeof cb === "function") {
1913
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1914
- this.send(command, optionsOrCb || {}, cb);
1915
- } else {
1916
- return this.send(command, optionsOrCb);
1917
- }
1918
- }
1919
-
1920
- /**
1921
- * <p>Removes IP address blocks from a directory.</p>
1922
- */
1923
- public removeIpRoutes(
1924
- args: RemoveIpRoutesCommandInput,
1925
- options?: __HttpHandlerOptions
1926
- ): Promise<RemoveIpRoutesCommandOutput>;
1927
- public removeIpRoutes(
1928
- args: RemoveIpRoutesCommandInput,
1929
- cb: (err: any, data?: RemoveIpRoutesCommandOutput) => void
1930
- ): void;
1931
- public removeIpRoutes(
1932
- args: RemoveIpRoutesCommandInput,
1933
- options: __HttpHandlerOptions,
1934
- cb: (err: any, data?: RemoveIpRoutesCommandOutput) => void
1935
- ): void;
1936
- public removeIpRoutes(
1937
- args: RemoveIpRoutesCommandInput,
1938
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveIpRoutesCommandOutput) => void),
1939
- cb?: (err: any, data?: RemoveIpRoutesCommandOutput) => void
1940
- ): Promise<RemoveIpRoutesCommandOutput> | void {
1941
- const command = new RemoveIpRoutesCommand(args);
1942
- if (typeof optionsOrCb === "function") {
1943
- this.send(command, optionsOrCb);
1944
- } else if (typeof cb === "function") {
1945
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1946
- this.send(command, optionsOrCb || {}, cb);
1947
- } else {
1948
- return this.send(command, optionsOrCb);
1949
- }
1950
- }
1951
-
1952
- /**
1953
- * <p>Stops all replication and removes the domain controllers from the specified Region. You
1954
- * cannot remove the primary Region with this operation. Instead, use the
1955
- * <code>DeleteDirectory</code> API.</p>
1956
- */
1957
- public removeRegion(
1958
- args: RemoveRegionCommandInput,
1959
- options?: __HttpHandlerOptions
1960
- ): Promise<RemoveRegionCommandOutput>;
1961
- public removeRegion(args: RemoveRegionCommandInput, cb: (err: any, data?: RemoveRegionCommandOutput) => void): void;
1962
- public removeRegion(
1963
- args: RemoveRegionCommandInput,
1964
- options: __HttpHandlerOptions,
1965
- cb: (err: any, data?: RemoveRegionCommandOutput) => void
1966
- ): void;
1967
- public removeRegion(
1968
- args: RemoveRegionCommandInput,
1969
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveRegionCommandOutput) => void),
1970
- cb?: (err: any, data?: RemoveRegionCommandOutput) => void
1971
- ): Promise<RemoveRegionCommandOutput> | void {
1972
- const command = new RemoveRegionCommand(args);
1973
- if (typeof optionsOrCb === "function") {
1974
- this.send(command, optionsOrCb);
1975
- } else if (typeof cb === "function") {
1976
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1977
- this.send(command, optionsOrCb || {}, cb);
1978
- } else {
1979
- return this.send(command, optionsOrCb);
1980
- }
1981
- }
1982
-
1983
- /**
1984
- * <p>Removes tags from a directory.</p>
1985
- */
1986
- public removeTagsFromResource(
1987
- args: RemoveTagsFromResourceCommandInput,
1988
- options?: __HttpHandlerOptions
1989
- ): Promise<RemoveTagsFromResourceCommandOutput>;
1990
- public removeTagsFromResource(
1991
- args: RemoveTagsFromResourceCommandInput,
1992
- cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
1993
- ): void;
1994
- public removeTagsFromResource(
1995
- args: RemoveTagsFromResourceCommandInput,
1996
- options: __HttpHandlerOptions,
1997
- cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
1998
- ): void;
1999
- public removeTagsFromResource(
2000
- args: RemoveTagsFromResourceCommandInput,
2001
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveTagsFromResourceCommandOutput) => void),
2002
- cb?: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void
2003
- ): Promise<RemoveTagsFromResourceCommandOutput> | void {
2004
- const command = new RemoveTagsFromResourceCommand(args);
2005
- if (typeof optionsOrCb === "function") {
2006
- this.send(command, optionsOrCb);
2007
- } else if (typeof cb === "function") {
2008
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2009
- this.send(command, optionsOrCb || {}, cb);
2010
- } else {
2011
- return this.send(command, optionsOrCb);
2012
- }
2013
- }
2014
-
2015
- /**
2016
- * <p>Resets the password for any user in your Managed Microsoft AD or Simple AD
2017
- * directory.</p>
2018
- * <p>You can reset the password for any user in your directory with the following
2019
- * exceptions:</p>
2020
- * <ul>
2021
- * <li>
2022
- * <p>For Simple AD, you cannot reset the password for any user that is a member of either
2023
- * the <b>Domain Admins</b> or <b>Enterprise
2024
- * Admins</b> group except for the administrator user.</p>
2025
- * </li>
2026
- * <li>
2027
- * <p>For Managed Microsoft AD, you can only reset the password for a user that is in an
2028
- * OU based off of the NetBIOS name that you typed when you created your directory. For
2029
- * example, you cannot reset the password for a user in the <b>Amazon Web Services
2030
- * Reserved</b> OU. For more information about the OU structure for an Managed Microsoft AD directory, see <a href="https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_getting_started_what_gets_created.html">What Gets Created</a> in the <i>Directory Service Administration
2031
- * Guide</i>.</p>
2032
- * </li>
2033
- * </ul>
2034
- */
2035
- public resetUserPassword(
2036
- args: ResetUserPasswordCommandInput,
2037
- options?: __HttpHandlerOptions
2038
- ): Promise<ResetUserPasswordCommandOutput>;
2039
- public resetUserPassword(
2040
- args: ResetUserPasswordCommandInput,
2041
- cb: (err: any, data?: ResetUserPasswordCommandOutput) => void
2042
- ): void;
2043
- public resetUserPassword(
2044
- args: ResetUserPasswordCommandInput,
2045
- options: __HttpHandlerOptions,
2046
- cb: (err: any, data?: ResetUserPasswordCommandOutput) => void
2047
- ): void;
2048
- public resetUserPassword(
2049
- args: ResetUserPasswordCommandInput,
2050
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResetUserPasswordCommandOutput) => void),
2051
- cb?: (err: any, data?: ResetUserPasswordCommandOutput) => void
2052
- ): Promise<ResetUserPasswordCommandOutput> | void {
2053
- const command = new ResetUserPasswordCommand(args);
2054
- if (typeof optionsOrCb === "function") {
2055
- this.send(command, optionsOrCb);
2056
- } else if (typeof cb === "function") {
2057
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2058
- this.send(command, optionsOrCb || {}, cb);
2059
- } else {
2060
- return this.send(command, optionsOrCb);
2061
- }
2062
- }
2063
-
2064
- /**
2065
- * <p>Restores a directory using an existing directory snapshot.</p>
2066
- * <p>When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten.</p>
2067
- * <p>This action returns as soon as the restore operation is initiated. You can monitor the
2068
- * progress of the restore operation by calling the <a>DescribeDirectories</a> operation with
2069
- * the directory identifier. When the <b>DirectoryDescription.Stage</b> value changes to
2070
- * <code>Active</code>, the restore operation is complete.</p>
2071
- */
2072
- public restoreFromSnapshot(
2073
- args: RestoreFromSnapshotCommandInput,
2074
- options?: __HttpHandlerOptions
2075
- ): Promise<RestoreFromSnapshotCommandOutput>;
2076
- public restoreFromSnapshot(
2077
- args: RestoreFromSnapshotCommandInput,
2078
- cb: (err: any, data?: RestoreFromSnapshotCommandOutput) => void
2079
- ): void;
2080
- public restoreFromSnapshot(
2081
- args: RestoreFromSnapshotCommandInput,
2082
- options: __HttpHandlerOptions,
2083
- cb: (err: any, data?: RestoreFromSnapshotCommandOutput) => void
2084
- ): void;
2085
- public restoreFromSnapshot(
2086
- args: RestoreFromSnapshotCommandInput,
2087
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RestoreFromSnapshotCommandOutput) => void),
2088
- cb?: (err: any, data?: RestoreFromSnapshotCommandOutput) => void
2089
- ): Promise<RestoreFromSnapshotCommandOutput> | void {
2090
- const command = new RestoreFromSnapshotCommand(args);
2091
- if (typeof optionsOrCb === "function") {
2092
- this.send(command, optionsOrCb);
2093
- } else if (typeof cb === "function") {
2094
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2095
- this.send(command, optionsOrCb || {}, cb);
2096
- } else {
2097
- return this.send(command, optionsOrCb);
2098
- }
2099
- }
2100
-
2101
- /**
2102
- * <p>Shares a specified directory (<code>DirectoryId</code>) in your Amazon Web Services account (directory
2103
- * owner) with another Amazon Web Services account (directory consumer). With this operation you can use your
2104
- * directory from any Amazon Web Services account and from any Amazon VPC within an Amazon Web Services Region.</p>
2105
- * <p>When you share your Managed Microsoft AD directory, Directory Service creates a
2106
- * shared directory in the directory consumer account. This shared directory contains the
2107
- * metadata to provide access to the directory within the directory owner account. The shared
2108
- * directory is visible in all VPCs in the directory consumer account.</p>
2109
- * <p>The <code>ShareMethod</code> parameter determines whether the specified directory can be
2110
- * shared between Amazon Web Services accounts inside the same Amazon Web Services organization (<code>ORGANIZATIONS</code>). It
2111
- * also determines whether you can share the directory with any other Amazon Web Services account either inside
2112
- * or outside of the organization (<code>HANDSHAKE</code>).</p>
2113
- * <p>The <code>ShareNotes</code> parameter is only used when <code>HANDSHAKE</code> is called,
2114
- * which sends a directory sharing request to the directory consumer. </p>
2115
- */
2116
- public shareDirectory(
2117
- args: ShareDirectoryCommandInput,
2118
- options?: __HttpHandlerOptions
2119
- ): Promise<ShareDirectoryCommandOutput>;
2120
- public shareDirectory(
2121
- args: ShareDirectoryCommandInput,
2122
- cb: (err: any, data?: ShareDirectoryCommandOutput) => void
2123
- ): void;
2124
- public shareDirectory(
2125
- args: ShareDirectoryCommandInput,
2126
- options: __HttpHandlerOptions,
2127
- cb: (err: any, data?: ShareDirectoryCommandOutput) => void
2128
- ): void;
2129
- public shareDirectory(
2130
- args: ShareDirectoryCommandInput,
2131
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ShareDirectoryCommandOutput) => void),
2132
- cb?: (err: any, data?: ShareDirectoryCommandOutput) => void
2133
- ): Promise<ShareDirectoryCommandOutput> | void {
2134
- const command = new ShareDirectoryCommand(args);
2135
- if (typeof optionsOrCb === "function") {
2136
- this.send(command, optionsOrCb);
2137
- } else if (typeof cb === "function") {
2138
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2139
- this.send(command, optionsOrCb || {}, cb);
2140
- } else {
2141
- return this.send(command, optionsOrCb);
2142
- }
2143
- }
2144
-
2145
- /**
2146
- * <p>Applies a schema extension to a Microsoft AD directory.</p>
2147
- */
2148
- public startSchemaExtension(
2149
- args: StartSchemaExtensionCommandInput,
2150
- options?: __HttpHandlerOptions
2151
- ): Promise<StartSchemaExtensionCommandOutput>;
2152
- public startSchemaExtension(
2153
- args: StartSchemaExtensionCommandInput,
2154
- cb: (err: any, data?: StartSchemaExtensionCommandOutput) => void
2155
- ): void;
2156
- public startSchemaExtension(
2157
- args: StartSchemaExtensionCommandInput,
2158
- options: __HttpHandlerOptions,
2159
- cb: (err: any, data?: StartSchemaExtensionCommandOutput) => void
2160
- ): void;
2161
- public startSchemaExtension(
2162
- args: StartSchemaExtensionCommandInput,
2163
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartSchemaExtensionCommandOutput) => void),
2164
- cb?: (err: any, data?: StartSchemaExtensionCommandOutput) => void
2165
- ): Promise<StartSchemaExtensionCommandOutput> | void {
2166
- const command = new StartSchemaExtensionCommand(args);
2167
- if (typeof optionsOrCb === "function") {
2168
- this.send(command, optionsOrCb);
2169
- } else if (typeof cb === "function") {
2170
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2171
- this.send(command, optionsOrCb || {}, cb);
2172
- } else {
2173
- return this.send(command, optionsOrCb);
2174
- }
2175
- }
2176
-
2177
- /**
2178
- * <p>Stops the directory sharing between the directory owner and consumer accounts. </p>
2179
- */
2180
- public unshareDirectory(
2181
- args: UnshareDirectoryCommandInput,
2182
- options?: __HttpHandlerOptions
2183
- ): Promise<UnshareDirectoryCommandOutput>;
2184
- public unshareDirectory(
2185
- args: UnshareDirectoryCommandInput,
2186
- cb: (err: any, data?: UnshareDirectoryCommandOutput) => void
2187
- ): void;
2188
- public unshareDirectory(
2189
- args: UnshareDirectoryCommandInput,
2190
- options: __HttpHandlerOptions,
2191
- cb: (err: any, data?: UnshareDirectoryCommandOutput) => void
2192
- ): void;
2193
- public unshareDirectory(
2194
- args: UnshareDirectoryCommandInput,
2195
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UnshareDirectoryCommandOutput) => void),
2196
- cb?: (err: any, data?: UnshareDirectoryCommandOutput) => void
2197
- ): Promise<UnshareDirectoryCommandOutput> | void {
2198
- const command = new UnshareDirectoryCommand(args);
2199
- if (typeof optionsOrCb === "function") {
2200
- this.send(command, optionsOrCb);
2201
- } else if (typeof cb === "function") {
2202
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2203
- this.send(command, optionsOrCb || {}, cb);
2204
- } else {
2205
- return this.send(command, optionsOrCb);
2206
- }
2207
- }
2208
-
2209
- /**
2210
- * <p>Updates a conditional forwarder that has been set up for your Amazon Web Services
2211
- * directory.</p>
2212
- */
2213
- public updateConditionalForwarder(
2214
- args: UpdateConditionalForwarderCommandInput,
2215
- options?: __HttpHandlerOptions
2216
- ): Promise<UpdateConditionalForwarderCommandOutput>;
2217
- public updateConditionalForwarder(
2218
- args: UpdateConditionalForwarderCommandInput,
2219
- cb: (err: any, data?: UpdateConditionalForwarderCommandOutput) => void
2220
- ): void;
2221
- public updateConditionalForwarder(
2222
- args: UpdateConditionalForwarderCommandInput,
2223
- options: __HttpHandlerOptions,
2224
- cb: (err: any, data?: UpdateConditionalForwarderCommandOutput) => void
2225
- ): void;
2226
- public updateConditionalForwarder(
2227
- args: UpdateConditionalForwarderCommandInput,
2228
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateConditionalForwarderCommandOutput) => void),
2229
- cb?: (err: any, data?: UpdateConditionalForwarderCommandOutput) => void
2230
- ): Promise<UpdateConditionalForwarderCommandOutput> | void {
2231
- const command = new UpdateConditionalForwarderCommand(args);
2232
- if (typeof optionsOrCb === "function") {
2233
- this.send(command, optionsOrCb);
2234
- } else if (typeof cb === "function") {
2235
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2236
- this.send(command, optionsOrCb || {}, cb);
2237
- } else {
2238
- return this.send(command, optionsOrCb);
2239
- }
2240
- }
2241
-
2242
- /**
2243
- * <p>Adds or removes domain controllers to or from the directory. Based on the difference
2244
- * between current value and new value (provided through this API call), domain controllers will
2245
- * be added or removed. It may take up to 45 minutes for any new domain controllers to become
2246
- * fully active once the requested number of domain controllers is updated. During this time, you
2247
- * cannot make another update request.</p>
2248
- */
2249
- public updateNumberOfDomainControllers(
2250
- args: UpdateNumberOfDomainControllersCommandInput,
2251
- options?: __HttpHandlerOptions
2252
- ): Promise<UpdateNumberOfDomainControllersCommandOutput>;
2253
- public updateNumberOfDomainControllers(
2254
- args: UpdateNumberOfDomainControllersCommandInput,
2255
- cb: (err: any, data?: UpdateNumberOfDomainControllersCommandOutput) => void
2256
- ): void;
2257
- public updateNumberOfDomainControllers(
2258
- args: UpdateNumberOfDomainControllersCommandInput,
2259
- options: __HttpHandlerOptions,
2260
- cb: (err: any, data?: UpdateNumberOfDomainControllersCommandOutput) => void
2261
- ): void;
2262
- public updateNumberOfDomainControllers(
2263
- args: UpdateNumberOfDomainControllersCommandInput,
2264
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateNumberOfDomainControllersCommandOutput) => void),
2265
- cb?: (err: any, data?: UpdateNumberOfDomainControllersCommandOutput) => void
2266
- ): Promise<UpdateNumberOfDomainControllersCommandOutput> | void {
2267
- const command = new UpdateNumberOfDomainControllersCommand(args);
2268
- if (typeof optionsOrCb === "function") {
2269
- this.send(command, optionsOrCb);
2270
- } else if (typeof cb === "function") {
2271
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2272
- this.send(command, optionsOrCb || {}, cb);
2273
- } else {
2274
- return this.send(command, optionsOrCb);
2275
- }
2276
- }
2277
-
2278
- /**
2279
- * <p>Updates the Remote Authentication Dial In User Service (RADIUS) server information
2280
- * for an AD Connector or Microsoft AD directory.</p>
2281
- */
2282
- public updateRadius(
2283
- args: UpdateRadiusCommandInput,
2284
- options?: __HttpHandlerOptions
2285
- ): Promise<UpdateRadiusCommandOutput>;
2286
- public updateRadius(args: UpdateRadiusCommandInput, cb: (err: any, data?: UpdateRadiusCommandOutput) => void): void;
2287
- public updateRadius(
2288
- args: UpdateRadiusCommandInput,
2289
- options: __HttpHandlerOptions,
2290
- cb: (err: any, data?: UpdateRadiusCommandOutput) => void
2291
- ): void;
2292
- public updateRadius(
2293
- args: UpdateRadiusCommandInput,
2294
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRadiusCommandOutput) => void),
2295
- cb?: (err: any, data?: UpdateRadiusCommandOutput) => void
2296
- ): Promise<UpdateRadiusCommandOutput> | void {
2297
- const command = new UpdateRadiusCommand(args);
2298
- if (typeof optionsOrCb === "function") {
2299
- this.send(command, optionsOrCb);
2300
- } else if (typeof cb === "function") {
2301
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2302
- this.send(command, optionsOrCb || {}, cb);
2303
- } else {
2304
- return this.send(command, optionsOrCb);
2305
- }
2306
- }
2307
-
2308
- /**
2309
- * <p>Updates the trust that has been set up between your Managed Microsoft AD directory and an
2310
- * self-managed Active Directory.</p>
2311
- */
2312
- public updateTrust(args: UpdateTrustCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTrustCommandOutput>;
2313
- public updateTrust(args: UpdateTrustCommandInput, cb: (err: any, data?: UpdateTrustCommandOutput) => void): void;
2314
- public updateTrust(
2315
- args: UpdateTrustCommandInput,
2316
- options: __HttpHandlerOptions,
2317
- cb: (err: any, data?: UpdateTrustCommandOutput) => void
2318
- ): void;
2319
- public updateTrust(
2320
- args: UpdateTrustCommandInput,
2321
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateTrustCommandOutput) => void),
2322
- cb?: (err: any, data?: UpdateTrustCommandOutput) => void
2323
- ): Promise<UpdateTrustCommandOutput> | void {
2324
- const command = new UpdateTrustCommand(args);
2325
- if (typeof optionsOrCb === "function") {
2326
- this.send(command, optionsOrCb);
2327
- } else if (typeof cb === "function") {
2328
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2329
- this.send(command, optionsOrCb || {}, cb);
2330
- } else {
2331
- return this.send(command, optionsOrCb);
2332
- }
2333
- }
2334
-
2335
- /**
2336
- * <p>Directory Service for Microsoft Active Directory allows you to configure and verify trust
2337
- * relationships.</p>
2338
- * <p>This action verifies a trust relationship between your Managed Microsoft AD directory and an
2339
- * external domain.</p>
2340
- */
2341
- public verifyTrust(args: VerifyTrustCommandInput, options?: __HttpHandlerOptions): Promise<VerifyTrustCommandOutput>;
2342
- public verifyTrust(args: VerifyTrustCommandInput, cb: (err: any, data?: VerifyTrustCommandOutput) => void): void;
2343
- public verifyTrust(
2344
- args: VerifyTrustCommandInput,
2345
- options: __HttpHandlerOptions,
2346
- cb: (err: any, data?: VerifyTrustCommandOutput) => void
2347
- ): void;
2348
- public verifyTrust(
2349
- args: VerifyTrustCommandInput,
2350
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: VerifyTrustCommandOutput) => void),
2351
- cb?: (err: any, data?: VerifyTrustCommandOutput) => void
2352
- ): Promise<VerifyTrustCommandOutput> | void {
2353
- const command = new VerifyTrustCommand(args);
2354
- if (typeof optionsOrCb === "function") {
2355
- this.send(command, optionsOrCb);
2356
- } else if (typeof cb === "function") {
2357
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2358
- this.send(command, optionsOrCb || {}, cb);
2359
- } else {
2360
- return this.send(command, optionsOrCb);
2361
- }
2362
- }
2363
- }