@aws-sdk/client-workspaces 3.34.0 → 3.35.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 (947) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist-cjs/WorkSpaces.js +823 -0
  3. package/dist-cjs/WorkSpaces.js.map +1 -0
  4. package/dist-cjs/WorkSpacesClient.js +46 -0
  5. package/dist-cjs/WorkSpacesClient.js.map +1 -0
  6. package/dist-cjs/commands/AssociateConnectionAliasCommand.js +68 -0
  7. package/dist-cjs/commands/AssociateConnectionAliasCommand.js.map +1 -0
  8. package/dist-cjs/commands/AssociateIpGroupsCommand.js +61 -0
  9. package/dist-cjs/commands/AssociateIpGroupsCommand.js.map +1 -0
  10. package/dist-cjs/commands/AuthorizeIpRulesCommand.js +63 -0
  11. package/dist-cjs/commands/AuthorizeIpRulesCommand.js.map +1 -0
  12. package/dist-cjs/commands/CopyWorkspaceImageCommand.js +74 -0
  13. package/dist-cjs/commands/CopyWorkspaceImageCommand.js.map +1 -0
  14. package/dist-cjs/commands/CreateConnectionAliasCommand.js +63 -0
  15. package/dist-cjs/commands/CreateConnectionAliasCommand.js.map +1 -0
  16. package/dist-cjs/commands/CreateIpGroupCommand.js +70 -0
  17. package/dist-cjs/commands/CreateIpGroupCommand.js.map +1 -0
  18. package/dist-cjs/commands/CreateTagsCommand.js +61 -0
  19. package/dist-cjs/commands/CreateTagsCommand.js.map +1 -0
  20. package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js +84 -0
  21. package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js.map +1 -0
  22. package/dist-cjs/commands/CreateWorkspaceBundleCommand.js +63 -0
  23. package/dist-cjs/commands/CreateWorkspaceBundleCommand.js.map +1 -0
  24. package/dist-cjs/commands/CreateWorkspacesCommand.js +62 -0
  25. package/dist-cjs/commands/CreateWorkspacesCommand.js.map +1 -0
  26. package/dist-cjs/commands/DeleteConnectionAliasCommand.js +78 -0
  27. package/dist-cjs/commands/DeleteConnectionAliasCommand.js.map +1 -0
  28. package/dist-cjs/commands/DeleteIpGroupCommand.js +62 -0
  29. package/dist-cjs/commands/DeleteIpGroupCommand.js.map +1 -0
  30. package/dist-cjs/commands/DeleteTagsCommand.js +61 -0
  31. package/dist-cjs/commands/DeleteTagsCommand.js.map +1 -0
  32. package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js +63 -0
  33. package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js.map +1 -0
  34. package/dist-cjs/commands/DeleteWorkspaceImageCommand.js +63 -0
  35. package/dist-cjs/commands/DeleteWorkspaceImageCommand.js.map +1 -0
  36. package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js +77 -0
  37. package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js.map +1 -0
  38. package/dist-cjs/commands/DescribeAccountCommand.js +62 -0
  39. package/dist-cjs/commands/DescribeAccountCommand.js.map +1 -0
  40. package/dist-cjs/commands/DescribeAccountModificationsCommand.js +62 -0
  41. package/dist-cjs/commands/DescribeAccountModificationsCommand.js.map +1 -0
  42. package/dist-cjs/commands/DescribeClientPropertiesCommand.js +61 -0
  43. package/dist-cjs/commands/DescribeClientPropertiesCommand.js.map +1 -0
  44. package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js +63 -0
  45. package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js.map +1 -0
  46. package/dist-cjs/commands/DescribeConnectionAliasesCommand.js +63 -0
  47. package/dist-cjs/commands/DescribeConnectionAliasesCommand.js.map +1 -0
  48. package/dist-cjs/commands/DescribeIpGroupsCommand.js +61 -0
  49. package/dist-cjs/commands/DescribeIpGroupsCommand.js.map +1 -0
  50. package/dist-cjs/commands/DescribeTagsCommand.js +61 -0
  51. package/dist-cjs/commands/DescribeTagsCommand.js.map +1 -0
  52. package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js +62 -0
  53. package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js.map +1 -0
  54. package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js +62 -0
  55. package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js.map +1 -0
  56. package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +62 -0
  57. package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js.map +1 -0
  58. package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js +62 -0
  59. package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js.map +1 -0
  60. package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js +61 -0
  61. package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js.map +1 -0
  62. package/dist-cjs/commands/DescribeWorkspacesCommand.js +63 -0
  63. package/dist-cjs/commands/DescribeWorkspacesCommand.js.map +1 -0
  64. package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +61 -0
  65. package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js.map +1 -0
  66. package/dist-cjs/commands/DisassociateConnectionAliasCommand.js +69 -0
  67. package/dist-cjs/commands/DisassociateConnectionAliasCommand.js.map +1 -0
  68. package/dist-cjs/commands/DisassociateIpGroupsCommand.js +61 -0
  69. package/dist-cjs/commands/DisassociateIpGroupsCommand.js.map +1 -0
  70. package/dist-cjs/commands/ImportWorkspaceImageCommand.js +65 -0
  71. package/dist-cjs/commands/ImportWorkspaceImageCommand.js.map +1 -0
  72. package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js +69 -0
  73. package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js.map +1 -0
  74. package/dist-cjs/commands/MigrateWorkspaceCommand.js +69 -0
  75. package/dist-cjs/commands/MigrateWorkspaceCommand.js.map +1 -0
  76. package/dist-cjs/commands/ModifyAccountCommand.js +62 -0
  77. package/dist-cjs/commands/ModifyAccountCommand.js.map +1 -0
  78. package/dist-cjs/commands/ModifyClientPropertiesCommand.js +61 -0
  79. package/dist-cjs/commands/ModifyClientPropertiesCommand.js.map +1 -0
  80. package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js +62 -0
  81. package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js.map +1 -0
  82. package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +63 -0
  83. package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +1 -0
  84. package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +61 -0
  85. package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +1 -0
  86. package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js +65 -0
  87. package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js.map +1 -0
  88. package/dist-cjs/commands/ModifyWorkspaceStateCommand.js +66 -0
  89. package/dist-cjs/commands/ModifyWorkspaceStateCommand.js.map +1 -0
  90. package/dist-cjs/commands/RebootWorkspacesCommand.js +64 -0
  91. package/dist-cjs/commands/RebootWorkspacesCommand.js.map +1 -0
  92. package/dist-cjs/commands/RebuildWorkspacesCommand.js +68 -0
  93. package/dist-cjs/commands/RebuildWorkspacesCommand.js.map +1 -0
  94. package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js +65 -0
  95. package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js.map +1 -0
  96. package/dist-cjs/commands/RestoreWorkspaceCommand.js +68 -0
  97. package/dist-cjs/commands/RestoreWorkspaceCommand.js.map +1 -0
  98. package/dist-cjs/commands/RevokeIpRulesCommand.js +61 -0
  99. package/dist-cjs/commands/RevokeIpRulesCommand.js.map +1 -0
  100. package/dist-cjs/commands/StartWorkspacesCommand.js +63 -0
  101. package/dist-cjs/commands/StartWorkspacesCommand.js.map +1 -0
  102. package/dist-cjs/commands/StopWorkspacesCommand.js +64 -0
  103. package/dist-cjs/commands/StopWorkspacesCommand.js.map +1 -0
  104. package/dist-cjs/commands/TerminateWorkspacesCommand.js +90 -0
  105. package/dist-cjs/commands/TerminateWorkspacesCommand.js.map +1 -0
  106. package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js +80 -0
  107. package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js.map +1 -0
  108. package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js +62 -0
  109. package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js.map +1 -0
  110. package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js +69 -0
  111. package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js.map +1 -0
  112. package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js +86 -0
  113. package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js.map +1 -0
  114. package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
  115. package/dist-cjs/endpoints.js.map +1 -0
  116. package/dist-cjs/index.js +65 -0
  117. package/dist-cjs/index.js.map +1 -0
  118. package/{dist/cjs → dist-cjs}/models/index.js +0 -0
  119. package/dist-cjs/models/index.js.map +1 -0
  120. package/dist-cjs/models/models_0.js +1567 -0
  121. package/dist-cjs/models/models_0.js.map +1 -0
  122. package/dist-cjs/pagination/DescribeWorkspaceBundlesPaginator.js +45 -0
  123. package/dist-cjs/pagination/DescribeWorkspaceBundlesPaginator.js.map +1 -0
  124. package/dist-cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js +45 -0
  125. package/dist-cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +1 -0
  126. package/dist-cjs/pagination/DescribeWorkspacesPaginator.js +46 -0
  127. package/dist-cjs/pagination/DescribeWorkspacesPaginator.js.map +1 -0
  128. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  129. package/dist-cjs/pagination/Interfaces.js.map +1 -0
  130. package/dist-cjs/protocols/Aws_json1_1.js +6067 -0
  131. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  132. package/dist-cjs/runtimeConfig.browser.js +42 -0
  133. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  134. package/dist-cjs/runtimeConfig.js +47 -0
  135. package/dist-cjs/runtimeConfig.js.map +1 -0
  136. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
  137. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  138. package/dist-cjs/runtimeConfig.shared.js +21 -0
  139. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  140. package/dist-es/WorkSpaces.js +821 -0
  141. package/dist-es/WorkSpaces.js.map +1 -0
  142. package/dist-es/WorkSpacesClient.js +38 -0
  143. package/dist-es/WorkSpacesClient.js.map +1 -0
  144. package/dist-es/commands/AssociateConnectionAliasCommand.js +40 -0
  145. package/dist-es/commands/AssociateConnectionAliasCommand.js.map +1 -0
  146. package/dist-es/commands/AssociateIpGroupsCommand.js +40 -0
  147. package/dist-es/commands/AssociateIpGroupsCommand.js.map +1 -0
  148. package/dist-es/commands/AuthorizeIpRulesCommand.js +40 -0
  149. package/dist-es/commands/AuthorizeIpRulesCommand.js.map +1 -0
  150. package/dist-es/commands/CopyWorkspaceImageCommand.js +40 -0
  151. package/dist-es/commands/CopyWorkspaceImageCommand.js.map +1 -0
  152. package/dist-es/commands/CreateConnectionAliasCommand.js +40 -0
  153. package/dist-es/commands/CreateConnectionAliasCommand.js.map +1 -0
  154. package/dist-es/commands/CreateIpGroupCommand.js +40 -0
  155. package/dist-es/commands/CreateIpGroupCommand.js.map +1 -0
  156. package/dist-es/commands/CreateTagsCommand.js +40 -0
  157. package/dist-es/commands/CreateTagsCommand.js.map +1 -0
  158. package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +40 -0
  159. package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js.map +1 -0
  160. package/dist-es/commands/CreateWorkspaceBundleCommand.js +40 -0
  161. package/dist-es/commands/CreateWorkspaceBundleCommand.js.map +1 -0
  162. package/dist-es/commands/CreateWorkspacesCommand.js +40 -0
  163. package/dist-es/commands/CreateWorkspacesCommand.js.map +1 -0
  164. package/dist-es/commands/DeleteConnectionAliasCommand.js +40 -0
  165. package/dist-es/commands/DeleteConnectionAliasCommand.js.map +1 -0
  166. package/dist-es/commands/DeleteIpGroupCommand.js +40 -0
  167. package/dist-es/commands/DeleteIpGroupCommand.js.map +1 -0
  168. package/dist-es/commands/DeleteTagsCommand.js +40 -0
  169. package/dist-es/commands/DeleteTagsCommand.js.map +1 -0
  170. package/dist-es/commands/DeleteWorkspaceBundleCommand.js +40 -0
  171. package/dist-es/commands/DeleteWorkspaceBundleCommand.js.map +1 -0
  172. package/dist-es/commands/DeleteWorkspaceImageCommand.js +40 -0
  173. package/dist-es/commands/DeleteWorkspaceImageCommand.js.map +1 -0
  174. package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +40 -0
  175. package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js.map +1 -0
  176. package/dist-es/commands/DescribeAccountCommand.js +40 -0
  177. package/dist-es/commands/DescribeAccountCommand.js.map +1 -0
  178. package/dist-es/commands/DescribeAccountModificationsCommand.js +40 -0
  179. package/dist-es/commands/DescribeAccountModificationsCommand.js.map +1 -0
  180. package/dist-es/commands/DescribeClientPropertiesCommand.js +40 -0
  181. package/dist-es/commands/DescribeClientPropertiesCommand.js.map +1 -0
  182. package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +40 -0
  183. package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js.map +1 -0
  184. package/dist-es/commands/DescribeConnectionAliasesCommand.js +40 -0
  185. package/dist-es/commands/DescribeConnectionAliasesCommand.js.map +1 -0
  186. package/dist-es/commands/DescribeIpGroupsCommand.js +40 -0
  187. package/dist-es/commands/DescribeIpGroupsCommand.js.map +1 -0
  188. package/dist-es/commands/DescribeTagsCommand.js +40 -0
  189. package/dist-es/commands/DescribeTagsCommand.js.map +1 -0
  190. package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +40 -0
  191. package/dist-es/commands/DescribeWorkspaceBundlesCommand.js.map +1 -0
  192. package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +40 -0
  193. package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js.map +1 -0
  194. package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +40 -0
  195. package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js.map +1 -0
  196. package/dist-es/commands/DescribeWorkspaceImagesCommand.js +40 -0
  197. package/dist-es/commands/DescribeWorkspaceImagesCommand.js.map +1 -0
  198. package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +40 -0
  199. package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js.map +1 -0
  200. package/dist-es/commands/DescribeWorkspacesCommand.js +40 -0
  201. package/dist-es/commands/DescribeWorkspacesCommand.js.map +1 -0
  202. package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +40 -0
  203. package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js.map +1 -0
  204. package/dist-es/commands/DisassociateConnectionAliasCommand.js +40 -0
  205. package/dist-es/commands/DisassociateConnectionAliasCommand.js.map +1 -0
  206. package/dist-es/commands/DisassociateIpGroupsCommand.js +40 -0
  207. package/dist-es/commands/DisassociateIpGroupsCommand.js.map +1 -0
  208. package/dist-es/commands/ImportWorkspaceImageCommand.js +40 -0
  209. package/dist-es/commands/ImportWorkspaceImageCommand.js.map +1 -0
  210. package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +40 -0
  211. package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js.map +1 -0
  212. package/dist-es/commands/MigrateWorkspaceCommand.js +40 -0
  213. package/dist-es/commands/MigrateWorkspaceCommand.js.map +1 -0
  214. package/dist-es/commands/ModifyAccountCommand.js +40 -0
  215. package/dist-es/commands/ModifyAccountCommand.js.map +1 -0
  216. package/dist-es/commands/ModifyClientPropertiesCommand.js +40 -0
  217. package/dist-es/commands/ModifyClientPropertiesCommand.js.map +1 -0
  218. package/dist-es/commands/ModifySelfservicePermissionsCommand.js +40 -0
  219. package/dist-es/commands/ModifySelfservicePermissionsCommand.js.map +1 -0
  220. package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +40 -0
  221. package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +1 -0
  222. package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +40 -0
  223. package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +1 -0
  224. package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +40 -0
  225. package/dist-es/commands/ModifyWorkspacePropertiesCommand.js.map +1 -0
  226. package/dist-es/commands/ModifyWorkspaceStateCommand.js +40 -0
  227. package/dist-es/commands/ModifyWorkspaceStateCommand.js.map +1 -0
  228. package/dist-es/commands/RebootWorkspacesCommand.js +40 -0
  229. package/dist-es/commands/RebootWorkspacesCommand.js.map +1 -0
  230. package/dist-es/commands/RebuildWorkspacesCommand.js +40 -0
  231. package/dist-es/commands/RebuildWorkspacesCommand.js.map +1 -0
  232. package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +40 -0
  233. package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js.map +1 -0
  234. package/dist-es/commands/RestoreWorkspaceCommand.js +40 -0
  235. package/dist-es/commands/RestoreWorkspaceCommand.js.map +1 -0
  236. package/dist-es/commands/RevokeIpRulesCommand.js +40 -0
  237. package/dist-es/commands/RevokeIpRulesCommand.js.map +1 -0
  238. package/dist-es/commands/StartWorkspacesCommand.js +40 -0
  239. package/dist-es/commands/StartWorkspacesCommand.js.map +1 -0
  240. package/dist-es/commands/StopWorkspacesCommand.js +40 -0
  241. package/dist-es/commands/StopWorkspacesCommand.js.map +1 -0
  242. package/dist-es/commands/TerminateWorkspacesCommand.js +40 -0
  243. package/dist-es/commands/TerminateWorkspacesCommand.js.map +1 -0
  244. package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +40 -0
  245. package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js.map +1 -0
  246. package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +40 -0
  247. package/dist-es/commands/UpdateRulesOfIpGroupCommand.js.map +1 -0
  248. package/dist-es/commands/UpdateWorkspaceBundleCommand.js +40 -0
  249. package/dist-es/commands/UpdateWorkspaceBundleCommand.js.map +1 -0
  250. package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +40 -0
  251. package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js.map +1 -0
  252. package/{dist/es → dist-es}/endpoints.js +0 -0
  253. package/dist-es/endpoints.js.map +1 -0
  254. package/dist-es/index.js +62 -0
  255. package/dist-es/index.js.map +1 -0
  256. package/{dist/es → dist-es}/models/index.js +0 -0
  257. package/dist-es/models/index.js.map +1 -0
  258. package/dist-es/models/models_0.js +777 -0
  259. package/dist-es/models/models_0.js.map +1 -0
  260. package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js +74 -0
  261. package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js.map +1 -0
  262. package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js +74 -0
  263. package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +1 -0
  264. package/dist-es/pagination/DescribeWorkspacesPaginator.js +75 -0
  265. package/dist-es/pagination/DescribeWorkspacesPaginator.js.map +1 -0
  266. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  267. package/dist-es/pagination/Interfaces.js.map +1 -0
  268. package/dist-es/protocols/Aws_json1_1.js +6321 -0
  269. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  270. package/dist-es/runtimeConfig.browser.js +17 -0
  271. package/dist-es/runtimeConfig.browser.js.map +1 -0
  272. package/dist-es/runtimeConfig.js +22 -0
  273. package/dist-es/runtimeConfig.js.map +1 -0
  274. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
  275. package/dist-es/runtimeConfig.native.js.map +1 -0
  276. package/dist-es/runtimeConfig.shared.js +14 -0
  277. package/dist-es/runtimeConfig.shared.js.map +1 -0
  278. package/dist-types/WorkSpaces.d.ts +645 -0
  279. package/dist-types/WorkSpacesClient.d.ts +188 -0
  280. package/dist-types/commands/AssociateConnectionAliasCommand.d.ts +42 -0
  281. package/dist-types/commands/AssociateIpGroupsCommand.d.ts +35 -0
  282. package/dist-types/commands/AuthorizeIpRulesCommand.d.ts +37 -0
  283. package/dist-types/commands/CopyWorkspaceImageCommand.d.ts +48 -0
  284. package/dist-types/commands/CreateConnectionAliasCommand.d.ts +37 -0
  285. package/dist-types/commands/CreateIpGroupCommand.d.ts +44 -0
  286. package/dist-types/commands/CreateTagsCommand.d.ts +35 -0
  287. package/dist-types/commands/CreateUpdatedWorkspaceImageCommand.d.ts +58 -0
  288. package/dist-types/commands/CreateWorkspaceBundleCommand.d.ts +37 -0
  289. package/dist-types/commands/CreateWorkspacesCommand.d.ts +36 -0
  290. package/dist-types/commands/DeleteConnectionAliasCommand.d.ts +52 -0
  291. package/dist-types/commands/DeleteIpGroupCommand.d.ts +36 -0
  292. package/dist-types/commands/DeleteTagsCommand.d.ts +35 -0
  293. package/dist-types/commands/DeleteWorkspaceBundleCommand.d.ts +37 -0
  294. package/dist-types/commands/DeleteWorkspaceImageCommand.d.ts +37 -0
  295. package/dist-types/commands/DeregisterWorkspaceDirectoryCommand.d.ts +51 -0
  296. package/dist-types/commands/DescribeAccountCommand.d.ts +36 -0
  297. package/dist-types/commands/DescribeAccountModificationsCommand.d.ts +36 -0
  298. package/dist-types/commands/DescribeClientPropertiesCommand.d.ts +35 -0
  299. package/dist-types/commands/DescribeConnectionAliasPermissionsCommand.d.ts +37 -0
  300. package/dist-types/commands/DescribeConnectionAliasesCommand.d.ts +37 -0
  301. package/dist-types/commands/DescribeIpGroupsCommand.d.ts +35 -0
  302. package/dist-types/commands/DescribeTagsCommand.d.ts +35 -0
  303. package/dist-types/commands/DescribeWorkspaceBundlesCommand.d.ts +36 -0
  304. package/dist-types/commands/DescribeWorkspaceDirectoriesCommand.d.ts +36 -0
  305. package/dist-types/commands/DescribeWorkspaceImagePermissionsCommand.d.ts +36 -0
  306. package/dist-types/commands/DescribeWorkspaceImagesCommand.d.ts +36 -0
  307. package/dist-types/commands/DescribeWorkspaceSnapshotsCommand.d.ts +35 -0
  308. package/dist-types/commands/DescribeWorkspacesCommand.d.ts +37 -0
  309. package/dist-types/commands/DescribeWorkspacesConnectionStatusCommand.d.ts +35 -0
  310. package/dist-types/commands/DisassociateConnectionAliasCommand.d.ts +43 -0
  311. package/dist-types/commands/DisassociateIpGroupsCommand.d.ts +35 -0
  312. package/dist-types/commands/ImportWorkspaceImageCommand.d.ts +39 -0
  313. package/dist-types/commands/ListAvailableManagementCidrRangesCommand.d.ts +43 -0
  314. package/dist-types/commands/MigrateWorkspaceCommand.d.ts +43 -0
  315. package/dist-types/commands/ModifyAccountCommand.d.ts +36 -0
  316. package/dist-types/commands/ModifyClientPropertiesCommand.d.ts +35 -0
  317. package/dist-types/commands/ModifySelfservicePermissionsCommand.d.ts +36 -0
  318. package/dist-types/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +37 -0
  319. package/dist-types/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +35 -0
  320. package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +39 -0
  321. package/dist-types/commands/ModifyWorkspaceStateCommand.d.ts +40 -0
  322. package/dist-types/commands/RebootWorkspacesCommand.d.ts +38 -0
  323. package/dist-types/commands/RebuildWorkspacesCommand.d.ts +42 -0
  324. package/dist-types/commands/RegisterWorkspaceDirectoryCommand.d.ts +39 -0
  325. package/dist-types/commands/RestoreWorkspaceCommand.d.ts +42 -0
  326. package/dist-types/commands/RevokeIpRulesCommand.d.ts +35 -0
  327. package/dist-types/commands/StartWorkspacesCommand.d.ts +37 -0
  328. package/dist-types/commands/StopWorkspacesCommand.d.ts +38 -0
  329. package/dist-types/commands/TerminateWorkspacesCommand.d.ts +64 -0
  330. package/dist-types/commands/UpdateConnectionAliasPermissionCommand.d.ts +54 -0
  331. package/dist-types/commands/UpdateRulesOfIpGroupCommand.d.ts +36 -0
  332. package/dist-types/commands/UpdateWorkspaceBundleCommand.d.ts +43 -0
  333. package/dist-types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +60 -0
  334. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  335. package/dist-types/index.d.ts +61 -0
  336. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  337. package/dist-types/models/models_0.d.ts +3053 -0
  338. package/dist-types/pagination/DescribeWorkspaceBundlesPaginator.d.ts +4 -0
  339. package/dist-types/pagination/DescribeWorkspaceDirectoriesPaginator.d.ts +4 -0
  340. package/dist-types/pagination/DescribeWorkspacesPaginator.d.ts +4 -0
  341. package/dist-types/pagination/Interfaces.d.ts +6 -0
  342. package/dist-types/protocols/Aws_json1_1.d.ts +164 -0
  343. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  344. package/dist-types/runtimeConfig.d.ts +37 -0
  345. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  346. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  347. package/dist-types/ts3.4/WorkSpaces.d.ts +645 -0
  348. package/dist-types/ts3.4/WorkSpacesClient.d.ts +188 -0
  349. package/dist-types/ts3.4/commands/AssociateConnectionAliasCommand.d.ts +42 -0
  350. package/dist-types/ts3.4/commands/AssociateIpGroupsCommand.d.ts +35 -0
  351. package/dist-types/ts3.4/commands/AuthorizeIpRulesCommand.d.ts +37 -0
  352. package/dist-types/ts3.4/commands/CopyWorkspaceImageCommand.d.ts +48 -0
  353. package/dist-types/ts3.4/commands/CreateConnectionAliasCommand.d.ts +37 -0
  354. package/dist-types/ts3.4/commands/CreateIpGroupCommand.d.ts +44 -0
  355. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +35 -0
  356. package/dist-types/ts3.4/commands/CreateUpdatedWorkspaceImageCommand.d.ts +58 -0
  357. package/dist-types/ts3.4/commands/CreateWorkspaceBundleCommand.d.ts +37 -0
  358. package/dist-types/ts3.4/commands/CreateWorkspacesCommand.d.ts +36 -0
  359. package/dist-types/ts3.4/commands/DeleteConnectionAliasCommand.d.ts +52 -0
  360. package/dist-types/ts3.4/commands/DeleteIpGroupCommand.d.ts +36 -0
  361. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +35 -0
  362. package/dist-types/ts3.4/commands/DeleteWorkspaceBundleCommand.d.ts +37 -0
  363. package/dist-types/ts3.4/commands/DeleteWorkspaceImageCommand.d.ts +37 -0
  364. package/dist-types/ts3.4/commands/DeregisterWorkspaceDirectoryCommand.d.ts +51 -0
  365. package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +36 -0
  366. package/dist-types/ts3.4/commands/DescribeAccountModificationsCommand.d.ts +36 -0
  367. package/dist-types/ts3.4/commands/DescribeClientPropertiesCommand.d.ts +35 -0
  368. package/dist-types/ts3.4/commands/DescribeConnectionAliasPermissionsCommand.d.ts +37 -0
  369. package/dist-types/ts3.4/commands/DescribeConnectionAliasesCommand.d.ts +37 -0
  370. package/dist-types/ts3.4/commands/DescribeIpGroupsCommand.d.ts +35 -0
  371. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +35 -0
  372. package/dist-types/ts3.4/commands/DescribeWorkspaceBundlesCommand.d.ts +36 -0
  373. package/dist-types/ts3.4/commands/DescribeWorkspaceDirectoriesCommand.d.ts +36 -0
  374. package/dist-types/ts3.4/commands/DescribeWorkspaceImagePermissionsCommand.d.ts +36 -0
  375. package/dist-types/ts3.4/commands/DescribeWorkspaceImagesCommand.d.ts +36 -0
  376. package/dist-types/ts3.4/commands/DescribeWorkspaceSnapshotsCommand.d.ts +35 -0
  377. package/dist-types/ts3.4/commands/DescribeWorkspacesCommand.d.ts +37 -0
  378. package/dist-types/ts3.4/commands/DescribeWorkspacesConnectionStatusCommand.d.ts +35 -0
  379. package/dist-types/ts3.4/commands/DisassociateConnectionAliasCommand.d.ts +43 -0
  380. package/dist-types/ts3.4/commands/DisassociateIpGroupsCommand.d.ts +35 -0
  381. package/dist-types/ts3.4/commands/ImportWorkspaceImageCommand.d.ts +39 -0
  382. package/dist-types/ts3.4/commands/ListAvailableManagementCidrRangesCommand.d.ts +43 -0
  383. package/dist-types/ts3.4/commands/MigrateWorkspaceCommand.d.ts +43 -0
  384. package/dist-types/ts3.4/commands/ModifyAccountCommand.d.ts +36 -0
  385. package/dist-types/ts3.4/commands/ModifyClientPropertiesCommand.d.ts +35 -0
  386. package/dist-types/ts3.4/commands/ModifySelfservicePermissionsCommand.d.ts +36 -0
  387. package/dist-types/ts3.4/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +37 -0
  388. package/dist-types/ts3.4/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +35 -0
  389. package/dist-types/ts3.4/commands/ModifyWorkspacePropertiesCommand.d.ts +39 -0
  390. package/dist-types/ts3.4/commands/ModifyWorkspaceStateCommand.d.ts +40 -0
  391. package/dist-types/ts3.4/commands/RebootWorkspacesCommand.d.ts +38 -0
  392. package/dist-types/ts3.4/commands/RebuildWorkspacesCommand.d.ts +42 -0
  393. package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +39 -0
  394. package/dist-types/ts3.4/commands/RestoreWorkspaceCommand.d.ts +42 -0
  395. package/dist-types/ts3.4/commands/RevokeIpRulesCommand.d.ts +35 -0
  396. package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +37 -0
  397. package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +38 -0
  398. package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +64 -0
  399. package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +54 -0
  400. package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +36 -0
  401. package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +43 -0
  402. package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +60 -0
  403. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  404. package/dist-types/ts3.4/index.d.ts +61 -0
  405. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  406. package/dist-types/ts3.4/models/models_0.d.ts +3053 -0
  407. package/dist-types/ts3.4/pagination/DescribeWorkspaceBundlesPaginator.d.ts +4 -0
  408. package/dist-types/ts3.4/pagination/DescribeWorkspaceDirectoriesPaginator.d.ts +4 -0
  409. package/dist-types/ts3.4/pagination/DescribeWorkspacesPaginator.d.ts +4 -0
  410. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  411. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +164 -0
  412. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
  413. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  414. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
  415. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  416. package/package.json +42 -42
  417. package/src/WorkSpaces.ts +2243 -0
  418. package/src/WorkSpacesClient.ts +502 -0
  419. package/src/commands/AssociateConnectionAliasCommand.ts +102 -0
  420. package/src/commands/AssociateIpGroupsCommand.ts +95 -0
  421. package/src/commands/AuthorizeIpRulesCommand.ts +97 -0
  422. package/src/commands/CopyWorkspaceImageCommand.ts +108 -0
  423. package/src/commands/CreateConnectionAliasCommand.ts +97 -0
  424. package/src/commands/CreateIpGroupCommand.ts +104 -0
  425. package/src/commands/CreateTagsCommand.ts +95 -0
  426. package/src/commands/CreateUpdatedWorkspaceImageCommand.ts +121 -0
  427. package/src/commands/CreateWorkspaceBundleCommand.ts +97 -0
  428. package/src/commands/CreateWorkspacesCommand.ts +96 -0
  429. package/src/commands/DeleteConnectionAliasCommand.ts +112 -0
  430. package/src/commands/DeleteIpGroupCommand.ts +96 -0
  431. package/src/commands/DeleteTagsCommand.ts +95 -0
  432. package/src/commands/DeleteWorkspaceBundleCommand.ts +97 -0
  433. package/src/commands/DeleteWorkspaceImageCommand.ts +97 -0
  434. package/src/commands/DeregisterWorkspaceDirectoryCommand.ts +116 -0
  435. package/src/commands/DescribeAccountCommand.ts +96 -0
  436. package/src/commands/DescribeAccountModificationsCommand.ts +101 -0
  437. package/src/commands/DescribeClientPropertiesCommand.ts +95 -0
  438. package/src/commands/DescribeConnectionAliasPermissionsCommand.ts +108 -0
  439. package/src/commands/DescribeConnectionAliasesCommand.ts +100 -0
  440. package/src/commands/DescribeIpGroupsCommand.ts +95 -0
  441. package/src/commands/DescribeTagsCommand.ts +95 -0
  442. package/src/commands/DescribeWorkspaceBundlesCommand.ts +96 -0
  443. package/src/commands/DescribeWorkspaceDirectoriesCommand.ts +101 -0
  444. package/src/commands/DescribeWorkspaceImagePermissionsCommand.ts +104 -0
  445. package/src/commands/DescribeWorkspaceImagesCommand.ts +96 -0
  446. package/src/commands/DescribeWorkspaceSnapshotsCommand.ts +98 -0
  447. package/src/commands/DescribeWorkspacesCommand.ts +97 -0
  448. package/src/commands/DescribeWorkspacesConnectionStatusCommand.ts +106 -0
  449. package/src/commands/DisassociateConnectionAliasCommand.ts +106 -0
  450. package/src/commands/DisassociateIpGroupsCommand.ts +95 -0
  451. package/src/commands/ImportWorkspaceImageCommand.ts +99 -0
  452. package/src/commands/ListAvailableManagementCidrRangesCommand.ts +111 -0
  453. package/src/commands/MigrateWorkspaceCommand.ts +103 -0
  454. package/src/commands/ModifyAccountCommand.ts +96 -0
  455. package/src/commands/ModifyClientPropertiesCommand.ts +95 -0
  456. package/src/commands/ModifySelfservicePermissionsCommand.ts +101 -0
  457. package/src/commands/ModifyWorkspaceAccessPropertiesCommand.ts +105 -0
  458. package/src/commands/ModifyWorkspaceCreationPropertiesCommand.ts +103 -0
  459. package/src/commands/ModifyWorkspacePropertiesCommand.ts +102 -0
  460. package/src/commands/ModifyWorkspaceStateCommand.ts +100 -0
  461. package/src/commands/RebootWorkspacesCommand.ts +98 -0
  462. package/src/commands/RebuildWorkspacesCommand.ts +102 -0
  463. package/src/commands/RegisterWorkspaceDirectoryCommand.ts +102 -0
  464. package/src/commands/RestoreWorkspaceCommand.ts +102 -0
  465. package/src/commands/RevokeIpRulesCommand.ts +95 -0
  466. package/src/commands/StartWorkspacesCommand.ts +97 -0
  467. package/src/commands/StopWorkspacesCommand.ts +98 -0
  468. package/src/commands/TerminateWorkspacesCommand.ts +124 -0
  469. package/src/commands/UpdateConnectionAliasPermissionCommand.ts +122 -0
  470. package/src/commands/UpdateRulesOfIpGroupCommand.ts +96 -0
  471. package/src/commands/UpdateWorkspaceBundleCommand.ts +103 -0
  472. package/src/commands/UpdateWorkspaceImagePermissionCommand.ts +128 -0
  473. package/src/endpoints.ts +72 -0
  474. package/src/index.ts +61 -0
  475. package/{models → src/models}/index.ts +0 -0
  476. package/src/models/models_0.ts +3876 -0
  477. package/src/pagination/DescribeWorkspaceBundlesPaginator.ts +58 -0
  478. package/src/pagination/DescribeWorkspaceDirectoriesPaginator.ts +58 -0
  479. package/src/pagination/DescribeWorkspacesPaginator.ts +59 -0
  480. package/src/pagination/Interfaces.ts +8 -0
  481. package/src/protocols/Aws_json1_1.ts +7603 -0
  482. package/src/runtimeConfig.browser.ts +41 -0
  483. package/src/runtimeConfig.native.ts +17 -0
  484. package/src/runtimeConfig.shared.ts +17 -0
  485. package/src/runtimeConfig.ts +46 -0
  486. package/tsconfig.es.json +1 -1
  487. package/tsconfig.json +4 -2
  488. package/tsconfig.types.json +3 -2
  489. package/WorkSpaces.ts +0 -2188
  490. package/WorkSpacesClient.ts +0 -495
  491. package/commands/AssociateConnectionAliasCommand.ts +0 -101
  492. package/commands/AssociateIpGroupsCommand.ts +0 -94
  493. package/commands/AuthorizeIpRulesCommand.ts +0 -96
  494. package/commands/CopyWorkspaceImageCommand.ts +0 -110
  495. package/commands/CreateConnectionAliasCommand.ts +0 -96
  496. package/commands/CreateIpGroupCommand.ts +0 -103
  497. package/commands/CreateTagsCommand.ts +0 -94
  498. package/commands/CreateWorkspaceBundleCommand.ts +0 -96
  499. package/commands/CreateWorkspacesCommand.ts +0 -95
  500. package/commands/DeleteConnectionAliasCommand.ts +0 -111
  501. package/commands/DeleteIpGroupCommand.ts +0 -95
  502. package/commands/DeleteTagsCommand.ts +0 -94
  503. package/commands/DeleteWorkspaceBundleCommand.ts +0 -96
  504. package/commands/DeleteWorkspaceImageCommand.ts +0 -96
  505. package/commands/DeregisterWorkspaceDirectoryCommand.ts +0 -115
  506. package/commands/DescribeAccountCommand.ts +0 -95
  507. package/commands/DescribeAccountModificationsCommand.ts +0 -100
  508. package/commands/DescribeClientPropertiesCommand.ts +0 -94
  509. package/commands/DescribeConnectionAliasPermissionsCommand.ts +0 -107
  510. package/commands/DescribeConnectionAliasesCommand.ts +0 -99
  511. package/commands/DescribeIpGroupsCommand.ts +0 -94
  512. package/commands/DescribeTagsCommand.ts +0 -94
  513. package/commands/DescribeWorkspaceBundlesCommand.ts +0 -95
  514. package/commands/DescribeWorkspaceDirectoriesCommand.ts +0 -100
  515. package/commands/DescribeWorkspaceImagePermissionsCommand.ts +0 -103
  516. package/commands/DescribeWorkspaceImagesCommand.ts +0 -95
  517. package/commands/DescribeWorkspaceSnapshotsCommand.ts +0 -97
  518. package/commands/DescribeWorkspacesCommand.ts +0 -96
  519. package/commands/DescribeWorkspacesConnectionStatusCommand.ts +0 -105
  520. package/commands/DisassociateConnectionAliasCommand.ts +0 -105
  521. package/commands/DisassociateIpGroupsCommand.ts +0 -94
  522. package/commands/ImportWorkspaceImageCommand.ts +0 -98
  523. package/commands/ListAvailableManagementCidrRangesCommand.ts +0 -110
  524. package/commands/MigrateWorkspaceCommand.ts +0 -102
  525. package/commands/ModifyAccountCommand.ts +0 -95
  526. package/commands/ModifyClientPropertiesCommand.ts +0 -94
  527. package/commands/ModifySelfservicePermissionsCommand.ts +0 -100
  528. package/commands/ModifyWorkspaceAccessPropertiesCommand.ts +0 -104
  529. package/commands/ModifyWorkspaceCreationPropertiesCommand.ts +0 -102
  530. package/commands/ModifyWorkspacePropertiesCommand.ts +0 -101
  531. package/commands/ModifyWorkspaceStateCommand.ts +0 -99
  532. package/commands/RebootWorkspacesCommand.ts +0 -97
  533. package/commands/RebuildWorkspacesCommand.ts +0 -101
  534. package/commands/RegisterWorkspaceDirectoryCommand.ts +0 -101
  535. package/commands/RestoreWorkspaceCommand.ts +0 -101
  536. package/commands/RevokeIpRulesCommand.ts +0 -94
  537. package/commands/StartWorkspacesCommand.ts +0 -96
  538. package/commands/StopWorkspacesCommand.ts +0 -97
  539. package/commands/TerminateWorkspacesCommand.ts +0 -123
  540. package/commands/UpdateConnectionAliasPermissionCommand.ts +0 -121
  541. package/commands/UpdateRulesOfIpGroupCommand.ts +0 -95
  542. package/commands/UpdateWorkspaceBundleCommand.ts +0 -102
  543. package/commands/UpdateWorkspaceImagePermissionCommand.ts +0 -130
  544. package/dist/cjs/WorkSpaces.js +0 -808
  545. package/dist/cjs/WorkSpaces.js.map +0 -1
  546. package/dist/cjs/WorkSpacesClient.js +0 -46
  547. package/dist/cjs/WorkSpacesClient.js.map +0 -1
  548. package/dist/cjs/commands/AssociateConnectionAliasCommand.js +0 -68
  549. package/dist/cjs/commands/AssociateConnectionAliasCommand.js.map +0 -1
  550. package/dist/cjs/commands/AssociateIpGroupsCommand.js +0 -61
  551. package/dist/cjs/commands/AssociateIpGroupsCommand.js.map +0 -1
  552. package/dist/cjs/commands/AuthorizeIpRulesCommand.js +0 -63
  553. package/dist/cjs/commands/AuthorizeIpRulesCommand.js.map +0 -1
  554. package/dist/cjs/commands/CopyWorkspaceImageCommand.js +0 -77
  555. package/dist/cjs/commands/CopyWorkspaceImageCommand.js.map +0 -1
  556. package/dist/cjs/commands/CreateConnectionAliasCommand.js +0 -63
  557. package/dist/cjs/commands/CreateConnectionAliasCommand.js.map +0 -1
  558. package/dist/cjs/commands/CreateIpGroupCommand.js +0 -70
  559. package/dist/cjs/commands/CreateIpGroupCommand.js.map +0 -1
  560. package/dist/cjs/commands/CreateTagsCommand.js +0 -61
  561. package/dist/cjs/commands/CreateTagsCommand.js.map +0 -1
  562. package/dist/cjs/commands/CreateWorkspaceBundleCommand.js +0 -63
  563. package/dist/cjs/commands/CreateWorkspaceBundleCommand.js.map +0 -1
  564. package/dist/cjs/commands/CreateWorkspacesCommand.js +0 -62
  565. package/dist/cjs/commands/CreateWorkspacesCommand.js.map +0 -1
  566. package/dist/cjs/commands/DeleteConnectionAliasCommand.js +0 -78
  567. package/dist/cjs/commands/DeleteConnectionAliasCommand.js.map +0 -1
  568. package/dist/cjs/commands/DeleteIpGroupCommand.js +0 -62
  569. package/dist/cjs/commands/DeleteIpGroupCommand.js.map +0 -1
  570. package/dist/cjs/commands/DeleteTagsCommand.js +0 -61
  571. package/dist/cjs/commands/DeleteTagsCommand.js.map +0 -1
  572. package/dist/cjs/commands/DeleteWorkspaceBundleCommand.js +0 -63
  573. package/dist/cjs/commands/DeleteWorkspaceBundleCommand.js.map +0 -1
  574. package/dist/cjs/commands/DeleteWorkspaceImageCommand.js +0 -63
  575. package/dist/cjs/commands/DeleteWorkspaceImageCommand.js.map +0 -1
  576. package/dist/cjs/commands/DeregisterWorkspaceDirectoryCommand.js +0 -77
  577. package/dist/cjs/commands/DeregisterWorkspaceDirectoryCommand.js.map +0 -1
  578. package/dist/cjs/commands/DescribeAccountCommand.js +0 -62
  579. package/dist/cjs/commands/DescribeAccountCommand.js.map +0 -1
  580. package/dist/cjs/commands/DescribeAccountModificationsCommand.js +0 -62
  581. package/dist/cjs/commands/DescribeAccountModificationsCommand.js.map +0 -1
  582. package/dist/cjs/commands/DescribeClientPropertiesCommand.js +0 -61
  583. package/dist/cjs/commands/DescribeClientPropertiesCommand.js.map +0 -1
  584. package/dist/cjs/commands/DescribeConnectionAliasPermissionsCommand.js +0 -63
  585. package/dist/cjs/commands/DescribeConnectionAliasPermissionsCommand.js.map +0 -1
  586. package/dist/cjs/commands/DescribeConnectionAliasesCommand.js +0 -63
  587. package/dist/cjs/commands/DescribeConnectionAliasesCommand.js.map +0 -1
  588. package/dist/cjs/commands/DescribeIpGroupsCommand.js +0 -61
  589. package/dist/cjs/commands/DescribeIpGroupsCommand.js.map +0 -1
  590. package/dist/cjs/commands/DescribeTagsCommand.js +0 -61
  591. package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
  592. package/dist/cjs/commands/DescribeWorkspaceBundlesCommand.js +0 -62
  593. package/dist/cjs/commands/DescribeWorkspaceBundlesCommand.js.map +0 -1
  594. package/dist/cjs/commands/DescribeWorkspaceDirectoriesCommand.js +0 -62
  595. package/dist/cjs/commands/DescribeWorkspaceDirectoriesCommand.js.map +0 -1
  596. package/dist/cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +0 -62
  597. package/dist/cjs/commands/DescribeWorkspaceImagePermissionsCommand.js.map +0 -1
  598. package/dist/cjs/commands/DescribeWorkspaceImagesCommand.js +0 -62
  599. package/dist/cjs/commands/DescribeWorkspaceImagesCommand.js.map +0 -1
  600. package/dist/cjs/commands/DescribeWorkspaceSnapshotsCommand.js +0 -61
  601. package/dist/cjs/commands/DescribeWorkspaceSnapshotsCommand.js.map +0 -1
  602. package/dist/cjs/commands/DescribeWorkspacesCommand.js +0 -63
  603. package/dist/cjs/commands/DescribeWorkspacesCommand.js.map +0 -1
  604. package/dist/cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +0 -61
  605. package/dist/cjs/commands/DescribeWorkspacesConnectionStatusCommand.js.map +0 -1
  606. package/dist/cjs/commands/DisassociateConnectionAliasCommand.js +0 -69
  607. package/dist/cjs/commands/DisassociateConnectionAliasCommand.js.map +0 -1
  608. package/dist/cjs/commands/DisassociateIpGroupsCommand.js +0 -61
  609. package/dist/cjs/commands/DisassociateIpGroupsCommand.js.map +0 -1
  610. package/dist/cjs/commands/ImportWorkspaceImageCommand.js +0 -65
  611. package/dist/cjs/commands/ImportWorkspaceImageCommand.js.map +0 -1
  612. package/dist/cjs/commands/ListAvailableManagementCidrRangesCommand.js +0 -69
  613. package/dist/cjs/commands/ListAvailableManagementCidrRangesCommand.js.map +0 -1
  614. package/dist/cjs/commands/MigrateWorkspaceCommand.js +0 -69
  615. package/dist/cjs/commands/MigrateWorkspaceCommand.js.map +0 -1
  616. package/dist/cjs/commands/ModifyAccountCommand.js +0 -62
  617. package/dist/cjs/commands/ModifyAccountCommand.js.map +0 -1
  618. package/dist/cjs/commands/ModifyClientPropertiesCommand.js +0 -61
  619. package/dist/cjs/commands/ModifyClientPropertiesCommand.js.map +0 -1
  620. package/dist/cjs/commands/ModifySelfservicePermissionsCommand.js +0 -62
  621. package/dist/cjs/commands/ModifySelfservicePermissionsCommand.js.map +0 -1
  622. package/dist/cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +0 -63
  623. package/dist/cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +0 -1
  624. package/dist/cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +0 -61
  625. package/dist/cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +0 -1
  626. package/dist/cjs/commands/ModifyWorkspacePropertiesCommand.js +0 -65
  627. package/dist/cjs/commands/ModifyWorkspacePropertiesCommand.js.map +0 -1
  628. package/dist/cjs/commands/ModifyWorkspaceStateCommand.js +0 -66
  629. package/dist/cjs/commands/ModifyWorkspaceStateCommand.js.map +0 -1
  630. package/dist/cjs/commands/RebootWorkspacesCommand.js +0 -64
  631. package/dist/cjs/commands/RebootWorkspacesCommand.js.map +0 -1
  632. package/dist/cjs/commands/RebuildWorkspacesCommand.js +0 -68
  633. package/dist/cjs/commands/RebuildWorkspacesCommand.js.map +0 -1
  634. package/dist/cjs/commands/RegisterWorkspaceDirectoryCommand.js +0 -65
  635. package/dist/cjs/commands/RegisterWorkspaceDirectoryCommand.js.map +0 -1
  636. package/dist/cjs/commands/RestoreWorkspaceCommand.js +0 -68
  637. package/dist/cjs/commands/RestoreWorkspaceCommand.js.map +0 -1
  638. package/dist/cjs/commands/RevokeIpRulesCommand.js +0 -61
  639. package/dist/cjs/commands/RevokeIpRulesCommand.js.map +0 -1
  640. package/dist/cjs/commands/StartWorkspacesCommand.js +0 -63
  641. package/dist/cjs/commands/StartWorkspacesCommand.js.map +0 -1
  642. package/dist/cjs/commands/StopWorkspacesCommand.js +0 -64
  643. package/dist/cjs/commands/StopWorkspacesCommand.js.map +0 -1
  644. package/dist/cjs/commands/TerminateWorkspacesCommand.js +0 -90
  645. package/dist/cjs/commands/TerminateWorkspacesCommand.js.map +0 -1
  646. package/dist/cjs/commands/UpdateConnectionAliasPermissionCommand.js +0 -80
  647. package/dist/cjs/commands/UpdateConnectionAliasPermissionCommand.js.map +0 -1
  648. package/dist/cjs/commands/UpdateRulesOfIpGroupCommand.js +0 -62
  649. package/dist/cjs/commands/UpdateRulesOfIpGroupCommand.js.map +0 -1
  650. package/dist/cjs/commands/UpdateWorkspaceBundleCommand.js +0 -69
  651. package/dist/cjs/commands/UpdateWorkspaceBundleCommand.js.map +0 -1
  652. package/dist/cjs/commands/UpdateWorkspaceImagePermissionCommand.js +0 -89
  653. package/dist/cjs/commands/UpdateWorkspaceImagePermissionCommand.js.map +0 -1
  654. package/dist/cjs/endpoints.js.map +0 -1
  655. package/dist/cjs/index.js +0 -64
  656. package/dist/cjs/index.js.map +0 -1
  657. package/dist/cjs/models/index.js.map +0 -1
  658. package/dist/cjs/models/models_0.js +0 -1540
  659. package/dist/cjs/models/models_0.js.map +0 -1
  660. package/dist/cjs/package.json +0 -91
  661. package/dist/cjs/pagination/DescribeWorkspaceBundlesPaginator.js +0 -45
  662. package/dist/cjs/pagination/DescribeWorkspaceBundlesPaginator.js.map +0 -1
  663. package/dist/cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js +0 -45
  664. package/dist/cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +0 -1
  665. package/dist/cjs/pagination/DescribeWorkspacesPaginator.js +0 -46
  666. package/dist/cjs/pagination/DescribeWorkspacesPaginator.js.map +0 -1
  667. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  668. package/dist/cjs/protocols/Aws_json1_1.js +0 -5940
  669. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  670. package/dist/cjs/runtimeConfig.browser.js +0 -41
  671. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  672. package/dist/cjs/runtimeConfig.js +0 -46
  673. package/dist/cjs/runtimeConfig.js.map +0 -1
  674. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  675. package/dist/cjs/runtimeConfig.shared.js +0 -21
  676. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  677. package/dist/es/WorkSpaces.js +0 -806
  678. package/dist/es/WorkSpaces.js.map +0 -1
  679. package/dist/es/WorkSpacesClient.js +0 -38
  680. package/dist/es/WorkSpacesClient.js.map +0 -1
  681. package/dist/es/commands/AssociateConnectionAliasCommand.js +0 -40
  682. package/dist/es/commands/AssociateConnectionAliasCommand.js.map +0 -1
  683. package/dist/es/commands/AssociateIpGroupsCommand.js +0 -40
  684. package/dist/es/commands/AssociateIpGroupsCommand.js.map +0 -1
  685. package/dist/es/commands/AuthorizeIpRulesCommand.js +0 -40
  686. package/dist/es/commands/AuthorizeIpRulesCommand.js.map +0 -1
  687. package/dist/es/commands/CopyWorkspaceImageCommand.js +0 -40
  688. package/dist/es/commands/CopyWorkspaceImageCommand.js.map +0 -1
  689. package/dist/es/commands/CreateConnectionAliasCommand.js +0 -40
  690. package/dist/es/commands/CreateConnectionAliasCommand.js.map +0 -1
  691. package/dist/es/commands/CreateIpGroupCommand.js +0 -40
  692. package/dist/es/commands/CreateIpGroupCommand.js.map +0 -1
  693. package/dist/es/commands/CreateTagsCommand.js +0 -40
  694. package/dist/es/commands/CreateTagsCommand.js.map +0 -1
  695. package/dist/es/commands/CreateWorkspaceBundleCommand.js +0 -40
  696. package/dist/es/commands/CreateWorkspaceBundleCommand.js.map +0 -1
  697. package/dist/es/commands/CreateWorkspacesCommand.js +0 -40
  698. package/dist/es/commands/CreateWorkspacesCommand.js.map +0 -1
  699. package/dist/es/commands/DeleteConnectionAliasCommand.js +0 -40
  700. package/dist/es/commands/DeleteConnectionAliasCommand.js.map +0 -1
  701. package/dist/es/commands/DeleteIpGroupCommand.js +0 -40
  702. package/dist/es/commands/DeleteIpGroupCommand.js.map +0 -1
  703. package/dist/es/commands/DeleteTagsCommand.js +0 -40
  704. package/dist/es/commands/DeleteTagsCommand.js.map +0 -1
  705. package/dist/es/commands/DeleteWorkspaceBundleCommand.js +0 -40
  706. package/dist/es/commands/DeleteWorkspaceBundleCommand.js.map +0 -1
  707. package/dist/es/commands/DeleteWorkspaceImageCommand.js +0 -40
  708. package/dist/es/commands/DeleteWorkspaceImageCommand.js.map +0 -1
  709. package/dist/es/commands/DeregisterWorkspaceDirectoryCommand.js +0 -40
  710. package/dist/es/commands/DeregisterWorkspaceDirectoryCommand.js.map +0 -1
  711. package/dist/es/commands/DescribeAccountCommand.js +0 -40
  712. package/dist/es/commands/DescribeAccountCommand.js.map +0 -1
  713. package/dist/es/commands/DescribeAccountModificationsCommand.js +0 -40
  714. package/dist/es/commands/DescribeAccountModificationsCommand.js.map +0 -1
  715. package/dist/es/commands/DescribeClientPropertiesCommand.js +0 -40
  716. package/dist/es/commands/DescribeClientPropertiesCommand.js.map +0 -1
  717. package/dist/es/commands/DescribeConnectionAliasPermissionsCommand.js +0 -40
  718. package/dist/es/commands/DescribeConnectionAliasPermissionsCommand.js.map +0 -1
  719. package/dist/es/commands/DescribeConnectionAliasesCommand.js +0 -40
  720. package/dist/es/commands/DescribeConnectionAliasesCommand.js.map +0 -1
  721. package/dist/es/commands/DescribeIpGroupsCommand.js +0 -40
  722. package/dist/es/commands/DescribeIpGroupsCommand.js.map +0 -1
  723. package/dist/es/commands/DescribeTagsCommand.js +0 -40
  724. package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
  725. package/dist/es/commands/DescribeWorkspaceBundlesCommand.js +0 -40
  726. package/dist/es/commands/DescribeWorkspaceBundlesCommand.js.map +0 -1
  727. package/dist/es/commands/DescribeWorkspaceDirectoriesCommand.js +0 -40
  728. package/dist/es/commands/DescribeWorkspaceDirectoriesCommand.js.map +0 -1
  729. package/dist/es/commands/DescribeWorkspaceImagePermissionsCommand.js +0 -40
  730. package/dist/es/commands/DescribeWorkspaceImagePermissionsCommand.js.map +0 -1
  731. package/dist/es/commands/DescribeWorkspaceImagesCommand.js +0 -40
  732. package/dist/es/commands/DescribeWorkspaceImagesCommand.js.map +0 -1
  733. package/dist/es/commands/DescribeWorkspaceSnapshotsCommand.js +0 -40
  734. package/dist/es/commands/DescribeWorkspaceSnapshotsCommand.js.map +0 -1
  735. package/dist/es/commands/DescribeWorkspacesCommand.js +0 -40
  736. package/dist/es/commands/DescribeWorkspacesCommand.js.map +0 -1
  737. package/dist/es/commands/DescribeWorkspacesConnectionStatusCommand.js +0 -40
  738. package/dist/es/commands/DescribeWorkspacesConnectionStatusCommand.js.map +0 -1
  739. package/dist/es/commands/DisassociateConnectionAliasCommand.js +0 -40
  740. package/dist/es/commands/DisassociateConnectionAliasCommand.js.map +0 -1
  741. package/dist/es/commands/DisassociateIpGroupsCommand.js +0 -40
  742. package/dist/es/commands/DisassociateIpGroupsCommand.js.map +0 -1
  743. package/dist/es/commands/ImportWorkspaceImageCommand.js +0 -40
  744. package/dist/es/commands/ImportWorkspaceImageCommand.js.map +0 -1
  745. package/dist/es/commands/ListAvailableManagementCidrRangesCommand.js +0 -40
  746. package/dist/es/commands/ListAvailableManagementCidrRangesCommand.js.map +0 -1
  747. package/dist/es/commands/MigrateWorkspaceCommand.js +0 -40
  748. package/dist/es/commands/MigrateWorkspaceCommand.js.map +0 -1
  749. package/dist/es/commands/ModifyAccountCommand.js +0 -40
  750. package/dist/es/commands/ModifyAccountCommand.js.map +0 -1
  751. package/dist/es/commands/ModifyClientPropertiesCommand.js +0 -40
  752. package/dist/es/commands/ModifyClientPropertiesCommand.js.map +0 -1
  753. package/dist/es/commands/ModifySelfservicePermissionsCommand.js +0 -40
  754. package/dist/es/commands/ModifySelfservicePermissionsCommand.js.map +0 -1
  755. package/dist/es/commands/ModifyWorkspaceAccessPropertiesCommand.js +0 -40
  756. package/dist/es/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +0 -1
  757. package/dist/es/commands/ModifyWorkspaceCreationPropertiesCommand.js +0 -40
  758. package/dist/es/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +0 -1
  759. package/dist/es/commands/ModifyWorkspacePropertiesCommand.js +0 -40
  760. package/dist/es/commands/ModifyWorkspacePropertiesCommand.js.map +0 -1
  761. package/dist/es/commands/ModifyWorkspaceStateCommand.js +0 -40
  762. package/dist/es/commands/ModifyWorkspaceStateCommand.js.map +0 -1
  763. package/dist/es/commands/RebootWorkspacesCommand.js +0 -40
  764. package/dist/es/commands/RebootWorkspacesCommand.js.map +0 -1
  765. package/dist/es/commands/RebuildWorkspacesCommand.js +0 -40
  766. package/dist/es/commands/RebuildWorkspacesCommand.js.map +0 -1
  767. package/dist/es/commands/RegisterWorkspaceDirectoryCommand.js +0 -40
  768. package/dist/es/commands/RegisterWorkspaceDirectoryCommand.js.map +0 -1
  769. package/dist/es/commands/RestoreWorkspaceCommand.js +0 -40
  770. package/dist/es/commands/RestoreWorkspaceCommand.js.map +0 -1
  771. package/dist/es/commands/RevokeIpRulesCommand.js +0 -40
  772. package/dist/es/commands/RevokeIpRulesCommand.js.map +0 -1
  773. package/dist/es/commands/StartWorkspacesCommand.js +0 -40
  774. package/dist/es/commands/StartWorkspacesCommand.js.map +0 -1
  775. package/dist/es/commands/StopWorkspacesCommand.js +0 -40
  776. package/dist/es/commands/StopWorkspacesCommand.js.map +0 -1
  777. package/dist/es/commands/TerminateWorkspacesCommand.js +0 -40
  778. package/dist/es/commands/TerminateWorkspacesCommand.js.map +0 -1
  779. package/dist/es/commands/UpdateConnectionAliasPermissionCommand.js +0 -40
  780. package/dist/es/commands/UpdateConnectionAliasPermissionCommand.js.map +0 -1
  781. package/dist/es/commands/UpdateRulesOfIpGroupCommand.js +0 -40
  782. package/dist/es/commands/UpdateRulesOfIpGroupCommand.js.map +0 -1
  783. package/dist/es/commands/UpdateWorkspaceBundleCommand.js +0 -40
  784. package/dist/es/commands/UpdateWorkspaceBundleCommand.js.map +0 -1
  785. package/dist/es/commands/UpdateWorkspaceImagePermissionCommand.js +0 -40
  786. package/dist/es/commands/UpdateWorkspaceImagePermissionCommand.js.map +0 -1
  787. package/dist/es/endpoints.js.map +0 -1
  788. package/dist/es/index.js +0 -61
  789. package/dist/es/index.js.map +0 -1
  790. package/dist/es/models/index.js.map +0 -1
  791. package/dist/es/models/models_0.js +0 -765
  792. package/dist/es/models/models_0.js.map +0 -1
  793. package/dist/es/package.json +0 -91
  794. package/dist/es/pagination/DescribeWorkspaceBundlesPaginator.js +0 -74
  795. package/dist/es/pagination/DescribeWorkspaceBundlesPaginator.js.map +0 -1
  796. package/dist/es/pagination/DescribeWorkspaceDirectoriesPaginator.js +0 -74
  797. package/dist/es/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +0 -1
  798. package/dist/es/pagination/DescribeWorkspacesPaginator.js +0 -75
  799. package/dist/es/pagination/DescribeWorkspacesPaginator.js.map +0 -1
  800. package/dist/es/pagination/Interfaces.js.map +0 -1
  801. package/dist/es/protocols/Aws_json1_1.js +0 -6189
  802. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  803. package/dist/es/runtimeConfig.browser.js +0 -17
  804. package/dist/es/runtimeConfig.browser.js.map +0 -1
  805. package/dist/es/runtimeConfig.js +0 -22
  806. package/dist/es/runtimeConfig.js.map +0 -1
  807. package/dist/es/runtimeConfig.native.js.map +0 -1
  808. package/dist/es/runtimeConfig.shared.js +0 -14
  809. package/dist/es/runtimeConfig.shared.js.map +0 -1
  810. package/dist/types/WorkSpaces.d.ts +0 -621
  811. package/dist/types/WorkSpacesClient.d.ts +0 -187
  812. package/dist/types/commands/AssociateConnectionAliasCommand.d.ts +0 -42
  813. package/dist/types/commands/AssociateIpGroupsCommand.d.ts +0 -35
  814. package/dist/types/commands/AuthorizeIpRulesCommand.d.ts +0 -37
  815. package/dist/types/commands/CopyWorkspaceImageCommand.d.ts +0 -51
  816. package/dist/types/commands/CreateConnectionAliasCommand.d.ts +0 -37
  817. package/dist/types/commands/CreateIpGroupCommand.d.ts +0 -44
  818. package/dist/types/commands/CreateTagsCommand.d.ts +0 -35
  819. package/dist/types/commands/CreateWorkspaceBundleCommand.d.ts +0 -37
  820. package/dist/types/commands/CreateWorkspacesCommand.d.ts +0 -36
  821. package/dist/types/commands/DeleteConnectionAliasCommand.d.ts +0 -52
  822. package/dist/types/commands/DeleteIpGroupCommand.d.ts +0 -36
  823. package/dist/types/commands/DeleteTagsCommand.d.ts +0 -35
  824. package/dist/types/commands/DeleteWorkspaceBundleCommand.d.ts +0 -37
  825. package/dist/types/commands/DeleteWorkspaceImageCommand.d.ts +0 -37
  826. package/dist/types/commands/DeregisterWorkspaceDirectoryCommand.d.ts +0 -51
  827. package/dist/types/commands/DescribeAccountCommand.d.ts +0 -36
  828. package/dist/types/commands/DescribeAccountModificationsCommand.d.ts +0 -36
  829. package/dist/types/commands/DescribeClientPropertiesCommand.d.ts +0 -35
  830. package/dist/types/commands/DescribeConnectionAliasPermissionsCommand.d.ts +0 -37
  831. package/dist/types/commands/DescribeConnectionAliasesCommand.d.ts +0 -37
  832. package/dist/types/commands/DescribeIpGroupsCommand.d.ts +0 -35
  833. package/dist/types/commands/DescribeTagsCommand.d.ts +0 -35
  834. package/dist/types/commands/DescribeWorkspaceBundlesCommand.d.ts +0 -36
  835. package/dist/types/commands/DescribeWorkspaceDirectoriesCommand.d.ts +0 -36
  836. package/dist/types/commands/DescribeWorkspaceImagePermissionsCommand.d.ts +0 -36
  837. package/dist/types/commands/DescribeWorkspaceImagesCommand.d.ts +0 -36
  838. package/dist/types/commands/DescribeWorkspaceSnapshotsCommand.d.ts +0 -35
  839. package/dist/types/commands/DescribeWorkspacesCommand.d.ts +0 -37
  840. package/dist/types/commands/DescribeWorkspacesConnectionStatusCommand.d.ts +0 -35
  841. package/dist/types/commands/DisassociateConnectionAliasCommand.d.ts +0 -43
  842. package/dist/types/commands/DisassociateIpGroupsCommand.d.ts +0 -35
  843. package/dist/types/commands/ImportWorkspaceImageCommand.d.ts +0 -39
  844. package/dist/types/commands/ListAvailableManagementCidrRangesCommand.d.ts +0 -43
  845. package/dist/types/commands/MigrateWorkspaceCommand.d.ts +0 -43
  846. package/dist/types/commands/ModifyAccountCommand.d.ts +0 -36
  847. package/dist/types/commands/ModifyClientPropertiesCommand.d.ts +0 -35
  848. package/dist/types/commands/ModifySelfservicePermissionsCommand.d.ts +0 -36
  849. package/dist/types/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +0 -37
  850. package/dist/types/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +0 -35
  851. package/dist/types/commands/ModifyWorkspacePropertiesCommand.d.ts +0 -39
  852. package/dist/types/commands/ModifyWorkspaceStateCommand.d.ts +0 -40
  853. package/dist/types/commands/RebootWorkspacesCommand.d.ts +0 -38
  854. package/dist/types/commands/RebuildWorkspacesCommand.d.ts +0 -42
  855. package/dist/types/commands/RegisterWorkspaceDirectoryCommand.d.ts +0 -39
  856. package/dist/types/commands/RestoreWorkspaceCommand.d.ts +0 -42
  857. package/dist/types/commands/RevokeIpRulesCommand.d.ts +0 -35
  858. package/dist/types/commands/StartWorkspacesCommand.d.ts +0 -37
  859. package/dist/types/commands/StopWorkspacesCommand.d.ts +0 -38
  860. package/dist/types/commands/TerminateWorkspacesCommand.d.ts +0 -64
  861. package/dist/types/commands/UpdateConnectionAliasPermissionCommand.d.ts +0 -54
  862. package/dist/types/commands/UpdateRulesOfIpGroupCommand.d.ts +0 -36
  863. package/dist/types/commands/UpdateWorkspaceBundleCommand.d.ts +0 -43
  864. package/dist/types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +0 -63
  865. package/dist/types/index.d.ts +0 -60
  866. package/dist/types/models/models_0.d.ts +0 -2989
  867. package/dist/types/pagination/DescribeWorkspaceBundlesPaginator.d.ts +0 -4
  868. package/dist/types/pagination/DescribeWorkspaceDirectoriesPaginator.d.ts +0 -4
  869. package/dist/types/pagination/DescribeWorkspacesPaginator.d.ts +0 -4
  870. package/dist/types/pagination/Interfaces.d.ts +0 -6
  871. package/dist/types/protocols/Aws_json1_1.d.ts +0 -161
  872. package/dist/types/runtimeConfig.d.ts +0 -37
  873. package/dist/types/ts3.4/WorkSpaces.d.ts +0 -621
  874. package/dist/types/ts3.4/WorkSpacesClient.d.ts +0 -187
  875. package/dist/types/ts3.4/commands/AssociateConnectionAliasCommand.d.ts +0 -42
  876. package/dist/types/ts3.4/commands/AssociateIpGroupsCommand.d.ts +0 -35
  877. package/dist/types/ts3.4/commands/AuthorizeIpRulesCommand.d.ts +0 -37
  878. package/dist/types/ts3.4/commands/CopyWorkspaceImageCommand.d.ts +0 -51
  879. package/dist/types/ts3.4/commands/CreateConnectionAliasCommand.d.ts +0 -37
  880. package/dist/types/ts3.4/commands/CreateIpGroupCommand.d.ts +0 -44
  881. package/dist/types/ts3.4/commands/CreateTagsCommand.d.ts +0 -35
  882. package/dist/types/ts3.4/commands/CreateWorkspaceBundleCommand.d.ts +0 -37
  883. package/dist/types/ts3.4/commands/CreateWorkspacesCommand.d.ts +0 -36
  884. package/dist/types/ts3.4/commands/DeleteConnectionAliasCommand.d.ts +0 -52
  885. package/dist/types/ts3.4/commands/DeleteIpGroupCommand.d.ts +0 -36
  886. package/dist/types/ts3.4/commands/DeleteTagsCommand.d.ts +0 -35
  887. package/dist/types/ts3.4/commands/DeleteWorkspaceBundleCommand.d.ts +0 -37
  888. package/dist/types/ts3.4/commands/DeleteWorkspaceImageCommand.d.ts +0 -37
  889. package/dist/types/ts3.4/commands/DeregisterWorkspaceDirectoryCommand.d.ts +0 -51
  890. package/dist/types/ts3.4/commands/DescribeAccountCommand.d.ts +0 -36
  891. package/dist/types/ts3.4/commands/DescribeAccountModificationsCommand.d.ts +0 -36
  892. package/dist/types/ts3.4/commands/DescribeClientPropertiesCommand.d.ts +0 -35
  893. package/dist/types/ts3.4/commands/DescribeConnectionAliasPermissionsCommand.d.ts +0 -37
  894. package/dist/types/ts3.4/commands/DescribeConnectionAliasesCommand.d.ts +0 -37
  895. package/dist/types/ts3.4/commands/DescribeIpGroupsCommand.d.ts +0 -35
  896. package/dist/types/ts3.4/commands/DescribeTagsCommand.d.ts +0 -35
  897. package/dist/types/ts3.4/commands/DescribeWorkspaceBundlesCommand.d.ts +0 -36
  898. package/dist/types/ts3.4/commands/DescribeWorkspaceDirectoriesCommand.d.ts +0 -36
  899. package/dist/types/ts3.4/commands/DescribeWorkspaceImagePermissionsCommand.d.ts +0 -36
  900. package/dist/types/ts3.4/commands/DescribeWorkspaceImagesCommand.d.ts +0 -36
  901. package/dist/types/ts3.4/commands/DescribeWorkspaceSnapshotsCommand.d.ts +0 -35
  902. package/dist/types/ts3.4/commands/DescribeWorkspacesCommand.d.ts +0 -37
  903. package/dist/types/ts3.4/commands/DescribeWorkspacesConnectionStatusCommand.d.ts +0 -35
  904. package/dist/types/ts3.4/commands/DisassociateConnectionAliasCommand.d.ts +0 -43
  905. package/dist/types/ts3.4/commands/DisassociateIpGroupsCommand.d.ts +0 -35
  906. package/dist/types/ts3.4/commands/ImportWorkspaceImageCommand.d.ts +0 -39
  907. package/dist/types/ts3.4/commands/ListAvailableManagementCidrRangesCommand.d.ts +0 -43
  908. package/dist/types/ts3.4/commands/MigrateWorkspaceCommand.d.ts +0 -43
  909. package/dist/types/ts3.4/commands/ModifyAccountCommand.d.ts +0 -36
  910. package/dist/types/ts3.4/commands/ModifyClientPropertiesCommand.d.ts +0 -35
  911. package/dist/types/ts3.4/commands/ModifySelfservicePermissionsCommand.d.ts +0 -36
  912. package/dist/types/ts3.4/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +0 -37
  913. package/dist/types/ts3.4/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +0 -35
  914. package/dist/types/ts3.4/commands/ModifyWorkspacePropertiesCommand.d.ts +0 -39
  915. package/dist/types/ts3.4/commands/ModifyWorkspaceStateCommand.d.ts +0 -40
  916. package/dist/types/ts3.4/commands/RebootWorkspacesCommand.d.ts +0 -38
  917. package/dist/types/ts3.4/commands/RebuildWorkspacesCommand.d.ts +0 -42
  918. package/dist/types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +0 -39
  919. package/dist/types/ts3.4/commands/RestoreWorkspaceCommand.d.ts +0 -42
  920. package/dist/types/ts3.4/commands/RevokeIpRulesCommand.d.ts +0 -35
  921. package/dist/types/ts3.4/commands/StartWorkspacesCommand.d.ts +0 -37
  922. package/dist/types/ts3.4/commands/StopWorkspacesCommand.d.ts +0 -38
  923. package/dist/types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +0 -64
  924. package/dist/types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +0 -54
  925. package/dist/types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +0 -36
  926. package/dist/types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +0 -43
  927. package/dist/types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +0 -63
  928. package/dist/types/ts3.4/index.d.ts +0 -60
  929. package/dist/types/ts3.4/models/models_0.d.ts +0 -2989
  930. package/dist/types/ts3.4/pagination/DescribeWorkspaceBundlesPaginator.d.ts +0 -4
  931. package/dist/types/ts3.4/pagination/DescribeWorkspaceDirectoriesPaginator.d.ts +0 -4
  932. package/dist/types/ts3.4/pagination/DescribeWorkspacesPaginator.d.ts +0 -4
  933. package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
  934. package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +0 -161
  935. package/dist/types/ts3.4/runtimeConfig.d.ts +0 -37
  936. package/endpoints.ts +0 -72
  937. package/index.ts +0 -60
  938. package/models/models_0.ts +0 -3795
  939. package/pagination/DescribeWorkspaceBundlesPaginator.ts +0 -57
  940. package/pagination/DescribeWorkspaceDirectoriesPaginator.ts +0 -57
  941. package/pagination/DescribeWorkspacesPaginator.ts +0 -58
  942. package/pagination/Interfaces.ts +0 -7
  943. package/protocols/Aws_json1_1.ts +0 -7448
  944. package/runtimeConfig.browser.ts +0 -40
  945. package/runtimeConfig.native.ts +0 -16
  946. package/runtimeConfig.shared.ts +0 -16
  947. package/runtimeConfig.ts +0 -45
