@aws-sdk/client-workspaces 3.35.0 → 3.38.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 (422) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/WorkSpaces.js +0 -6
  3. package/dist-cjs/WorkSpacesClient.js +0 -11
  4. package/dist-cjs/commands/AssociateConnectionAliasCommand.js +0 -32
  5. package/dist-cjs/commands/AssociateIpGroupsCommand.js +0 -25
  6. package/dist-cjs/commands/AuthorizeIpRulesCommand.js +0 -27
  7. package/dist-cjs/commands/CopyWorkspaceImageCommand.js +0 -38
  8. package/dist-cjs/commands/CreateConnectionAliasCommand.js +0 -27
  9. package/dist-cjs/commands/CreateIpGroupCommand.js +0 -34
  10. package/dist-cjs/commands/CreateTagsCommand.js +0 -25
  11. package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js +0 -48
  12. package/dist-cjs/commands/CreateWorkspaceBundleCommand.js +0 -27
  13. package/dist-cjs/commands/CreateWorkspacesCommand.js +0 -26
  14. package/dist-cjs/commands/DeleteConnectionAliasCommand.js +0 -42
  15. package/dist-cjs/commands/DeleteIpGroupCommand.js +0 -26
  16. package/dist-cjs/commands/DeleteTagsCommand.js +0 -25
  17. package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js +0 -27
  18. package/dist-cjs/commands/DeleteWorkspaceImageCommand.js +0 -27
  19. package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js +0 -41
  20. package/dist-cjs/commands/DescribeAccountCommand.js +0 -26
  21. package/dist-cjs/commands/DescribeAccountModificationsCommand.js +0 -26
  22. package/dist-cjs/commands/DescribeClientPropertiesCommand.js +0 -25
  23. package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js +0 -27
  24. package/dist-cjs/commands/DescribeConnectionAliasesCommand.js +0 -27
  25. package/dist-cjs/commands/DescribeIpGroupsCommand.js +0 -25
  26. package/dist-cjs/commands/DescribeTagsCommand.js +0 -25
  27. package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js +0 -26
  28. package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js +0 -26
  29. package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +0 -26
  30. package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js +0 -26
  31. package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js +0 -25
  32. package/dist-cjs/commands/DescribeWorkspacesCommand.js +0 -27
  33. package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +0 -25
  34. package/dist-cjs/commands/DisassociateConnectionAliasCommand.js +0 -33
  35. package/dist-cjs/commands/DisassociateIpGroupsCommand.js +0 -25
  36. package/dist-cjs/commands/ImportWorkspaceImageCommand.js +0 -29
  37. package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js +0 -33
  38. package/dist-cjs/commands/MigrateWorkspaceCommand.js +0 -33
  39. package/dist-cjs/commands/ModifyAccountCommand.js +0 -26
  40. package/dist-cjs/commands/ModifyClientPropertiesCommand.js +0 -25
  41. package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js +0 -26
  42. package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +0 -27
  43. package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +0 -25
  44. package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js +0 -29
  45. package/dist-cjs/commands/ModifyWorkspaceStateCommand.js +0 -30
  46. package/dist-cjs/commands/RebootWorkspacesCommand.js +0 -28
  47. package/dist-cjs/commands/RebuildWorkspacesCommand.js +0 -32
  48. package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js +0 -29
  49. package/dist-cjs/commands/RestoreWorkspaceCommand.js +0 -32
  50. package/dist-cjs/commands/RevokeIpRulesCommand.js +0 -25
  51. package/dist-cjs/commands/StartWorkspacesCommand.js +0 -27
  52. package/dist-cjs/commands/StopWorkspacesCommand.js +0 -28
  53. package/dist-cjs/commands/TerminateWorkspacesCommand.js +0 -54
  54. package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js +0 -44
  55. package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js +0 -26
  56. package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js +0 -33
  57. package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js +0 -50
  58. package/dist-cjs/commands/index.js +57 -0
  59. package/dist-cjs/endpoints.js +1 -2
  60. package/dist-cjs/index.js +4 -61
  61. package/dist-cjs/models/index.js +0 -1
  62. package/dist-cjs/models/models_0.js +0 -472
  63. package/dist-cjs/pagination/DescribeWorkspaceBundlesPaginator.js +0 -11
  64. package/dist-cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js +0 -11
  65. package/dist-cjs/pagination/DescribeWorkspacesPaginator.js +0 -11
  66. package/dist-cjs/pagination/Interfaces.js +0 -1
  67. package/dist-cjs/pagination/index.js +7 -0
  68. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  69. package/dist-cjs/runtimeConfig.browser.js +1 -6
  70. package/dist-cjs/runtimeConfig.js +2 -7
  71. package/dist-cjs/runtimeConfig.native.js +0 -4
  72. package/dist-cjs/runtimeConfig.shared.js +0 -4
  73. package/dist-es/WorkSpaces.js +0 -1
  74. package/dist-es/WorkSpacesClient.js +0 -1
  75. package/dist-es/commands/AssociateConnectionAliasCommand.js +0 -1
  76. package/dist-es/commands/AssociateIpGroupsCommand.js +0 -1
  77. package/dist-es/commands/AuthorizeIpRulesCommand.js +0 -1
  78. package/dist-es/commands/CopyWorkspaceImageCommand.js +0 -1
  79. package/dist-es/commands/CreateConnectionAliasCommand.js +0 -1
  80. package/dist-es/commands/CreateIpGroupCommand.js +0 -1
  81. package/dist-es/commands/CreateTagsCommand.js +0 -1
  82. package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +0 -1
  83. package/dist-es/commands/CreateWorkspaceBundleCommand.js +0 -1
  84. package/dist-es/commands/CreateWorkspacesCommand.js +0 -1
  85. package/dist-es/commands/DeleteConnectionAliasCommand.js +0 -1
  86. package/dist-es/commands/DeleteIpGroupCommand.js +0 -1
  87. package/dist-es/commands/DeleteTagsCommand.js +0 -1
  88. package/dist-es/commands/DeleteWorkspaceBundleCommand.js +0 -1
  89. package/dist-es/commands/DeleteWorkspaceImageCommand.js +0 -1
  90. package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +0 -1
  91. package/dist-es/commands/DescribeAccountCommand.js +0 -1
  92. package/dist-es/commands/DescribeAccountModificationsCommand.js +0 -1
  93. package/dist-es/commands/DescribeClientPropertiesCommand.js +0 -1
  94. package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +0 -1
  95. package/dist-es/commands/DescribeConnectionAliasesCommand.js +0 -1
  96. package/dist-es/commands/DescribeIpGroupsCommand.js +0 -1
  97. package/dist-es/commands/DescribeTagsCommand.js +0 -1
  98. package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +0 -1
  99. package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +0 -1
  100. package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +0 -1
  101. package/dist-es/commands/DescribeWorkspaceImagesCommand.js +0 -1
  102. package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +0 -1
  103. package/dist-es/commands/DescribeWorkspacesCommand.js +0 -1
  104. package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +0 -1
  105. package/dist-es/commands/DisassociateConnectionAliasCommand.js +0 -1
  106. package/dist-es/commands/DisassociateIpGroupsCommand.js +0 -1
  107. package/dist-es/commands/ImportWorkspaceImageCommand.js +0 -1
  108. package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +0 -1
  109. package/dist-es/commands/MigrateWorkspaceCommand.js +0 -1
  110. package/dist-es/commands/ModifyAccountCommand.js +0 -1
  111. package/dist-es/commands/ModifyClientPropertiesCommand.js +0 -1
  112. package/dist-es/commands/ModifySelfservicePermissionsCommand.js +0 -1
  113. package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +0 -1
  114. package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +0 -1
  115. package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +0 -1
  116. package/dist-es/commands/ModifyWorkspaceStateCommand.js +0 -1
  117. package/dist-es/commands/RebootWorkspacesCommand.js +0 -1
  118. package/dist-es/commands/RebuildWorkspacesCommand.js +0 -1
  119. package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +0 -1
  120. package/dist-es/commands/RestoreWorkspaceCommand.js +0 -1
  121. package/dist-es/commands/RevokeIpRulesCommand.js +0 -1
  122. package/dist-es/commands/StartWorkspacesCommand.js +0 -1
  123. package/dist-es/commands/StopWorkspacesCommand.js +0 -1
  124. package/dist-es/commands/TerminateWorkspacesCommand.js +0 -1
  125. package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +0 -1
  126. package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +0 -1
  127. package/dist-es/commands/UpdateWorkspaceBundleCommand.js +0 -1
  128. package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +0 -1
  129. package/dist-es/commands/index.js +54 -0
  130. package/dist-es/endpoints.js +1 -2
  131. package/dist-es/index.js +4 -61
  132. package/dist-es/models/index.js +0 -1
  133. package/dist-es/models/models_0.js +0 -1
  134. package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js +0 -1
  135. package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js +0 -1
  136. package/dist-es/pagination/DescribeWorkspacesPaginator.js +0 -1
  137. package/dist-es/pagination/Interfaces.js +0 -1
  138. package/dist-es/pagination/index.js +4 -0
  139. package/dist-es/protocols/Aws_json1_1.js +0 -1
  140. package/dist-es/runtimeConfig.browser.js +1 -2
  141. package/dist-es/runtimeConfig.js +2 -3
  142. package/dist-es/runtimeConfig.native.js +0 -1
  143. package/dist-es/runtimeConfig.shared.js +0 -1
  144. package/dist-types/commands/index.d.ts +54 -0
  145. package/dist-types/index.d.ts +4 -60
  146. package/dist-types/pagination/index.d.ts +4 -0
  147. package/dist-types/ts3.4/WorkSpaces.d.ts +55 -425
  148. package/dist-types/ts3.4/WorkSpacesClient.d.ts +24 -91
  149. package/dist-types/ts3.4/commands/AssociateConnectionAliasCommand.d.ts +2 -27
  150. package/dist-types/ts3.4/commands/AssociateIpGroupsCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/AuthorizeIpRulesCommand.d.ts +2 -22
  152. package/dist-types/ts3.4/commands/CopyWorkspaceImageCommand.d.ts +2 -33
  153. package/dist-types/ts3.4/commands/CreateConnectionAliasCommand.d.ts +2 -22
  154. package/dist-types/ts3.4/commands/CreateIpGroupCommand.d.ts +2 -29
  155. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/CreateUpdatedWorkspaceImageCommand.d.ts +2 -43
  157. package/dist-types/ts3.4/commands/CreateWorkspaceBundleCommand.d.ts +2 -22
  158. package/dist-types/ts3.4/commands/CreateWorkspacesCommand.d.ts +2 -21
  159. package/dist-types/ts3.4/commands/DeleteConnectionAliasCommand.d.ts +2 -37
  160. package/dist-types/ts3.4/commands/DeleteIpGroupCommand.d.ts +2 -21
  161. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -20
  162. package/dist-types/ts3.4/commands/DeleteWorkspaceBundleCommand.d.ts +2 -22
  163. package/dist-types/ts3.4/commands/DeleteWorkspaceImageCommand.d.ts +2 -22
  164. package/dist-types/ts3.4/commands/DeregisterWorkspaceDirectoryCommand.d.ts +2 -36
  165. package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +2 -21
  166. package/dist-types/ts3.4/commands/DescribeAccountModificationsCommand.d.ts +2 -21
  167. package/dist-types/ts3.4/commands/DescribeClientPropertiesCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/DescribeConnectionAliasPermissionsCommand.d.ts +2 -22
  169. package/dist-types/ts3.4/commands/DescribeConnectionAliasesCommand.d.ts +2 -22
  170. package/dist-types/ts3.4/commands/DescribeIpGroupsCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -20
  172. package/dist-types/ts3.4/commands/DescribeWorkspaceBundlesCommand.d.ts +2 -21
  173. package/dist-types/ts3.4/commands/DescribeWorkspaceDirectoriesCommand.d.ts +2 -21
  174. package/dist-types/ts3.4/commands/DescribeWorkspaceImagePermissionsCommand.d.ts +2 -21
  175. package/dist-types/ts3.4/commands/DescribeWorkspaceImagesCommand.d.ts +2 -21
  176. package/dist-types/ts3.4/commands/DescribeWorkspaceSnapshotsCommand.d.ts +2 -20
  177. package/dist-types/ts3.4/commands/DescribeWorkspacesCommand.d.ts +2 -22
  178. package/dist-types/ts3.4/commands/DescribeWorkspacesConnectionStatusCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/DisassociateConnectionAliasCommand.d.ts +2 -28
  180. package/dist-types/ts3.4/commands/DisassociateIpGroupsCommand.d.ts +2 -20
  181. package/dist-types/ts3.4/commands/ImportWorkspaceImageCommand.d.ts +2 -24
  182. package/dist-types/ts3.4/commands/ListAvailableManagementCidrRangesCommand.d.ts +2 -28
  183. package/dist-types/ts3.4/commands/MigrateWorkspaceCommand.d.ts +2 -28
  184. package/dist-types/ts3.4/commands/ModifyAccountCommand.d.ts +2 -21
  185. package/dist-types/ts3.4/commands/ModifyClientPropertiesCommand.d.ts +2 -20
  186. package/dist-types/ts3.4/commands/ModifySelfservicePermissionsCommand.d.ts +2 -21
  187. package/dist-types/ts3.4/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +2 -22
  188. package/dist-types/ts3.4/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +2 -20
  189. package/dist-types/ts3.4/commands/ModifyWorkspacePropertiesCommand.d.ts +2 -24
  190. package/dist-types/ts3.4/commands/ModifyWorkspaceStateCommand.d.ts +2 -25
  191. package/dist-types/ts3.4/commands/RebootWorkspacesCommand.d.ts +2 -23
  192. package/dist-types/ts3.4/commands/RebuildWorkspacesCommand.d.ts +2 -27
  193. package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +2 -24
  194. package/dist-types/ts3.4/commands/RestoreWorkspaceCommand.d.ts +2 -27
  195. package/dist-types/ts3.4/commands/RevokeIpRulesCommand.d.ts +2 -20
  196. package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +2 -22
  197. package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +2 -23
  198. package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +2 -49
  199. package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +2 -39
  200. package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +2 -21
  201. package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +2 -28
  202. package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +2 -45
  203. package/dist-types/ts3.4/commands/index.d.ts +54 -0
  204. package/dist-types/ts3.4/index.d.ts +4 -60
  205. package/dist-types/ts3.4/models/models_0.d.ts +525 -1786
  206. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  207. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  208. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  209. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  210. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  211. package/package.json +33 -30
  212. package/dist-cjs/WorkSpaces.js.map +0 -1
  213. package/dist-cjs/WorkSpacesClient.js.map +0 -1
  214. package/dist-cjs/commands/AssociateConnectionAliasCommand.js.map +0 -1
  215. package/dist-cjs/commands/AssociateIpGroupsCommand.js.map +0 -1
  216. package/dist-cjs/commands/AuthorizeIpRulesCommand.js.map +0 -1
  217. package/dist-cjs/commands/CopyWorkspaceImageCommand.js.map +0 -1
  218. package/dist-cjs/commands/CreateConnectionAliasCommand.js.map +0 -1
  219. package/dist-cjs/commands/CreateIpGroupCommand.js.map +0 -1
  220. package/dist-cjs/commands/CreateTagsCommand.js.map +0 -1
  221. package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js.map +0 -1
  222. package/dist-cjs/commands/CreateWorkspaceBundleCommand.js.map +0 -1
  223. package/dist-cjs/commands/CreateWorkspacesCommand.js.map +0 -1
  224. package/dist-cjs/commands/DeleteConnectionAliasCommand.js.map +0 -1
  225. package/dist-cjs/commands/DeleteIpGroupCommand.js.map +0 -1
  226. package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
  227. package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js.map +0 -1
  228. package/dist-cjs/commands/DeleteWorkspaceImageCommand.js.map +0 -1
  229. package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js.map +0 -1
  230. package/dist-cjs/commands/DescribeAccountCommand.js.map +0 -1
  231. package/dist-cjs/commands/DescribeAccountModificationsCommand.js.map +0 -1
  232. package/dist-cjs/commands/DescribeClientPropertiesCommand.js.map +0 -1
  233. package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js.map +0 -1
  234. package/dist-cjs/commands/DescribeConnectionAliasesCommand.js.map +0 -1
  235. package/dist-cjs/commands/DescribeIpGroupsCommand.js.map +0 -1
  236. package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
  237. package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js.map +0 -1
  238. package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js.map +0 -1
  239. package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js.map +0 -1
  240. package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js.map +0 -1
  241. package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js.map +0 -1
  242. package/dist-cjs/commands/DescribeWorkspacesCommand.js.map +0 -1
  243. package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js.map +0 -1
  244. package/dist-cjs/commands/DisassociateConnectionAliasCommand.js.map +0 -1
  245. package/dist-cjs/commands/DisassociateIpGroupsCommand.js.map +0 -1
  246. package/dist-cjs/commands/ImportWorkspaceImageCommand.js.map +0 -1
  247. package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js.map +0 -1
  248. package/dist-cjs/commands/MigrateWorkspaceCommand.js.map +0 -1
  249. package/dist-cjs/commands/ModifyAccountCommand.js.map +0 -1
  250. package/dist-cjs/commands/ModifyClientPropertiesCommand.js.map +0 -1
  251. package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js.map +0 -1
  252. package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +0 -1
  253. package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +0 -1
  254. package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js.map +0 -1
  255. package/dist-cjs/commands/ModifyWorkspaceStateCommand.js.map +0 -1
  256. package/dist-cjs/commands/RebootWorkspacesCommand.js.map +0 -1
  257. package/dist-cjs/commands/RebuildWorkspacesCommand.js.map +0 -1
  258. package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js.map +0 -1
  259. package/dist-cjs/commands/RestoreWorkspaceCommand.js.map +0 -1
  260. package/dist-cjs/commands/RevokeIpRulesCommand.js.map +0 -1
  261. package/dist-cjs/commands/StartWorkspacesCommand.js.map +0 -1
  262. package/dist-cjs/commands/StopWorkspacesCommand.js.map +0 -1
  263. package/dist-cjs/commands/TerminateWorkspacesCommand.js.map +0 -1
  264. package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js.map +0 -1
  265. package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js.map +0 -1
  266. package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js.map +0 -1
  267. package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js.map +0 -1
  268. package/dist-cjs/endpoints.js.map +0 -1
  269. package/dist-cjs/index.js.map +0 -1
  270. package/dist-cjs/models/index.js.map +0 -1
  271. package/dist-cjs/models/models_0.js.map +0 -1
  272. package/dist-cjs/pagination/DescribeWorkspaceBundlesPaginator.js.map +0 -1
  273. package/dist-cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +0 -1
  274. package/dist-cjs/pagination/DescribeWorkspacesPaginator.js.map +0 -1
  275. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  276. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  277. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  278. package/dist-cjs/runtimeConfig.js.map +0 -1
  279. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  280. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  281. package/dist-es/WorkSpaces.js.map +0 -1
  282. package/dist-es/WorkSpacesClient.js.map +0 -1
  283. package/dist-es/commands/AssociateConnectionAliasCommand.js.map +0 -1
  284. package/dist-es/commands/AssociateIpGroupsCommand.js.map +0 -1
  285. package/dist-es/commands/AuthorizeIpRulesCommand.js.map +0 -1
  286. package/dist-es/commands/CopyWorkspaceImageCommand.js.map +0 -1
  287. package/dist-es/commands/CreateConnectionAliasCommand.js.map +0 -1
  288. package/dist-es/commands/CreateIpGroupCommand.js.map +0 -1
  289. package/dist-es/commands/CreateTagsCommand.js.map +0 -1
  290. package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js.map +0 -1
  291. package/dist-es/commands/CreateWorkspaceBundleCommand.js.map +0 -1
  292. package/dist-es/commands/CreateWorkspacesCommand.js.map +0 -1
  293. package/dist-es/commands/DeleteConnectionAliasCommand.js.map +0 -1
  294. package/dist-es/commands/DeleteIpGroupCommand.js.map +0 -1
  295. package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
  296. package/dist-es/commands/DeleteWorkspaceBundleCommand.js.map +0 -1
  297. package/dist-es/commands/DeleteWorkspaceImageCommand.js.map +0 -1
  298. package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js.map +0 -1
  299. package/dist-es/commands/DescribeAccountCommand.js.map +0 -1
  300. package/dist-es/commands/DescribeAccountModificationsCommand.js.map +0 -1
  301. package/dist-es/commands/DescribeClientPropertiesCommand.js.map +0 -1
  302. package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js.map +0 -1
  303. package/dist-es/commands/DescribeConnectionAliasesCommand.js.map +0 -1
  304. package/dist-es/commands/DescribeIpGroupsCommand.js.map +0 -1
  305. package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
  306. package/dist-es/commands/DescribeWorkspaceBundlesCommand.js.map +0 -1
  307. package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js.map +0 -1
  308. package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js.map +0 -1
  309. package/dist-es/commands/DescribeWorkspaceImagesCommand.js.map +0 -1
  310. package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js.map +0 -1
  311. package/dist-es/commands/DescribeWorkspacesCommand.js.map +0 -1
  312. package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js.map +0 -1
  313. package/dist-es/commands/DisassociateConnectionAliasCommand.js.map +0 -1
  314. package/dist-es/commands/DisassociateIpGroupsCommand.js.map +0 -1
  315. package/dist-es/commands/ImportWorkspaceImageCommand.js.map +0 -1
  316. package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js.map +0 -1
  317. package/dist-es/commands/MigrateWorkspaceCommand.js.map +0 -1
  318. package/dist-es/commands/ModifyAccountCommand.js.map +0 -1
  319. package/dist-es/commands/ModifyClientPropertiesCommand.js.map +0 -1
  320. package/dist-es/commands/ModifySelfservicePermissionsCommand.js.map +0 -1
  321. package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +0 -1
  322. package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +0 -1
  323. package/dist-es/commands/ModifyWorkspacePropertiesCommand.js.map +0 -1
  324. package/dist-es/commands/ModifyWorkspaceStateCommand.js.map +0 -1
  325. package/dist-es/commands/RebootWorkspacesCommand.js.map +0 -1
  326. package/dist-es/commands/RebuildWorkspacesCommand.js.map +0 -1
  327. package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js.map +0 -1
  328. package/dist-es/commands/RestoreWorkspaceCommand.js.map +0 -1
  329. package/dist-es/commands/RevokeIpRulesCommand.js.map +0 -1
  330. package/dist-es/commands/StartWorkspacesCommand.js.map +0 -1
  331. package/dist-es/commands/StopWorkspacesCommand.js.map +0 -1
  332. package/dist-es/commands/TerminateWorkspacesCommand.js.map +0 -1
  333. package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js.map +0 -1
  334. package/dist-es/commands/UpdateRulesOfIpGroupCommand.js.map +0 -1
  335. package/dist-es/commands/UpdateWorkspaceBundleCommand.js.map +0 -1
  336. package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js.map +0 -1
  337. package/dist-es/endpoints.js.map +0 -1
  338. package/dist-es/index.js.map +0 -1
  339. package/dist-es/models/index.js.map +0 -1
  340. package/dist-es/models/models_0.js.map +0 -1
  341. package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js.map +0 -1
  342. package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +0 -1
  343. package/dist-es/pagination/DescribeWorkspacesPaginator.js.map +0 -1
  344. package/dist-es/pagination/Interfaces.js.map +0 -1
  345. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  346. package/dist-es/runtimeConfig.browser.js.map +0 -1
  347. package/dist-es/runtimeConfig.js.map +0 -1
  348. package/dist-es/runtimeConfig.native.js.map +0 -1
  349. package/dist-es/runtimeConfig.shared.js.map +0 -1
  350. package/jest.config.js +0 -4
  351. package/src/WorkSpaces.ts +0 -2243
  352. package/src/WorkSpacesClient.ts +0 -502
  353. package/src/commands/AssociateConnectionAliasCommand.ts +0 -102
  354. package/src/commands/AssociateIpGroupsCommand.ts +0 -95
  355. package/src/commands/AuthorizeIpRulesCommand.ts +0 -97
  356. package/src/commands/CopyWorkspaceImageCommand.ts +0 -108
  357. package/src/commands/CreateConnectionAliasCommand.ts +0 -97
  358. package/src/commands/CreateIpGroupCommand.ts +0 -104
  359. package/src/commands/CreateTagsCommand.ts +0 -95
  360. package/src/commands/CreateUpdatedWorkspaceImageCommand.ts +0 -121
  361. package/src/commands/CreateWorkspaceBundleCommand.ts +0 -97
  362. package/src/commands/CreateWorkspacesCommand.ts +0 -96
  363. package/src/commands/DeleteConnectionAliasCommand.ts +0 -112
  364. package/src/commands/DeleteIpGroupCommand.ts +0 -96
  365. package/src/commands/DeleteTagsCommand.ts +0 -95
  366. package/src/commands/DeleteWorkspaceBundleCommand.ts +0 -97
  367. package/src/commands/DeleteWorkspaceImageCommand.ts +0 -97
  368. package/src/commands/DeregisterWorkspaceDirectoryCommand.ts +0 -116
  369. package/src/commands/DescribeAccountCommand.ts +0 -96
  370. package/src/commands/DescribeAccountModificationsCommand.ts +0 -101
  371. package/src/commands/DescribeClientPropertiesCommand.ts +0 -95
  372. package/src/commands/DescribeConnectionAliasPermissionsCommand.ts +0 -108
  373. package/src/commands/DescribeConnectionAliasesCommand.ts +0 -100
  374. package/src/commands/DescribeIpGroupsCommand.ts +0 -95
  375. package/src/commands/DescribeTagsCommand.ts +0 -95
  376. package/src/commands/DescribeWorkspaceBundlesCommand.ts +0 -96
  377. package/src/commands/DescribeWorkspaceDirectoriesCommand.ts +0 -101
  378. package/src/commands/DescribeWorkspaceImagePermissionsCommand.ts +0 -104
  379. package/src/commands/DescribeWorkspaceImagesCommand.ts +0 -96
  380. package/src/commands/DescribeWorkspaceSnapshotsCommand.ts +0 -98
  381. package/src/commands/DescribeWorkspacesCommand.ts +0 -97
  382. package/src/commands/DescribeWorkspacesConnectionStatusCommand.ts +0 -106
  383. package/src/commands/DisassociateConnectionAliasCommand.ts +0 -106
  384. package/src/commands/DisassociateIpGroupsCommand.ts +0 -95
  385. package/src/commands/ImportWorkspaceImageCommand.ts +0 -99
  386. package/src/commands/ListAvailableManagementCidrRangesCommand.ts +0 -111
  387. package/src/commands/MigrateWorkspaceCommand.ts +0 -103
  388. package/src/commands/ModifyAccountCommand.ts +0 -96
  389. package/src/commands/ModifyClientPropertiesCommand.ts +0 -95
  390. package/src/commands/ModifySelfservicePermissionsCommand.ts +0 -101
  391. package/src/commands/ModifyWorkspaceAccessPropertiesCommand.ts +0 -105
  392. package/src/commands/ModifyWorkspaceCreationPropertiesCommand.ts +0 -103
  393. package/src/commands/ModifyWorkspacePropertiesCommand.ts +0 -102
  394. package/src/commands/ModifyWorkspaceStateCommand.ts +0 -100
  395. package/src/commands/RebootWorkspacesCommand.ts +0 -98
  396. package/src/commands/RebuildWorkspacesCommand.ts +0 -102
  397. package/src/commands/RegisterWorkspaceDirectoryCommand.ts +0 -102
  398. package/src/commands/RestoreWorkspaceCommand.ts +0 -102
  399. package/src/commands/RevokeIpRulesCommand.ts +0 -95
  400. package/src/commands/StartWorkspacesCommand.ts +0 -97
  401. package/src/commands/StopWorkspacesCommand.ts +0 -98
  402. package/src/commands/TerminateWorkspacesCommand.ts +0 -124
  403. package/src/commands/UpdateConnectionAliasPermissionCommand.ts +0 -122
  404. package/src/commands/UpdateRulesOfIpGroupCommand.ts +0 -96
  405. package/src/commands/UpdateWorkspaceBundleCommand.ts +0 -103
  406. package/src/commands/UpdateWorkspaceImagePermissionCommand.ts +0 -128
  407. package/src/endpoints.ts +0 -72
  408. package/src/index.ts +0 -61
  409. package/src/models/index.ts +0 -1
  410. package/src/models/models_0.ts +0 -3876
  411. package/src/pagination/DescribeWorkspaceBundlesPaginator.ts +0 -58
  412. package/src/pagination/DescribeWorkspaceDirectoriesPaginator.ts +0 -58
  413. package/src/pagination/DescribeWorkspacesPaginator.ts +0 -59
  414. package/src/pagination/Interfaces.ts +0 -8
  415. package/src/protocols/Aws_json1_1.ts +0 -7603
  416. package/src/runtimeConfig.browser.ts +0 -41
  417. package/src/runtimeConfig.native.ts +0 -17
  418. package/src/runtimeConfig.shared.ts +0 -17
  419. package/src/runtimeConfig.ts +0 -46
  420. package/tsconfig.es.json +0 -10
  421. package/tsconfig.json +0 -33
  422. package/tsconfig.types.json +0 -9
