@aws-sdk/client-workspaces 3.477.0 → 3.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/dist-cjs/commands/AssociateConnectionAliasCommand.js +18 -41
  2. package/dist-cjs/commands/AssociateIpGroupsCommand.js +18 -41
  3. package/dist-cjs/commands/AssociateWorkspaceApplicationCommand.js +18 -41
  4. package/dist-cjs/commands/AuthorizeIpRulesCommand.js +18 -41
  5. package/dist-cjs/commands/CopyWorkspaceImageCommand.js +18 -41
  6. package/dist-cjs/commands/CreateConnectClientAddInCommand.js +18 -41
  7. package/dist-cjs/commands/CreateConnectionAliasCommand.js +18 -41
  8. package/dist-cjs/commands/CreateIpGroupCommand.js +18 -41
  9. package/dist-cjs/commands/CreateStandbyWorkspacesCommand.js +18 -41
  10. package/dist-cjs/commands/CreateTagsCommand.js +18 -41
  11. package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js +18 -41
  12. package/dist-cjs/commands/CreateWorkspaceBundleCommand.js +18 -41
  13. package/dist-cjs/commands/CreateWorkspaceImageCommand.js +18 -41
  14. package/dist-cjs/commands/CreateWorkspacesCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteClientBrandingCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteConnectClientAddInCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteConnectionAliasCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteIpGroupCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteTagsCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteWorkspaceImageCommand.js +18 -41
  22. package/dist-cjs/commands/DeployWorkspaceApplicationsCommand.js +18 -41
  23. package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeAccountCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeAccountModificationsCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeApplicationAssociationsCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeApplicationsCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeBundleAssociationsCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeClientBrandingCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeClientPropertiesCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeConnectClientAddInsCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeConnectionAliasesCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeImageAssociationsCommand.js +18 -41
  35. package/dist-cjs/commands/DescribeIpGroupsCommand.js +18 -41
  36. package/dist-cjs/commands/DescribeTagsCommand.js +18 -41
  37. package/dist-cjs/commands/DescribeWorkspaceAssociationsCommand.js +18 -41
  38. package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js +18 -41
  39. package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js +18 -41
  40. package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +18 -41
  41. package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js +18 -41
  42. package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js +18 -41
  43. package/dist-cjs/commands/DescribeWorkspacesCommand.js +18 -41
  44. package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +18 -41
  45. package/dist-cjs/commands/DisassociateConnectionAliasCommand.js +18 -41
  46. package/dist-cjs/commands/DisassociateIpGroupsCommand.js +18 -41
  47. package/dist-cjs/commands/DisassociateWorkspaceApplicationCommand.js +18 -41
  48. package/dist-cjs/commands/ImportClientBrandingCommand.js +18 -41
  49. package/dist-cjs/commands/ImportWorkspaceImageCommand.js +18 -41
  50. package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js +18 -41
  51. package/dist-cjs/commands/MigrateWorkspaceCommand.js +18 -41
  52. package/dist-cjs/commands/ModifyAccountCommand.js +18 -41
  53. package/dist-cjs/commands/ModifyCertificateBasedAuthPropertiesCommand.js +18 -41
  54. package/dist-cjs/commands/ModifyClientPropertiesCommand.js +18 -41
  55. package/dist-cjs/commands/ModifySamlPropertiesCommand.js +18 -41
  56. package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js +18 -41
  57. package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +18 -41
  58. package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +18 -41
  59. package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js +18 -41
  60. package/dist-cjs/commands/ModifyWorkspaceStateCommand.js +18 -41
  61. package/dist-cjs/commands/RebootWorkspacesCommand.js +18 -41
  62. package/dist-cjs/commands/RebuildWorkspacesCommand.js +18 -41
  63. package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js +18 -41
  64. package/dist-cjs/commands/RestoreWorkspaceCommand.js +18 -41
  65. package/dist-cjs/commands/RevokeIpRulesCommand.js +18 -41
  66. package/dist-cjs/commands/StartWorkspacesCommand.js +18 -41
  67. package/dist-cjs/commands/StopWorkspacesCommand.js +18 -41
  68. package/dist-cjs/commands/TerminateWorkspacesCommand.js +18 -41
  69. package/dist-cjs/commands/UpdateConnectClientAddInCommand.js +18 -41
  70. package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js +18 -41
  71. package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js +18 -41
  72. package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js +18 -41
  73. package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js +18 -41
  74. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  75. package/dist-cjs/pagination/DescribeApplicationAssociationsPaginator.js +2 -24
  76. package/dist-cjs/pagination/DescribeApplicationsPaginator.js +2 -24
  77. package/dist-cjs/pagination/DescribeWorkspaceBundlesPaginator.js +2 -23
  78. package/dist-cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js +2 -23
  79. package/dist-cjs/pagination/DescribeWorkspacesPaginator.js +2 -24
  80. package/dist-es/commands/AssociateConnectionAliasCommand.js +18 -41
  81. package/dist-es/commands/AssociateIpGroupsCommand.js +18 -41
  82. package/dist-es/commands/AssociateWorkspaceApplicationCommand.js +18 -41
  83. package/dist-es/commands/AuthorizeIpRulesCommand.js +18 -41
  84. package/dist-es/commands/CopyWorkspaceImageCommand.js +18 -41
  85. package/dist-es/commands/CreateConnectClientAddInCommand.js +18 -41
  86. package/dist-es/commands/CreateConnectionAliasCommand.js +18 -41
  87. package/dist-es/commands/CreateIpGroupCommand.js +18 -41
  88. package/dist-es/commands/CreateStandbyWorkspacesCommand.js +18 -41
  89. package/dist-es/commands/CreateTagsCommand.js +18 -41
  90. package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +18 -41
  91. package/dist-es/commands/CreateWorkspaceBundleCommand.js +18 -41
  92. package/dist-es/commands/CreateWorkspaceImageCommand.js +18 -41
  93. package/dist-es/commands/CreateWorkspacesCommand.js +18 -41
  94. package/dist-es/commands/DeleteClientBrandingCommand.js +18 -41
  95. package/dist-es/commands/DeleteConnectClientAddInCommand.js +18 -41
  96. package/dist-es/commands/DeleteConnectionAliasCommand.js +18 -41
  97. package/dist-es/commands/DeleteIpGroupCommand.js +18 -41
  98. package/dist-es/commands/DeleteTagsCommand.js +18 -41
  99. package/dist-es/commands/DeleteWorkspaceBundleCommand.js +18 -41
  100. package/dist-es/commands/DeleteWorkspaceImageCommand.js +18 -41
  101. package/dist-es/commands/DeployWorkspaceApplicationsCommand.js +18 -41
  102. package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +18 -41
  103. package/dist-es/commands/DescribeAccountCommand.js +18 -41
  104. package/dist-es/commands/DescribeAccountModificationsCommand.js +18 -41
  105. package/dist-es/commands/DescribeApplicationAssociationsCommand.js +18 -41
  106. package/dist-es/commands/DescribeApplicationsCommand.js +18 -41
  107. package/dist-es/commands/DescribeBundleAssociationsCommand.js +18 -41
  108. package/dist-es/commands/DescribeClientBrandingCommand.js +18 -41
  109. package/dist-es/commands/DescribeClientPropertiesCommand.js +18 -41
  110. package/dist-es/commands/DescribeConnectClientAddInsCommand.js +18 -41
  111. package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +18 -41
  112. package/dist-es/commands/DescribeConnectionAliasesCommand.js +18 -41
  113. package/dist-es/commands/DescribeImageAssociationsCommand.js +18 -41
  114. package/dist-es/commands/DescribeIpGroupsCommand.js +18 -41
  115. package/dist-es/commands/DescribeTagsCommand.js +18 -41
  116. package/dist-es/commands/DescribeWorkspaceAssociationsCommand.js +18 -41
  117. package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +18 -41
  118. package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +18 -41
  119. package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +18 -41
  120. package/dist-es/commands/DescribeWorkspaceImagesCommand.js +18 -41
  121. package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +18 -41
  122. package/dist-es/commands/DescribeWorkspacesCommand.js +18 -41
  123. package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +18 -41
  124. package/dist-es/commands/DisassociateConnectionAliasCommand.js +18 -41
  125. package/dist-es/commands/DisassociateIpGroupsCommand.js +18 -41
  126. package/dist-es/commands/DisassociateWorkspaceApplicationCommand.js +18 -41
  127. package/dist-es/commands/ImportClientBrandingCommand.js +18 -41
  128. package/dist-es/commands/ImportWorkspaceImageCommand.js +18 -41
  129. package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +18 -41
  130. package/dist-es/commands/MigrateWorkspaceCommand.js +18 -41
  131. package/dist-es/commands/ModifyAccountCommand.js +18 -41
  132. package/dist-es/commands/ModifyCertificateBasedAuthPropertiesCommand.js +18 -41
  133. package/dist-es/commands/ModifyClientPropertiesCommand.js +18 -41
  134. package/dist-es/commands/ModifySamlPropertiesCommand.js +18 -41
  135. package/dist-es/commands/ModifySelfservicePermissionsCommand.js +18 -41
  136. package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +18 -41
  137. package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +18 -41
  138. package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +18 -41
  139. package/dist-es/commands/ModifyWorkspaceStateCommand.js +18 -41
  140. package/dist-es/commands/RebootWorkspacesCommand.js +18 -41
  141. package/dist-es/commands/RebuildWorkspacesCommand.js +18 -41
  142. package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +18 -41
  143. package/dist-es/commands/RestoreWorkspaceCommand.js +18 -41
  144. package/dist-es/commands/RevokeIpRulesCommand.js +18 -41
  145. package/dist-es/commands/StartWorkspacesCommand.js +18 -41
  146. package/dist-es/commands/StopWorkspacesCommand.js +18 -41
  147. package/dist-es/commands/TerminateWorkspacesCommand.js +18 -41
  148. package/dist-es/commands/UpdateConnectClientAddInCommand.js +18 -41
  149. package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +18 -41
  150. package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +18 -41
  151. package/dist-es/commands/UpdateWorkspaceBundleCommand.js +18 -41
  152. package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +18 -41
  153. package/dist-es/endpoint/EndpointParameters.js +6 -0
  154. package/dist-es/pagination/DescribeApplicationAssociationsPaginator.js +2 -23
  155. package/dist-es/pagination/DescribeApplicationsPaginator.js +2 -23
  156. package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js +2 -22
  157. package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js +2 -22
  158. package/dist-es/pagination/DescribeWorkspacesPaginator.js +2 -23
  159. package/dist-types/commands/AssociateConnectionAliasCommand.d.ts +6 -21
  160. package/dist-types/commands/AssociateIpGroupsCommand.d.ts +6 -21
  161. package/dist-types/commands/AssociateWorkspaceApplicationCommand.d.ts +6 -21
  162. package/dist-types/commands/AuthorizeIpRulesCommand.d.ts +6 -21
  163. package/dist-types/commands/CopyWorkspaceImageCommand.d.ts +6 -21
  164. package/dist-types/commands/CreateConnectClientAddInCommand.d.ts +6 -21
  165. package/dist-types/commands/CreateConnectionAliasCommand.d.ts +6 -21
  166. package/dist-types/commands/CreateIpGroupCommand.d.ts +6 -21
  167. package/dist-types/commands/CreateStandbyWorkspacesCommand.d.ts +6 -21
  168. package/dist-types/commands/CreateTagsCommand.d.ts +6 -21
  169. package/dist-types/commands/CreateUpdatedWorkspaceImageCommand.d.ts +6 -21
  170. package/dist-types/commands/CreateWorkspaceBundleCommand.d.ts +6 -21
  171. package/dist-types/commands/CreateWorkspaceImageCommand.d.ts +6 -21
  172. package/dist-types/commands/CreateWorkspacesCommand.d.ts +6 -21
  173. package/dist-types/commands/DeleteClientBrandingCommand.d.ts +6 -21
  174. package/dist-types/commands/DeleteConnectClientAddInCommand.d.ts +6 -21
  175. package/dist-types/commands/DeleteConnectionAliasCommand.d.ts +6 -21
  176. package/dist-types/commands/DeleteIpGroupCommand.d.ts +6 -21
  177. package/dist-types/commands/DeleteTagsCommand.d.ts +6 -21
  178. package/dist-types/commands/DeleteWorkspaceBundleCommand.d.ts +6 -21
  179. package/dist-types/commands/DeleteWorkspaceImageCommand.d.ts +6 -21
  180. package/dist-types/commands/DeployWorkspaceApplicationsCommand.d.ts +6 -21
  181. package/dist-types/commands/DeregisterWorkspaceDirectoryCommand.d.ts +6 -21
  182. package/dist-types/commands/DescribeAccountCommand.d.ts +6 -21
  183. package/dist-types/commands/DescribeAccountModificationsCommand.d.ts +6 -21
  184. package/dist-types/commands/DescribeApplicationAssociationsCommand.d.ts +6 -21
  185. package/dist-types/commands/DescribeApplicationsCommand.d.ts +6 -21
  186. package/dist-types/commands/DescribeBundleAssociationsCommand.d.ts +6 -21
  187. package/dist-types/commands/DescribeClientBrandingCommand.d.ts +6 -21
  188. package/dist-types/commands/DescribeClientPropertiesCommand.d.ts +6 -21
  189. package/dist-types/commands/DescribeConnectClientAddInsCommand.d.ts +6 -21
  190. package/dist-types/commands/DescribeConnectionAliasPermissionsCommand.d.ts +6 -21
  191. package/dist-types/commands/DescribeConnectionAliasesCommand.d.ts +6 -21
  192. package/dist-types/commands/DescribeImageAssociationsCommand.d.ts +6 -21
  193. package/dist-types/commands/DescribeIpGroupsCommand.d.ts +6 -21
  194. package/dist-types/commands/DescribeTagsCommand.d.ts +6 -21
  195. package/dist-types/commands/DescribeWorkspaceAssociationsCommand.d.ts +6 -21
  196. package/dist-types/commands/DescribeWorkspaceBundlesCommand.d.ts +6 -21
  197. package/dist-types/commands/DescribeWorkspaceDirectoriesCommand.d.ts +6 -21
  198. package/dist-types/commands/DescribeWorkspaceImagePermissionsCommand.d.ts +6 -21
  199. package/dist-types/commands/DescribeWorkspaceImagesCommand.d.ts +6 -21
  200. package/dist-types/commands/DescribeWorkspaceSnapshotsCommand.d.ts +6 -21
  201. package/dist-types/commands/DescribeWorkspacesCommand.d.ts +6 -21
  202. package/dist-types/commands/DescribeWorkspacesConnectionStatusCommand.d.ts +6 -21
  203. package/dist-types/commands/DisassociateConnectionAliasCommand.d.ts +6 -21
  204. package/dist-types/commands/DisassociateIpGroupsCommand.d.ts +6 -21
  205. package/dist-types/commands/DisassociateWorkspaceApplicationCommand.d.ts +6 -21
  206. package/dist-types/commands/ImportClientBrandingCommand.d.ts +6 -21
  207. package/dist-types/commands/ImportWorkspaceImageCommand.d.ts +6 -21
  208. package/dist-types/commands/ListAvailableManagementCidrRangesCommand.d.ts +6 -21
  209. package/dist-types/commands/MigrateWorkspaceCommand.d.ts +6 -21
  210. package/dist-types/commands/ModifyAccountCommand.d.ts +6 -21
  211. package/dist-types/commands/ModifyCertificateBasedAuthPropertiesCommand.d.ts +6 -21
  212. package/dist-types/commands/ModifyClientPropertiesCommand.d.ts +6 -21
  213. package/dist-types/commands/ModifySamlPropertiesCommand.d.ts +6 -21
  214. package/dist-types/commands/ModifySelfservicePermissionsCommand.d.ts +6 -21
  215. package/dist-types/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +6 -21
  216. package/dist-types/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +6 -21
  217. package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +6 -21
  218. package/dist-types/commands/ModifyWorkspaceStateCommand.d.ts +6 -21
  219. package/dist-types/commands/RebootWorkspacesCommand.d.ts +6 -21
  220. package/dist-types/commands/RebuildWorkspacesCommand.d.ts +6 -21
  221. package/dist-types/commands/RegisterWorkspaceDirectoryCommand.d.ts +6 -21
  222. package/dist-types/commands/RestoreWorkspaceCommand.d.ts +6 -21
  223. package/dist-types/commands/RevokeIpRulesCommand.d.ts +6 -21
  224. package/dist-types/commands/StartWorkspacesCommand.d.ts +6 -21
  225. package/dist-types/commands/StopWorkspacesCommand.d.ts +6 -21
  226. package/dist-types/commands/TerminateWorkspacesCommand.d.ts +6 -21
  227. package/dist-types/commands/UpdateConnectClientAddInCommand.d.ts +6 -21
  228. package/dist-types/commands/UpdateConnectionAliasPermissionCommand.d.ts +6 -21
  229. package/dist-types/commands/UpdateRulesOfIpGroupCommand.d.ts +6 -21
  230. package/dist-types/commands/UpdateWorkspaceBundleCommand.d.ts +6 -21
  231. package/dist-types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +6 -21
  232. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  233. package/dist-types/pagination/DescribeApplicationAssociationsPaginator.d.ts +1 -1
  234. package/dist-types/pagination/DescribeApplicationsPaginator.d.ts +1 -1
  235. package/dist-types/pagination/DescribeWorkspaceBundlesPaginator.d.ts +1 -1
  236. package/dist-types/pagination/DescribeWorkspaceDirectoriesPaginator.d.ts +1 -1
  237. package/dist-types/pagination/DescribeWorkspacesPaginator.d.ts +1 -1
  238. package/dist-types/ts3.4/commands/AssociateConnectionAliasCommand.d.ts +12 -24
  239. package/dist-types/ts3.4/commands/AssociateIpGroupsCommand.d.ts +14 -23
  240. package/dist-types/ts3.4/commands/AssociateWorkspaceApplicationCommand.d.ts +12 -24
  241. package/dist-types/ts3.4/commands/AuthorizeIpRulesCommand.d.ts +14 -23
  242. package/dist-types/ts3.4/commands/CopyWorkspaceImageCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/CreateConnectClientAddInCommand.d.ts +12 -24
  244. package/dist-types/ts3.4/commands/CreateConnectionAliasCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/CreateIpGroupCommand.d.ts +14 -23
  246. package/dist-types/ts3.4/commands/CreateStandbyWorkspacesCommand.d.ts +12 -24
  247. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +14 -23
  248. package/dist-types/ts3.4/commands/CreateUpdatedWorkspaceImageCommand.d.ts +12 -24
  249. package/dist-types/ts3.4/commands/CreateWorkspaceBundleCommand.d.ts +12 -24
  250. package/dist-types/ts3.4/commands/CreateWorkspaceImageCommand.d.ts +12 -24
  251. package/dist-types/ts3.4/commands/CreateWorkspacesCommand.d.ts +14 -23
  252. package/dist-types/ts3.4/commands/DeleteClientBrandingCommand.d.ts +12 -24
  253. package/dist-types/ts3.4/commands/DeleteConnectClientAddInCommand.d.ts +12 -24
  254. package/dist-types/ts3.4/commands/DeleteConnectionAliasCommand.d.ts +12 -24
  255. package/dist-types/ts3.4/commands/DeleteIpGroupCommand.d.ts +14 -23
  256. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +14 -23
  257. package/dist-types/ts3.4/commands/DeleteWorkspaceBundleCommand.d.ts +12 -24
  258. package/dist-types/ts3.4/commands/DeleteWorkspaceImageCommand.d.ts +12 -24
  259. package/dist-types/ts3.4/commands/DeployWorkspaceApplicationsCommand.d.ts +12 -24
  260. package/dist-types/ts3.4/commands/DeregisterWorkspaceDirectoryCommand.d.ts +12 -24
  261. package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +14 -23
  262. package/dist-types/ts3.4/commands/DescribeAccountModificationsCommand.d.ts +12 -24
  263. package/dist-types/ts3.4/commands/DescribeApplicationAssociationsCommand.d.ts +12 -24
  264. package/dist-types/ts3.4/commands/DescribeApplicationsCommand.d.ts +12 -24
  265. package/dist-types/ts3.4/commands/DescribeBundleAssociationsCommand.d.ts +12 -24
  266. package/dist-types/ts3.4/commands/DescribeClientBrandingCommand.d.ts +12 -24
  267. package/dist-types/ts3.4/commands/DescribeClientPropertiesCommand.d.ts +12 -24
  268. package/dist-types/ts3.4/commands/DescribeConnectClientAddInsCommand.d.ts +12 -24
  269. package/dist-types/ts3.4/commands/DescribeConnectionAliasPermissionsCommand.d.ts +12 -24
  270. package/dist-types/ts3.4/commands/DescribeConnectionAliasesCommand.d.ts +12 -24
  271. package/dist-types/ts3.4/commands/DescribeImageAssociationsCommand.d.ts +12 -24
  272. package/dist-types/ts3.4/commands/DescribeIpGroupsCommand.d.ts +14 -23
  273. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +14 -23
  274. package/dist-types/ts3.4/commands/DescribeWorkspaceAssociationsCommand.d.ts +12 -24
  275. package/dist-types/ts3.4/commands/DescribeWorkspaceBundlesCommand.d.ts +12 -24
  276. package/dist-types/ts3.4/commands/DescribeWorkspaceDirectoriesCommand.d.ts +12 -24
  277. package/dist-types/ts3.4/commands/DescribeWorkspaceImagePermissionsCommand.d.ts +12 -24
  278. package/dist-types/ts3.4/commands/DescribeWorkspaceImagesCommand.d.ts +12 -24
  279. package/dist-types/ts3.4/commands/DescribeWorkspaceSnapshotsCommand.d.ts +12 -24
  280. package/dist-types/ts3.4/commands/DescribeWorkspacesCommand.d.ts +14 -23
  281. package/dist-types/ts3.4/commands/DescribeWorkspacesConnectionStatusCommand.d.ts +12 -24
  282. package/dist-types/ts3.4/commands/DisassociateConnectionAliasCommand.d.ts +12 -24
  283. package/dist-types/ts3.4/commands/DisassociateIpGroupsCommand.d.ts +12 -24
  284. package/dist-types/ts3.4/commands/DisassociateWorkspaceApplicationCommand.d.ts +12 -24
  285. package/dist-types/ts3.4/commands/ImportClientBrandingCommand.d.ts +12 -24
  286. package/dist-types/ts3.4/commands/ImportWorkspaceImageCommand.d.ts +12 -24
  287. package/dist-types/ts3.4/commands/ListAvailableManagementCidrRangesCommand.d.ts +12 -24
  288. package/dist-types/ts3.4/commands/MigrateWorkspaceCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/ModifyAccountCommand.d.ts +14 -23
  290. package/dist-types/ts3.4/commands/ModifyCertificateBasedAuthPropertiesCommand.d.ts +12 -24
  291. package/dist-types/ts3.4/commands/ModifyClientPropertiesCommand.d.ts +12 -24
  292. package/dist-types/ts3.4/commands/ModifySamlPropertiesCommand.d.ts +12 -24
  293. package/dist-types/ts3.4/commands/ModifySelfservicePermissionsCommand.d.ts +12 -24
  294. package/dist-types/ts3.4/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +12 -24
  296. package/dist-types/ts3.4/commands/ModifyWorkspacePropertiesCommand.d.ts +12 -24
  297. package/dist-types/ts3.4/commands/ModifyWorkspaceStateCommand.d.ts +12 -24
  298. package/dist-types/ts3.4/commands/RebootWorkspacesCommand.d.ts +14 -23
  299. package/dist-types/ts3.4/commands/RebuildWorkspacesCommand.d.ts +14 -23
  300. package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +12 -24
  301. package/dist-types/ts3.4/commands/RestoreWorkspaceCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/RevokeIpRulesCommand.d.ts +14 -23
  303. package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +14 -23
  304. package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +14 -23
  305. package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +14 -23
  306. package/dist-types/ts3.4/commands/UpdateConnectClientAddInCommand.d.ts +12 -24
  307. package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +12 -24
  308. package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +12 -24
  311. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  312. package/dist-types/ts3.4/pagination/DescribeApplicationAssociationsPaginator.d.ts +3 -3
  313. package/dist-types/ts3.4/pagination/DescribeApplicationsPaginator.d.ts +3 -3
  314. package/dist-types/ts3.4/pagination/DescribeWorkspaceBundlesPaginator.d.ts +3 -3
  315. package/dist-types/ts3.4/pagination/DescribeWorkspaceDirectoriesPaginator.d.ts +3 -3
  316. package/dist-types/ts3.4/pagination/DescribeWorkspacesPaginator.d.ts +3 -3
  317. package/package.json +11 -10
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateConnectClientAddInCommand, se_UpdateConnectClientAddInCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateConnectClientAddInCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConnectClientAddInCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WorkSpacesClient";
26
- const commandName = "UpdateConnectClientAddInCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WorkspacesService",
35
- operation: "UpdateConnectClientAddIn",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateConnectClientAddInCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateConnectClientAddInCommand(output, context);
46
- }
7
+ export class UpdateConnectClientAddInCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WorkspacesService", "UpdateConnectClientAddIn", {})
19
+ .n("WorkSpacesClient", "UpdateConnectClientAddInCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateConnectClientAddInCommand)
22
+ .de(de_UpdateConnectClientAddInCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateConnectionAliasPermissionCommand, se_UpdateConnectionAliasPermissionCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateConnectionAliasPermissionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConnectionAliasPermissionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WorkSpacesClient";
26
- const commandName = "UpdateConnectionAliasPermissionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WorkspacesService",
35
- operation: "UpdateConnectionAliasPermission",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateConnectionAliasPermissionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateConnectionAliasPermissionCommand(output, context);
46
- }
7
+ export class UpdateConnectionAliasPermissionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WorkspacesService", "UpdateConnectionAliasPermission", {})
19
+ .n("WorkSpacesClient", "UpdateConnectionAliasPermissionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateConnectionAliasPermissionCommand)
22
+ .de(de_UpdateConnectionAliasPermissionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateRulesOfIpGroupCommand, se_UpdateRulesOfIpGroupCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateRulesOfIpGroupCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRulesOfIpGroupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WorkSpacesClient";
26
- const commandName = "UpdateRulesOfIpGroupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WorkspacesService",
35
- operation: "UpdateRulesOfIpGroup",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateRulesOfIpGroupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRulesOfIpGroupCommand(output, context);
46
- }
7
+ export class UpdateRulesOfIpGroupCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WorkspacesService", "UpdateRulesOfIpGroup", {})
19
+ .n("WorkSpacesClient", "UpdateRulesOfIpGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateRulesOfIpGroupCommand)
22
+ .de(de_UpdateRulesOfIpGroupCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateWorkspaceBundleCommand, se_UpdateWorkspaceBundleCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateWorkspaceBundleCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWorkspaceBundleCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WorkSpacesClient";
26
- const commandName = "UpdateWorkspaceBundleCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WorkspacesService",
35
- operation: "UpdateWorkspaceBundle",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateWorkspaceBundleCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateWorkspaceBundleCommand(output, context);
46
- }
7
+ export class UpdateWorkspaceBundleCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WorkspacesService", "UpdateWorkspaceBundle", {})
19
+ .n("WorkSpacesClient", "UpdateWorkspaceBundleCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateWorkspaceBundleCommand)
22
+ .de(de_UpdateWorkspaceBundleCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateWorkspaceImagePermissionCommand, se_UpdateWorkspaceImagePermissionCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateWorkspaceImagePermissionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWorkspaceImagePermissionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WorkSpacesClient";
26
- const commandName = "UpdateWorkspaceImagePermissionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "WorkspacesService",
35
- operation: "UpdateWorkspaceImagePermission",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateWorkspaceImagePermissionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateWorkspaceImagePermissionCommand(output, context);
46
- }
7
+ export class UpdateWorkspaceImagePermissionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WorkspacesService", "UpdateWorkspaceImagePermission", {})
19
+ .n("WorkSpacesClient", "UpdateWorkspaceImagePermissionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateWorkspaceImagePermissionCommand)
22
+ .de(de_UpdateWorkspaceImagePermissionCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "workspaces",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeApplicationAssociationsCommand, } from "../commands/DescribeApplicationAssociationsCommand";
2
3
  import { WorkSpacesClient } from "../WorkSpacesClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeApplicationAssociationsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeApplicationAssociations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WorkSpacesClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpaces | WorkSpacesClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeApplicationAssociations = createPaginator(WorkSpacesClient, DescribeApplicationAssociationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeApplicationsCommand, } from "../commands/DescribeApplicationsCommand";
2
3
  import { WorkSpacesClient } from "../WorkSpacesClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeApplicationsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeApplications(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof WorkSpacesClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpaces | WorkSpacesClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeApplications = createPaginator(WorkSpacesClient, DescribeApplicationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeWorkspaceBundlesCommand, } from "../commands/DescribeWorkspaceBundlesCommand";
2
3
  import { WorkSpacesClient } from "../WorkSpacesClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeWorkspaceBundlesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeWorkspaceBundles(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof WorkSpacesClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected WorkSpaces | WorkSpacesClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateDescribeWorkspaceBundles = createPaginator(WorkSpacesClient, DescribeWorkspaceBundlesCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeWorkspaceDirectoriesCommand, } from "../commands/DescribeWorkspaceDirectoriesCommand";
2
3
  import { WorkSpacesClient } from "../WorkSpacesClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeWorkspaceDirectoriesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeWorkspaceDirectories(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof WorkSpacesClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected WorkSpaces | WorkSpacesClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateDescribeWorkspaceDirectories = createPaginator(WorkSpacesClient, DescribeWorkspaceDirectoriesCommand, "NextToken", "NextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeWorkspacesCommand, } from "../commands/DescribeWorkspacesCommand";
2
3
  import { WorkSpacesClient } from "../WorkSpacesClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeWorkspacesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeWorkspaces(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["Limit"] = config.pageSize;
13
- if (config.client instanceof WorkSpacesClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected WorkSpaces | WorkSpacesClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeWorkspaces = createPaginator(WorkSpacesClient, DescribeWorkspacesCommand, "NextToken", "NextToken", "Limit");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AssociateConnectionAliasRequest, AssociateConnectionAliasResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateConnectionAliasCommandInput extends AssociateConnectio
21
20
  */
22
21
  export interface AssociateConnectionAliasCommandOutput extends AssociateConnectionAliasResult, __MetadataBearer {
23
22
  }
23
+ declare const AssociateConnectionAliasCommand_base: {
24
+ new (input: AssociateConnectionAliasCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates the specified connection alias with the specified directory to enable
@@ -77,23 +80,5 @@ export interface AssociateConnectionAliasCommandOutput extends AssociateConnecti
77
80
  * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
78
81
  *
79
82
  */
80
- export declare class AssociateConnectionAliasCommand extends $Command<AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput, WorkSpacesClientResolvedConfig> {
81
- readonly input: AssociateConnectionAliasCommandInput;
82
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
- /**
84
- * @public
85
- */
86
- constructor(input: AssociateConnectionAliasCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput>;
91
- /**
92
- * @internal
93
- */
94
- private serialize;
95
- /**
96
- * @internal
97
- */
98
- private deserialize;
83
+ export declare class AssociateConnectionAliasCommand extends AssociateConnectionAliasCommand_base {
99
84
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AssociateIpGroupsRequest, AssociateIpGroupsResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateIpGroupsCommandInput extends AssociateIpGroupsRequest
21
20
  */
22
21
  export interface AssociateIpGroupsCommandOutput extends AssociateIpGroupsResult, __MetadataBearer {
23
22
  }
23
+ declare const AssociateIpGroupsCommand_base: {
24
+ new (input: AssociateIpGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates the specified IP access control group with the specified directory.</p>
@@ -70,23 +73,5 @@ export interface AssociateIpGroupsCommandOutput extends AssociateIpGroupsResult,
70
73
  * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
71
74
  *
72
75
  */
73
- export declare class AssociateIpGroupsCommand extends $Command<AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput, WorkSpacesClientResolvedConfig> {
74
- readonly input: AssociateIpGroupsCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: AssociateIpGroupsCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class AssociateIpGroupsCommand extends AssociateIpGroupsCommand_base {
92
77
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AssociateWorkspaceApplicationRequest, AssociateWorkspaceApplicationResult } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateWorkspaceApplicationCommandInput extends AssociateWork
21
20
  */
22
21
  export interface AssociateWorkspaceApplicationCommandOutput extends AssociateWorkspaceApplicationResult, __MetadataBearer {
23
22
  }
23
+ declare const AssociateWorkspaceApplicationCommand_base: {
24
+ new (input: AssociateWorkspaceApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateWorkspaceApplicationCommandInput, AssociateWorkspaceApplicationCommandOutput, WorkSpacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates the specified application to the specified WorkSpace.</p>
@@ -93,23 +96,5 @@ export interface AssociateWorkspaceApplicationCommandOutput extends AssociateWor
93
96
  * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
94
97
  *
95
98
  */
96
- export declare class AssociateWorkspaceApplicationCommand extends $Command<AssociateWorkspaceApplicationCommandInput, AssociateWorkspaceApplicationCommandOutput, WorkSpacesClientResolvedConfig> {
97
- readonly input: AssociateWorkspaceApplicationCommandInput;
98
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
- /**
100
- * @public
101
- */
102
- constructor(input: AssociateWorkspaceApplicationCommandInput);
103
- /**
104
- * @internal
105
- */
106
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateWorkspaceApplicationCommandInput, AssociateWorkspaceApplicationCommandOutput>;
107
- /**
108
- * @internal
109
- */
110
- private serialize;
111
- /**
112
- * @internal
113
- */
114
- private deserialize;
99
+ export declare class AssociateWorkspaceApplicationCommand extends AssociateWorkspaceApplicationCommand_base {
115
100
  }