package/WorkSpaces.ts DELETED
@@ -1,2188 +0,0 @@
1
- import { WorkSpacesClient } from "./WorkSpacesClient";
2
- import {
3
- AssociateConnectionAliasCommand,
4
- AssociateConnectionAliasCommandInput,
5
- AssociateConnectionAliasCommandOutput,
6
- } from "./commands/AssociateConnectionAliasCommand";
7
- import {
8
- AssociateIpGroupsCommand,
9
- AssociateIpGroupsCommandInput,
10
- AssociateIpGroupsCommandOutput,
11
- } from "./commands/AssociateIpGroupsCommand";
12
- import {
13
- AuthorizeIpRulesCommand,
14
- AuthorizeIpRulesCommandInput,
15
- AuthorizeIpRulesCommandOutput,
16
- } from "./commands/AuthorizeIpRulesCommand";
17
- import {
18
- CopyWorkspaceImageCommand,
19
- CopyWorkspaceImageCommandInput,
20
- CopyWorkspaceImageCommandOutput,
21
- } from "./commands/CopyWorkspaceImageCommand";
22
- import {
23
- CreateConnectionAliasCommand,
24
- CreateConnectionAliasCommandInput,
25
- CreateConnectionAliasCommandOutput,
26
- } from "./commands/CreateConnectionAliasCommand";
27
- import {
28
- CreateIpGroupCommand,
29
- CreateIpGroupCommandInput,
30
- CreateIpGroupCommandOutput,
31
- } from "./commands/CreateIpGroupCommand";
32
- import { CreateTagsCommand, CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
33
- import {
34
- CreateWorkspaceBundleCommand,
35
- CreateWorkspaceBundleCommandInput,
36
- CreateWorkspaceBundleCommandOutput,
37
- } from "./commands/CreateWorkspaceBundleCommand";
38
- import {
39
- CreateWorkspacesCommand,
40
- CreateWorkspacesCommandInput,
41
- CreateWorkspacesCommandOutput,
42
- } from "./commands/CreateWorkspacesCommand";
43
- import {
44
- DeleteConnectionAliasCommand,
45
- DeleteConnectionAliasCommandInput,
46
- DeleteConnectionAliasCommandOutput,
47
- } from "./commands/DeleteConnectionAliasCommand";
48
- import {
49
- DeleteIpGroupCommand,
50
- DeleteIpGroupCommandInput,
51
- DeleteIpGroupCommandOutput,
52
- } from "./commands/DeleteIpGroupCommand";
53
- import { DeleteTagsCommand, DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
54
- import {
55
- DeleteWorkspaceBundleCommand,
56
- DeleteWorkspaceBundleCommandInput,
57
- DeleteWorkspaceBundleCommandOutput,
58
- } from "./commands/DeleteWorkspaceBundleCommand";
59
- import {
60
- DeleteWorkspaceImageCommand,
61
- DeleteWorkspaceImageCommandInput,
62
- DeleteWorkspaceImageCommandOutput,
63
- } from "./commands/DeleteWorkspaceImageCommand";
64
- import {
65
- DeregisterWorkspaceDirectoryCommand,
66
- DeregisterWorkspaceDirectoryCommandInput,
67
- DeregisterWorkspaceDirectoryCommandOutput,
68
- } from "./commands/DeregisterWorkspaceDirectoryCommand";
69
- import {
70
- DescribeAccountCommand,
71
- DescribeAccountCommandInput,
72
- DescribeAccountCommandOutput,
73
- } from "./commands/DescribeAccountCommand";
74
- import {
75
- DescribeAccountModificationsCommand,
76
- DescribeAccountModificationsCommandInput,
77
- DescribeAccountModificationsCommandOutput,
78
- } from "./commands/DescribeAccountModificationsCommand";
79
- import {
80
- DescribeClientPropertiesCommand,
81
- DescribeClientPropertiesCommandInput,
82
- DescribeClientPropertiesCommandOutput,
83
- } from "./commands/DescribeClientPropertiesCommand";
84
- import {
85
- DescribeConnectionAliasPermissionsCommand,
86
- DescribeConnectionAliasPermissionsCommandInput,
87
- DescribeConnectionAliasPermissionsCommandOutput,
88
- } from "./commands/DescribeConnectionAliasPermissionsCommand";
89
- import {
90
- DescribeConnectionAliasesCommand,
91
- DescribeConnectionAliasesCommandInput,
92
- DescribeConnectionAliasesCommandOutput,
93
- } from "./commands/DescribeConnectionAliasesCommand";
94
- import {
95
- DescribeIpGroupsCommand,
96
- DescribeIpGroupsCommandInput,
97
- DescribeIpGroupsCommandOutput,
98
- } from "./commands/DescribeIpGroupsCommand";
99
- import {
100
- DescribeTagsCommand,
101
- DescribeTagsCommandInput,
102
- DescribeTagsCommandOutput,
103
- } from "./commands/DescribeTagsCommand";
104
- import {
105
- DescribeWorkspaceBundlesCommand,
106
- DescribeWorkspaceBundlesCommandInput,
107
- DescribeWorkspaceBundlesCommandOutput,
108
- } from "./commands/DescribeWorkspaceBundlesCommand";
109
- import {
110
- DescribeWorkspaceDirectoriesCommand,
111
- DescribeWorkspaceDirectoriesCommandInput,
112
- DescribeWorkspaceDirectoriesCommandOutput,
113
- } from "./commands/DescribeWorkspaceDirectoriesCommand";
114
- import {
115
- DescribeWorkspaceImagePermissionsCommand,
116
- DescribeWorkspaceImagePermissionsCommandInput,
117
- DescribeWorkspaceImagePermissionsCommandOutput,
118
- } from "./commands/DescribeWorkspaceImagePermissionsCommand";
119
- import {
120
- DescribeWorkspaceImagesCommand,
121
- DescribeWorkspaceImagesCommandInput,
122
- DescribeWorkspaceImagesCommandOutput,
123
- } from "./commands/DescribeWorkspaceImagesCommand";
124
- import {
125
- DescribeWorkspaceSnapshotsCommand,
126
- DescribeWorkspaceSnapshotsCommandInput,
127
- DescribeWorkspaceSnapshotsCommandOutput,
128
- } from "./commands/DescribeWorkspaceSnapshotsCommand";
129
- import {
130
- DescribeWorkspacesCommand,
131
- DescribeWorkspacesCommandInput,
132
- DescribeWorkspacesCommandOutput,
133
- } from "./commands/DescribeWorkspacesCommand";
134
- import {
135
- DescribeWorkspacesConnectionStatusCommand,
136
- DescribeWorkspacesConnectionStatusCommandInput,
137
- DescribeWorkspacesConnectionStatusCommandOutput,
138
- } from "./commands/DescribeWorkspacesConnectionStatusCommand";
139
- import {
140
- DisassociateConnectionAliasCommand,
141
- DisassociateConnectionAliasCommandInput,
142
- DisassociateConnectionAliasCommandOutput,
143
- } from "./commands/DisassociateConnectionAliasCommand";
144
- import {
145
- DisassociateIpGroupsCommand,
146
- DisassociateIpGroupsCommandInput,
147
- DisassociateIpGroupsCommandOutput,
148
- } from "./commands/DisassociateIpGroupsCommand";
149
- import {
150
- ImportWorkspaceImageCommand,
151
- ImportWorkspaceImageCommandInput,
152
- ImportWorkspaceImageCommandOutput,
153
- } from "./commands/ImportWorkspaceImageCommand";
154
- import {
155
- ListAvailableManagementCidrRangesCommand,
156
- ListAvailableManagementCidrRangesCommandInput,
157
- ListAvailableManagementCidrRangesCommandOutput,
158
- } from "./commands/ListAvailableManagementCidrRangesCommand";
159
- import {
160
- MigrateWorkspaceCommand,
161
- MigrateWorkspaceCommandInput,
162
- MigrateWorkspaceCommandOutput,
163
- } from "./commands/MigrateWorkspaceCommand";
164
- import {
165
- ModifyAccountCommand,
166
- ModifyAccountCommandInput,
167
- ModifyAccountCommandOutput,
168
- } from "./commands/ModifyAccountCommand";
169
- import {
170
- ModifyClientPropertiesCommand,
171
- ModifyClientPropertiesCommandInput,
172
- ModifyClientPropertiesCommandOutput,
173
- } from "./commands/ModifyClientPropertiesCommand";
174
- import {
175
- ModifySelfservicePermissionsCommand,
176
- ModifySelfservicePermissionsCommandInput,
177
- ModifySelfservicePermissionsCommandOutput,
178
- } from "./commands/ModifySelfservicePermissionsCommand";
179
- import {
180
- ModifyWorkspaceAccessPropertiesCommand,
181
- ModifyWorkspaceAccessPropertiesCommandInput,
182
- ModifyWorkspaceAccessPropertiesCommandOutput,
183
- } from "./commands/ModifyWorkspaceAccessPropertiesCommand";
184
- import {
185
- ModifyWorkspaceCreationPropertiesCommand,
186
- ModifyWorkspaceCreationPropertiesCommandInput,
187
- ModifyWorkspaceCreationPropertiesCommandOutput,
188
- } from "./commands/ModifyWorkspaceCreationPropertiesCommand";
189
- import {
190
- ModifyWorkspacePropertiesCommand,
191
- ModifyWorkspacePropertiesCommandInput,
192
- ModifyWorkspacePropertiesCommandOutput,
193
- } from "./commands/ModifyWorkspacePropertiesCommand";
194
- import {
195
- ModifyWorkspaceStateCommand,
196
- ModifyWorkspaceStateCommandInput,
197
- ModifyWorkspaceStateCommandOutput,
198
- } from "./commands/ModifyWorkspaceStateCommand";
199
- import {
200
- RebootWorkspacesCommand,
201
- RebootWorkspacesCommandInput,
202
- RebootWorkspacesCommandOutput,
203
- } from "./commands/RebootWorkspacesCommand";
204
- import {
205
- RebuildWorkspacesCommand,
206
- RebuildWorkspacesCommandInput,
207
- RebuildWorkspacesCommandOutput,
208
- } from "./commands/RebuildWorkspacesCommand";
209
- import {
210
- RegisterWorkspaceDirectoryCommand,
211
- RegisterWorkspaceDirectoryCommandInput,
212
- RegisterWorkspaceDirectoryCommandOutput,
213
- } from "./commands/RegisterWorkspaceDirectoryCommand";
214
- import {
215
- RestoreWorkspaceCommand,
216
- RestoreWorkspaceCommandInput,
217
- RestoreWorkspaceCommandOutput,
218
- } from "./commands/RestoreWorkspaceCommand";
219
- import {
220
- RevokeIpRulesCommand,
221
- RevokeIpRulesCommandInput,
222
- RevokeIpRulesCommandOutput,
223
- } from "./commands/RevokeIpRulesCommand";
224
- import {
225
- StartWorkspacesCommand,
226
- StartWorkspacesCommandInput,
227
- StartWorkspacesCommandOutput,
228
- } from "./commands/StartWorkspacesCommand";
229
- import {
230
- StopWorkspacesCommand,
231
- StopWorkspacesCommandInput,
232
- StopWorkspacesCommandOutput,
233
- } from "./commands/StopWorkspacesCommand";
234
- import {
235
- TerminateWorkspacesCommand,
236
- TerminateWorkspacesCommandInput,
237
- TerminateWorkspacesCommandOutput,
238
- } from "./commands/TerminateWorkspacesCommand";
239
- import {
240
- UpdateConnectionAliasPermissionCommand,
241
- UpdateConnectionAliasPermissionCommandInput,
242
- UpdateConnectionAliasPermissionCommandOutput,
243
- } from "./commands/UpdateConnectionAliasPermissionCommand";
244
- import {
245
- UpdateRulesOfIpGroupCommand,
246
- UpdateRulesOfIpGroupCommandInput,
247
- UpdateRulesOfIpGroupCommandOutput,
248
- } from "./commands/UpdateRulesOfIpGroupCommand";
249
- import {
250
- UpdateWorkspaceBundleCommand,
251
- UpdateWorkspaceBundleCommandInput,
252
- UpdateWorkspaceBundleCommandOutput,
253
- } from "./commands/UpdateWorkspaceBundleCommand";
254
- import {
255
- UpdateWorkspaceImagePermissionCommand,
256
- UpdateWorkspaceImagePermissionCommandInput,
257
- UpdateWorkspaceImagePermissionCommandOutput,
258
- } from "./commands/UpdateWorkspaceImagePermissionCommand";
259
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
260
-
261
- /**
262
- * <fullname>Amazon WorkSpaces Service</fullname>
263
- * <p>Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows and
264
- * Amazon Linux desktops for your users.</p>
265
- */
266
- export class WorkSpaces extends WorkSpacesClient {
267
- /**
268
- * <p>Associates the specified connection alias with the specified directory to enable cross-Region redirection.
269
- * For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
270
- * Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
271
- *
272
- * <note>
273
- * <p>Before performing this operation, call <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html">
274
- * DescribeConnectionAliases</a> to make sure that the current state of the connection alias is <code>CREATED</code>.</p>
275
- * </note>
276
- */
277
- public associateConnectionAlias(
278
- args: AssociateConnectionAliasCommandInput,
279
- options?: __HttpHandlerOptions
280
- ): Promise<AssociateConnectionAliasCommandOutput>;
281
- public associateConnectionAlias(
282
- args: AssociateConnectionAliasCommandInput,
283
- cb: (err: any, data?: AssociateConnectionAliasCommandOutput) => void
284
- ): void;
285
- public associateConnectionAlias(
286
- args: AssociateConnectionAliasCommandInput,
287
- options: __HttpHandlerOptions,
288
- cb: (err: any, data?: AssociateConnectionAliasCommandOutput) => void
289
- ): void;
290
- public associateConnectionAlias(
291
- args: AssociateConnectionAliasCommandInput,
292
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateConnectionAliasCommandOutput) => void),
293
- cb?: (err: any, data?: AssociateConnectionAliasCommandOutput) => void
294
- ): Promise<AssociateConnectionAliasCommandOutput> | void {
295
- const command = new AssociateConnectionAliasCommand(args);
296
- if (typeof optionsOrCb === "function") {
297
- this.send(command, optionsOrCb);
298
- } else if (typeof cb === "function") {
299
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
300
- this.send(command, optionsOrCb || {}, cb);
301
- } else {
302
- return this.send(command, optionsOrCb);
303
- }
304
- }
305
-
306
- /**
307
- * <p>Associates the specified IP access control group with the specified directory.</p>
308
- */
309
- public associateIpGroups(
310
- args: AssociateIpGroupsCommandInput,
311
- options?: __HttpHandlerOptions
312
- ): Promise<AssociateIpGroupsCommandOutput>;
313
- public associateIpGroups(
314
- args: AssociateIpGroupsCommandInput,
315
- cb: (err: any, data?: AssociateIpGroupsCommandOutput) => void
316
- ): void;
317
- public associateIpGroups(
318
- args: AssociateIpGroupsCommandInput,
319
- options: __HttpHandlerOptions,
320
- cb: (err: any, data?: AssociateIpGroupsCommandOutput) => void
321
- ): void;
322
- public associateIpGroups(
323
- args: AssociateIpGroupsCommandInput,
324
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateIpGroupsCommandOutput) => void),
325
- cb?: (err: any, data?: AssociateIpGroupsCommandOutput) => void
326
- ): Promise<AssociateIpGroupsCommandOutput> | void {
327
- const command = new AssociateIpGroupsCommand(args);
328
- if (typeof optionsOrCb === "function") {
329
- this.send(command, optionsOrCb);
330
- } else if (typeof cb === "function") {
331
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
332
- this.send(command, optionsOrCb || {}, cb);
333
- } else {
334
- return this.send(command, optionsOrCb);
335
- }
336
- }
337
-
338
- /**
339
- * <p>Adds one or more rules to the specified IP access control group.</p>
340
- * <p>This action gives users permission to access their WorkSpaces from the CIDR address
341
- * ranges specified in the rules.</p>
342
- */
343
- public authorizeIpRules(
344
- args: AuthorizeIpRulesCommandInput,
345
- options?: __HttpHandlerOptions
346
- ): Promise<AuthorizeIpRulesCommandOutput>;
347
- public authorizeIpRules(
348
- args: AuthorizeIpRulesCommandInput,
349
- cb: (err: any, data?: AuthorizeIpRulesCommandOutput) => void
350
- ): void;
351
- public authorizeIpRules(
352
- args: AuthorizeIpRulesCommandInput,
353
- options: __HttpHandlerOptions,
354
- cb: (err: any, data?: AuthorizeIpRulesCommandOutput) => void
355
- ): void;
356
- public authorizeIpRules(
357
- args: AuthorizeIpRulesCommandInput,
358
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AuthorizeIpRulesCommandOutput) => void),
359
- cb?: (err: any, data?: AuthorizeIpRulesCommandOutput) => void
360
- ): Promise<AuthorizeIpRulesCommandOutput> | void {
361
- const command = new AuthorizeIpRulesCommand(args);
362
- if (typeof optionsOrCb === "function") {
363
- this.send(command, optionsOrCb);
364
- } else if (typeof cb === "function") {
365
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
366
- this.send(command, optionsOrCb || {}, cb);
367
- } else {
368
- return this.send(command, optionsOrCb);
369
- }
370
- }
371
-
372
- /**
373
- * <p>Copies the specified image from the specified Region to the current Region.
374
- * For more information about copying images, see
375
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/copy-custom-image.html">
376
- * Copy a Custom WorkSpaces Image</a>.</p>
377
- *
378
- * <note>
379
- * <p>In the China (Ningxia) Region, you can copy images only within the same Region.</p>
380
- *
381
- * <p>In the AWS GovCloud (US-West) Region, to copy images to and from other AWS Regions,
382
- * contact AWS Support.</p>
383
- * </note>
384
- *
385
- * <important>
386
- * <p>Before copying a shared image, be sure to verify that it has been shared from the
387
- * correct AWS account. To determine if an image has been shared and to see the AWS
388
- * account ID that owns an image, use the <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImages.html">DescribeWorkSpaceImages</a> and <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImagePermissions.html">DescribeWorkspaceImagePermissions</a> API operations. </p>
389
- * </important>
390
- */
391
- public copyWorkspaceImage(
392
- args: CopyWorkspaceImageCommandInput,
393
- options?: __HttpHandlerOptions
394
- ): Promise<CopyWorkspaceImageCommandOutput>;
395
- public copyWorkspaceImage(
396
- args: CopyWorkspaceImageCommandInput,
397
- cb: (err: any, data?: CopyWorkspaceImageCommandOutput) => void
398
- ): void;
399
- public copyWorkspaceImage(
400
- args: CopyWorkspaceImageCommandInput,
401
- options: __HttpHandlerOptions,
402
- cb: (err: any, data?: CopyWorkspaceImageCommandOutput) => void
403
- ): void;
404
- public copyWorkspaceImage(
405
- args: CopyWorkspaceImageCommandInput,
406
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CopyWorkspaceImageCommandOutput) => void),
407
- cb?: (err: any, data?: CopyWorkspaceImageCommandOutput) => void
408
- ): Promise<CopyWorkspaceImageCommandOutput> | void {
409
- const command = new CopyWorkspaceImageCommand(args);
410
- if (typeof optionsOrCb === "function") {
411
- this.send(command, optionsOrCb);
412
- } else if (typeof cb === "function") {
413
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
414
- this.send(command, optionsOrCb || {}, cb);
415
- } else {
416
- return this.send(command, optionsOrCb);
417
- }
418
- }
419
-
420
- /**
421
- * <p>Creates the specified connection alias for use with cross-Region redirection. For more information, see
422
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
423
- * Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
424
- */
425
- public createConnectionAlias(
426
- args: CreateConnectionAliasCommandInput,
427
- options?: __HttpHandlerOptions
428
- ): Promise<CreateConnectionAliasCommandOutput>;
429
- public createConnectionAlias(
430
- args: CreateConnectionAliasCommandInput,
431
- cb: (err: any, data?: CreateConnectionAliasCommandOutput) => void
432
- ): void;
433
- public createConnectionAlias(
434
- args: CreateConnectionAliasCommandInput,
435
- options: __HttpHandlerOptions,
436
- cb: (err: any, data?: CreateConnectionAliasCommandOutput) => void
437
- ): void;
438
- public createConnectionAlias(
439
- args: CreateConnectionAliasCommandInput,
440
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateConnectionAliasCommandOutput) => void),
441
- cb?: (err: any, data?: CreateConnectionAliasCommandOutput) => void
442
- ): Promise<CreateConnectionAliasCommandOutput> | void {
443
- const command = new CreateConnectionAliasCommand(args);
444
- if (typeof optionsOrCb === "function") {
445
- this.send(command, optionsOrCb);
446
- } else if (typeof cb === "function") {
447
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
448
- this.send(command, optionsOrCb || {}, cb);
449
- } else {
450
- return this.send(command, optionsOrCb);
451
- }
452
- }
453
-
454
- /**
455
- * <p>Creates an IP access control group.</p>
456
- * <p>An IP access control group provides you with the ability to control the IP addresses
457
- * from which users are allowed to access their WorkSpaces. To specify the CIDR address
458
- * ranges, add rules to your IP access control group and then associate the group with your
459
- * directory. You can add rules when you create the group or at any time using <a>AuthorizeIpRules</a>.</p>
460
- *
461
- * <p>There is a default IP access control group associated with your directory. If you don't
462
- * associate an IP access control group with your directory, the default group is used. The
463
- * default group includes a default rule that allows users to access their WorkSpaces from
464
- * anywhere. You cannot modify the default IP access control group for your directory.</p>
465
- */
466
- public createIpGroup(
467
- args: CreateIpGroupCommandInput,
468
- options?: __HttpHandlerOptions
469
- ): Promise<CreateIpGroupCommandOutput>;
470
- public createIpGroup(
471
- args: CreateIpGroupCommandInput,
472
- cb: (err: any, data?: CreateIpGroupCommandOutput) => void
473
- ): void;
474
- public createIpGroup(
475
- args: CreateIpGroupCommandInput,
476
- options: __HttpHandlerOptions,
477
- cb: (err: any, data?: CreateIpGroupCommandOutput) => void
478
- ): void;
479
- public createIpGroup(
480
- args: CreateIpGroupCommandInput,
481
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIpGroupCommandOutput) => void),
482
- cb?: (err: any, data?: CreateIpGroupCommandOutput) => void
483
- ): Promise<CreateIpGroupCommandOutput> | void {
484
- const command = new CreateIpGroupCommand(args);
485
- if (typeof optionsOrCb === "function") {
486
- this.send(command, optionsOrCb);
487
- } else if (typeof cb === "function") {
488
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
489
- this.send(command, optionsOrCb || {}, cb);
490
- } else {
491
- return this.send(command, optionsOrCb);
492
- }
493
- }
494
-
495
- /**
496
- * <p>Creates the specified tags for the specified WorkSpaces resource.</p>
497
- */
498
- public createTags(args: CreateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateTagsCommandOutput>;
499
- public createTags(args: CreateTagsCommandInput, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
500
- public createTags(
501
- args: CreateTagsCommandInput,
502
- options: __HttpHandlerOptions,
503
- cb: (err: any, data?: CreateTagsCommandOutput) => void
504
- ): void;
505
- public createTags(
506
- args: CreateTagsCommandInput,
507
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTagsCommandOutput) => void),
508
- cb?: (err: any, data?: CreateTagsCommandOutput) => void
509
- ): Promise<CreateTagsCommandOutput> | void {
510
- const command = new CreateTagsCommand(args);
511
- if (typeof optionsOrCb === "function") {
512
- this.send(command, optionsOrCb);
513
- } else if (typeof cb === "function") {
514
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
515
- this.send(command, optionsOrCb || {}, cb);
516
- } else {
517
- return this.send(command, optionsOrCb);
518
- }
519
- }
520
-
521
- /**
522
- * <p>Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see
523
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/create-custom-bundle.html">
524
- * Create a Custom WorkSpaces Image and Bundle</a>.</p>
525
- */
526
- public createWorkspaceBundle(
527
- args: CreateWorkspaceBundleCommandInput,
528
- options?: __HttpHandlerOptions
529
- ): Promise<CreateWorkspaceBundleCommandOutput>;
530
- public createWorkspaceBundle(
531
- args: CreateWorkspaceBundleCommandInput,
532
- cb: (err: any, data?: CreateWorkspaceBundleCommandOutput) => void
533
- ): void;
534
- public createWorkspaceBundle(
535
- args: CreateWorkspaceBundleCommandInput,
536
- options: __HttpHandlerOptions,
537
- cb: (err: any, data?: CreateWorkspaceBundleCommandOutput) => void
538
- ): void;
539
- public createWorkspaceBundle(
540
- args: CreateWorkspaceBundleCommandInput,
541
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWorkspaceBundleCommandOutput) => void),
542
- cb?: (err: any, data?: CreateWorkspaceBundleCommandOutput) => void
543
- ): Promise<CreateWorkspaceBundleCommandOutput> | void {
544
- const command = new CreateWorkspaceBundleCommand(args);
545
- if (typeof optionsOrCb === "function") {
546
- this.send(command, optionsOrCb);
547
- } else if (typeof cb === "function") {
548
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
549
- this.send(command, optionsOrCb || {}, cb);
550
- } else {
551
- return this.send(command, optionsOrCb);
552
- }
553
- }
554
-
555
- /**
556
- * <p>Creates one or more WorkSpaces.</p>
557
- * <p>This operation is asynchronous and returns before the WorkSpaces are created.</p>
558
- */
559
- public createWorkspaces(
560
- args: CreateWorkspacesCommandInput,
561
- options?: __HttpHandlerOptions
562
- ): Promise<CreateWorkspacesCommandOutput>;
563
- public createWorkspaces(
564
- args: CreateWorkspacesCommandInput,
565
- cb: (err: any, data?: CreateWorkspacesCommandOutput) => void
566
- ): void;
567
- public createWorkspaces(
568
- args: CreateWorkspacesCommandInput,
569
- options: __HttpHandlerOptions,
570
- cb: (err: any, data?: CreateWorkspacesCommandOutput) => void
571
- ): void;
572
- public createWorkspaces(
573
- args: CreateWorkspacesCommandInput,
574
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWorkspacesCommandOutput) => void),
575
- cb?: (err: any, data?: CreateWorkspacesCommandOutput) => void
576
- ): Promise<CreateWorkspacesCommandOutput> | void {
577
- const command = new CreateWorkspacesCommand(args);
578
- if (typeof optionsOrCb === "function") {
579
- this.send(command, optionsOrCb);
580
- } else if (typeof cb === "function") {
581
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
582
- this.send(command, optionsOrCb || {}, cb);
583
- } else {
584
- return this.send(command, optionsOrCb);
585
- }
586
- }
587
-
588
- /**
589
- * <p>Deletes the specified connection alias. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
590
- * Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
591
- *
592
- * <important>
593
- * <p>
594
- * <b>If you will no longer be using a fully qualified domain name (FQDN) as the registration code
595
- * for your WorkSpaces users, you must take certain precautions to prevent potential security issues.</b>
596
- * For more information, see
597
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html#cross-region-redirection-security-considerations">
598
- * Security Considerations if You Stop Using Cross-Region Redirection</a>.</p>
599
- * </important>
600
- *
601
- * <note>
602
- * <p>To delete a connection alias that has been shared, the shared account must first disassociate the connection alias
603
- * from any directories it has been associated with. Then you must unshare the connection alias from the account it has
604
- * been shared with. You can delete a connection alias only after it is no longer shared with any accounts or
605
- * associated with any directories.</p>
606
- * </note>
607
- */
608
- public deleteConnectionAlias(
609
- args: DeleteConnectionAliasCommandInput,
610
- options?: __HttpHandlerOptions
611
- ): Promise<DeleteConnectionAliasCommandOutput>;
612
- public deleteConnectionAlias(
613
- args: DeleteConnectionAliasCommandInput,
614
- cb: (err: any, data?: DeleteConnectionAliasCommandOutput) => void
615
- ): void;
616
- public deleteConnectionAlias(
617
- args: DeleteConnectionAliasCommandInput,
618
- options: __HttpHandlerOptions,
619
- cb: (err: any, data?: DeleteConnectionAliasCommandOutput) => void
620
- ): void;
621
- public deleteConnectionAlias(
622
- args: DeleteConnectionAliasCommandInput,
623
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteConnectionAliasCommandOutput) => void),
624
- cb?: (err: any, data?: DeleteConnectionAliasCommandOutput) => void
625
- ): Promise<DeleteConnectionAliasCommandOutput> | void {
626
- const command = new DeleteConnectionAliasCommand(args);
627
- if (typeof optionsOrCb === "function") {
628
- this.send(command, optionsOrCb);
629
- } else if (typeof cb === "function") {
630
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
631
- this.send(command, optionsOrCb || {}, cb);
632
- } else {
633
- return this.send(command, optionsOrCb);
634
- }
635
- }
636
-
637
- /**
638
- * <p>Deletes the specified IP access control group.</p>
639
- * <p>You cannot delete an IP access control group that is associated with a directory.</p>
640
- */
641
- public deleteIpGroup(
642
- args: DeleteIpGroupCommandInput,
643
- options?: __HttpHandlerOptions
644
- ): Promise<DeleteIpGroupCommandOutput>;
645
- public deleteIpGroup(
646
- args: DeleteIpGroupCommandInput,
647
- cb: (err: any, data?: DeleteIpGroupCommandOutput) => void
648
- ): void;
649
- public deleteIpGroup(
650
- args: DeleteIpGroupCommandInput,
651
- options: __HttpHandlerOptions,
652
- cb: (err: any, data?: DeleteIpGroupCommandOutput) => void
653
- ): void;
654
- public deleteIpGroup(
655
- args: DeleteIpGroupCommandInput,
656
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIpGroupCommandOutput) => void),
657
- cb?: (err: any, data?: DeleteIpGroupCommandOutput) => void
658
- ): Promise<DeleteIpGroupCommandOutput> | void {
659
- const command = new DeleteIpGroupCommand(args);
660
- if (typeof optionsOrCb === "function") {
661
- this.send(command, optionsOrCb);
662
- } else if (typeof cb === "function") {
663
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
664
- this.send(command, optionsOrCb || {}, cb);
665
- } else {
666
- return this.send(command, optionsOrCb);
667
- }
668
- }
669
-
670
- /**
671
- * <p>Deletes the specified tags from the specified WorkSpaces resource.</p>
672
- */
673
- public deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
674
- public deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
675
- public deleteTags(
676
- args: DeleteTagsCommandInput,
677
- options: __HttpHandlerOptions,
678
- cb: (err: any, data?: DeleteTagsCommandOutput) => void
679
- ): void;
680
- public deleteTags(
681
- args: DeleteTagsCommandInput,
682
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTagsCommandOutput) => void),
683
- cb?: (err: any, data?: DeleteTagsCommandOutput) => void
684
- ): Promise<DeleteTagsCommandOutput> | void {
685
- const command = new DeleteTagsCommand(args);
686
- if (typeof optionsOrCb === "function") {
687
- this.send(command, optionsOrCb);
688
- } else if (typeof cb === "function") {
689
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
690
- this.send(command, optionsOrCb || {}, cb);
691
- } else {
692
- return this.send(command, optionsOrCb);
693
- }
694
- }
695
-
696
- /**
697
- * <p>Deletes the specified WorkSpace bundle. For more information about deleting WorkSpace bundles, see
698
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/delete_bundle.html">
699
- * Delete a Custom WorkSpaces Bundle or Image</a>.</p>
700
- */
701
- public deleteWorkspaceBundle(
702
- args: DeleteWorkspaceBundleCommandInput,
703
- options?: __HttpHandlerOptions
704
- ): Promise<DeleteWorkspaceBundleCommandOutput>;
705
- public deleteWorkspaceBundle(
706
- args: DeleteWorkspaceBundleCommandInput,
707
- cb: (err: any, data?: DeleteWorkspaceBundleCommandOutput) => void
708
- ): void;
709
- public deleteWorkspaceBundle(
710
- args: DeleteWorkspaceBundleCommandInput,
711
- options: __HttpHandlerOptions,
712
- cb: (err: any, data?: DeleteWorkspaceBundleCommandOutput) => void
713
- ): void;
714
- public deleteWorkspaceBundle(
715
- args: DeleteWorkspaceBundleCommandInput,
716
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWorkspaceBundleCommandOutput) => void),
717
- cb?: (err: any, data?: DeleteWorkspaceBundleCommandOutput) => void
718
- ): Promise<DeleteWorkspaceBundleCommandOutput> | void {
719
- const command = new DeleteWorkspaceBundleCommand(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>Deletes the specified image from your account. To delete an image, you must first delete
732
- * any bundles that are associated with the image and unshare the image if it is shared with
733
- * other accounts. </p>
734
- */
735
- public deleteWorkspaceImage(
736
- args: DeleteWorkspaceImageCommandInput,
737
- options?: __HttpHandlerOptions
738
- ): Promise<DeleteWorkspaceImageCommandOutput>;
739
- public deleteWorkspaceImage(
740
- args: DeleteWorkspaceImageCommandInput,
741
- cb: (err: any, data?: DeleteWorkspaceImageCommandOutput) => void
742
- ): void;
743
- public deleteWorkspaceImage(
744
- args: DeleteWorkspaceImageCommandInput,
745
- options: __HttpHandlerOptions,
746
- cb: (err: any, data?: DeleteWorkspaceImageCommandOutput) => void
747
- ): void;
748
- public deleteWorkspaceImage(
749
- args: DeleteWorkspaceImageCommandInput,
750
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWorkspaceImageCommandOutput) => void),
751
- cb?: (err: any, data?: DeleteWorkspaceImageCommandOutput) => void
752
- ): Promise<DeleteWorkspaceImageCommandOutput> | void {
753
- const command = new DeleteWorkspaceImageCommand(args);
754
- if (typeof optionsOrCb === "function") {
755
- this.send(command, optionsOrCb);
756
- } else if (typeof cb === "function") {
757
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
758
- this.send(command, optionsOrCb || {}, cb);
759
- } else {
760
- return this.send(command, optionsOrCb);
761
- }
762
- }
763
-
764
- /**
765
- * <p>Deregisters the specified directory. This operation is asynchronous
766
- * and returns before the WorkSpace directory is deregistered. If any WorkSpaces are
767
- * registered to this directory, you must remove them before you can deregister the directory.</p>
768
- *
769
- * <note>
770
- * <p>Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces.
771
- * If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30
772
- * consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces,
773
- * and you will be charged for this directory as per the
774
- * <a href="http://aws.amazon.com/directoryservice/pricing/">AWS Directory Services pricing terms</a>.</p>
775
- *
776
- * <p>To delete empty directories, see
777
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html">
778
- * Delete the Directory for Your WorkSpaces</a>. If you delete your
779
- * Simple AD or AD Connector directory, you can always create a new one when you want to start using
780
- * WorkSpaces again.</p>
781
- * </note>
782
- */
783
- public deregisterWorkspaceDirectory(
784
- args: DeregisterWorkspaceDirectoryCommandInput,
785
- options?: __HttpHandlerOptions
786
- ): Promise<DeregisterWorkspaceDirectoryCommandOutput>;
787
- public deregisterWorkspaceDirectory(
788
- args: DeregisterWorkspaceDirectoryCommandInput,
789
- cb: (err: any, data?: DeregisterWorkspaceDirectoryCommandOutput) => void
790
- ): void;
791
- public deregisterWorkspaceDirectory(
792
- args: DeregisterWorkspaceDirectoryCommandInput,
793
- options: __HttpHandlerOptions,
794
- cb: (err: any, data?: DeregisterWorkspaceDirectoryCommandOutput) => void
795
- ): void;
796
- public deregisterWorkspaceDirectory(
797
- args: DeregisterWorkspaceDirectoryCommandInput,
798
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterWorkspaceDirectoryCommandOutput) => void),
799
- cb?: (err: any, data?: DeregisterWorkspaceDirectoryCommandOutput) => void
800
- ): Promise<DeregisterWorkspaceDirectoryCommandOutput> | void {
801
- const command = new DeregisterWorkspaceDirectoryCommand(args);
802
- if (typeof optionsOrCb === "function") {
803
- this.send(command, optionsOrCb);
804
- } else if (typeof cb === "function") {
805
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
806
- this.send(command, optionsOrCb || {}, cb);
807
- } else {
808
- return this.send(command, optionsOrCb);
809
- }
810
- }
811
-
812
- /**
813
- * <p>Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for
814
- * the specified account.</p>
815
- */
816
- public describeAccount(
817
- args: DescribeAccountCommandInput,
818
- options?: __HttpHandlerOptions
819
- ): Promise<DescribeAccountCommandOutput>;
820
- public describeAccount(
821
- args: DescribeAccountCommandInput,
822
- cb: (err: any, data?: DescribeAccountCommandOutput) => void
823
- ): void;
824
- public describeAccount(
825
- args: DescribeAccountCommandInput,
826
- options: __HttpHandlerOptions,
827
- cb: (err: any, data?: DescribeAccountCommandOutput) => void
828
- ): void;
829
- public describeAccount(
830
- args: DescribeAccountCommandInput,
831
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountCommandOutput) => void),
832
- cb?: (err: any, data?: DescribeAccountCommandOutput) => void
833
- ): Promise<DescribeAccountCommandOutput> | void {
834
- const command = new DescribeAccountCommand(args);
835
- if (typeof optionsOrCb === "function") {
836
- this.send(command, optionsOrCb);
837
- } else if (typeof cb === "function") {
838
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
839
- this.send(command, optionsOrCb || {}, cb);
840
- } else {
841
- return this.send(command, optionsOrCb);
842
- }
843
- }
844
-
845
- /**
846
- * <p>Retrieves a list that describes modifications to the configuration of Bring Your Own
847
- * License (BYOL) for the specified account.</p>
848
- */
849
- public describeAccountModifications(
850
- args: DescribeAccountModificationsCommandInput,
851
- options?: __HttpHandlerOptions
852
- ): Promise<DescribeAccountModificationsCommandOutput>;
853
- public describeAccountModifications(
854
- args: DescribeAccountModificationsCommandInput,
855
- cb: (err: any, data?: DescribeAccountModificationsCommandOutput) => void
856
- ): void;
857
- public describeAccountModifications(
858
- args: DescribeAccountModificationsCommandInput,
859
- options: __HttpHandlerOptions,
860
- cb: (err: any, data?: DescribeAccountModificationsCommandOutput) => void
861
- ): void;
862
- public describeAccountModifications(
863
- args: DescribeAccountModificationsCommandInput,
864
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountModificationsCommandOutput) => void),
865
- cb?: (err: any, data?: DescribeAccountModificationsCommandOutput) => void
866
- ): Promise<DescribeAccountModificationsCommandOutput> | void {
867
- const command = new DescribeAccountModificationsCommand(args);
868
- if (typeof optionsOrCb === "function") {
869
- this.send(command, optionsOrCb);
870
- } else if (typeof cb === "function") {
871
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
872
- this.send(command, optionsOrCb || {}, cb);
873
- } else {
874
- return this.send(command, optionsOrCb);
875
- }
876
- }
877
-
878
- /**
879
- * <p>Retrieves a list that describes one or more specified Amazon WorkSpaces clients.</p>
880
- */
881
- public describeClientProperties(
882
- args: DescribeClientPropertiesCommandInput,
883
- options?: __HttpHandlerOptions
884
- ): Promise<DescribeClientPropertiesCommandOutput>;
885
- public describeClientProperties(
886
- args: DescribeClientPropertiesCommandInput,
887
- cb: (err: any, data?: DescribeClientPropertiesCommandOutput) => void
888
- ): void;
889
- public describeClientProperties(
890
- args: DescribeClientPropertiesCommandInput,
891
- options: __HttpHandlerOptions,
892
- cb: (err: any, data?: DescribeClientPropertiesCommandOutput) => void
893
- ): void;
894
- public describeClientProperties(
895
- args: DescribeClientPropertiesCommandInput,
896
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeClientPropertiesCommandOutput) => void),
897
- cb?: (err: any, data?: DescribeClientPropertiesCommandOutput) => void
898
- ): Promise<DescribeClientPropertiesCommandOutput> | void {
899
- const command = new DescribeClientPropertiesCommand(args);
900
- if (typeof optionsOrCb === "function") {
901
- this.send(command, optionsOrCb);
902
- } else if (typeof cb === "function") {
903
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
904
- this.send(command, optionsOrCb || {}, cb);
905
- } else {
906
- return this.send(command, optionsOrCb);
907
- }
908
- }
909
-
910
- /**
911
- * <p>Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see
912
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
913
- * Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
914
- */
915
- public describeConnectionAliases(
916
- args: DescribeConnectionAliasesCommandInput,
917
- options?: __HttpHandlerOptions
918
- ): Promise<DescribeConnectionAliasesCommandOutput>;
919
- public describeConnectionAliases(
920
- args: DescribeConnectionAliasesCommandInput,
921
- cb: (err: any, data?: DescribeConnectionAliasesCommandOutput) => void
922
- ): void;
923
- public describeConnectionAliases(
924
- args: DescribeConnectionAliasesCommandInput,
925
- options: __HttpHandlerOptions,
926
- cb: (err: any, data?: DescribeConnectionAliasesCommandOutput) => void
927
- ): void;
928
- public describeConnectionAliases(
929
- args: DescribeConnectionAliasesCommandInput,
930
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeConnectionAliasesCommandOutput) => void),
931
- cb?: (err: any, data?: DescribeConnectionAliasesCommandOutput) => void
932
- ): Promise<DescribeConnectionAliasesCommandOutput> | void {
933
- const command = new DescribeConnectionAliasesCommand(args);
934
- if (typeof optionsOrCb === "function") {
935
- this.send(command, optionsOrCb);
936
- } else if (typeof cb === "function") {
937
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
938
- this.send(command, optionsOrCb || {}, cb);
939
- } else {
940
- return this.send(command, optionsOrCb);
941
- }
942
- }
943
-
944
- /**
945
- * <p>Describes the permissions that the owner of a connection alias has granted to another AWS account for
946
- * the specified connection alias. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
947
- * Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
948
- */
949
- public describeConnectionAliasPermissions(
950
- args: DescribeConnectionAliasPermissionsCommandInput,
951
- options?: __HttpHandlerOptions
952
- ): Promise<DescribeConnectionAliasPermissionsCommandOutput>;
953
- public describeConnectionAliasPermissions(
954
- args: DescribeConnectionAliasPermissionsCommandInput,
955
- cb: (err: any, data?: DescribeConnectionAliasPermissionsCommandOutput) => void
956
- ): void;
957
- public describeConnectionAliasPermissions(
958
- args: DescribeConnectionAliasPermissionsCommandInput,
959
- options: __HttpHandlerOptions,
960
- cb: (err: any, data?: DescribeConnectionAliasPermissionsCommandOutput) => void
961
- ): void;
962
- public describeConnectionAliasPermissions(
963
- args: DescribeConnectionAliasPermissionsCommandInput,
964
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeConnectionAliasPermissionsCommandOutput) => void),
965
- cb?: (err: any, data?: DescribeConnectionAliasPermissionsCommandOutput) => void
966
- ): Promise<DescribeConnectionAliasPermissionsCommandOutput> | void {
967
- const command = new DescribeConnectionAliasPermissionsCommand(args);
968
- if (typeof optionsOrCb === "function") {
969
- this.send(command, optionsOrCb);
970
- } else if (typeof cb === "function") {
971
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
972
- this.send(command, optionsOrCb || {}, cb);
973
- } else {
974
- return this.send(command, optionsOrCb);
975
- }
976
- }
977
-
978
- /**
979
- * <p>Describes one or more of your IP access control groups.</p>
980
- */
981
- public describeIpGroups(
982
- args: DescribeIpGroupsCommandInput,
983
- options?: __HttpHandlerOptions
984
- ): Promise<DescribeIpGroupsCommandOutput>;
985
- public describeIpGroups(
986
- args: DescribeIpGroupsCommandInput,
987
- cb: (err: any, data?: DescribeIpGroupsCommandOutput) => void
988
- ): void;
989
- public describeIpGroups(
990
- args: DescribeIpGroupsCommandInput,
991
- options: __HttpHandlerOptions,
992
- cb: (err: any, data?: DescribeIpGroupsCommandOutput) => void
993
- ): void;
994
- public describeIpGroups(
995
- args: DescribeIpGroupsCommandInput,
996
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeIpGroupsCommandOutput) => void),
997
- cb?: (err: any, data?: DescribeIpGroupsCommandOutput) => void
998
- ): Promise<DescribeIpGroupsCommandOutput> | void {
999
- const command = new DescribeIpGroupsCommand(args);
1000
- if (typeof optionsOrCb === "function") {
1001
- this.send(command, optionsOrCb);
1002
- } else if (typeof cb === "function") {
1003
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1004
- this.send(command, optionsOrCb || {}, cb);
1005
- } else {
1006
- return this.send(command, optionsOrCb);
1007
- }
1008
- }
1009
-
1010
- /**
1011
- * <p>Describes the specified tags for the specified WorkSpaces resource.</p>
1012
- */
1013
- public describeTags(
1014
- args: DescribeTagsCommandInput,
1015
- options?: __HttpHandlerOptions
1016
- ): Promise<DescribeTagsCommandOutput>;
1017
- public describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
1018
- public describeTags(
1019
- args: DescribeTagsCommandInput,
1020
- options: __HttpHandlerOptions,
1021
- cb: (err: any, data?: DescribeTagsCommandOutput) => void
1022
- ): void;
1023
- public describeTags(
1024
- args: DescribeTagsCommandInput,
1025
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTagsCommandOutput) => void),
1026
- cb?: (err: any, data?: DescribeTagsCommandOutput) => void
1027
- ): Promise<DescribeTagsCommandOutput> | void {
1028
- const command = new DescribeTagsCommand(args);
1029
- if (typeof optionsOrCb === "function") {
1030
- this.send(command, optionsOrCb);
1031
- } else if (typeof cb === "function") {
1032
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1033
- this.send(command, optionsOrCb || {}, cb);
1034
- } else {
1035
- return this.send(command, optionsOrCb);
1036
- }
1037
- }
1038
-
1039
- /**
1040
- * <p>Retrieves a list that describes the available WorkSpace bundles.</p>
1041
- * <p>You can filter the results using either bundle ID or owner, but not both.</p>
1042
- */
1043
- public describeWorkspaceBundles(
1044
- args: DescribeWorkspaceBundlesCommandInput,
1045
- options?: __HttpHandlerOptions
1046
- ): Promise<DescribeWorkspaceBundlesCommandOutput>;
1047
- public describeWorkspaceBundles(
1048
- args: DescribeWorkspaceBundlesCommandInput,
1049
- cb: (err: any, data?: DescribeWorkspaceBundlesCommandOutput) => void
1050
- ): void;
1051
- public describeWorkspaceBundles(
1052
- args: DescribeWorkspaceBundlesCommandInput,
1053
- options: __HttpHandlerOptions,
1054
- cb: (err: any, data?: DescribeWorkspaceBundlesCommandOutput) => void
1055
- ): void;
1056
- public describeWorkspaceBundles(
1057
- args: DescribeWorkspaceBundlesCommandInput,
1058
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspaceBundlesCommandOutput) => void),
1059
- cb?: (err: any, data?: DescribeWorkspaceBundlesCommandOutput) => void
1060
- ): Promise<DescribeWorkspaceBundlesCommandOutput> | void {
1061
- const command = new DescribeWorkspaceBundlesCommand(args);
1062
- if (typeof optionsOrCb === "function") {
1063
- this.send(command, optionsOrCb);
1064
- } else if (typeof cb === "function") {
1065
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1066
- this.send(command, optionsOrCb || {}, cb);
1067
- } else {
1068
- return this.send(command, optionsOrCb);
1069
- }
1070
- }
1071
-
1072
- /**
1073
- * <p>Describes the available directories that are registered with
1074
- * Amazon WorkSpaces.</p>
1075
- */
1076
- public describeWorkspaceDirectories(
1077
- args: DescribeWorkspaceDirectoriesCommandInput,
1078
- options?: __HttpHandlerOptions
1079
- ): Promise<DescribeWorkspaceDirectoriesCommandOutput>;
1080
- public describeWorkspaceDirectories(
1081
- args: DescribeWorkspaceDirectoriesCommandInput,
1082
- cb: (err: any, data?: DescribeWorkspaceDirectoriesCommandOutput) => void
1083
- ): void;
1084
- public describeWorkspaceDirectories(
1085
- args: DescribeWorkspaceDirectoriesCommandInput,
1086
- options: __HttpHandlerOptions,
1087
- cb: (err: any, data?: DescribeWorkspaceDirectoriesCommandOutput) => void
1088
- ): void;
1089
- public describeWorkspaceDirectories(
1090
- args: DescribeWorkspaceDirectoriesCommandInput,
1091
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspaceDirectoriesCommandOutput) => void),
1092
- cb?: (err: any, data?: DescribeWorkspaceDirectoriesCommandOutput) => void
1093
- ): Promise<DescribeWorkspaceDirectoriesCommandOutput> | void {
1094
- const command = new DescribeWorkspaceDirectoriesCommand(args);
1095
- if (typeof optionsOrCb === "function") {
1096
- this.send(command, optionsOrCb);
1097
- } else if (typeof cb === "function") {
1098
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1099
- this.send(command, optionsOrCb || {}, cb);
1100
- } else {
1101
- return this.send(command, optionsOrCb);
1102
- }
1103
- }
1104
-
1105
- /**
1106
- * <p>Describes the permissions that the owner of an image has granted to other
1107
- * AWS accounts for an image.</p>
1108
- */
1109
- public describeWorkspaceImagePermissions(
1110
- args: DescribeWorkspaceImagePermissionsCommandInput,
1111
- options?: __HttpHandlerOptions
1112
- ): Promise<DescribeWorkspaceImagePermissionsCommandOutput>;
1113
- public describeWorkspaceImagePermissions(
1114
- args: DescribeWorkspaceImagePermissionsCommandInput,
1115
- cb: (err: any, data?: DescribeWorkspaceImagePermissionsCommandOutput) => void
1116
- ): void;
1117
- public describeWorkspaceImagePermissions(
1118
- args: DescribeWorkspaceImagePermissionsCommandInput,
1119
- options: __HttpHandlerOptions,
1120
- cb: (err: any, data?: DescribeWorkspaceImagePermissionsCommandOutput) => void
1121
- ): void;
1122
- public describeWorkspaceImagePermissions(
1123
- args: DescribeWorkspaceImagePermissionsCommandInput,
1124
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspaceImagePermissionsCommandOutput) => void),
1125
- cb?: (err: any, data?: DescribeWorkspaceImagePermissionsCommandOutput) => void
1126
- ): Promise<DescribeWorkspaceImagePermissionsCommandOutput> | void {
1127
- const command = new DescribeWorkspaceImagePermissionsCommand(args);
1128
- if (typeof optionsOrCb === "function") {
1129
- this.send(command, optionsOrCb);
1130
- } else if (typeof cb === "function") {
1131
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1132
- this.send(command, optionsOrCb || {}, cb);
1133
- } else {
1134
- return this.send(command, optionsOrCb);
1135
- }
1136
- }
1137
-
1138
- /**
1139
- * <p>Retrieves a list that describes one or more specified images, if the image identifiers
1140
- * are provided. Otherwise, all images in the account are described. </p>
1141
- */
1142
- public describeWorkspaceImages(
1143
- args: DescribeWorkspaceImagesCommandInput,
1144
- options?: __HttpHandlerOptions
1145
- ): Promise<DescribeWorkspaceImagesCommandOutput>;
1146
- public describeWorkspaceImages(
1147
- args: DescribeWorkspaceImagesCommandInput,
1148
- cb: (err: any, data?: DescribeWorkspaceImagesCommandOutput) => void
1149
- ): void;
1150
- public describeWorkspaceImages(
1151
- args: DescribeWorkspaceImagesCommandInput,
1152
- options: __HttpHandlerOptions,
1153
- cb: (err: any, data?: DescribeWorkspaceImagesCommandOutput) => void
1154
- ): void;
1155
- public describeWorkspaceImages(
1156
- args: DescribeWorkspaceImagesCommandInput,
1157
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspaceImagesCommandOutput) => void),
1158
- cb?: (err: any, data?: DescribeWorkspaceImagesCommandOutput) => void
1159
- ): Promise<DescribeWorkspaceImagesCommandOutput> | void {
1160
- const command = new DescribeWorkspaceImagesCommand(args);
1161
- if (typeof optionsOrCb === "function") {
1162
- this.send(command, optionsOrCb);
1163
- } else if (typeof cb === "function") {
1164
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1165
- this.send(command, optionsOrCb || {}, cb);
1166
- } else {
1167
- return this.send(command, optionsOrCb);
1168
- }
1169
- }
1170
-
1171
- /**
1172
- * <p>Describes the specified WorkSpaces.</p>
1173
- * <p>You can filter the results by using the bundle identifier, directory identifier, or
1174
- * owner, but you can specify only one filter at a time.</p>
1175
- */
1176
- public describeWorkspaces(
1177
- args: DescribeWorkspacesCommandInput,
1178
- options?: __HttpHandlerOptions
1179
- ): Promise<DescribeWorkspacesCommandOutput>;
1180
- public describeWorkspaces(
1181
- args: DescribeWorkspacesCommandInput,
1182
- cb: (err: any, data?: DescribeWorkspacesCommandOutput) => void
1183
- ): void;
1184
- public describeWorkspaces(
1185
- args: DescribeWorkspacesCommandInput,
1186
- options: __HttpHandlerOptions,
1187
- cb: (err: any, data?: DescribeWorkspacesCommandOutput) => void
1188
- ): void;
1189
- public describeWorkspaces(
1190
- args: DescribeWorkspacesCommandInput,
1191
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspacesCommandOutput) => void),
1192
- cb?: (err: any, data?: DescribeWorkspacesCommandOutput) => void
1193
- ): Promise<DescribeWorkspacesCommandOutput> | void {
1194
- const command = new DescribeWorkspacesCommand(args);
1195
- if (typeof optionsOrCb === "function") {
1196
- this.send(command, optionsOrCb);
1197
- } else if (typeof cb === "function") {
1198
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1199
- this.send(command, optionsOrCb || {}, cb);
1200
- } else {
1201
- return this.send(command, optionsOrCb);
1202
- }
1203
- }
1204
-
1205
- /**
1206
- * <p>Describes the connection status of the specified WorkSpaces.</p>
1207
- */
1208
- public describeWorkspacesConnectionStatus(
1209
- args: DescribeWorkspacesConnectionStatusCommandInput,
1210
- options?: __HttpHandlerOptions
1211
- ): Promise<DescribeWorkspacesConnectionStatusCommandOutput>;
1212
- public describeWorkspacesConnectionStatus(
1213
- args: DescribeWorkspacesConnectionStatusCommandInput,
1214
- cb: (err: any, data?: DescribeWorkspacesConnectionStatusCommandOutput) => void
1215
- ): void;
1216
- public describeWorkspacesConnectionStatus(
1217
- args: DescribeWorkspacesConnectionStatusCommandInput,
1218
- options: __HttpHandlerOptions,
1219
- cb: (err: any, data?: DescribeWorkspacesConnectionStatusCommandOutput) => void
1220
- ): void;
1221
- public describeWorkspacesConnectionStatus(
1222
- args: DescribeWorkspacesConnectionStatusCommandInput,
1223
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspacesConnectionStatusCommandOutput) => void),
1224
- cb?: (err: any, data?: DescribeWorkspacesConnectionStatusCommandOutput) => void
1225
- ): Promise<DescribeWorkspacesConnectionStatusCommandOutput> | void {
1226
- const command = new DescribeWorkspacesConnectionStatusCommand(args);
1227
- if (typeof optionsOrCb === "function") {
1228
- this.send(command, optionsOrCb);
1229
- } else if (typeof cb === "function") {
1230
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1231
- this.send(command, optionsOrCb || {}, cb);
1232
- } else {
1233
- return this.send(command, optionsOrCb);
1234
- }
1235
- }
1236
-
1237
- /**
1238
- * <p>Describes the snapshots for the specified WorkSpace.</p>
1239
- */
1240
- public describeWorkspaceSnapshots(
1241
- args: DescribeWorkspaceSnapshotsCommandInput,
1242
- options?: __HttpHandlerOptions
1243
- ): Promise<DescribeWorkspaceSnapshotsCommandOutput>;
1244
- public describeWorkspaceSnapshots(
1245
- args: DescribeWorkspaceSnapshotsCommandInput,
1246
- cb: (err: any, data?: DescribeWorkspaceSnapshotsCommandOutput) => void
1247
- ): void;
1248
- public describeWorkspaceSnapshots(
1249
- args: DescribeWorkspaceSnapshotsCommandInput,
1250
- options: __HttpHandlerOptions,
1251
- cb: (err: any, data?: DescribeWorkspaceSnapshotsCommandOutput) => void
1252
- ): void;
1253
- public describeWorkspaceSnapshots(
1254
- args: DescribeWorkspaceSnapshotsCommandInput,
1255
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspaceSnapshotsCommandOutput) => void),
1256
- cb?: (err: any, data?: DescribeWorkspaceSnapshotsCommandOutput) => void
1257
- ): Promise<DescribeWorkspaceSnapshotsCommandOutput> | void {
1258
- const command = new DescribeWorkspaceSnapshotsCommand(args);
1259
- if (typeof optionsOrCb === "function") {
1260
- this.send(command, optionsOrCb);
1261
- } else if (typeof cb === "function") {
1262
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1263
- this.send(command, optionsOrCb || {}, cb);
1264
- } else {
1265
- return this.send(command, optionsOrCb);
1266
- }
1267
- }
1268
-
1269
- /**
1270
- * <p>Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region
1271
- * redirection between two directories in different AWS Regions. For more information, see
1272
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
1273
- * Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
1274
- *
1275
- * <note>
1276
- * <p>Before performing this operation, call <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html">
1277
- * DescribeConnectionAliases</a> to make sure that the current state of the connection alias is <code>CREATED</code>.</p>
1278
- * </note>
1279
- */
1280
- public disassociateConnectionAlias(
1281
- args: DisassociateConnectionAliasCommandInput,
1282
- options?: __HttpHandlerOptions
1283
- ): Promise<DisassociateConnectionAliasCommandOutput>;
1284
- public disassociateConnectionAlias(
1285
- args: DisassociateConnectionAliasCommandInput,
1286
- cb: (err: any, data?: DisassociateConnectionAliasCommandOutput) => void
1287
- ): void;
1288
- public disassociateConnectionAlias(
1289
- args: DisassociateConnectionAliasCommandInput,
1290
- options: __HttpHandlerOptions,
1291
- cb: (err: any, data?: DisassociateConnectionAliasCommandOutput) => void
1292
- ): void;
1293
- public disassociateConnectionAlias(
1294
- args: DisassociateConnectionAliasCommandInput,
1295
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateConnectionAliasCommandOutput) => void),
1296
- cb?: (err: any, data?: DisassociateConnectionAliasCommandOutput) => void
1297
- ): Promise<DisassociateConnectionAliasCommandOutput> | void {
1298
- const command = new DisassociateConnectionAliasCommand(args);
1299
- if (typeof optionsOrCb === "function") {
1300
- this.send(command, optionsOrCb);
1301
- } else if (typeof cb === "function") {
1302
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1303
- this.send(command, optionsOrCb || {}, cb);
1304
- } else {
1305
- return this.send(command, optionsOrCb);
1306
- }
1307
- }
1308
-
1309
- /**
1310
- * <p>Disassociates the specified IP access control group from the specified directory.</p>
1311
- */
1312
- public disassociateIpGroups(
1313
- args: DisassociateIpGroupsCommandInput,
1314
- options?: __HttpHandlerOptions
1315
- ): Promise<DisassociateIpGroupsCommandOutput>;
1316
- public disassociateIpGroups(
1317
- args: DisassociateIpGroupsCommandInput,
1318
- cb: (err: any, data?: DisassociateIpGroupsCommandOutput) => void
1319
- ): void;
1320
- public disassociateIpGroups(
1321
- args: DisassociateIpGroupsCommandInput,
1322
- options: __HttpHandlerOptions,
1323
- cb: (err: any, data?: DisassociateIpGroupsCommandOutput) => void
1324
- ): void;
1325
- public disassociateIpGroups(
1326
- args: DisassociateIpGroupsCommandInput,
1327
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateIpGroupsCommandOutput) => void),
1328
- cb?: (err: any, data?: DisassociateIpGroupsCommandOutput) => void
1329
- ): Promise<DisassociateIpGroupsCommandOutput> | void {
1330
- const command = new DisassociateIpGroupsCommand(args);
1331
- if (typeof optionsOrCb === "function") {
1332
- this.send(command, optionsOrCb);
1333
- } else if (typeof cb === "function") {
1334
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1335
- this.send(command, optionsOrCb || {}, cb);
1336
- } else {
1337
- return this.send(command, optionsOrCb);
1338
- }
1339
- }
1340
-
1341
- /**
1342
- * <p>Imports the specified Windows 10 Bring Your Own License (BYOL) image into Amazon
1343
- * WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your AWS
1344
- * account, and you must own the image. For more information about creating BYOL images, see
1345
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html">
1346
- * Bring Your Own Windows Desktop Licenses</a>.</p>
1347
- */
1348
- public importWorkspaceImage(
1349
- args: ImportWorkspaceImageCommandInput,
1350
- options?: __HttpHandlerOptions
1351
- ): Promise<ImportWorkspaceImageCommandOutput>;
1352
- public importWorkspaceImage(
1353
- args: ImportWorkspaceImageCommandInput,
1354
- cb: (err: any, data?: ImportWorkspaceImageCommandOutput) => void
1355
- ): void;
1356
- public importWorkspaceImage(
1357
- args: ImportWorkspaceImageCommandInput,
1358
- options: __HttpHandlerOptions,
1359
- cb: (err: any, data?: ImportWorkspaceImageCommandOutput) => void
1360
- ): void;
1361
- public importWorkspaceImage(
1362
- args: ImportWorkspaceImageCommandInput,
1363
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ImportWorkspaceImageCommandOutput) => void),
1364
- cb?: (err: any, data?: ImportWorkspaceImageCommandOutput) => void
1365
- ): Promise<ImportWorkspaceImageCommandOutput> | void {
1366
- const command = new ImportWorkspaceImageCommand(args);
1367
- if (typeof optionsOrCb === "function") {
1368
- this.send(command, optionsOrCb);
1369
- } else if (typeof cb === "function") {
1370
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1371
- this.send(command, optionsOrCb || {}, cb);
1372
- } else {
1373
- return this.send(command, optionsOrCb);
1374
- }
1375
- }
1376
-
1377
- /**
1378
- * <p>Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use
1379
- * for the network management interface when you enable Bring Your Own License (BYOL). </p>
1380
- *
1381
- * <p>This operation can be run only by AWS accounts that are enabled for BYOL. If your account
1382
- * isn't enabled for BYOL, you'll receive an <code>AccessDeniedException</code> error.</p>
1383
- *
1384
- * <p>The management network interface is connected to a secure Amazon WorkSpaces management
1385
- * network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces
1386
- * clients, and to allow Amazon WorkSpaces to manage the WorkSpace.</p>
1387
- */
1388
- public listAvailableManagementCidrRanges(
1389
- args: ListAvailableManagementCidrRangesCommandInput,
1390
- options?: __HttpHandlerOptions
1391
- ): Promise<ListAvailableManagementCidrRangesCommandOutput>;
1392
- public listAvailableManagementCidrRanges(
1393
- args: ListAvailableManagementCidrRangesCommandInput,
1394
- cb: (err: any, data?: ListAvailableManagementCidrRangesCommandOutput) => void
1395
- ): void;
1396
- public listAvailableManagementCidrRanges(
1397
- args: ListAvailableManagementCidrRangesCommandInput,
1398
- options: __HttpHandlerOptions,
1399
- cb: (err: any, data?: ListAvailableManagementCidrRangesCommandOutput) => void
1400
- ): void;
1401
- public listAvailableManagementCidrRanges(
1402
- args: ListAvailableManagementCidrRangesCommandInput,
1403
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAvailableManagementCidrRangesCommandOutput) => void),
1404
- cb?: (err: any, data?: ListAvailableManagementCidrRangesCommandOutput) => void
1405
- ): Promise<ListAvailableManagementCidrRangesCommandOutput> | void {
1406
- const command = new ListAvailableManagementCidrRangesCommand(args);
1407
- if (typeof optionsOrCb === "function") {
1408
- this.send(command, optionsOrCb);
1409
- } else if (typeof cb === "function") {
1410
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1411
- this.send(command, optionsOrCb || {}, cb);
1412
- } else {
1413
- return this.send(command, optionsOrCb);
1414
- }
1415
- }
1416
-
1417
- /**
1418
- * <p>Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.</p>
1419
- *
1420
- * <p>The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume
1421
- * from the last available snapshot of the original WorkSpace. During migration, the original <code>D:\Users\%USERNAME%</code>
1422
- * user profile folder is renamed to <code>D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated</code>. A new <code>D:\Users\%USERNAME%\</code>
1423
- * folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.</p>
1424
- *
1425
- * <p>For available migration scenarios, details about what happens during migration, and best practices, see
1426
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/migrate-workspaces.html">Migrate a WorkSpace</a>.</p>
1427
- */
1428
- public migrateWorkspace(
1429
- args: MigrateWorkspaceCommandInput,
1430
- options?: __HttpHandlerOptions
1431
- ): Promise<MigrateWorkspaceCommandOutput>;
1432
- public migrateWorkspace(
1433
- args: MigrateWorkspaceCommandInput,
1434
- cb: (err: any, data?: MigrateWorkspaceCommandOutput) => void
1435
- ): void;
1436
- public migrateWorkspace(
1437
- args: MigrateWorkspaceCommandInput,
1438
- options: __HttpHandlerOptions,
1439
- cb: (err: any, data?: MigrateWorkspaceCommandOutput) => void
1440
- ): void;
1441
- public migrateWorkspace(
1442
- args: MigrateWorkspaceCommandInput,
1443
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: MigrateWorkspaceCommandOutput) => void),
1444
- cb?: (err: any, data?: MigrateWorkspaceCommandOutput) => void
1445
- ): Promise<MigrateWorkspaceCommandOutput> | void {
1446
- const command = new MigrateWorkspaceCommand(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>Modifies the configuration of Bring Your Own License (BYOL) for the specified
1459
- * account.</p>
1460
- */
1461
- public modifyAccount(
1462
- args: ModifyAccountCommandInput,
1463
- options?: __HttpHandlerOptions
1464
- ): Promise<ModifyAccountCommandOutput>;
1465
- public modifyAccount(
1466
- args: ModifyAccountCommandInput,
1467
- cb: (err: any, data?: ModifyAccountCommandOutput) => void
1468
- ): void;
1469
- public modifyAccount(
1470
- args: ModifyAccountCommandInput,
1471
- options: __HttpHandlerOptions,
1472
- cb: (err: any, data?: ModifyAccountCommandOutput) => void
1473
- ): void;
1474
- public modifyAccount(
1475
- args: ModifyAccountCommandInput,
1476
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyAccountCommandOutput) => void),
1477
- cb?: (err: any, data?: ModifyAccountCommandOutput) => void
1478
- ): Promise<ModifyAccountCommandOutput> | void {
1479
- const command = new ModifyAccountCommand(args);
1480
- if (typeof optionsOrCb === "function") {
1481
- this.send(command, optionsOrCb);
1482
- } else if (typeof cb === "function") {
1483
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1484
- this.send(command, optionsOrCb || {}, cb);
1485
- } else {
1486
- return this.send(command, optionsOrCb);
1487
- }
1488
- }
1489
-
1490
- /**
1491
- * <p>Modifies the properties of the specified Amazon WorkSpaces clients.</p>
1492
- */
1493
- public modifyClientProperties(
1494
- args: ModifyClientPropertiesCommandInput,
1495
- options?: __HttpHandlerOptions
1496
- ): Promise<ModifyClientPropertiesCommandOutput>;
1497
- public modifyClientProperties(
1498
- args: ModifyClientPropertiesCommandInput,
1499
- cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void
1500
- ): void;
1501
- public modifyClientProperties(
1502
- args: ModifyClientPropertiesCommandInput,
1503
- options: __HttpHandlerOptions,
1504
- cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void
1505
- ): void;
1506
- public modifyClientProperties(
1507
- args: ModifyClientPropertiesCommandInput,
1508
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyClientPropertiesCommandOutput) => void),
1509
- cb?: (err: any, data?: ModifyClientPropertiesCommandOutput) => void
1510
- ): Promise<ModifyClientPropertiesCommandOutput> | void {
1511
- const command = new ModifyClientPropertiesCommand(args);
1512
- if (typeof optionsOrCb === "function") {
1513
- this.send(command, optionsOrCb);
1514
- } else if (typeof cb === "function") {
1515
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1516
- this.send(command, optionsOrCb || {}, cb);
1517
- } else {
1518
- return this.send(command, optionsOrCb);
1519
- }
1520
- }
1521
-
1522
- /**
1523
- * <p>Modifies the self-service WorkSpace management capabilities for your users. For more
1524
- * information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html">Enable Self-Service WorkSpace Management Capabilities for Your Users</a>.</p>
1525
- */
1526
- public modifySelfservicePermissions(
1527
- args: ModifySelfservicePermissionsCommandInput,
1528
- options?: __HttpHandlerOptions
1529
- ): Promise<ModifySelfservicePermissionsCommandOutput>;
1530
- public modifySelfservicePermissions(
1531
- args: ModifySelfservicePermissionsCommandInput,
1532
- cb: (err: any, data?: ModifySelfservicePermissionsCommandOutput) => void
1533
- ): void;
1534
- public modifySelfservicePermissions(
1535
- args: ModifySelfservicePermissionsCommandInput,
1536
- options: __HttpHandlerOptions,
1537
- cb: (err: any, data?: ModifySelfservicePermissionsCommandOutput) => void
1538
- ): void;
1539
- public modifySelfservicePermissions(
1540
- args: ModifySelfservicePermissionsCommandInput,
1541
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifySelfservicePermissionsCommandOutput) => void),
1542
- cb?: (err: any, data?: ModifySelfservicePermissionsCommandOutput) => void
1543
- ): Promise<ModifySelfservicePermissionsCommandOutput> | void {
1544
- const command = new ModifySelfservicePermissionsCommand(args);
1545
- if (typeof optionsOrCb === "function") {
1546
- this.send(command, optionsOrCb);
1547
- } else if (typeof cb === "function") {
1548
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1549
- this.send(command, optionsOrCb || {}, cb);
1550
- } else {
1551
- return this.send(command, optionsOrCb);
1552
- }
1553
- }
1554
-
1555
- /**
1556
- * <p>Specifies which devices and operating systems users can use to access their WorkSpaces.
1557
- * For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html#control-device-access">
1558
- * Control Device Access</a>.</p>
1559
- */
1560
- public modifyWorkspaceAccessProperties(
1561
- args: ModifyWorkspaceAccessPropertiesCommandInput,
1562
- options?: __HttpHandlerOptions
1563
- ): Promise<ModifyWorkspaceAccessPropertiesCommandOutput>;
1564
- public modifyWorkspaceAccessProperties(
1565
- args: ModifyWorkspaceAccessPropertiesCommandInput,
1566
- cb: (err: any, data?: ModifyWorkspaceAccessPropertiesCommandOutput) => void
1567
- ): void;
1568
- public modifyWorkspaceAccessProperties(
1569
- args: ModifyWorkspaceAccessPropertiesCommandInput,
1570
- options: __HttpHandlerOptions,
1571
- cb: (err: any, data?: ModifyWorkspaceAccessPropertiesCommandOutput) => void
1572
- ): void;
1573
- public modifyWorkspaceAccessProperties(
1574
- args: ModifyWorkspaceAccessPropertiesCommandInput,
1575
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyWorkspaceAccessPropertiesCommandOutput) => void),
1576
- cb?: (err: any, data?: ModifyWorkspaceAccessPropertiesCommandOutput) => void
1577
- ): Promise<ModifyWorkspaceAccessPropertiesCommandOutput> | void {
1578
- const command = new ModifyWorkspaceAccessPropertiesCommand(args);
1579
- if (typeof optionsOrCb === "function") {
1580
- this.send(command, optionsOrCb);
1581
- } else if (typeof cb === "function") {
1582
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1583
- this.send(command, optionsOrCb || {}, cb);
1584
- } else {
1585
- return this.send(command, optionsOrCb);
1586
- }
1587
- }
1588
-
1589
- /**
1590
- * <p>Modify the default properties used to create WorkSpaces.</p>
1591
- */
1592
- public modifyWorkspaceCreationProperties(
1593
- args: ModifyWorkspaceCreationPropertiesCommandInput,
1594
- options?: __HttpHandlerOptions
1595
- ): Promise<ModifyWorkspaceCreationPropertiesCommandOutput>;
1596
- public modifyWorkspaceCreationProperties(
1597
- args: ModifyWorkspaceCreationPropertiesCommandInput,
1598
- cb: (err: any, data?: ModifyWorkspaceCreationPropertiesCommandOutput) => void
1599
- ): void;
1600
- public modifyWorkspaceCreationProperties(
1601
- args: ModifyWorkspaceCreationPropertiesCommandInput,
1602
- options: __HttpHandlerOptions,
1603
- cb: (err: any, data?: ModifyWorkspaceCreationPropertiesCommandOutput) => void
1604
- ): void;
1605
- public modifyWorkspaceCreationProperties(
1606
- args: ModifyWorkspaceCreationPropertiesCommandInput,
1607
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyWorkspaceCreationPropertiesCommandOutput) => void),
1608
- cb?: (err: any, data?: ModifyWorkspaceCreationPropertiesCommandOutput) => void
1609
- ): Promise<ModifyWorkspaceCreationPropertiesCommandOutput> | void {
1610
- const command = new ModifyWorkspaceCreationPropertiesCommand(args);
1611
- if (typeof optionsOrCb === "function") {
1612
- this.send(command, optionsOrCb);
1613
- } else if (typeof cb === "function") {
1614
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1615
- this.send(command, optionsOrCb || {}, cb);
1616
- } else {
1617
- return this.send(command, optionsOrCb);
1618
- }
1619
- }
1620
-
1621
- /**
1622
- * <p>Modifies the specified WorkSpace properties. For important information about how
1623
- * to modify the size of the root and user volumes, see
1624
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/modify-workspaces.html">
1625
- * Modify a WorkSpace</a>.
1626
- * </p>
1627
- */
1628
- public modifyWorkspaceProperties(
1629
- args: ModifyWorkspacePropertiesCommandInput,
1630
- options?: __HttpHandlerOptions
1631
- ): Promise<ModifyWorkspacePropertiesCommandOutput>;
1632
- public modifyWorkspaceProperties(
1633
- args: ModifyWorkspacePropertiesCommandInput,
1634
- cb: (err: any, data?: ModifyWorkspacePropertiesCommandOutput) => void
1635
- ): void;
1636
- public modifyWorkspaceProperties(
1637
- args: ModifyWorkspacePropertiesCommandInput,
1638
- options: __HttpHandlerOptions,
1639
- cb: (err: any, data?: ModifyWorkspacePropertiesCommandOutput) => void
1640
- ): void;
1641
- public modifyWorkspaceProperties(
1642
- args: ModifyWorkspacePropertiesCommandInput,
1643
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyWorkspacePropertiesCommandOutput) => void),
1644
- cb?: (err: any, data?: ModifyWorkspacePropertiesCommandOutput) => void
1645
- ): Promise<ModifyWorkspacePropertiesCommandOutput> | void {
1646
- const command = new ModifyWorkspacePropertiesCommand(args);
1647
- if (typeof optionsOrCb === "function") {
1648
- this.send(command, optionsOrCb);
1649
- } else if (typeof cb === "function") {
1650
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1651
- this.send(command, optionsOrCb || {}, cb);
1652
- } else {
1653
- return this.send(command, optionsOrCb);
1654
- }
1655
- }
1656
-
1657
- /**
1658
- * <p>Sets the state of the specified WorkSpace.</p>
1659
- * <p>To maintain a WorkSpace without being interrupted, set the WorkSpace state to
1660
- * <code>ADMIN_MAINTENANCE</code>. WorkSpaces in this state do not respond to requests to
1661
- * reboot, stop, start, rebuild, or restore. An AutoStop WorkSpace in this state is not
1662
- * stopped. Users cannot log into a WorkSpace in the <code>ADMIN_MAINTENANCE</code>
1663
- * state.</p>
1664
- */
1665
- public modifyWorkspaceState(
1666
- args: ModifyWorkspaceStateCommandInput,
1667
- options?: __HttpHandlerOptions
1668
- ): Promise<ModifyWorkspaceStateCommandOutput>;
1669
- public modifyWorkspaceState(
1670
- args: ModifyWorkspaceStateCommandInput,
1671
- cb: (err: any, data?: ModifyWorkspaceStateCommandOutput) => void
1672
- ): void;
1673
- public modifyWorkspaceState(
1674
- args: ModifyWorkspaceStateCommandInput,
1675
- options: __HttpHandlerOptions,
1676
- cb: (err: any, data?: ModifyWorkspaceStateCommandOutput) => void
1677
- ): void;
1678
- public modifyWorkspaceState(
1679
- args: ModifyWorkspaceStateCommandInput,
1680
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyWorkspaceStateCommandOutput) => void),
1681
- cb?: (err: any, data?: ModifyWorkspaceStateCommandOutput) => void
1682
- ): Promise<ModifyWorkspaceStateCommandOutput> | void {
1683
- const command = new ModifyWorkspaceStateCommand(args);
1684
- if (typeof optionsOrCb === "function") {
1685
- this.send(command, optionsOrCb);
1686
- } else if (typeof cb === "function") {
1687
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1688
- this.send(command, optionsOrCb || {}, cb);
1689
- } else {
1690
- return this.send(command, optionsOrCb);
1691
- }
1692
- }
1693
-
1694
- /**
1695
- * <p>Reboots the specified WorkSpaces.</p>
1696
- * <p>You cannot reboot a WorkSpace unless its state is <code>AVAILABLE</code> or
1697
- * <code>UNHEALTHY</code>.</p>
1698
- * <p>This operation is asynchronous and returns before the WorkSpaces have rebooted.</p>
1699
- */
1700
- public rebootWorkspaces(
1701
- args: RebootWorkspacesCommandInput,
1702
- options?: __HttpHandlerOptions
1703
- ): Promise<RebootWorkspacesCommandOutput>;
1704
- public rebootWorkspaces(
1705
- args: RebootWorkspacesCommandInput,
1706
- cb: (err: any, data?: RebootWorkspacesCommandOutput) => void
1707
- ): void;
1708
- public rebootWorkspaces(
1709
- args: RebootWorkspacesCommandInput,
1710
- options: __HttpHandlerOptions,
1711
- cb: (err: any, data?: RebootWorkspacesCommandOutput) => void
1712
- ): void;
1713
- public rebootWorkspaces(
1714
- args: RebootWorkspacesCommandInput,
1715
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RebootWorkspacesCommandOutput) => void),
1716
- cb?: (err: any, data?: RebootWorkspacesCommandOutput) => void
1717
- ): Promise<RebootWorkspacesCommandOutput> | void {
1718
- const command = new RebootWorkspacesCommand(args);
1719
- if (typeof optionsOrCb === "function") {
1720
- this.send(command, optionsOrCb);
1721
- } else if (typeof cb === "function") {
1722
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1723
- this.send(command, optionsOrCb || {}, cb);
1724
- } else {
1725
- return this.send(command, optionsOrCb);
1726
- }
1727
- }
1728
-
1729
- /**
1730
- * <p>Rebuilds the specified WorkSpace.</p>
1731
- * <p>You cannot rebuild a WorkSpace unless its state is <code>AVAILABLE</code>,
1732
- * <code>ERROR</code>, <code>UNHEALTHY</code>, <code>STOPPED</code>, or <code>REBOOTING</code>.</p>
1733
- * <p>Rebuilding a WorkSpace is a potentially destructive action that can result in the loss
1734
- * of data. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/reset-workspace.html">Rebuild a
1735
- * WorkSpace</a>.</p>
1736
- * <p>This operation is asynchronous and returns before the WorkSpaces have been completely
1737
- * rebuilt.</p>
1738
- */
1739
- public rebuildWorkspaces(
1740
- args: RebuildWorkspacesCommandInput,
1741
- options?: __HttpHandlerOptions
1742
- ): Promise<RebuildWorkspacesCommandOutput>;
1743
- public rebuildWorkspaces(
1744
- args: RebuildWorkspacesCommandInput,
1745
- cb: (err: any, data?: RebuildWorkspacesCommandOutput) => void
1746
- ): void;
1747
- public rebuildWorkspaces(
1748
- args: RebuildWorkspacesCommandInput,
1749
- options: __HttpHandlerOptions,
1750
- cb: (err: any, data?: RebuildWorkspacesCommandOutput) => void
1751
- ): void;
1752
- public rebuildWorkspaces(
1753
- args: RebuildWorkspacesCommandInput,
1754
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RebuildWorkspacesCommandOutput) => void),
1755
- cb?: (err: any, data?: RebuildWorkspacesCommandOutput) => void
1756
- ): Promise<RebuildWorkspacesCommandOutput> | void {
1757
- const command = new RebuildWorkspacesCommand(args);
1758
- if (typeof optionsOrCb === "function") {
1759
- this.send(command, optionsOrCb);
1760
- } else if (typeof cb === "function") {
1761
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1762
- this.send(command, optionsOrCb || {}, cb);
1763
- } else {
1764
- return this.send(command, optionsOrCb);
1765
- }
1766
- }
1767
-
1768
- /**
1769
- * <p>Registers the specified directory. This operation is asynchronous
1770
- * and returns before the WorkSpace directory is registered. If this is the first time you are
1771
- * registering a directory, you will need to create the workspaces_DefaultRole role before you can
1772
- * register a directory. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role">
1773
- * Creating the workspaces_DefaultRole Role</a>.</p>
1774
- */
1775
- public registerWorkspaceDirectory(
1776
- args: RegisterWorkspaceDirectoryCommandInput,
1777
- options?: __HttpHandlerOptions
1778
- ): Promise<RegisterWorkspaceDirectoryCommandOutput>;
1779
- public registerWorkspaceDirectory(
1780
- args: RegisterWorkspaceDirectoryCommandInput,
1781
- cb: (err: any, data?: RegisterWorkspaceDirectoryCommandOutput) => void
1782
- ): void;
1783
- public registerWorkspaceDirectory(
1784
- args: RegisterWorkspaceDirectoryCommandInput,
1785
- options: __HttpHandlerOptions,
1786
- cb: (err: any, data?: RegisterWorkspaceDirectoryCommandOutput) => void
1787
- ): void;
1788
- public registerWorkspaceDirectory(
1789
- args: RegisterWorkspaceDirectoryCommandInput,
1790
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterWorkspaceDirectoryCommandOutput) => void),
1791
- cb?: (err: any, data?: RegisterWorkspaceDirectoryCommandOutput) => void
1792
- ): Promise<RegisterWorkspaceDirectoryCommandOutput> | void {
1793
- const command = new RegisterWorkspaceDirectoryCommand(args);
1794
- if (typeof optionsOrCb === "function") {
1795
- this.send(command, optionsOrCb);
1796
- } else if (typeof cb === "function") {
1797
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1798
- this.send(command, optionsOrCb || {}, cb);
1799
- } else {
1800
- return this.send(command, optionsOrCb);
1801
- }
1802
- }
1803
-
1804
- /**
1805
- * <p>Restores the specified WorkSpace to its last known healthy state.</p>
1806
- * <p>You cannot restore a WorkSpace unless its state is <code> AVAILABLE</code>,
1807
- * <code>ERROR</code>, <code>UNHEALTHY</code>, or <code>STOPPED</code>.</p>
1808
- * <p>Restoring a WorkSpace is a potentially destructive action that can result in the loss of
1809
- * data. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/restore-workspace.html">Restore a
1810
- * WorkSpace</a>.</p>
1811
- * <p>This operation is asynchronous and returns before the WorkSpace is completely
1812
- * restored.</p>
1813
- */
1814
- public restoreWorkspace(
1815
- args: RestoreWorkspaceCommandInput,
1816
- options?: __HttpHandlerOptions
1817
- ): Promise<RestoreWorkspaceCommandOutput>;
1818
- public restoreWorkspace(
1819
- args: RestoreWorkspaceCommandInput,
1820
- cb: (err: any, data?: RestoreWorkspaceCommandOutput) => void
1821
- ): void;
1822
- public restoreWorkspace(
1823
- args: RestoreWorkspaceCommandInput,
1824
- options: __HttpHandlerOptions,
1825
- cb: (err: any, data?: RestoreWorkspaceCommandOutput) => void
1826
- ): void;
1827
- public restoreWorkspace(
1828
- args: RestoreWorkspaceCommandInput,
1829
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RestoreWorkspaceCommandOutput) => void),
1830
- cb?: (err: any, data?: RestoreWorkspaceCommandOutput) => void
1831
- ): Promise<RestoreWorkspaceCommandOutput> | void {
1832
- const command = new RestoreWorkspaceCommand(args);
1833
- if (typeof optionsOrCb === "function") {
1834
- this.send(command, optionsOrCb);
1835
- } else if (typeof cb === "function") {
1836
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1837
- this.send(command, optionsOrCb || {}, cb);
1838
- } else {
1839
- return this.send(command, optionsOrCb);
1840
- }
1841
- }
1842
-
1843
- /**
1844
- * <p>Removes one or more rules from the specified IP access control group.</p>
1845
- */
1846
- public revokeIpRules(
1847
- args: RevokeIpRulesCommandInput,
1848
- options?: __HttpHandlerOptions
1849
- ): Promise<RevokeIpRulesCommandOutput>;
1850
- public revokeIpRules(
1851
- args: RevokeIpRulesCommandInput,
1852
- cb: (err: any, data?: RevokeIpRulesCommandOutput) => void
1853
- ): void;
1854
- public revokeIpRules(
1855
- args: RevokeIpRulesCommandInput,
1856
- options: __HttpHandlerOptions,
1857
- cb: (err: any, data?: RevokeIpRulesCommandOutput) => void
1858
- ): void;
1859
- public revokeIpRules(
1860
- args: RevokeIpRulesCommandInput,
1861
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RevokeIpRulesCommandOutput) => void),
1862
- cb?: (err: any, data?: RevokeIpRulesCommandOutput) => void
1863
- ): Promise<RevokeIpRulesCommandOutput> | void {
1864
- const command = new RevokeIpRulesCommand(args);
1865
- if (typeof optionsOrCb === "function") {
1866
- this.send(command, optionsOrCb);
1867
- } else if (typeof cb === "function") {
1868
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1869
- this.send(command, optionsOrCb || {}, cb);
1870
- } else {
1871
- return this.send(command, optionsOrCb);
1872
- }
1873
- }
1874
-
1875
- /**
1876
- * <p>Starts the specified WorkSpaces.</p>
1877
- * <p>You cannot start a WorkSpace unless it has a running mode of <code>AutoStop</code> and a
1878
- * state of <code>STOPPED</code>.</p>
1879
- */
1880
- public startWorkspaces(
1881
- args: StartWorkspacesCommandInput,
1882
- options?: __HttpHandlerOptions
1883
- ): Promise<StartWorkspacesCommandOutput>;
1884
- public startWorkspaces(
1885
- args: StartWorkspacesCommandInput,
1886
- cb: (err: any, data?: StartWorkspacesCommandOutput) => void
1887
- ): void;
1888
- public startWorkspaces(
1889
- args: StartWorkspacesCommandInput,
1890
- options: __HttpHandlerOptions,
1891
- cb: (err: any, data?: StartWorkspacesCommandOutput) => void
1892
- ): void;
1893
- public startWorkspaces(
1894
- args: StartWorkspacesCommandInput,
1895
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartWorkspacesCommandOutput) => void),
1896
- cb?: (err: any, data?: StartWorkspacesCommandOutput) => void
1897
- ): Promise<StartWorkspacesCommandOutput> | void {
1898
- const command = new StartWorkspacesCommand(args);
1899
- if (typeof optionsOrCb === "function") {
1900
- this.send(command, optionsOrCb);
1901
- } else if (typeof cb === "function") {
1902
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1903
- this.send(command, optionsOrCb || {}, cb);
1904
- } else {
1905
- return this.send(command, optionsOrCb);
1906
- }
1907
- }
1908
-
1909
- /**
1910
- * <p> Stops the specified WorkSpaces.</p>
1911
- * <p>You cannot stop a WorkSpace unless it has a running mode of <code>AutoStop</code> and a
1912
- * state of <code>AVAILABLE</code>, <code>IMPAIRED</code>, <code>UNHEALTHY</code>, or
1913
- * <code>ERROR</code>.</p>
1914
- */
1915
- public stopWorkspaces(
1916
- args: StopWorkspacesCommandInput,
1917
- options?: __HttpHandlerOptions
1918
- ): Promise<StopWorkspacesCommandOutput>;
1919
- public stopWorkspaces(
1920
- args: StopWorkspacesCommandInput,
1921
- cb: (err: any, data?: StopWorkspacesCommandOutput) => void
1922
- ): void;
1923
- public stopWorkspaces(
1924
- args: StopWorkspacesCommandInput,
1925
- options: __HttpHandlerOptions,
1926
- cb: (err: any, data?: StopWorkspacesCommandOutput) => void
1927
- ): void;
1928
- public stopWorkspaces(
1929
- args: StopWorkspacesCommandInput,
1930
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopWorkspacesCommandOutput) => void),
1931
- cb?: (err: any, data?: StopWorkspacesCommandOutput) => void
1932
- ): Promise<StopWorkspacesCommandOutput> | void {
1933
- const command = new StopWorkspacesCommand(args);
1934
- if (typeof optionsOrCb === "function") {
1935
- this.send(command, optionsOrCb);
1936
- } else if (typeof cb === "function") {
1937
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1938
- this.send(command, optionsOrCb || {}, cb);
1939
- } else {
1940
- return this.send(command, optionsOrCb);
1941
- }
1942
- }
1943
-
1944
- /**
1945
- * <p>Terminates the specified WorkSpaces.</p>
1946
- *
1947
- * <important>
1948
- * <p>Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is
1949
- * destroyed. If you need to archive any user data, contact AWS Support before
1950
- * terminating the WorkSpace.</p>
1951
- * </important>
1952
- *
1953
- * <p>You can terminate a WorkSpace that is in any state except <code>SUSPENDED</code>.</p>
1954
- * <p>This operation is asynchronous and returns before the WorkSpaces have been completely
1955
- * terminated. After a WorkSpace is terminated, the <code>TERMINATED</code> state is returned
1956
- * only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely
1957
- * returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using
1958
- * <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html">
1959
- * DescribeWorkSpaces</a>. If the WorkSpace ID isn't returned, then the WorkSpace has
1960
- * been successfully terminated.</p>
1961
- *
1962
- * <note>
1963
- * <p>Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces.
1964
- * If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30
1965
- * consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces,
1966
- * and you will be charged for this directory as per the
1967
- * <a href="http://aws.amazon.com/directoryservice/pricing/">AWS Directory Services pricing terms</a>.</p>
1968
- *
1969
- * <p>To delete empty directories, see
1970
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html">
1971
- * Delete the Directory for Your WorkSpaces</a>. If you delete your
1972
- * Simple AD or AD Connector directory, you can always create a new one when you want to start using
1973
- * WorkSpaces again.</p>
1974
- * </note>
1975
- */
1976
- public terminateWorkspaces(
1977
- args: TerminateWorkspacesCommandInput,
1978
- options?: __HttpHandlerOptions
1979
- ): Promise<TerminateWorkspacesCommandOutput>;
1980
- public terminateWorkspaces(
1981
- args: TerminateWorkspacesCommandInput,
1982
- cb: (err: any, data?: TerminateWorkspacesCommandOutput) => void
1983
- ): void;
1984
- public terminateWorkspaces(
1985
- args: TerminateWorkspacesCommandInput,
1986
- options: __HttpHandlerOptions,
1987
- cb: (err: any, data?: TerminateWorkspacesCommandOutput) => void
1988
- ): void;
1989
- public terminateWorkspaces(
1990
- args: TerminateWorkspacesCommandInput,
1991
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TerminateWorkspacesCommandOutput) => void),
1992
- cb?: (err: any, data?: TerminateWorkspacesCommandOutput) => void
1993
- ): Promise<TerminateWorkspacesCommandOutput> | void {
1994
- const command = new TerminateWorkspacesCommand(args);
1995
- if (typeof optionsOrCb === "function") {
1996
- this.send(command, optionsOrCb);
1997
- } else if (typeof cb === "function") {
1998
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1999
- this.send(command, optionsOrCb || {}, cb);
2000
- } else {
2001
- return this.send(command, optionsOrCb);
2002
- }
2003
- }
2004
-
2005
- /**
2006
- * <p>Shares or unshares a connection alias with one account by specifying whether that account has permission to
2007
- * associate the connection alias with a directory. If the association permission is granted, the connection alias
2008
- * is shared with that account. If the association permission is revoked, the connection alias is unshared with the
2009
- * account. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
2010
- * Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
2011
- *
2012
- * <note>
2013
- * <ul>
2014
- * <li>
2015
- * <p>Before performing this operation, call <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html">
2016
- * DescribeConnectionAliases</a> to make sure that the current state of the connection alias is <code>CREATED</code>.</p>
2017
- * </li>
2018
- * <li>
2019
- * <p>To delete a connection alias that has been shared, the shared account must first disassociate the
2020
- * connection alias from any directories it has been associated with. Then you must unshare the connection
2021
- * alias from the account it has been shared with. You can delete a connection alias only after it is no
2022
- * longer shared with any accounts or associated with any directories.</p>
2023
- * </li>
2024
- * </ul>
2025
- * </note>
2026
- */
2027
- public updateConnectionAliasPermission(
2028
- args: UpdateConnectionAliasPermissionCommandInput,
2029
- options?: __HttpHandlerOptions
2030
- ): Promise<UpdateConnectionAliasPermissionCommandOutput>;
2031
- public updateConnectionAliasPermission(
2032
- args: UpdateConnectionAliasPermissionCommandInput,
2033
- cb: (err: any, data?: UpdateConnectionAliasPermissionCommandOutput) => void
2034
- ): void;
2035
- public updateConnectionAliasPermission(
2036
- args: UpdateConnectionAliasPermissionCommandInput,
2037
- options: __HttpHandlerOptions,
2038
- cb: (err: any, data?: UpdateConnectionAliasPermissionCommandOutput) => void
2039
- ): void;
2040
- public updateConnectionAliasPermission(
2041
- args: UpdateConnectionAliasPermissionCommandInput,
2042
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateConnectionAliasPermissionCommandOutput) => void),
2043
- cb?: (err: any, data?: UpdateConnectionAliasPermissionCommandOutput) => void
2044
- ): Promise<UpdateConnectionAliasPermissionCommandOutput> | void {
2045
- const command = new UpdateConnectionAliasPermissionCommand(args);
2046
- if (typeof optionsOrCb === "function") {
2047
- this.send(command, optionsOrCb);
2048
- } else if (typeof cb === "function") {
2049
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2050
- this.send(command, optionsOrCb || {}, cb);
2051
- } else {
2052
- return this.send(command, optionsOrCb);
2053
- }
2054
- }
2055
-
2056
- /**
2057
- * <p>Replaces the current rules of the specified IP access control group with the specified
2058
- * rules.</p>
2059
- */
2060
- public updateRulesOfIpGroup(
2061
- args: UpdateRulesOfIpGroupCommandInput,
2062
- options?: __HttpHandlerOptions
2063
- ): Promise<UpdateRulesOfIpGroupCommandOutput>;
2064
- public updateRulesOfIpGroup(
2065
- args: UpdateRulesOfIpGroupCommandInput,
2066
- cb: (err: any, data?: UpdateRulesOfIpGroupCommandOutput) => void
2067
- ): void;
2068
- public updateRulesOfIpGroup(
2069
- args: UpdateRulesOfIpGroupCommandInput,
2070
- options: __HttpHandlerOptions,
2071
- cb: (err: any, data?: UpdateRulesOfIpGroupCommandOutput) => void
2072
- ): void;
2073
- public updateRulesOfIpGroup(
2074
- args: UpdateRulesOfIpGroupCommandInput,
2075
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRulesOfIpGroupCommandOutput) => void),
2076
- cb?: (err: any, data?: UpdateRulesOfIpGroupCommandOutput) => void
2077
- ): Promise<UpdateRulesOfIpGroupCommandOutput> | void {
2078
- const command = new UpdateRulesOfIpGroupCommand(args);
2079
- if (typeof optionsOrCb === "function") {
2080
- this.send(command, optionsOrCb);
2081
- } else if (typeof cb === "function") {
2082
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2083
- this.send(command, optionsOrCb || {}, cb);
2084
- } else {
2085
- return this.send(command, optionsOrCb);
2086
- }
2087
- }
2088
-
2089
- /**
2090
- * <p>Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see
2091
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/update-custom-bundle.html">
2092
- * Update a Custom WorkSpaces Bundle</a>.</p>
2093
- *
2094
- * <important>
2095
- * <p>Existing WorkSpaces aren't automatically updated when you update the bundle that they're
2096
- * based on. To update existing WorkSpaces that are based on a bundle that you've updated, you
2097
- * must either rebuild the WorkSpaces or delete and recreate them.</p>
2098
- * </important>
2099
- */
2100
- public updateWorkspaceBundle(
2101
- args: UpdateWorkspaceBundleCommandInput,
2102
- options?: __HttpHandlerOptions
2103
- ): Promise<UpdateWorkspaceBundleCommandOutput>;
2104
- public updateWorkspaceBundle(
2105
- args: UpdateWorkspaceBundleCommandInput,
2106
- cb: (err: any, data?: UpdateWorkspaceBundleCommandOutput) => void
2107
- ): void;
2108
- public updateWorkspaceBundle(
2109
- args: UpdateWorkspaceBundleCommandInput,
2110
- options: __HttpHandlerOptions,
2111
- cb: (err: any, data?: UpdateWorkspaceBundleCommandOutput) => void
2112
- ): void;
2113
- public updateWorkspaceBundle(
2114
- args: UpdateWorkspaceBundleCommandInput,
2115
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateWorkspaceBundleCommandOutput) => void),
2116
- cb?: (err: any, data?: UpdateWorkspaceBundleCommandOutput) => void
2117
- ): Promise<UpdateWorkspaceBundleCommandOutput> | void {
2118
- const command = new UpdateWorkspaceBundleCommand(args);
2119
- if (typeof optionsOrCb === "function") {
2120
- this.send(command, optionsOrCb);
2121
- } else if (typeof cb === "function") {
2122
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2123
- this.send(command, optionsOrCb || {}, cb);
2124
- } else {
2125
- return this.send(command, optionsOrCb);
2126
- }
2127
- }
2128
-
2129
- /**
2130
- * <p>Shares or unshares an image with one account in the same AWS Region by specifying whether that account has
2131
- * permission to copy the image. If the copy image permission is granted, the image is shared with that account.
2132
- * If the copy image permission is revoked, the image is unshared with the account.</p>
2133
- *
2134
- * <p>After an image has been shared, the recipient account can copy the image to other AWS Regions as needed.</p>
2135
- *
2136
- * <note>
2137
- * <p>In the China (Ningxia) Region, you can copy images only within the same Region.</p>
2138
- *
2139
- * <p>In the AWS GovCloud (US-West) Region, to copy images to and from other AWS Regions,
2140
- * contact AWS Support.</p>
2141
- * </note>
2142
- *
2143
- * <p>For more information about sharing images, see
2144
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html">
2145
- * Share or Unshare a Custom WorkSpaces Image</a>.</p>
2146
- *
2147
- * <note>
2148
- * <ul>
2149
- * <li>
2150
- * <p>To delete an image that has been shared, you must unshare the image before you delete it.</p>
2151
- * </li>
2152
- * <li>
2153
- * <p>Sharing Bring Your Own License (BYOL) images across AWS accounts isn't supported at
2154
- * this time in the AWS GovCloud (US-West) Region. To share BYOL images across accounts in
2155
- * the AWS GovCloud (US-West) Region, contact AWS Support.</p>
2156
- * </li>
2157
- * </ul>
2158
- * </note>
2159
- */
2160
- public updateWorkspaceImagePermission(
2161
- args: UpdateWorkspaceImagePermissionCommandInput,
2162
- options?: __HttpHandlerOptions
2163
- ): Promise<UpdateWorkspaceImagePermissionCommandOutput>;
2164
- public updateWorkspaceImagePermission(
2165
- args: UpdateWorkspaceImagePermissionCommandInput,
2166
- cb: (err: any, data?: UpdateWorkspaceImagePermissionCommandOutput) => void
2167
- ): void;
2168
- public updateWorkspaceImagePermission(
2169
- args: UpdateWorkspaceImagePermissionCommandInput,
2170
- options: __HttpHandlerOptions,
2171
- cb: (err: any, data?: UpdateWorkspaceImagePermissionCommandOutput) => void
2172
- ): void;
2173
- public updateWorkspaceImagePermission(
2174
- args: UpdateWorkspaceImagePermissionCommandInput,
2175
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateWorkspaceImagePermissionCommandOutput) => void),
2176
- cb?: (err: any, data?: UpdateWorkspaceImagePermissionCommandOutput) => void
2177
- ): Promise<UpdateWorkspaceImagePermissionCommandOutput> | void {
2178
- const command = new UpdateWorkspaceImagePermissionCommand(args);
2179
- if (typeof optionsOrCb === "function") {
2180
- this.send(command, optionsOrCb);
2181
- } else if (typeof cb === "function") {
2182
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2183
- this.send(command, optionsOrCb || {}, cb);
2184
- } else {
2185
- return this.send(command, optionsOrCb);
2186
- }
2187
- }
2188
- }