@@ -1,102 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { RegisterWorkspaceDirectoryRequest, RegisterWorkspaceDirectoryResult } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1RegisterWorkspaceDirectoryCommand,
17
- serializeAws_json1_1RegisterWorkspaceDirectoryCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
20
-
21
- export interface RegisterWorkspaceDirectoryCommandInput extends RegisterWorkspaceDirectoryRequest {}
22
- export interface RegisterWorkspaceDirectoryCommandOutput extends RegisterWorkspaceDirectoryResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Registers the specified directory. This operation is asynchronous
26
- * and returns before the WorkSpace directory is registered. If this is the first time you are
27
- * registering a directory, you will need to create the workspaces_DefaultRole role before you can
28
- * register a directory. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role">
29
- * Creating the workspaces_DefaultRole Role</a>.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { WorkSpacesClient, RegisterWorkspaceDirectoryCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
34
- * // const { WorkSpacesClient, RegisterWorkspaceDirectoryCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
35
- * const client = new WorkSpacesClient(config);
36
- * const command = new RegisterWorkspaceDirectoryCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link RegisterWorkspaceDirectoryCommandInput} for command's `input` shape.
41
- * @see {@link RegisterWorkspaceDirectoryCommandOutput} for command's `response` shape.
42
- * @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class RegisterWorkspaceDirectoryCommand extends $Command<
46
- RegisterWorkspaceDirectoryCommandInput,
47
- RegisterWorkspaceDirectoryCommandOutput,
48
- WorkSpacesClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: RegisterWorkspaceDirectoryCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: WorkSpacesClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<RegisterWorkspaceDirectoryCommandInput, RegisterWorkspaceDirectoryCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "WorkSpacesClient";
73
- const commandName = "RegisterWorkspaceDirectoryCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: RegisterWorkspaceDirectoryRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: RegisterWorkspaceDirectoryResult.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: RegisterWorkspaceDirectoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_1RegisterWorkspaceDirectoryCommand(input, context);
91
- }
92
-
93
- private deserialize(
94
- output: __HttpResponse,
95
- context: __SerdeContext
96
- ): Promise<RegisterWorkspaceDirectoryCommandOutput> {
97
- return deserializeAws_json1_1RegisterWorkspaceDirectoryCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,102 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { RestoreWorkspaceRequest, RestoreWorkspaceResult } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1RestoreWorkspaceCommand,
17
- serializeAws_json1_1RestoreWorkspaceCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
20
-
21
- export interface RestoreWorkspaceCommandInput extends RestoreWorkspaceRequest {}
22
- export interface RestoreWorkspaceCommandOutput extends RestoreWorkspaceResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Restores the specified WorkSpace to its last known healthy state.</p>
26
- * <p>You cannot restore a WorkSpace unless its state is <code> AVAILABLE</code>,
27
- * <code>ERROR</code>, <code>UNHEALTHY</code>, or <code>STOPPED</code>.</p>
28
- * <p>Restoring a WorkSpace is a potentially destructive action that can result in the loss of
29
- * data. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/restore-workspace.html">Restore a
30
- * WorkSpace</a>.</p>
31
- * <p>This operation is asynchronous and returns before the WorkSpace is completely
32
- * restored.</p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { WorkSpacesClient, RestoreWorkspaceCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
37
- * // const { WorkSpacesClient, RestoreWorkspaceCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
38
- * const client = new WorkSpacesClient(config);
39
- * const command = new RestoreWorkspaceCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link RestoreWorkspaceCommandInput} for command's `input` shape.
44
- * @see {@link RestoreWorkspaceCommandOutput} for command's `response` shape.
45
- * @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class RestoreWorkspaceCommand extends $Command<
49
- RestoreWorkspaceCommandInput,
50
- RestoreWorkspaceCommandOutput,
51
- WorkSpacesClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: RestoreWorkspaceCommandInput) {
57
- // Start section: command_constructor
58
- super();
59
- // End section: command_constructor
60
- }
61
-
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(
66
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
67
- configuration: WorkSpacesClientResolvedConfig,
68
- options?: __HttpHandlerOptions
69
- ): Handler<RestoreWorkspaceCommandInput, RestoreWorkspaceCommandOutput> {
70
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
71
-
72
- const stack = clientStack.concat(this.middlewareStack);
73
-
74
- const { logger } = configuration;
75
- const clientName = "WorkSpacesClient";
76
- const commandName = "RestoreWorkspaceCommand";
77
- const handlerExecutionContext: HandlerExecutionContext = {
78
- logger,
79
- clientName,
80
- commandName,
81
- inputFilterSensitiveLog: RestoreWorkspaceRequest.filterSensitiveLog,
82
- outputFilterSensitiveLog: RestoreWorkspaceResult.filterSensitiveLog,
83
- };
84
- const { requestHandler } = configuration;
85
- return stack.resolve(
86
- (request: FinalizeHandlerArguments<any>) =>
87
- requestHandler.handle(request.request as __HttpRequest, options || {}),
88
- handlerExecutionContext
89
- );
90
- }
91
-
92
- private serialize(input: RestoreWorkspaceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
93
- return serializeAws_json1_1RestoreWorkspaceCommand(input, context);
94
- }
95
-
96
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RestoreWorkspaceCommandOutput> {
97
- return deserializeAws_json1_1RestoreWorkspaceCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { RevokeIpRulesRequest, RevokeIpRulesResult } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1RevokeIpRulesCommand,
17
- serializeAws_json1_1RevokeIpRulesCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
20
-
21
- export interface RevokeIpRulesCommandInput extends RevokeIpRulesRequest {}
22
- export interface RevokeIpRulesCommandOutput extends RevokeIpRulesResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes one or more rules from the specified IP access control group.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { WorkSpacesClient, RevokeIpRulesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
30
- * // const { WorkSpacesClient, RevokeIpRulesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
31
- * const client = new WorkSpacesClient(config);
32
- * const command = new RevokeIpRulesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link RevokeIpRulesCommandInput} for command's `input` shape.
37
- * @see {@link RevokeIpRulesCommandOutput} for command's `response` shape.
38
- * @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class RevokeIpRulesCommand extends $Command<
42
- RevokeIpRulesCommandInput,
43
- RevokeIpRulesCommandOutput,
44
- WorkSpacesClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: RevokeIpRulesCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: WorkSpacesClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<RevokeIpRulesCommandInput, RevokeIpRulesCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "WorkSpacesClient";
69
- const commandName = "RevokeIpRulesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: RevokeIpRulesRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: RevokeIpRulesResult.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: RevokeIpRulesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1RevokeIpRulesCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RevokeIpRulesCommandOutput> {
90
- return deserializeAws_json1_1RevokeIpRulesCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { StartWorkspacesRequest, StartWorkspacesResult } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1StartWorkspacesCommand,
17
- serializeAws_json1_1StartWorkspacesCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
20
-
21
- export interface StartWorkspacesCommandInput extends StartWorkspacesRequest {}
22
- export interface StartWorkspacesCommandOutput extends StartWorkspacesResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Starts the specified WorkSpaces.</p>
26
- * <p>You cannot start a WorkSpace unless it has a running mode of <code>AutoStop</code> and a
27
- * state of <code>STOPPED</code>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { WorkSpacesClient, StartWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
- * // const { WorkSpacesClient, StartWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
33
- * const client = new WorkSpacesClient(config);
34
- * const command = new StartWorkspacesCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link StartWorkspacesCommandInput} for command's `input` shape.
39
- * @see {@link StartWorkspacesCommandOutput} for command's `response` shape.
40
- * @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class StartWorkspacesCommand extends $Command<
44
- StartWorkspacesCommandInput,
45
- StartWorkspacesCommandOutput,
46
- WorkSpacesClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: StartWorkspacesCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: WorkSpacesClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<StartWorkspacesCommandInput, StartWorkspacesCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "WorkSpacesClient";
71
- const commandName = "StartWorkspacesCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: StartWorkspacesRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: StartWorkspacesResult.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: StartWorkspacesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1StartWorkspacesCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartWorkspacesCommandOutput> {
92
- return deserializeAws_json1_1StartWorkspacesCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { StopWorkspacesRequest, StopWorkspacesResult } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1StopWorkspacesCommand,
17
- serializeAws_json1_1StopWorkspacesCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
20
-
21
- export interface StopWorkspacesCommandInput extends StopWorkspacesRequest {}
22
- export interface StopWorkspacesCommandOutput extends StopWorkspacesResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Stops the specified WorkSpaces.</p>
26
- * <p>You cannot stop a WorkSpace unless it has a running mode of <code>AutoStop</code> and a
27
- * state of <code>AVAILABLE</code>, <code>IMPAIRED</code>, <code>UNHEALTHY</code>, or
28
- * <code>ERROR</code>.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { WorkSpacesClient, StopWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
33
- * // const { WorkSpacesClient, StopWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
34
- * const client = new WorkSpacesClient(config);
35
- * const command = new StopWorkspacesCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link StopWorkspacesCommandInput} for command's `input` shape.
40
- * @see {@link StopWorkspacesCommandOutput} for command's `response` shape.
41
- * @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class StopWorkspacesCommand extends $Command<
45
- StopWorkspacesCommandInput,
46
- StopWorkspacesCommandOutput,
47
- WorkSpacesClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: StopWorkspacesCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: WorkSpacesClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<StopWorkspacesCommandInput, StopWorkspacesCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "WorkSpacesClient";
72
- const commandName = "StopWorkspacesCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: StopWorkspacesRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: StopWorkspacesResult.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: StopWorkspacesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1StopWorkspacesCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopWorkspacesCommandOutput> {
93
- return deserializeAws_json1_1StopWorkspacesCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,124 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { TerminateWorkspacesRequest, TerminateWorkspacesResult } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1TerminateWorkspacesCommand,
17
- serializeAws_json1_1TerminateWorkspacesCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
20
-
21
- export interface TerminateWorkspacesCommandInput extends TerminateWorkspacesRequest {}
22
- export interface TerminateWorkspacesCommandOutput extends TerminateWorkspacesResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Terminates the specified WorkSpaces.</p>
26
- *
27
- * <important>
28
- * <p>Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is
29
- * destroyed. If you need to archive any user data, contact Amazon Web Services Support before
30
- * terminating the WorkSpace.</p>
31
- * </important>
32
- *
33
- * <p>You can terminate a WorkSpace that is in any state except <code>SUSPENDED</code>.</p>
34
- * <p>This operation is asynchronous and returns before the WorkSpaces have been completely
35
- * terminated. After a WorkSpace is terminated, the <code>TERMINATED</code> state is returned
36
- * only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely
37
- * returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using
38
- * <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html">
39
- * DescribeWorkSpaces</a>. If the WorkSpace ID isn't returned, then the WorkSpace has
40
- * been successfully terminated.</p>
41
- *
42
- * <note>
43
- * <p>Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces.
44
- * If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30
45
- * consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces,
46
- * and you will be charged for this directory as per the
47
- * <a href="http://aws.amazon.com/directoryservice/pricing/">Directory Service pricing terms</a>.</p>
48
- *
49
- * <p>To delete empty directories, see
50
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html">
51
- * Delete the Directory for Your WorkSpaces</a>. If you delete your
52
- * Simple AD or AD Connector directory, you can always create a new one when you want to start using
53
- * WorkSpaces again.</p>
54
- * </note>
55
- * @example
56
- * Use a bare-bones client and the command you need to make an API call.
57
- * ```javascript
58
- * import { WorkSpacesClient, TerminateWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
59
- * // const { WorkSpacesClient, TerminateWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
60
- * const client = new WorkSpacesClient(config);
61
- * const command = new TerminateWorkspacesCommand(input);
62
- * const response = await client.send(command);
63
- * ```
64
- *
65
- * @see {@link TerminateWorkspacesCommandInput} for command's `input` shape.
66
- * @see {@link TerminateWorkspacesCommandOutput} for command's `response` shape.
67
- * @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
68
- *
69
- */
70
- export class TerminateWorkspacesCommand extends $Command<
71
- TerminateWorkspacesCommandInput,
72
- TerminateWorkspacesCommandOutput,
73
- WorkSpacesClientResolvedConfig
74
- > {
75
- // Start section: command_properties
76
- // End section: command_properties
77
-
78
- constructor(readonly input: TerminateWorkspacesCommandInput) {
79
- // Start section: command_constructor
80
- super();
81
- // End section: command_constructor
82
- }
83
-
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(
88
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
89
- configuration: WorkSpacesClientResolvedConfig,
90
- options?: __HttpHandlerOptions
91
- ): Handler<TerminateWorkspacesCommandInput, TerminateWorkspacesCommandOutput> {
92
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
93
-
94
- const stack = clientStack.concat(this.middlewareStack);
95
-
96
- const { logger } = configuration;
97
- const clientName = "WorkSpacesClient";
98
- const commandName = "TerminateWorkspacesCommand";
99
- const handlerExecutionContext: HandlerExecutionContext = {
100
- logger,
101
- clientName,
102
- commandName,
103
- inputFilterSensitiveLog: TerminateWorkspacesRequest.filterSensitiveLog,
104
- outputFilterSensitiveLog: TerminateWorkspacesResult.filterSensitiveLog,
105
- };
106
- const { requestHandler } = configuration;
107
- return stack.resolve(
108
- (request: FinalizeHandlerArguments<any>) =>
109
- requestHandler.handle(request.request as __HttpRequest, options || {}),
110
- handlerExecutionContext
111
- );
112
- }
113
-
114
- private serialize(input: TerminateWorkspacesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
115
- return serializeAws_json1_1TerminateWorkspacesCommand(input, context);
116
- }
117
-
118
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TerminateWorkspacesCommandOutput> {
119
- return deserializeAws_json1_1TerminateWorkspacesCommand(output, context);
120
- }
121
-
122
- // Start section: command_body_extra
123
- // End section: command_body_extra
124
- }