@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,122 +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 { UpdateConnectionAliasPermissionRequest, UpdateConnectionAliasPermissionResult } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1UpdateConnectionAliasPermissionCommand,
17
- serializeAws_json1_1UpdateConnectionAliasPermissionCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
20
-
21
- export interface UpdateConnectionAliasPermissionCommandInput extends UpdateConnectionAliasPermissionRequest {}
22
- export interface UpdateConnectionAliasPermissionCommandOutput
23
- extends UpdateConnectionAliasPermissionResult,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Shares or unshares a connection alias with one account by specifying whether that account has permission to
28
- * associate the connection alias with a directory. If the association permission is granted, the connection alias
29
- * is shared with that account. If the association permission is revoked, the connection alias is unshared with the
30
- * account. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
31
- * Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
32
- *
33
- * <note>
34
- * <ul>
35
- * <li>
36
- * <p>Before performing this operation, call <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html">
37
- * DescribeConnectionAliases</a> to make sure that the current state of the connection alias is <code>CREATED</code>.</p>
38
- * </li>
39
- * <li>
40
- * <p>To delete a connection alias that has been shared, the shared account must first disassociate the
41
- * connection alias from any directories it has been associated with. Then you must unshare the connection
42
- * alias from the account it has been shared with. You can delete a connection alias only after it is no
43
- * longer shared with any accounts or associated with any directories.</p>
44
- * </li>
45
- * </ul>
46
- * </note>
47
- * @example
48
- * Use a bare-bones client and the command you need to make an API call.
49
- * ```javascript
50
- * import { WorkSpacesClient, UpdateConnectionAliasPermissionCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
51
- * // const { WorkSpacesClient, UpdateConnectionAliasPermissionCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
52
- * const client = new WorkSpacesClient(config);
53
- * const command = new UpdateConnectionAliasPermissionCommand(input);
54
- * const response = await client.send(command);
55
- * ```
56
- *
57
- * @see {@link UpdateConnectionAliasPermissionCommandInput} for command's `input` shape.
58
- * @see {@link UpdateConnectionAliasPermissionCommandOutput} for command's `response` shape.
59
- * @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
60
- *
61
- */
62
- export class UpdateConnectionAliasPermissionCommand extends $Command<
63
- UpdateConnectionAliasPermissionCommandInput,
64
- UpdateConnectionAliasPermissionCommandOutput,
65
- WorkSpacesClientResolvedConfig
66
- > {
67
- // Start section: command_properties
68
- // End section: command_properties
69
-
70
- constructor(readonly input: UpdateConnectionAliasPermissionCommandInput) {
71
- // Start section: command_constructor
72
- super();
73
- // End section: command_constructor
74
- }
75
-
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(
80
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
81
- configuration: WorkSpacesClientResolvedConfig,
82
- options?: __HttpHandlerOptions
83
- ): Handler<UpdateConnectionAliasPermissionCommandInput, UpdateConnectionAliasPermissionCommandOutput> {
84
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
85
-
86
- const stack = clientStack.concat(this.middlewareStack);
87
-
88
- const { logger } = configuration;
89
- const clientName = "WorkSpacesClient";
90
- const commandName = "UpdateConnectionAliasPermissionCommand";
91
- const handlerExecutionContext: HandlerExecutionContext = {
92
- logger,
93
- clientName,
94
- commandName,
95
- inputFilterSensitiveLog: UpdateConnectionAliasPermissionRequest.filterSensitiveLog,
96
- outputFilterSensitiveLog: UpdateConnectionAliasPermissionResult.filterSensitiveLog,
97
- };
98
- const { requestHandler } = configuration;
99
- return stack.resolve(
100
- (request: FinalizeHandlerArguments<any>) =>
101
- requestHandler.handle(request.request as __HttpRequest, options || {}),
102
- handlerExecutionContext
103
- );
104
- }
105
-
106
- private serialize(
107
- input: UpdateConnectionAliasPermissionCommandInput,
108
- context: __SerdeContext
109
- ): Promise<__HttpRequest> {
110
- return serializeAws_json1_1UpdateConnectionAliasPermissionCommand(input, context);
111
- }
112
-
113
- private deserialize(
114
- output: __HttpResponse,
115
- context: __SerdeContext
116
- ): Promise<UpdateConnectionAliasPermissionCommandOutput> {
117
- return deserializeAws_json1_1UpdateConnectionAliasPermissionCommand(output, context);
118
- }
119
-
120
- // Start section: command_body_extra
121
- // End section: command_body_extra
122
- }
@@ -1,96 +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 { UpdateRulesOfIpGroupRequest, UpdateRulesOfIpGroupResult } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1UpdateRulesOfIpGroupCommand,
17
- serializeAws_json1_1UpdateRulesOfIpGroupCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
20
-
21
- export interface UpdateRulesOfIpGroupCommandInput extends UpdateRulesOfIpGroupRequest {}
22
- export interface UpdateRulesOfIpGroupCommandOutput extends UpdateRulesOfIpGroupResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Replaces the current rules of the specified IP access control group with the specified
26
- * rules.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { WorkSpacesClient, UpdateRulesOfIpGroupCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
31
- * // const { WorkSpacesClient, UpdateRulesOfIpGroupCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
32
- * const client = new WorkSpacesClient(config);
33
- * const command = new UpdateRulesOfIpGroupCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link UpdateRulesOfIpGroupCommandInput} for command's `input` shape.
38
- * @see {@link UpdateRulesOfIpGroupCommandOutput} for command's `response` shape.
39
- * @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class UpdateRulesOfIpGroupCommand extends $Command<
43
- UpdateRulesOfIpGroupCommandInput,
44
- UpdateRulesOfIpGroupCommandOutput,
45
- WorkSpacesClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: UpdateRulesOfIpGroupCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: WorkSpacesClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<UpdateRulesOfIpGroupCommandInput, UpdateRulesOfIpGroupCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "WorkSpacesClient";
70
- const commandName = "UpdateRulesOfIpGroupCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: UpdateRulesOfIpGroupRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: UpdateRulesOfIpGroupResult.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: UpdateRulesOfIpGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1UpdateRulesOfIpGroupCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateRulesOfIpGroupCommandOutput> {
91
- return deserializeAws_json1_1UpdateRulesOfIpGroupCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,103 +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 { UpdateWorkspaceBundleRequest, UpdateWorkspaceBundleResult } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1UpdateWorkspaceBundleCommand,
17
- serializeAws_json1_1UpdateWorkspaceBundleCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
20
-
21
- export interface UpdateWorkspaceBundleCommandInput extends UpdateWorkspaceBundleRequest {}
22
- export interface UpdateWorkspaceBundleCommandOutput extends UpdateWorkspaceBundleResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see
26
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/update-custom-bundle.html">
27
- * Update a Custom WorkSpaces Bundle</a>.</p>
28
- *
29
- * <important>
30
- * <p>Existing WorkSpaces aren't automatically updated when you update the bundle that they're
31
- * based on. To update existing WorkSpaces that are based on a bundle that you've updated, you
32
- * must either rebuild the WorkSpaces or delete and recreate them.</p>
33
- * </important>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { WorkSpacesClient, UpdateWorkspaceBundleCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
38
- * // const { WorkSpacesClient, UpdateWorkspaceBundleCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
39
- * const client = new WorkSpacesClient(config);
40
- * const command = new UpdateWorkspaceBundleCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link UpdateWorkspaceBundleCommandInput} for command's `input` shape.
45
- * @see {@link UpdateWorkspaceBundleCommandOutput} for command's `response` shape.
46
- * @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class UpdateWorkspaceBundleCommand extends $Command<
50
- UpdateWorkspaceBundleCommandInput,
51
- UpdateWorkspaceBundleCommandOutput,
52
- WorkSpacesClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: UpdateWorkspaceBundleCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: WorkSpacesClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<UpdateWorkspaceBundleCommandInput, UpdateWorkspaceBundleCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "WorkSpacesClient";
77
- const commandName = "UpdateWorkspaceBundleCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: UpdateWorkspaceBundleRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: UpdateWorkspaceBundleResult.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: UpdateWorkspaceBundleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_1UpdateWorkspaceBundleCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateWorkspaceBundleCommandOutput> {
98
- return deserializeAws_json1_1UpdateWorkspaceBundleCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,128 +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 { UpdateWorkspaceImagePermissionRequest, UpdateWorkspaceImagePermissionResult } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1UpdateWorkspaceImagePermissionCommand,
17
- serializeAws_json1_1UpdateWorkspaceImagePermissionCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
20
-
21
- export interface UpdateWorkspaceImagePermissionCommandInput extends UpdateWorkspaceImagePermissionRequest {}
22
- export interface UpdateWorkspaceImagePermissionCommandOutput
23
- extends UpdateWorkspaceImagePermissionResult,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has
28
- * permission to copy the image. If the copy image permission is granted, the image is shared with that account.
29
- * If the copy image permission is revoked, the image is unshared with the account.</p>
30
- *
31
- * <p>After an image has been shared, the recipient account can copy the image to other Regions as needed.</p>
32
- *
33
- * <p>In the China (Ningxia) Region, you can copy images only within the same Region.</p>
34
- *
35
- * <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.</p>
36
- *
37
- * <p>For more information about sharing images, see
38
- * <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html">
39
- * Share or Unshare a Custom WorkSpaces Image</a>.</p>
40
- *
41
- * <note>
42
- * <ul>
43
- * <li>
44
- * <p>To delete an image that has been shared, you must unshare the image before you delete it.</p>
45
- * </li>
46
- * <li>
47
- * <p>Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at
48
- * this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in
49
- * Amazon Web Services GovCloud (US), contact Amazon Web Services Support.</p>
50
- * </li>
51
- * </ul>
52
- * </note>
53
- * @example
54
- * Use a bare-bones client and the command you need to make an API call.
55
- * ```javascript
56
- * import { WorkSpacesClient, UpdateWorkspaceImagePermissionCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
57
- * // const { WorkSpacesClient, UpdateWorkspaceImagePermissionCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
58
- * const client = new WorkSpacesClient(config);
59
- * const command = new UpdateWorkspaceImagePermissionCommand(input);
60
- * const response = await client.send(command);
61
- * ```
62
- *
63
- * @see {@link UpdateWorkspaceImagePermissionCommandInput} for command's `input` shape.
64
- * @see {@link UpdateWorkspaceImagePermissionCommandOutput} for command's `response` shape.
65
- * @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
66
- *
67
- */
68
- export class UpdateWorkspaceImagePermissionCommand extends $Command<
69
- UpdateWorkspaceImagePermissionCommandInput,
70
- UpdateWorkspaceImagePermissionCommandOutput,
71
- WorkSpacesClientResolvedConfig
72
- > {
73
- // Start section: command_properties
74
- // End section: command_properties
75
-
76
- constructor(readonly input: UpdateWorkspaceImagePermissionCommandInput) {
77
- // Start section: command_constructor
78
- super();
79
- // End section: command_constructor
80
- }
81
-
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(
86
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
87
- configuration: WorkSpacesClientResolvedConfig,
88
- options?: __HttpHandlerOptions
89
- ): Handler<UpdateWorkspaceImagePermissionCommandInput, UpdateWorkspaceImagePermissionCommandOutput> {
90
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
91
-
92
- const stack = clientStack.concat(this.middlewareStack);
93
-
94
- const { logger } = configuration;
95
- const clientName = "WorkSpacesClient";
96
- const commandName = "UpdateWorkspaceImagePermissionCommand";
97
- const handlerExecutionContext: HandlerExecutionContext = {
98
- logger,
99
- clientName,
100
- commandName,
101
- inputFilterSensitiveLog: UpdateWorkspaceImagePermissionRequest.filterSensitiveLog,
102
- outputFilterSensitiveLog: UpdateWorkspaceImagePermissionResult.filterSensitiveLog,
103
- };
104
- const { requestHandler } = configuration;
105
- return stack.resolve(
106
- (request: FinalizeHandlerArguments<any>) =>
107
- requestHandler.handle(request.request as __HttpRequest, options || {}),
108
- handlerExecutionContext
109
- );
110
- }
111
-
112
- private serialize(
113
- input: UpdateWorkspaceImagePermissionCommandInput,
114
- context: __SerdeContext
115
- ): Promise<__HttpRequest> {
116
- return serializeAws_json1_1UpdateWorkspaceImagePermissionCommand(input, context);
117
- }
118
-
119
- private deserialize(
120
- output: __HttpResponse,
121
- context: __SerdeContext
122
- ): Promise<UpdateWorkspaceImagePermissionCommandOutput> {
123
- return deserializeAws_json1_1UpdateWorkspaceImagePermissionCommand(output, context);
124
- }
125
-
126
- // Start section: command_body_extra
127
- // End section: command_body_extra
128
- }
package/src/endpoints.ts DELETED
@@ -1,72 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {
5
- "fips-us-east-1": {
6
- hostname: "workspaces-fips.us-east-1.amazonaws.com",
7
- signingRegion: "us-east-1",
8
- },
9
- "fips-us-gov-west-1": {
10
- hostname: "workspaces-fips.us-gov-west-1.amazonaws.com",
11
- signingRegion: "us-gov-west-1",
12
- },
13
- "fips-us-west-2": {
14
- hostname: "workspaces-fips.us-west-2.amazonaws.com",
15
- signingRegion: "us-west-2",
16
- },
17
- };
18
-
19
- const partitionHash: PartitionHash = {
20
- aws: {
21
- regions: [
22
- "af-south-1",
23
- "ap-east-1",
24
- "ap-northeast-1",
25
- "ap-northeast-2",
26
- "ap-northeast-3",
27
- "ap-south-1",
28
- "ap-southeast-1",
29
- "ap-southeast-2",
30
- "ca-central-1",
31
- "eu-central-1",
32
- "eu-north-1",
33
- "eu-south-1",
34
- "eu-west-1",
35
- "eu-west-2",
36
- "eu-west-3",
37
- "fips-us-east-1",
38
- "fips-us-west-2",
39
- "me-south-1",
40
- "sa-east-1",
41
- "us-east-1",
42
- "us-east-2",
43
- "us-west-1",
44
- "us-west-2",
45
- ],
46
- hostname: "workspaces.{region}.amazonaws.com",
47
- },
48
- "aws-cn": {
49
- regions: ["cn-north-1", "cn-northwest-1"],
50
- hostname: "workspaces.{region}.amazonaws.com.cn",
51
- },
52
- "aws-iso": {
53
- regions: ["us-iso-east-1"],
54
- hostname: "workspaces.{region}.c2s.ic.gov",
55
- },
56
- "aws-iso-b": {
57
- regions: ["us-isob-east-1"],
58
- hostname: "workspaces.{region}.sc2s.sgov.gov",
59
- },
60
- "aws-us-gov": {
61
- regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
62
- hostname: "workspaces.{region}.amazonaws.com",
63
- },
64
- };
65
-
66
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
67
- getRegionInfo(region, {
68
- ...options,
69
- signingService: "workspaces",
70
- regionHash,
71
- partitionHash,
72
- });
package/src/index.ts DELETED
@@ -1,61 +0,0 @@
1
- export * from "./WorkSpacesClient";
2
- export * from "./WorkSpaces";
3
- export * from "./commands/AssociateConnectionAliasCommand";
4
- export * from "./commands/AssociateIpGroupsCommand";
5
- export * from "./commands/AuthorizeIpRulesCommand";
6
- export * from "./commands/CopyWorkspaceImageCommand";
7
- export * from "./commands/CreateConnectionAliasCommand";
8
- export * from "./commands/CreateIpGroupCommand";
9
- export * from "./commands/CreateTagsCommand";
10
- export * from "./commands/CreateUpdatedWorkspaceImageCommand";
11
- export * from "./commands/CreateWorkspaceBundleCommand";
12
- export * from "./commands/CreateWorkspacesCommand";
13
- export * from "./commands/DeleteConnectionAliasCommand";
14
- export * from "./commands/DeleteIpGroupCommand";
15
- export * from "./commands/DeleteTagsCommand";
16
- export * from "./commands/DeleteWorkspaceBundleCommand";
17
- export * from "./commands/DeleteWorkspaceImageCommand";
18
- export * from "./commands/DeregisterWorkspaceDirectoryCommand";
19
- export * from "./commands/DescribeAccountCommand";
20
- export * from "./commands/DescribeAccountModificationsCommand";
21
- export * from "./commands/DescribeClientPropertiesCommand";
22
- export * from "./commands/DescribeConnectionAliasesCommand";
23
- export * from "./commands/DescribeConnectionAliasPermissionsCommand";
24
- export * from "./commands/DescribeIpGroupsCommand";
25
- export * from "./commands/DescribeTagsCommand";
26
- export * from "./commands/DescribeWorkspaceBundlesCommand";
27
- export * from "./pagination/DescribeWorkspaceBundlesPaginator";
28
- export * from "./commands/DescribeWorkspaceDirectoriesCommand";
29
- export * from "./pagination/DescribeWorkspaceDirectoriesPaginator";
30
- export * from "./commands/DescribeWorkspaceImagePermissionsCommand";
31
- export * from "./commands/DescribeWorkspaceImagesCommand";
32
- export * from "./commands/DescribeWorkspacesCommand";
33
- export * from "./pagination/DescribeWorkspacesPaginator";
34
- export * from "./commands/DescribeWorkspacesConnectionStatusCommand";
35
- export * from "./commands/DescribeWorkspaceSnapshotsCommand";
36
- export * from "./commands/DisassociateConnectionAliasCommand";
37
- export * from "./commands/DisassociateIpGroupsCommand";
38
- export * from "./commands/ImportWorkspaceImageCommand";
39
- export * from "./commands/ListAvailableManagementCidrRangesCommand";
40
- export * from "./commands/MigrateWorkspaceCommand";
41
- export * from "./commands/ModifyAccountCommand";
42
- export * from "./commands/ModifyClientPropertiesCommand";
43
- export * from "./commands/ModifySelfservicePermissionsCommand";
44
- export * from "./commands/ModifyWorkspaceAccessPropertiesCommand";
45
- export * from "./commands/ModifyWorkspaceCreationPropertiesCommand";
46
- export * from "./commands/ModifyWorkspacePropertiesCommand";
47
- export * from "./commands/ModifyWorkspaceStateCommand";
48
- export * from "./commands/RebootWorkspacesCommand";
49
- export * from "./commands/RebuildWorkspacesCommand";
50
- export * from "./commands/RegisterWorkspaceDirectoryCommand";
51
- export * from "./commands/RestoreWorkspaceCommand";
52
- export * from "./commands/RevokeIpRulesCommand";
53
- export * from "./commands/StartWorkspacesCommand";
54
- export * from "./commands/StopWorkspacesCommand";
55
- export * from "./commands/TerminateWorkspacesCommand";
56
- export * from "./commands/UpdateConnectionAliasPermissionCommand";
57
- export * from "./commands/UpdateRulesOfIpGroupCommand";
58
- export * from "./commands/UpdateWorkspaceBundleCommand";
59
- export * from "./commands/UpdateWorkspaceImagePermissionCommand";
60
- export * from "./pagination/Interfaces";
61
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";